Welcome to Centmin Mod Community
Become a Member

Install Install errors

Discussion in 'Install & Upgrades or Pre-Install Questions' started by prometheus, Oct 13, 2015.

  1. prometheus

    prometheus Member

    39
    4
    8
    Jan 24, 2015
    Greece
    Ratings:
    +9
    Local Time:
    12:16 AM
    1.9.9
    10.1
    Hello, i have installed with curl method on two different companies servers and i get error

    reated 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

    installer.sh: line 125: printf: 119.445879758: invalid number
    installer.sh: line 127: printf: 5.510240018: invalid number
    ---------------------------------------------------------------------------
    Total Curl Installer YUM Time: 0,0000 seconds
    Total YUM Time: 62.812260015 seconds
    installer.sh: line 142: printf: 967.079445147: invalid number
    (standard_in) 1: syntax error
    (standard_in) 1: syntax error
    installer.sh: line 148: printf: 283.234090550: invalid number
    installer.sh: line 149: printf: 93.499338723: invalid number
    Total YUM + Source Download Time: 0,0000
    installer.sh: line 150: printf: 284.300532772: invalid number
    Total Nginx First Time Install Time: 0,0000
    installer.sh: line 151: printf: 306.045483102: invalid number
    Total PHP First Time Install Time: 0,0000
    Download Zip From Github Time: 0,0000
    Total Time Other eg. source compiles: 0,0000
    Total Centmin Mod Install Time: 0,0000
    ---------------------------------------------------------------------------
    Total Install Time (curl yum + cm install + zip download): 0,0000 seconds
    ---------------------------------------------------------------------------

    Any ideas?
     
  2. eva2000

    eva2000 Administrator Staff Member

    29,049
    6,591
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,786
    Local Time:
    7:16 AM
    Nginx 1.13.x
    MariaDB 5.5
    at end you get a post install check list of software and software versions, can you share that too - similar to the one i posted at Nginx PageSpeed - Nginx PageSpeed 1.9.32.10 | Centmin Mod Community

    that's the best gauge as to if installed properly

    as to the timings sometimes that can happen for very very slow installs or when there's a drastic change in timezone of the server default timezone from before centmin mod install and after. The default centmin mod uses is UTC timezone
     
  3. prometheus

    prometheus Member

    39
    4
    8
    Jan 24, 2015
    Greece
    Ratings:
    +9
    Local Time:
    12:16 AM
    1.9.9
    10.1
    I have problem with repositories and some of them become empty.
    My hosting provider told to disable selinux but is not working
     
  4. prometheus

    prometheus Member

    39
    4
    8
    Jan 24, 2015
    Greece
    Ratings:
    +9
    Local Time:
    12:16 AM
    1.9.9
    10.1
    After 22
    21). Update - Nginx + PHP-FPM + Siege
    22). Add Wordpress Nginx vhost + WP Super Cache
    23). Update Centmin Mod Code Base
    24). Exit
    --------------------------------------------------------
    Enter option [ 1 - 24 ] 22
    --------------------------------------------------------
    pure-ftpd not installed
    installing pure-ftpd


    File contains no section headers.
    file: file:///etc/yum.repos.d/CentOS-Base.repo, line: 1
    'priority=1\n'
    systemctl enable pure-ftpd.service
    Failed to issue method call: No such file or directory
    configuring pure-ftpd for virtual user support
    sed: can't read /etc/pure-ftpd/pure-ftpd.conf: No such file or directory
    sed: can't read /etc/pure-ftpd/pure-ftpd.conf: No such file or directory
    sed: can't read /etc/pure-ftpd/pure-ftpd.conf: No such file or directory
    sed: can't read /etc/pure-ftpd/pure-ftpd.conf: No such file or directory
    sed: can't read /etc/pure-ftpd/pure-ftpd.conf: No such file or directory
    sed: can't read /etc/pure-ftpd/pure-ftpd.conf: No such file or directory
    sed: can't read /etc/pure-ftpd/pure-ftpd.conf: No such file or directory
    sed: can't read /etc/pure-ftpd/pure-ftpd.conf: No such file or directory
    grep: /etc/pure-ftpd/pure-ftpd.conf: No such file or directory
    inc/pureftpd.inc: line 29: /etc/pure-ftpd/pure-ftpd.conf: No such file or directory
    touch: cannot touch ‘/etc/pure-ftpd/pureftpd.passwd’: No such file or directory
    chmod: cannot access ‘/etc/pure-ftpd/pureftpd.passwd’: No such file or directory
    inc/pureftpd.inc: line 36: pure-pw: command not found
    inc/pureftpd.inc: line 41: pure-pw: command not found

    cat: /etc/pure-ftpd/pure-ftpd.conf: No such file or directory

    generating self-signed ssl certificate...
    FTP client needs to use FTP (explicit SSL) mode
    to connect to server's main ip address on port 21
    Generating a 1024 bit RSA private key
    ............................++++++
    ....................++++++
    writing new private key to '/etc/pki/pure-ftpd/pure-ftpd.pem'
    /etc/pki/pure-ftpd/pure-ftpd.pem: No such file or directory
    140427474720672:error:02001002:system library:fopen:No such file or directory:bss_file.c:398:fopen('/etc/pki/pure-ftpd/pure-ftpd.pem','w')
    140427474720672:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:400:
    chmod: cannot access ‘/etc/pki/pure-ftpd/*.pem’: No such file or directory
    Error opening Certificate /etc/pki/pure-ftpd/pure-ftpd.pem
    140317131102112:error:02001002:system library:fopen:No such file or directory:bss_file.c:398:fopen('/etc/pki/pure-ftpd/pure-ftpd.pem','r')
    140317131102112:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:400:
    unable to load certificate

    ls: cannot access /etc/pki/pure-ftpd: No such file or directory

    self-signed ssl cert generated
    pure-ftpd installed
    systemctl restart pure-ftpd.service
    Failed to issue method call: Unit pure-ftpd.service failed to load: No such file or directory.
    Flushing chain `INPUT'
    Flushing chain `FORWARD'
    Flushing chain `OUTPUT'
    Flushing chain `PREROUTING'
    Flushing chain `INPUT'
    Flushing chain `OUTPUT'
    Flushing chain `POSTROUTING'
    open3: exec of /usr/sbin/ipset flush failed at /sbin/csf line 4191.

    check /etc/pure-ftpd/pureftpd.passwd
    ls: cannot access /etc/pure-ftpd/pureftpd.passwd: No such file or directory

    check /etc/pure-ftpd/pureftpd.pdb
    ls: cannot access /etc/pure-ftpd/pureftpd.pdb: No such file or directory

    ------------------------------------------------------------
    Installing wpcli.sh
    ------------------------------------------------------------
    installing...

    Error: /usr/bin/wp not found !!! Downloading now......
    2015-10-22 23:04:06 URL:https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar [1422665/1422665] -> "/usr/bin/wp" [1]
    Download done.

    Error: /root/wpcli/wp-completion.bash not found !!! Downloading now......
    2015-10-22 23:04:06 URL:https://raw.githubusercontent.com/wp-cli/wp-cli/master/utils/wp-completion.bash [495/495] -> "/root/wpcli/wp-completion.bash" [1]
    Download done.


    -------------------------------------------------------------
    /usr/bin/env: php: No such file or directory
    -------------------------------------------------------------

    -------------------------------------------------------------
    wp-cli install completed
    Read Command line interface for WordPress | WP-CLI for full usage info

    -------------------------------------------------------------
    Please log out of SSH session and log back in
    You can then call wp-cli via command: wp
    i.e. wp --info --allow-root
    -------------------------------------------------------------

    -------------------------------------------------------------
    Setup full Nginx vhost + Wordpress + WP Super Cache
    -------------------------------------------------------------

    Enter vhost domain name you want to add (without www. prefix):
     
  5. eva2000

    eva2000 Administrator Staff Member

    29,049
    6,591
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,786
    Local Time:
    7:16 AM
    Nginx 1.13.x
    MariaDB 5.5
    who's your web host... Centmin Mod install instructions mention selinux has to be disabled first

    as to yum yes you have problems
    Code:
    File contains no section headers.
    file: file:///etc/yum.repos.d/CentOS-Base.repo, line: 1
    'priority=1\n'
    what is contents of /etc/yum.repos.d/CentOS-Base.repo and output of these commands (wrap in CODE tags) - you want to wrap long outputtted code in CODE tags in future ;)
    Code:
    yum repolist all
    yum list updates
     
    Last edited: Oct 23, 2015
    • Friendly Friendly x 1
  6. prometheus

    prometheus Member

    39
    4
    8
    Jan 24, 2015
    Greece
    Ratings:
    +9
    Local Time:
    12:16 AM
    1.9.9
    10.1
    Code:
    nc/memcached_install.inc: line 355: /usr/local/bin/phpize: No such file or directory
    inc/memcached_install.inc: line 359: ./configure: No such file or directory
    make: *** No targets specified and no makefile found.  Stop.
    make: *** No rule to make target `install'.  Stop.
    grep: /usr/local/lib/php.ini: No such file or directory
    grep: /etc/centminmod/php.d/memcache.ini: No such file or directory
    cat: /usr/local/bin/php-config: No such file or directory
    grep: /usr/local/lib/php.ini: No such file or directory
    grep: /etc/centminmod/php.d/memcached.ini: No such file or directory
    cat: /usr/local/bin/php-config: No such file or directory
    Failed to issue method call: Unit memcached.service is not loaded.
    service memcached stop
    Redirecting to /bin/systemctl stop  memcached.service
    Failed to issue method call: Unit memcached.service not loaded.
    service memcached start
    Redirecting to /bin/systemctl start  memcached.service
    Failed to issue method call: Unit memcached.service failed to load: No such file or directory.
    service php-fpm restart
    Code:
    * Installing imagick PHP Extension
    *************************************************
    /svr-setup/csf
    cd /svr-setup
    inc/imagick_install.inc: line 25: php: command not found
    1
    inc/imagick_install.inc: line 53: cd: imagick-3.3.0RC2: No such file or directory
    inc/imagick_install.inc: line 57: /usr/local/bin/phpize: No such file or directory
    inc/imagick_install.inc: line 58: ./configure: No such file or directory
    make: *** No targets specified and no makefile found.  Stop.
    make: *** No rule to make target `install'.  Stop.
    grep: /usr/local/lib/php.ini: No such file or directory
    grep: /etc/centminmod/php.d/imagick.ini: No such file or directory
    
    Copying imagick.ini > /etc/centminmod/php.d/imagick.ini
    
    Am testing on servers.com
     
  7. prometheus

    prometheus Member

    39
    4
    8
    Jan 24, 2015
    Greece
    Ratings:
    +9
    Local Time:
    12:16 AM
    1.9.9
    10.1
    Code:
    [root@centmin ~]# cat  /etc/yum.repos.d/CentOS-Base.repo
    priority=1
    priority=1
    priority=1
    priority=1
    priority=2
    priority=2
    

    Server is centos 7.0
    and before install
    setenforce 0
     
  8. eva2000

    eva2000 Administrator Staff Member

    29,049
    6,591
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,786
    Local Time:
    7:16 AM
    Nginx 1.13.x
    MariaDB 5.5
    the yum repo files are messed up best to reload OS and reinstall from scratch
     
  9. prometheus

    prometheus Member

    39
    4
    8
    Jan 24, 2015
    Greece
    Ratings:
    +9
    Local Time:
    12:16 AM
    1.9.9
    10.1
    This happens all the time is my 5th try
    Their support just instructed me to disable selinux
    VPSSIM seems to working better thought

    but still some problems with repos
    Code:
    Updating / installing...
      1:remi-release-7.0-1.el7.remi  ################################# [100%]
    ln -s '/dev/null' '/etc/systemd/system/firewalld.service'
    Failed to issue method call: Unit sendmail.service not loaded.
    Failed to issue method call: Unit xinetd.service not loaded.
    Failed to issue method call: Unit saslauthd.service not loaded.
    rm '/etc/systemd/system/multi-user.target.wants/rsyslog.service'
    rm '/etc/systemd/system/multi-user.target.wants/postfix.service'
    No Match for argument: mysql*
    No Packages marked for removal
    No Match for argument: php*
    No Packages marked for removal
    No Match for argument: httpd*
    No Packages marked for removal
    No Match for argument: sendmail*
    No Packages marked for removal
    Resolving Dependencies
    --> Running transaction check
    
     
  10. eva2000

    eva2000 Administrator Staff Member

    29,049
    6,591
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,786
    Local Time:
    7:16 AM
    Nginx 1.13.x
    MariaDB 5.5
    strange, i have 80+ servers without problem and testing constantly...

    tried selinux disable, reboot server then install ?

    To troubleshoot initial installation, you need to check the initial install log at /root/centminlogs. You can see full details at How to troubleshoot Centmin Mod initial install issues

    if you can post the install log to gist or pastebin and share the link
     
  11. prometheus

    prometheus Member

    39
    4
    8
    Jan 24, 2015
    Greece
    Ratings:
    +9
    Local Time:
    12:16 AM
    1.9.9
    10.1
    Support tell not to reboot after setenforce 0
    But i will try and let you know
     
  12. prometheus

    prometheus Member

    39
    4
    8
    Jan 24, 2015
    Greece
    Ratings:
    +9
    Local Time:
    12:16 AM
    1.9.9
    10.1
    Sadly centminmod doesnt work with servers.com
    Code:
    Dear Customer, we have checked this issue. While installation centminmod add extra repos. You need to remove them from /etc/yum.repos.d/ and leave only following repos - serverscom_centos_base.repo serverscom_centos_extras.repo serverscom_centos_plus.repo serverscom_centos_updates.repo serverscom_epel.repo serverscom_rpmforge.repo After this action you will need to install pureftpd using command "yum install pure-ftpd -y" . And centmin is ready to work.
     
    • Informative Informative x 1
  13. eva2000

    eva2000 Administrator Staff Member

    29,049
    6,591
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,786
    Local Time:
    7:16 AM
    Nginx 1.13.x
    MariaDB 5.5
    sad then looks like they force custom repos of their own, so centmin mod can't properly install the required yum repos :(

    i'd recommend you give ramnode.com a try
     
  14. prometheus

    prometheus Member

    39
    4
    8
    Jan 24, 2015
    Greece
    Ratings:
    +9
    Local Time:
    12:16 AM
    1.9.9
    10.1
    I have account with ramnode and very satisfied with them
    Thank you very much for your time and you are doing very good work here
     
    • Like Like x 1