Learn about Centmin Mod LEMP Stack today
Register Now

EL8 Install hangs

Discussion in 'AlmaLinux 8 & Rocky Linux 8 Beta Testing' started by hakabe, Mar 21, 2024.

  1. hakabe

    hakabe New Member

    3
    1
    3
    Dec 18, 2016
    Ratings:
    +1
    Local Time:
    7:57 AM
    1.11.7
    10
    Span up fresh Alma 8 installation, disabled SELINUX and installation got hang up:
    I used this script:
    Code:
    /usr/local/src/centminmod
    
                  total        used        free      shared  buff/cache   available
    Mem:           1718         150         202          27        1365        1282
    Swap:             0           0           0
    
    create 4GB swap file
    -rw-r--r-- 1 root root 4.0G Mar 20 15:31 /swapfile
    mkswap: /swapfile: insecure permissions 0644, 0600 suggested.
    Setting up swapspace version 1, size = 4 GiB (4294963200 bytes)
    no label, UUID=4189a529-80cd-4ae4-bc1c-f474f24c47a7
    swapon: /swapfile: insecure permissions 0644, 0600 suggested.
    Filename                                Type            Size    Used    Priority
    /swapfile                               file            4194300 0       -2
                  total        used        free      shared  buff/cache   available
    Mem:           1718         154         197          27        1366        1279
    Swap:          4095           0        4095
    
                                      _   _                          _  _
        _ __ ___   _   _  ___   __ _ | | | |_  _ __ ___   _ __    __| |(_) _ __
       | '_ ` _ \ | | | |/ __| / _` || | | __|| '_ ` _ \ | '_ \  / _` || || '__|
       | | | | | || |_| |\__ \| (_| || | | |_ | | | | | || |_) || (_| || || |
       |_| |_| |_| \__, ||___/ \__, ||_|  \__||_| |_| |_|| .__/  \__,_||_||_|
                   |___/          |_|                    |_|
                                         _
                              ___   ___ | |_  _   _  _ __
                             / __| / _ \| __|| | | || '_ \
                             \__ \|  __/| |_ | |_| || |_) |
                             |___/ \___| \__| \__,_|| .__/
                                                    |_|
    -rw-r--r--. 1 root root 616 Mar 20 15:27 /etc/rc.d/rc.local
    -rwxr-xr-x. 1 root root 616 Mar 20 15:27 /etc/rc.d/rc.local
    cat: /proc/sys/net/netfilter/nf_conntrack_helper: No such file or directory
    linux 4.x kernel related adjustments
    cat /proc/sys/net/netfilter/nf_conntrack_helper
    cat: /proc/sys/net/netfilter/nf_conntrack_helper: No such file or directory
    /usr/local/src/centminmod/inc/cpcheck.inc: line 2590: /proc/sys/net/netfilter/nf                                                                                                                                                             _conntrack_helper: No such file or directory
    sysctl: cannot stat /proc/sys/net/netfilter/nf_conntrack_helper: No such file or                                                                                                                                                              directory
    cat /proc/sys/net/netfilter/nf_conntrack_helper
    cat: /proc/sys/net/netfilter/nf_conntrack_helper: No such file or directory
    no crontab for root
    /usr/local/src/centminmod/inc/cpcheck.inc: line 108: /usr/local/nginx/conf/norma                                                                                                                                                             lize_encoding.conf: No such file or directory
    grep: /usr/local/nginx/conf/nginx.conf: No such file or directory
    sed: can't read /usr/local/nginx/conf/nginx.conf: No such file or directory
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100   300  100   300    0     0   1351      0 --:--:-- --:--:-- --:--:--  1345
    AlmaLinux 8 Backports - rsync                   5.7 kB/s | 2.8 kB     00:00
    Last metadata expiration check: 0:00:01 ago on Wed 20 Mar 2024 03:31:52 PM UTC.
    Dependencies resolved.
    ================================================================================
     Package       Architecture   Version             Repository               Size
    ================================================================================
    Upgrading:
     rsync         x86_64         3.2.7-3.el8         backports-rsync         430 k
    
    Transaction Summary
    ================================================================================
    Upgrade  1 Package
    
    Total download size: 430 k
    Downloading Packages:
    rsync-3.2.7-3.el8.x86_64.rpm                    475 kB/s | 430 kB     00:00
    --------------------------------------------------------------------------------
    Total                                           475 kB/s | 430 kB     00:00
    Running transaction check
    Transaction check succeeded.
    Running transaction test
    Transaction test succeeded.
    Running transaction
      Preparing        :                                                        1/1
      Upgrading        : rsync-3.2.7-3.el8.x86_64                               1/2
      Cleanup          : rsync-3.1.3-19.el8_7.1.x86_64                          2/2
      Running scriptlet: rsync-3.1.3-19.el8_7.1.x86_64                          2/2
      Verifying        : rsync-3.2.7-3.el8.x86_64                               1/2
      Verifying        : rsync-3.1.3-19.el8_7.1.x86_64                          2/2
    
    Upgraded:
      rsync-3.2.7-3.el8.x86_64
    
    Complete!
    
    Backport Rsync 3.2.7+ YUM Repo Setup Installed
    
    EL7 default uses Rsync 3.1.2
    EL8 default uses Rsync 3.1.3
    EL9 default uses Rsync 3.2.3
    
    Rsync 3.2.3 adds zstd & xxhash support
    https://community.centminmod.com/threads/custom-rsync-3-2-3-rpm-builds-with-xxha                                                                                                                                                             sh-zstd-support-for-centos-7.20768/
    
    rsync  version 3.2.7  protocol version 31
    Copyright (C) 1996-2022 by Andrew Tridgell, Wayne Davison, and others.
    Web site: https://rsync.samba.org/
    Capabilities:
        64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints,
        socketpairs, symlinks, symtimes, hardlinks, hardlink-specials,
        hardlink-symlinks, IPv6, atimes, batchfiles, inplace, append, ACLs,
        xattrs, optional secluded-args, iconv, prealloc, stop-at, no crtimes
    Optimizations:
        SIMD-roll, no asm-roll, openssl-crypto, no asm-MD5
    Checksum list:
        xxh128 xxh3 xxh64 (xxhash) md5 md4 sha1 none
    Compress list:
        zstd lz4 zlibx zlib none
    Daemon auth list:
        sha512 sha256 sha1 md5 md4
    
    rsync comes with ABSOLUTELY NO WARRANTY.  This is free software, and you
    are welcome to redistribute it under certain conditions.  See the GNU
    General Public Licence for details.
    
    13 23 * * * /usr/local/src/centminmod/tools/autoprotect.sh >/dev/null 2>&1
    11 */12 * * * /usr/local/src/centminmod/tools/jetpackips.sh >/dev/null 2>&1
    20 2,14 * * * /usr/local/src/centminmod/tools/check-for-updates.sh all >/dev/nul                                                                                                                                                             l 2>&1
    0 */4 * * * /usr/bin/cminfo_updater 2>/dev/null
    EL Install Dependencies Start...
    Unable to resolve argument composer
    Error: Problems in request:
    missing groups or modules: composer
    cat: /proc/sys/net/netfilter/nf_conntrack_helper: No such file or directory
    linux 4.x kernel related adjustments
    cat /proc/sys/net/netfilter/nf_conntrack_helper
    cat: /proc/sys/net/netfilter/nf_conntrack_helper: No such file or directory
    /usr/local/src/centminmod/inc/cpcheck.inc: line 2590: /proc/sys/net/netfilter/nf                                                                                                                                                             _conntrack_helper: No such file or directory
    cat /proc/sys/net/netfilter/nf_conntrack_helper
    cat: /proc/sys/net/netfilter/nf_conntrack_helper: No such file or directory
    /usr/local/src/centminmod/inc/cpcheck.inc: line 108: /usr/local/nginx/conf/norma                                                                                                                                                             lize_encoding.conf: No such file or directory
    grep: /usr/local/nginx/conf/nginx.conf: No such file or directory
    sed: can't read /usr/local/nginx/conf/nginx.conf: No such file or directory
    
    Warning: physically installed memory too low for Centmin Mod
    Installation [Installed: 1718 MB < 1757 MB (recommended minimum)]
    
    aborting install...
    ./centmin.sh install completion
    
    /root/.bashrc modifications
    alias command setup
    
    Created command shortcuts:
    * type cmdir to change to Centmin Mod install directory
      at /usr/local/src/centminmod
    * type centmin call and run centmin.sh
      at /usr/local/src/centminmod/centmin.sh
    
    ---------------------------------------------------------------------------
    Total Curl Installer YUM or DNF Time: 140.3700 seconds
    tail: cannot open '/root/centminlogs/centminmod_yumtimes_*.log' for reading: No                                                                                                                                                              such file or directory
    tail: cannot open '/root/centminlogs/centminmod_downloadtimes_*.log' for reading                                                                                                                                                             : No such file or directory
    tail: cannot open '/root/centminlogs/centminmod_ngxinstalltime_*.log' for readin                                                                                                                                                             g: No such file or directory
    


     
  2. fly

    fly Member

    109
    16
    18
    Jul 27, 2019
    Ratings:
    +28
    Local Time:
    12:57 AM
    edit: Although its weird that it couldn't find a bunch of stuff. I assume you ran as root, cause it installed things, but maybe not?

    And note for next time, it will automatically disable SELINUX if you don't.
     
  3. eva2000

    eva2000 Administrator Staff Member

    51,981
    11,976
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,473
    Local Time:
    2:57 PM
    Nginx 1.25.x
    MariaDB 10.x
    Not enough memory https://community.centminmod.com/th...-mod-on-almalinux-8-rocky-linux-8-oses.23261/. I might need to alter the threshold from 1757MB to 1700MB as 2GB VPS might have more overhead for memory usage.

     
  4. eva2000

    eva2000 Administrator Staff Member

    51,981
    11,976
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,473
    Local Time:
    2:57 PM
    Nginx 1.25.x
    MariaDB 10.x
    I just updated 130.00beta01 min mem check and changed it from 1757MB to 1689MB, so you can reload fresh EL8 OS and try a new Centmin Mod 130.00beta01 install