Want to subscribe to topics you're interested in?
Become a Member

Axel errors on first time setup

Discussion in 'Install & Upgrades or Pre-Install Questions' started by pamamolf, Jul 8, 2016.

Tags:
  1. pamamolf

    pamamolf Premium Member Premium Member

    4,101
    428
    83
    May 31, 2014
    Ratings:
    +837
    Local Time:
    8:31 PM
    Nginx-1.26.x
    MariaDB 10.6.x
    Hi


    On a new Centos 7 64bit dedicated server running ./centmin.sh using latest Centminmod beta i got this axel related errors:
    Code:
    ----------------------------
    Configure sshd_config
    ----------------------------
    systemctl restart sshd.service
    inc/cpcheck.inc: line 2: axel: command not found
    update axel version... one time task
    which: no figlet in (/usr/lib64/ccache:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
    --2016-07-07 19:21:20--  https://github.com/eribertomota/axel/archive/2.11.tar.gz
    Resolving github.com (github.com)... 192.30.253.113
    Connecting to github.com (github.com)|192.30.253.113|:443... connected.
    HTTP request sent, awaiting response... 302 Found
    Location: https://codeload.github.com/eribertomota/axel/tar.gz/2.11 [following]
    --2016-07-07 19:21:20--  https://codeload.github.com/eribertomota/axel/tar.gz/2.11
    Resolving codeload.github.com (codeload.github.com)... 192.30.253.120
    Connecting to codeload.github.com (codeload.github.com)|192.30.253.120|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: unspecified [application/x-gzip]
    Saving to: ‘axel-2.11.tar.gz’
    
        [ <=>                                                                        ] 81,872      --.-K/s   in 0.03s
    
    2016-07-07 19:21:20 (2.57 MB/s) - ‘axel-2.11.tar.gz’ saved [81872]
    
    Download axel-2.11.tar.gz done.
    axel-2.11.tar.gz valid file.
    
    inc/axelsetup.inc: line 95: ./configure: No such file or directory
    make: *** No targets specified and no makefile found.  Stop.
    make: *** No rule to make target `install'.  Stop.
    
    Installed Axel 2.11 successfully...
    Don't know if anything needs a fix :)

    And this one also at the bottom with wrong path:
    Code:
    SELINUX disabled, please reboot server and rerun install
    on reboot you can find the centmin.sh file located at:
    echo /svr-setup/axel-2.11
    And a third one when i reboot the server and re run the ./centmin.sh:
    Code:
    secondary email setup skipped...
    
    Error: Nothing to do
    inc/cpcheck.inc: line 687: /sys/module/nf_conntrack/parameters/hashsize: No such file or directory
    Thanks
     
    Last edited: Jul 8, 2016
  2. pamamolf

    pamamolf Premium Member Premium Member

    4,101
    428
    83
    May 31, 2014
    Ratings:
    +837
    Local Time:
    8:31 PM
    Nginx-1.26.x
    MariaDB 10.6.x
    Should i proceed to installation or wait for a fix?
     
  3. eva2000

    eva2000 Administrator Staff Member

    55,239
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    3:31 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    which install method used ? sounds like centmin.sh menu option 1 ? could be a bug in axel update routine being triggered there as it's only meant to be triggered on non-initial installs from inc/cpcheck.inc lines 1-7 routine which triggers only for non-initial installs and calls install_axel function in inc/axelsetup.inc.
     
  4. pamamolf

    pamamolf Premium Member Premium Member

    4,101
    428
    83
    May 31, 2014
    Ratings:
    +837
    Local Time:
    8:31 PM
    Nginx-1.26.x
    MariaDB 10.6.x
    I didn't run yet any menu option :(

    I just run manual installation command ./centmin.sh and not the one line installation command....

    I got the above errors before i run the menu option 1 as i always do.

    Just got the server download Centminmod and manually run for first time the ./centmin.sh and got the first two errors above.

    The i reboot the server and manually run again the ./centmin.sh and got the third error ...

    Now i am ready to run menu option 1 to install Centminmod on the server but i am waiting for your comment in case a fix is needed first :)
     
    Last edited: Jul 8, 2016
  5. eva2000

    eva2000 Administrator Staff Member

    55,239
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    3:31 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    could be a bug as INITIALINSTALL variable which tells centmin.sh whether it's an initial install or not is only populated with INITIALINSTALL='y' value when you run centmin.sh install but should also populate when hit centmin.sh menu option 1. Looks like it doesn't populate if you just run centmin.sh

    strange that it's only now popped up as an issue

    maybe because most folks are installing 123.09beta01 via one line curl command now ? the curl installer method is actually faster than centmin.sh menu option 1 method too ;)
    Code (Text):
    yum -y update; curl -O https://centminmod.com/betainstaller.sh && chmod 0700 betainstaller.sh && bash betainstaller.sh
    
     
  6. pamamolf

    pamamolf Premium Member Premium Member

    4,101
    428
    83
    May 31, 2014
    Ratings:
    +837
    Local Time:
    8:31 PM
    Nginx-1.26.x
    MariaDB 10.6.x
    I disable a few things from centmin.sh and then install it that's why i use custom :)

    Like:
    Code:
    NGINX_SUB='n'
    NGINX_ADDITION='n'
    NGINX_IMAGEFILTER='n'
    NGINX_HTTPREDIS='n'
    PHPREDIS='n'
     
  7. eva2000

    eva2000 Administrator Staff Member

    55,239
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    3:31 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    you can still use curl install method just prepopulate /etc/centminmod/custom_config.inc persistent config file before running curl installers

    see example of how i enabled PHPFINFO='y' before curl install at DigitalOcean - 512MB DigitalOcean VPS - Centmin Mod 123.09beta01 Install Test | Centmin Mod Community

    for you it would be but FYI, NGINX_PAGESPEED and NSD_INSTALL are already default to disable in 123.09beta01
    Code (Text):
    mkdir /etc/centminmod
    touch /etc/centminmod/custom_config.inc
    echo "NSD_INSTALL='n'" >> /etc/centminmod/custom_config.inc
    echo "NGINX_SUB='n'" >> /etc/centminmod/custom_config.inc
    echo "NGINX_ADDITION='n'" >> /etc/centminmod/custom_config.inc
    echo "NGINX_IMAGEFILTER='n'" >> /etc/centminmod/custom_config.inc
    echo "NGINX_HTTPCONCAT='n'" >> /etc/centminmod/custom_config.inc
    echo "NGINX_PAGESPEED='n'" >> /etc/centminmod/custom_config.inc
    echo "NGINX_HTTPREDIS='n'" >> /etc/centminmod/custom_config.inc
    echo "PHPREDIS='n'" >> /etc/centminmod/custom_config.inc
    yum -y update; curl -O https://centminmod.com/betainstaller.sh && chmod 0700 betainstaller.sh && bash betainstaller.sh
     
  8. pamamolf

    pamamolf Premium Member Premium Member

    4,101
    428
    83
    May 31, 2014
    Ratings:
    +837
    Local Time:
    8:31 PM
    Nginx-1.26.x
    MariaDB 10.6.x
    Does running for first time ./centmin.sh (without editing it) and have in place custom.config.inc will work and use the above options as "n" or it will work only for the betainstaller.sh ?
     
  9. eva2000

    eva2000 Administrator Staff Member

    55,239
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    3:31 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yes that's what /etc/centminmod/custom_config.inc persistent config file is for, overriding centmin.sh defaults prior to running centmin.sh
     
  10. pamamolf

    pamamolf Premium Member Premium Member

    4,101
    428
    83
    May 31, 2014
    Ratings:
    +837
    Local Time:
    8:31 PM
    Nginx-1.26.x
    MariaDB 10.6.x
    I thought that was activated after the first time install using menu 1 for future upgrades .....
     
  11. eva2000

    eva2000 Administrator Staff Member

    55,239
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    3:31 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    no persistent config will override whatever is set in centmin.sh variable wise before running centmin.sh.

    this allow scripted and unattended custom centmin mod installs with end users choice of enabled or disabled options :D

    also fixed your reported bug in 1st post above at Beta Branch - fix axel auto updater to run only on existing installs 123.09beta01 | Centmin Mod Community :)
     
  12. pamamolf

    pamamolf Premium Member Premium Member

    4,101
    428
    83
    May 31, 2014
    Ratings:
    +837
    Local Time:
    8:31 PM
    Nginx-1.26.x
    MariaDB 10.6.x
    I hope the above errors get a fix for manual installation also :)
     
  13. eva2000

    eva2000 Administrator Staff Member

    55,239
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    3:31 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  14. pamamolf

    pamamolf Premium Member Premium Member

    4,101
    428
    83
    May 31, 2014
    Ratings:
    +837
    Local Time:
    8:31 PM
    Nginx-1.26.x
    MariaDB 10.6.x
    What about this?

    Code:
    secondary email setup skipped...
    
    Error: Nothing to do
    inc/cpcheck.inc: line 687: /sys/module/nf_conntrack/parameters/hashsize: No such file or directory
     
  15. eva2000

    eva2000 Administrator Staff Member

    55,239
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    3:31 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    it's a bug of sorts

    what type of server is this openvz ? custom kernel based ? like ovh ?
     
  16. pamamolf

    pamamolf Premium Member Premium Member

    4,101
    428
    83
    May 31, 2014
    Ratings:
    +837
    Local Time:
    8:31 PM
    Nginx-1.26.x
    MariaDB 10.6.x
    Dedicated server from ovh and not openvz and is not a custom kernel from ovh as i check to use original kernel....
     
  17. eva2000

    eva2000 Administrator Staff Member

    55,239
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    3:31 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  18. pamamolf

    pamamolf Premium Member Premium Member

    4,101
    428
    83
    May 31, 2014
    Ratings:
    +837
    Local Time:
    8:31 PM
    Nginx-1.26.x
    MariaDB 10.6.x
    No problem :)

    Installation finish without any other issues :)

    only issue is that at the end i do not see the username and password of Zend opcache panel and i have to look at logs to find it :(
     
  19. eva2000

    eva2000 Administrator Staff Member

    55,239
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    3:31 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yeah that is in it's own /root/centminlogs/ file
     
  20. pamamolf

    pamamolf Premium Member Premium Member

    4,101
    428
    83
    May 31, 2014
    Ratings:
    +837
    Local Time:
    8:31 PM
    Nginx-1.26.x
    MariaDB 10.6.x
    But it will be great at the end to have that info also :)

    As i have mysql root password and memcached login and the only missing is Zend opcache login info :(