Learn about Centmin Mod LEMP Stack today
Register Now

Install 123.08stable installer out of memory on OpenVZ VPS - broke php

Discussion in 'Install & Upgrades or Pre-Install Questions' started by johnnyc, Oct 20, 2016.

  1. johnnyc

    johnnyc Member

    41
    2
    8
    Mar 23, 2015
    Ratings:
    +2
    Local Time:
    6:54 AM
    Hi all,
    I've been using centmin 123.08stable, on centos 6.

    Everything was fine last week, I took the weekend off, and then I come back this week to see my website's Gallery scripts are broken (they use fastcgi / php-fpm). I don't have CLUE how to fix fast cgi or php-fpm which I'm assuming broke over the weekend during an Auto / cron update?

    Now I've reformatted the VPS to have Centos 6 again, and all hell is breaking lose while trying to run the "
    yum -y update; curl -O https://centminmod.com/installer.sh && chmod 0700 installer.sh && bash installer.sh" Command.

    When it gets to installing the PHP part, EVERYTHING starts turning 100% GREEN text and it aborts with LOTS of errors saying this doesn't exist, that doesn't exist, this doesn't exist.


    What happpened? I had such a good experience until this past weekend's unfortunate mishap. I've got 10 VPS running centminmod and the gallery/image scripts broke on ALL of them, they all use the same FAST-CGI / php-fpm specifically for the image gallery in wordpress (because of the wordpress.conf settings to prevent hackers)

    Can someone look into this and see why did FAST-CGI / php-fpm get upgraded/rebuilt appartently with the wrong settings I'm assuming. This happened in the last 7 days, I think it was over the weekend, but might have been late last week, I was busy with other stuff I didn't check my sites.

    Also can see why the STABLE install is breaking around the PHP area and doesn't complete???
     
  2. johnnyc

    johnnyc Member

    41
    2
    8
    Mar 23, 2015
    Ratings:
    +2
    Local Time:
    6:54 AM
    Here is the last parts of the installer on a FRESH install of CENTOS 7 this time. The YUM UPDATE worked no problems.

    This VPS has 30 GB of empty hard drive space, and 4 GB of ram.

    Code:
    tar: php-5.5.38/tests/lang/bug24573.phpt: Cannot open: Cannot allocate memory
    tar: php-5.5.38/tests/lang/bug27439.phpt: Cannot open: Cannot allocate memory
    tar: php-5.5.38/tests/lang/033.phpt: Cannot open: Cannot allocate memory
    tar: php-5.5.38/generated_lists: Cannot open: Cannot allocate memory
    tar: php-5.5.38/Makefile.frag: Cannot open: Cannot allocate memory
    tar: php-5.5.38/.travis.yml: Cannot open: Cannot allocate memory
    tar: php-5.5.38/.gitignore: Cannot open: Cannot allocate memory
    tar: php-5.5.38/ltmain.sh: Cannot open: Cannot allocate memory
    tar: php-5.5.38/README.WIN32-BUILD-SYSTEM: Cannot open: Cannot allocate memory
    tar: php-5.5.38/EXTENSIONS: Cannot open: Cannot allocate memory
    tar: php-5.5.38/INSTALL: Cannot open: Cannot allocate memory
    tar: php-5.5.38/README.UNIX-BUILD-SYSTEM: Cannot open: Cannot allocate memory
    tar: php-5.5.38/README.TESTING2: Cannot open: Cannot allocate memory
    tar: php-5.5.38/README.STREAMS: Cannot open: Cannot allocate memory
    tar: php-5.5.38/LICENSE: Cannot open: Cannot allocate memory
    tar: php-5.5.38/TSRM: Cannot mkdir: Cannot allocate memory
    tar: php-5.5.38/TSRM/threads.m4: Cannot open: Cannot allocate memory
    tar: php-5.5.38/TSRM/TSRM.c: Cannot open: Cannot allocate memory
    tar: php-5.5.38/TSRM/tsrm.m4: Cannot open: Cannot allocate memory
    tar: php-5.5.38/TSRM/TSRM.dsp: Cannot open: Cannot allocate memory
    tar: php-5.5.38/TSRM/tsrm_virtual_cwd.c: Cannot open: Cannot allocate memory
    tar: php-5.5.38/TSRM/tsrm_win32.c: Cannot open: Cannot allocate memory
    tar: php-5.5.38/TSRM/tsrm_strtok_r.c: Cannot open: Cannot allocate memory
    tar: php-5.5.38/TSRM/buildconf: Cannot open: Cannot allocate memory
    tar: php-5.5.38/TSRM/tsrm_win32.h: Cannot open: Cannot allocate memory
    tar: php-5.5.38/TSRM/Makefile.am: Cannot open: Cannot allocate memory
    tar: php-5.5.38/TSRM/readdir.h: Cannot open: Cannot allocate memory
    tar: php-5.5.38/TSRM/acinclude.m4: Cannot open: Cannot allocate memory
    tar: php-5.5.38/TSRM/tsrm_config.w32.h: Cannot open: Cannot allocate memory
    tar: php-5.5.38/TSRM/configure.in: Cannot open: Cannot allocate memory
    tar: php-5.5.38/TSRM/TSRM.h: Cannot open: Cannot allocate memory
    tar: php-5.5.38/TSRM/tsrm_nw.h: Cannot open: Cannot allocate memory
    tar: php-5.5.38/TSRM/tsrm_strtok_r.h: Cannot open: Cannot allocate memory
    tar: php-5.5.38/TSRM/build.mk: Cannot open: Cannot allocate memory
    tar: php-5.5.38/TSRM/LICENSE: Cannot open: Cannot allocate memory
    tar: php-5.5.38/TSRM/config.w32: Cannot open: Cannot allocate memory
    tar: php-5.5.38/TSRM/tsrm_nw.c: Cannot open: Cannot allocate memory
    tar: php-5.5.38/TSRM/tsrm_config_common.h: Cannot open: Cannot allocate memory
    tar: php-5.5.38/TSRM/tsrm_virtual_cwd.h: Cannot open: Cannot allocate memory
    tar: php-5.5.38/TSRM/TODO: Cannot open: Cannot allocate memory
    tar: php-5.5.38/stamp-h.in: Cannot open: Cannot allocate memory
    tar: php-5.5.38/README.EXTENSIONS: Cannot open: Cannot allocate memory
    tar: php-5.5.38/svnclean.bat: Cannot open: Cannot allocate memory
    tar: php-5.5.38/.gitattributes: Cannot open: Cannot allocate memory
    tar: php-5.5.38/README.REDIST.BINS: Cannot open: Cannot allocate memory
    tar: php-5.5.38/run-tests.php: Cannot open: Cannot allocate memory
    tar: php-5.5.38/server-tests.php: Cannot open: Cannot allocate memory
    tar: php-5.5.38/snapshot: Cannot open: Cannot allocate memory
    tar: php-5.5.38/README.SELF-CONTAINED-EXTENSIONS: Cannot open: Cannot allocate memory
    tar: php-5.5.38/.gdbinit: Cannot open: Cannot allocate memory
    tar: php-5.5.38/README.TESTING: Cannot open: Cannot allocate memory
    tar: php-5.5.38/README.MAILINGLIST_RULES: Cannot open: Cannot allocate memory
    tar: php-5.5.38/README.input_filter: Cannot open: Cannot allocate memory
    tar: php-5.5.38/UPGRADING: Cannot open: Cannot allocate memory
    tar: php-5.5.38/buildconf.bat: Cannot open: Cannot allocate memory
    tar: php-5.5.38/README.PHP4-TO-PHP5-THIN-CHANGES: Cannot open: Cannot allocate memory
    tar: Exiting with failure status due to previous errors
    Error: php-5.5.38.tar.gz extraction failed.
    tput: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: Cannot allocate memory
    check Centmin Mod log for details at /root/centminlogs/
    Aborting script...
    -rw-r--r-- 1 root root 1.5M Oct 19 15:26 /root/centminlogs/centminmod_downloadtimes_191016-152450.log
    **********************************************************************
    * Centmin Mod Nginx, MariaDB MySQL, PHP & DNS Install script for CentOS
    * Version: 1.2.3-eva2000.08 - Date: 31/07/2015
    * Copyright 2011-2015 CentminMod.com eva2000 (vbtechsupport.com)
    **********************************************************************
    
    This software comes with no warranty of any kind. You are free to use
    it for both personal and commercial use as licensed under the GPL.
    
    Please read the included readme.txt before using this script.
    
    useradd: group '100' does not exist
    useradd: the GROUP= configuration in /etc/default/useradd will be ignored
    useradd: group '500' does not exist
    removing any i686 packages installed by default
    Traceback (most recent call last):
      File "/usr/lib64/python2.7/site.py", line 62, in <module>
        import os
      File "/usr/lib64/python2.7/os.py", line 49, in <module>
        import posixpath as path
      File "/usr/lib64/python2.7/posixpath.py", line 17, in <module>
        import warnings
      File "/usr/lib64/python2.7/warnings.py", line 6, in <module>
        import linecache
    ImportError: No module named linecache
    Your origional yum configuration has been backed up to /etc/yum.bak
    Centmin Mod secure /tmp # Wed Oct 19 15:26:30 UTC 2016
    *************************************************
    * Secured /tmp and /var/tmp
    *************************************************
    CentOS 7 Setup /tmp
    CentOS 7 + OpenVZ virtualisation detected
    disabled
    *************************************************
    * Setting preferred localtime for VPS
    *************************************************
    Current date & time for the zone you selected is:
    Wed Oct 19 15:26:30 UTC 2016
    OpenVZ system detected, NTP not installed
    *************************************************
    * Installing nginx
    *************************************************
    Failed to get unit file state for httpd.service: No such file or directory
    Installing nginx Modules / Prerequisites...
    Compiling LibreSSL...
    inc/openssl_install.inc: line 67: cd: libressl-2.4.3: No such file or directory
    bash: autogen.sh: No such file or directory
    inc/openssl_install.inc: line 103: ./configure: No such file or directory
    make: *** No targets specified and no makefile found.  Stop.
    make: *** No rule to make target `install'.  Stop.
    -rw-r--r-- 1 root root 42 Oct 19 15:26 /root/centminlogs/centminmod_libresslinstalltime_191016-152450.log
    Compiling nginx...
    *************************************************
    Nginx Patch Time - NGINXPATCH_DELAY seconds delay
    to allow you to patch files
    *************************************************
    /svr-setup/nginx-module-vts/.git/branches/: Cannot allocate memory
    Cloning into 'nginx-module-vts'...
    sed: can't read /svr-setup/nginx-module-vts/share/status.template.html: No such file or directory
    sed: can't read /svr-setup/nginx-module-vts/share/status.compress.html: No such file or directory
    inc/nginx_configure.inc: line 188: cd: nginx-module-vts/util: No such file or directory
    inc/nginx_configure.inc: line 189: ../src/ngx_http_vhost_traffic_status_module_html.h: No such file or directory
    cp: cannot stat '/svr-setup/nginx-module-vts/share/status.compress.html': No such file or directory
    /usr/lib64/libatomic_ops.a found
    
    Check existing server string:
    static char ngx_http_server_string[] = "Server: nginx" CRLF;
    
    Change server string to nginx centminmod
    
    grep: /usr/local/nginx/conf/conf.d/virtual.conf: No such file or directory
    inc/nginx_configure.inc: line 570: /usr/bin/awk: Cannot allocate memory
    inc/nginx_configure.inc: line 570: /usr/bin/sort: Cannot allocate memory
    Cannot create temporary file in /tmp/: Cannot allocate memory
    
    export CC="/usr/bin/clang -ferror-limit=0"
    export CXX="/usr/bin/clang++ -ferror-limit=0"
    # export CCACHE_CPP2=yes
    CLANG_CCOPT=' -Wno-sign-compare -Wno-string-plus-int -Wno-deprecated-declarations -Wno-unused-parameter -Wno-unused-const-variable -Wno-conditional-uninitialized -Wno-mismatched-tags -Wno-c++11-extensions -Wno-sometimes-uninitialized -Wno-parentheses-equality -Wno-tautological-compare -Wno-self-assign -Wno-deprecated-register -Wno-deprecated -Wno-invalid-source-encoding -Wno-pointer-sign -Wno-parentheses -Wno-enum-conversion'
    /svr-setup/nginx-1.11.5
    nginx configure options:
    ./configure --with-ld-opt="-lrt -ljemalloc -Wl,-z,relro" --with-cc-opt="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wno-sign-compare -Wno-string-plus-int -Wno-deprecated-declarations -Wno-unused-parameter -Wno-unused-const-variable -Wno-conditional-uninitialized -Wno-mismatched-tags -Wno-c++11-extensions -Wno-sometimes-uninitialized -Wno-parentheses-equality -Wno-tautological-compare -Wno-self-assign -Wno-deprecated-register -Wno-deprecated -Wno-invalid-source-encoding -Wno-pointer-sign -Wno-parentheses -Wno-enum-conversion" --sbin-path=/usr/local/sbin/nginx --conf-path=/usr/local/nginx/conf/nginx.conf --with-http_ssl_module --with-http_v2_module --with-http_gzip_static_module --with-http_stub_status_module --with-http_sub_module --with-http_addition_module --with-http_image_filter_module --with-http_secure_link_module --with-http_realip_module --with-http_geoip_module --with-openssl-opt="enable-tlsext" --add-module=../ngx-fancyindex-ngx-fancyindex --add-module=../ngx_cache_purge-2.3 --add-module=../nginx-http-concat-master --add-module=../memc-nginx-module-0.17 --add-module=../srcache-nginx-module-0.31 --add-module=../ngx_devel_kit-0.3.0 --add-module=../set-misc-nginx-module-0.30 --add-module=../echo-nginx-module-0.59 --add-module=../redis2-nginx-module-0.13 --add-module=../ngx_http_redis-0.3.7 --add-module=../nginx_upstream_check_module-0.3.0 --add-module=../nginx-module-vts --add-module=../headers-more-nginx-module-0.30 --with-openssl=../libressl-2.4.3 --with-libatomic --with-pcre=../pcre-8.38 --with-pcre-jit
    cat: error while loading shared libraries: libc.so.6: cannot open shared object file: Cannot allocate memory
    checking for OS
     +
    checking for C compiler ...auto/feature: line 8: cannot create temp file for here-document: Cannot allocate memory
    auto/feature: line 28: cannot create temp file for here-document: Cannot allocate memory
     not found
    auto/feature: line 117: cat: command not found
    auto/feature: line 123: rm: command not found
    
    ./configure: error: C compiler /usr/bin/clang -ferror-limit=0 is not found
    
    inc/nginx_install.inc: line 290: make: command not found
    
    real    0m0.001s
    user    0m0.000s
    sys     0m0.001s
    
    strip nginx binary...
    inc/nginx_install.inc: line 298: ls: command not found
    inc/nginx_install.inc: line 299: strip: command not found
    inc/nginx_install.inc: line 300: ls: command not found
    
    inc/nginx_install.inc: line 304: make: command not found
    
    real    0m0.000s
    user    0m0.000s
    sys     0m0.001s
    inc/nginx_mimetype.inc: line 4: egrep: command not found
    inc/nginx_mimetype.inc: line 6: grep: command not found
    inc/nginx_mimetype.inc: line 7: grep: command not found
    inc/nginx_mimetype.inc: line 8: grep: command not found
    inc/nginx_mimetype.inc: line 9: grep: command not found
    inc/nginx_mimetype.inc: line 10: grep: command not found
    
    
    
    
    
    inc/nginx_install.inc: line 317: groupadd: command not found
    inc/nginx_install.inc: line 318: useradd: command not found
    inc/nginx_install.inc: line 324: grep: command not found
    inc/nginx_install.inc: line 329: /etc/security/limits.conf: Cannot allocate memory
    inc/nginx_install.inc: line 330: /etc/security/limits.conf: Cannot allocate memory
    inc/nginx_install.inc: line 331: /etc/security/limits.conf: Cannot allocate memory
    inc/nginx_install.inc: line 332: /etc/security/limits.conf: Cannot allocate memory
    inc/nginx_install.inc: line 333: /etc/security/limits.conf: Cannot allocate memory
    inc/nginx_install.inc: line 334: /etc/security/limits.conf: Cannot allocate memory
    inc/nginx_install.inc: line 339: mkdir: command not found
    inc/nginx_install.inc: line 341: mkdir: command not found
    inc/nginx_install.inc: line 342: cp: command not found
    inc/nginx_install.inc: line 343: cp: command not found
    inc/nginx_install.inc: line 344: chown: command not found
    inc/nginx_install.inc: line 346: mkdir: command not found
    inc/nginx_install.inc: line 348: chmod: command not found
    inc/nginx_install.inc: line 349: chmod: command not found
    inc/nginx_install.inc: line 350: chmod: command not found
    inc/nginx_install.inc: line 353: mkdir: command not found
    inc/phpfpmdir.inc: line 4: mkdir: command not found
    inc/nginx_install.inc: line 355: mkdir: command not found
    inc/nginx_install.inc: line 356: touch: command not found
    inc/nginx_install.inc: line 357: touch: command not found
    inc/nginx_install.inc: line 358: chmod: command not found
    inc/nginx_install.inc: line 359: cp: command not found
    inc/nginx_install.inc: line 360: cp: command not found
    inc/nginx_install.inc: line 362: cp: command not found
    inc/nginx_install.inc: line 2: grep: command not found
    inc/nginx_install.inc: line 3: grep: command not found
    ${CUR_DIR} & ${CM_INSTALLDIR}
    /usr/local/src/centminmod
    /usr/local/src/centminmod
    inc/nginx_install.inc: line 11: sed: command not found
    inc/nginx_install.inc: line 35: sed: command not found
    inc/nginx_install.inc: line 36: sed: command not found
    inc/nginx_install.inc: line 44: cp: command not found
    inc/nginx_install.inc: line 48: cp: command not found
    inc/nginx_install.inc: line 52: cp: command not found
    inc/nginx_install.inc: line 56: grep: command not found
    inc/nginx_install.inc: line 59: grep: command not found
    inc/nginx_install.inc: line 71: grep: command not found
    inc/nginx_install.inc: line 74: sed: command not found
    inc/nginx_install.inc: line 78: cp: command not found
    inc/nginx_install.inc: line 81: grep: command not found
    inc/nginx_install.inc: line 82: replace: command not found
    
    Setup default hostname: server15.cyberanonymous.net
    inc/nginx_install.inc: line 369: sed: command not found
    
    inc/nginx_install.inc: line 374: cp: command not found
    inc/nginx_install.inc: line 379: yum: command not found
    inc/nginx_install.inc: line 381: file: command not found
    inc/nginx_install.inc: line 389: chmod: command not found
    inc/nginx_install.inc: line 390: chkconfig: command not found
    inc/nginx_install.inc: line 409: touch: command not found
    inc/nginx_install.inc: line 413: cp: command not found
    inc/htpasswdsh.inc: line 2: rm: command not found
    inc/htpasswdsh.inc: line 3: wget: command not found
    inc/htpasswdsh.inc: line 4: chmod: command not found
    ----------------------------------------------
    Creating /etc/logrotate.d/nginx file
    ----------------------------------------------
    ......
    inc/logrotate_nginx.inc: line 36: touch: command not found
    inc/logrotate_nginx.inc: line 38: /etc/logrotate.d/nginx: Cannot allocate memory
    ----------------------------------------------------------------------------
    inc/logrotate_nginx.inc: line 55: cat: command not found
    ---------------------------------------------------------------------------
    Current nginx log directories:
    ---------------------------------------------------------------------------
    inc/logrotate_nginx.inc: line 21: ls: command not found
    ---------------------------------------------------------------------------
    
    ----------------------------------------------------------------------------
    nginx logrotation /etc/logrotate.d/nginx setup completed
    ----------------------------------------------------------------------------
    inc/nginx_install.inc: line 422: grep: command not found
    inc/geoip.inc: line 57: grep: command not found
    inc/geoip.inc: line 61: sed: command not found
    inc/geoip.inc: line 63: /usr/local/nginx/conf/php.conf: Cannot allocate memory
    inc/geoip.inc: line 64: /usr/local/nginx/conf/php.conf: Cannot allocate memory
    inc/geoip.inc: line 65: /usr/local/nginx/conf/php.conf: Cannot allocate memory
    inc/geoip.inc: line 66: /usr/local/nginx/conf/php.conf: Cannot allocate memory
    inc/geoip.inc: line 67: /usr/local/nginx/conf/php.conf: Cannot allocate memory
    inc/geoip.inc: line 68: /usr/local/nginx/conf/php.conf: Cannot allocate memory
    inc/geoip.inc: line 69: /usr/local/nginx/conf/php.conf: Cannot allocate memory
    inc/geoip.inc: line 70: /usr/local/nginx/conf/php.conf: Cannot allocate memory
    inc/geoip.inc: line 71: /usr/local/nginx/conf/php.conf: Cannot allocate memory
    inc/geoip.inc: line 72: /usr/local/nginx/conf/php.conf: Cannot allocate memory
    inc/geoip.inc: line 73: /usr/local/nginx/conf/php.conf: Cannot allocate memory
    inc/geoip.inc: line 74: /usr/local/nginx/conf/php.conf: Cannot allocate memory
    inc/geoip.inc: line 75: /usr/local/nginx/conf/php.conf: Cannot allocate memory
    inc/geoip.inc: line 76: /usr/local/nginx/conf/php.conf: Cannot allocate memory
    inc/geoip.inc: line 78: /usr/local/nginx/conf/geoip.conf: Cannot allocate memory
    inc/geoip.inc: line 102: sed: command not found
    inc/geoip.inc: line 103: sed: command not found
    inc/geoip.inc: line 125: /usr/local/nginx/html/geoip.php: Cannot allocate memory
    *************************************************
    * nginx installed, Apache disabled
    ./centmin.sh: line 742: tput: command not found
    *************************************************
    ./centmin.sh: line 1021: /usr/bin/date: Cannot allocate memory
    ./centmin.sh: line 1022: /usr/bin/bc: Cannot allocate memory
    ./centmin.sh: line 1026: /usr/bin/ls: Cannot allocate memory
    *************************************************
    * Installing MariaDB via CentOS Yum Repo
    ./centmin.sh: line 742: /usr/bin/tput: Cannot allocate memory
    *************************************************
    inc/mariadb_install.inc: line 483: /usr/bin/cp: Cannot allocate memory
    inc/mariadb_install.inc: line 484: /usr/bin/rm: Cannot allocate memory
    MariaDB 10.x Repo setup...
    
    inc/mariadb_install.inc: line 25: /usr/bin/uname: Cannot allocate memory
    rpm --import http://yum.mariadb.org/RPM-GPG-KEY-MariaDB
    inc/mariadb_install.inc: line 28: /usr/bin/rpm: Cannot allocate memory
    inc/mariadb_install.inc: line 33: /usr/bin/uname: Cannot allocate memory
    inc/mariadb_install.inc: line 45: /etc/yum.repos.d/mariadb.repo: Cannot allocate memory
    
    Check for existing mariadb packages
    inc/mariadb_install.inc: line 140: /usr/bin/rpm: Cannot allocate memory
    inc/mariadb_install.inc: line 140: /usr/bin/head: Cannot allocate memory
    inc/mariadb_install.inc: line 140: /usr/bin/grep: Cannot allocate memory
    
    Check for existing mariadb-libs package
    inc/mariadb_install.inc: line 147: /usr/bin/rpm: Cannot allocate memory
    inc/mariadb_install.inc: line 147: /usr/bin/grep: Cannot allocate memory
    inc/mariadb_install.inc: line 147: /usr/bin/head: Cannot allocate memory
    inc/mariadb_install.inc: line 164: /usr/bin/grep: Cannot allocate memory
    Can't find exclude line in /etc/yum.conf... adding exclude line for mariadb*
    ./centmin.sh: line 742: /usr/bin/tput: Cannot allocate memory
    
    MariaDB 5.5 YUM install...
    time yum -q -y --disableplugin=fastestmirror,downloadonly --disablerepo=epel install perl-DBI
    inc/mariadb_install.inc: line 194: /usr/bin/yum: Cannot allocate memory
    
    real    0m0.000s
    user    0m0.000s
    sys     0m0.000s
    
    *************************************************
    MariaDB 10.x YUM install...
    ./centmin.sh: line 742: /usr/bin/tput: Cannot allocate memory
    yum -q -y --disableplugin=fastestmirror,downloadonly --disablerepo=epel install MariaDB-client MariaDB-common MariaDB-compat MariaDB-devel MariaDB-server MariaDB-shared
    ./centmin.sh: line 742: /usr/bin/tput: Cannot allocate memory
    *************************************************
    
    inc/mariadb_install.inc: line 202: /usr/bin/yum: Cannot allocate memory
    
    real    0m0.000s
    user    0m0.000s
    sys     0m0.001s
    inc/mariadb_install.inc: line 204: /usr/bin/cp: Cannot allocate memory
    inc/mariadb_install.inc: line 209: /usr/bin/sed: Cannot allocate memory
    inc/mariadb_install.inc: line 210: /usr/bin/sed: Cannot allocate memory
    inc/mariadb_install.inc: line 211: /usr/bin/sed: Cannot allocate memory
    inc/mariadb_install.inc: line 212: /usr/bin/sed: Cannot allocate memory
    
    systemctl restart mysql.service
    ./centmin.sh: line 152: /usr/bin/systemctl: Cannot allocate memory
    ------------------------------------------------
    Installing MariaDB 10 plugins
    ------------------------------------------------
    mysql -e "INSTALL SONAME 'metadata_lock_info';"
    inc/mariadb_install.inc: line 229: mysql: command not found
    mysql -e "INSTALL SONAME 'query_cache_info';"
    inc/mariadb_install.inc: line 231: mysql: command not found
    mysql -e "INSTALL SONAME 'query_response_time';"
    inc/mariadb_install.inc: line 233: mysql: command not found
    mysql -t -e "SELECT * FROM mysql.plugin;"
    inc/mariadb_install.inc: line 240: mysql: command not found
    mysql -t -e "SHOW PLUGINS;"
    inc/mariadb_install.inc: line 242: mysql: command not found
    mysql -t -e "SHOW ENGINES;"
    inc/mariadb_install.inc: line 244: mysql: command not found
    
    inc/mariadb_install.inc: line 309: /usr/bin/yum: Cannot allocate memory
    inc/mariadb_install.inc: line 320: /usr/bin/grep: Cannot allocate memory
    inc/mariadb_install.inc: line 321: /etc/yum.repos.d/mariadb.repo: Cannot allocate memory
    
    
    Copying MariaDB my-mdb10.cnf file to /etc/my.cnf
    
    inc/mariadb_install.inc: line 501: /usr/bin/cp: Cannot allocate memory
    inc/mariadb_install.inc: line 505: /usr/bin/grep: Cannot allocate memory
    Can't find exclude line in /etc/yum.conf... adding exclude line for mysql*
    ./centmin.sh: line 742: /usr/bin/tput: Cannot allocate memory
    *************************************************
    * Starting MariaDB Secure Installation
    ./centmin.sh: line 742: /usr/bin/tput: Cannot allocate memory
    *************************************************
    inc/mariadb_install.inc: line 523: mysql_upgrade: command not found
    systemctl restart mysql.service
    ./centmin.sh: line 152: /usr/bin/systemctl: Cannot allocate memory
    systemctl stop mysql.service
    ./centmin.sh: line 152: /usr/bin/systemctl: Cannot allocate memory
    inc/mariadb_install.inc: line 539: /usr/bin/gzip: Cannot allocate memory
    systemctl start mysql.service
    ./centmin.sh: line 152: /usr/bin/systemctl: Cannot allocate memory
    *************************************************
    * MariaDB installed
    ./centmin.sh: line 742: /usr/bin/tput: Cannot allocate memory
    *************************************************
    systemctl stop mysql.service
    ./centmin.sh: line 152: /usr/bin/systemctl: Cannot allocate memory
    ./centmin.sh: line 1032: /usr/bin/date: Cannot allocate memory
    *************************************************
    * Installing PHP
    ./centmin.sh: line 742: /usr/bin/tput: Cannot allocate memory
    *************************************************
    ./centmin.sh: line 1044: /usr/bin/rpm: Cannot allocate memory
    ./centmin.sh: line 1044: /usr/bin/grep: Cannot allocate memory
    /bin/sh: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: Cannot allocate memory
    ./centmin.sh: line 1059: /usr/bin/mkdir: Cannot allocate memory
    inc/phpfpmdir.inc: line 4: /usr/bin/mkdir: Cannot allocate memory
    inc/php_configure.inc: line 10: /usr/bin/cat: Cannot allocate memory
    inc/php_configure.inc: line 10: awk: command not found
    inc/php_configure.inc: line 10: /usr/bin/grep: Cannot allocate memory
    inc/php_configure.inc: line 11: awk: command not found
    inc/php_configure.inc: line 11: /usr/bin/head: Cannot allocate memory
    inc/php_configure.inc: line 15: /usr/bin/bc: Cannot allocate memory
    inc/php_configure.inc: line 16: /usr/bin/bc: Cannot allocate memory
    inc/php_configure.inc: line 17: /usr/bin/expr: Cannot allocate memory
    inc/php_configure.inc: line 41: /usr/bin/yum: Cannot allocate memory
    inc/php_configure.inc: line 46: /usr/bin/yum: Cannot allocate memory
    inc/php_configure.inc: line 50: /usr/bin/yum: Cannot allocate memory
    inc/php_configure.inc: line 58: /usr/bin/yum: Cannot allocate memory
    inc/php_configure.inc: line 62: /usr/bin/yum: Cannot allocate memory
    inc/php_configure.inc: line 66: /usr/bin/yum: Cannot allocate memory
    inc/php_configure.inc: line 70: /usr/bin/yum: Cannot allocate memory
    inc/php_configure.inc: line 74: /usr/bin/yum: Cannot allocate memory
    inc/php_configure.inc: line 86: /usr/bin/yum: Cannot allocate memory
    inc/php_configure.inc: line 93: /usr/bin/yum: Cannot allocate memory
    inc/php_configure.inc: line 138: /usr/bin/rpm: Cannot allocate memory
    inc/php_configure.inc: line 139: /usr/bin/yum: Cannot allocate memory
    ../configure --enable-fpm --enable-intl --enable-pcntl --with-mcrypt --with-snmp --with-mhash --with-zlib --with-gettext --enable-exif --enable-zip --with-bz2 --enable-soap --enable-sockets --enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-shmop --with-pear --enable-mbstring --with-openssl --with-mysql=mysqlnd --with-libdir=lib64 --with-mysqli=mysqlnd --with-mysql-sock=/var/lib/mysql/mysql.sock --with-curl --with-gd --with-xmlrpc --enable-bcmath --enable-calendar --enable-ftp --enable-gd-native-ttf --with-freetype-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --with-xpm-dir=/usr --with-vpx-dir=/usr --with-t1lib=/usr --enable-pdo --with-pdo-sqlite --with-pdo-mysql=mysqlnd --enable-inline-optimization --with-imap --with-imap-ssl --with-kerberos --with-readline --with-libedit --with-gmp --with-pspell --with-tidy --with-enchant --with-fpm-user=nginx --with-fpm-group=nginx --disable-fileinfo --with-config-file-scan-dir=/etc/centminmod/php.d --with-xsl
    inc/php_configure.inc: line 265: ../configure: No such file or directory
    inc/php_configure.inc: line 269: /usr/bin/make: Cannot allocate memory
    
    real    0m0.000s
    user    0m0.000s
    sys     0m0.000s
    inc/php_configure.inc: line 275: /usr/bin/make: Cannot allocate memory
    
    real    0m0.000s
    user    0m0.000s
    sys     0m0.000s
    
    strip PHP binary...
    inc/php_configure.inc: line 280: /usr/bin/ls: Cannot allocate memory
    inc/php_configure.inc: line 281: /usr/bin/ls: Cannot allocate memory
    inc/php_configure.inc: line 282: /usr/bin/strip: Cannot allocate memory
    inc/php_configure.inc: line 283: /usr/bin/strip: Cannot allocate memory
    inc/php_configure.inc: line 284: /usr/bin/ls: Cannot allocate memory
    inc/php_configure.inc: line 285: /usr/bin/ls: Cannot allocate memory
    
    ----------------------------------------------------------------------------------
    ./centmin.sh: line 742: /usr/bin/tput: Cannot allocate memory
    PHP was not installed properly
    ----------------------------------------------------------------------------------
    ./centmin.sh: line 742: /usr/bin/tput: Cannot allocate memory
    ./centmin.sh: line 1089: /usr/bin/cp: Cannot allocate memory
    ./centmin.sh: line 1090: /usr/bin/chmod: Cannot allocate memory
    inc/phpsededit.inc: line 6: /usr/bin/touch: Cannot allocate memory
    inc/phpsededit.inc: line 14: /usr/bin/date: Cannot allocate memory
    inc/phpsededit.inc: line 17: /etc/centminmod/php.d/a_customphp.ini: Cannot allocate memory
    inc/phpsededit.inc: line 39: /etc/centminmod/php.d/a_customphp.ini: Cannot allocate memory
    inc/phpsededit.inc: line 40: /etc/centminmod/php.d/a_customphp.ini: Cannot allocate memory
    inc/phpsededit.inc: line 41: /etc/centminmod/php.d/a_customphp.ini: Cannot allocate memory
    inc/phpsededit.inc: line 42: /etc/centminmod/php.d/a_customphp.ini: Cannot allocate memory
    inc/phpsededit.inc: line 43: /etc/centminmod/php.d/a_customphp.ini: Cannot allocate memory
    inc/phpsededit.inc: line 44: /etc/centminmod/php.d/a_customphp.ini: Cannot allocate memory
    inc/phpsededit.inc: line 45: /etc/centminmod/php.d/a_customphp.ini: Cannot allocate memory
    inc/phpsededit.inc: line 46: /etc/centminmod/php.d/a_customphp.ini: Cannot allocate memory
    inc/phpsededit.inc: line 47: /etc/centminmod/php.d/a_customphp.ini: Cannot allocate memory
    inc/phpsededit.inc: line 48: /etc/centminmod/php.d/a_customphp.ini: Cannot allocate memory
    inc/phpsededit.inc: line 49: /etc/centminmod/php.d/a_customphp.ini: Cannot allocate memory
    inc/phpsededit.inc: line 50: /etc/centminmod/php.d/a_customphp.ini: Cannot allocate memory
    inc/phpsededit.inc: line 54: /etc/centminmod/php.d/a_customphp.ini: Cannot allocate memory
    inc/phpsededit.inc: line 60: /usr/bin/wget: Cannot allocate memory
    inc/phpsededit.inc: line 61: /etc/centminmod/php.d/curlcainfo.ini: Cannot allocate memory
    
    
    
    Copying php-fpm.conf /usr/local/etc/php-fpm.conf
    
    ./centmin.sh: line 1116: /usr/bin/cp: Cannot allocate memory
    ./centmin.sh: line 1121: /usr/bin/cp: Cannot allocate memory
    ./centmin.sh: line 1127: /usr/bin/file: Cannot allocate memory
    ./centmin.sh: line 1135: /usr/bin/chmod: Cannot allocate memory
    ./centmin.sh: line 1137: /usr/bin/mkdir: Cannot allocate memory
    ./centmin.sh: line 1138: /usr/bin/chmod: Cannot allocate memory
    ./centmin.sh: line 1139: /usr/bin/touch: Cannot allocate memory
    ./centmin.sh: line 1140: /usr/bin/chown: Cannot allocate memory
    ./centmin.sh: line 1141: /usr/bin/chown: Cannot allocate memory
    ./centmin.sh: line 1143: /usr/bin/mkdir: Cannot allocate memory
    ./centmin.sh: line 1144: /usr/bin/touch: Cannot allocate memory
    ./centmin.sh: line 1145: /usr/bin/touch: Cannot allocate memory
    ./centmin.sh: line 1146: /usr/bin/chmod: Cannot allocate memory
    ./centmin.sh: line 1147: /usr/bin/chmod: Cannot allocate memory
    inc/phpfpmdir.inc: line 4: /usr/bin/mkdir: Cannot allocate memory
    ./centmin.sh: line 1151: /usr/sbin/chkconfig: Cannot allocate memory
    ./centmin.sh: line 1154: /etc/init.d/php-fpm: Cannot allocate memory
    ./centmin.sh: line 1156: /usr/bin/grep: Cannot allocate memory
    ./centmin.sh: line 1164: /usr/bin/grep: Cannot allocate memory
    ./centmin.sh: line 1173: /usr/bin/grep: Cannot allocate memory
    ./centmin.sh: line 1179: /usr/bin/grep: Cannot allocate memory
    Can't find exclude line in /etc/yum.conf... adding exclude line for nginx* php*
    ./centmin.sh: line 742: /usr/bin/tput: Cannot allocate memory
    ----------------------------------------------
    Creating /etc/logrotate.d/php-fpm file
    ----------------------------------------------
    ......
    inc/logrotate_phpfpm.inc: line 26: /usr/bin/touch: Cannot allocate memory
    inc/logrotate_phpfpm.inc: line 28: /etc/logrotate.d/php-fpm: Cannot allocate memory
    ----------------------------------------------------------------------------
    inc/logrotate_phpfpm.inc: line 45: /usr/bin/cat: Cannot allocate memory
    ---------------------------------------------------------------------------
    Current php-fpm log directories:
    ---------------------------------------------------------------------------
    ----------------------------------------------------------------------------
    php-fpm logrotation /etc/logrotate.d/php-fpm setup completed
    ----------------------------------------------------------------------------
    *************************************************
    * PHP installed
    ./centmin.sh: line 742: /usr/bin/tput: Cannot allocate memory
    *************************************************
    ./centmin.sh: line 1192: /usr/bin/date: Cannot allocate memory
    ./centmin.sh: line 1193: /usr/bin/bc: Cannot allocate memory
    ./centmin.sh: line 1197: /usr/bin/ls: Cannot allocate memory
    ./centmin.sh: line 1216: /usr/bin/cut: Cannot allocate memory
    inc/igbinary.inc: line 6: php: command not found
    inc/igbinary.inc: line 6: /usr/bin/head: Cannot allocate memory
    inc/igbinary.inc: line 6: awk: command not found
    inc/igbinary.inc: line 6: /usr/bin/cut: Cannot allocate memory
    inc/igbinary.inc: line 6: /usr/bin/grep: Cannot allocate memory
    126
    Compiling igbinary...
    inc/igbinary.inc: line 47: /usr/bin/wget: Cannot allocate memory
    inc/igbinary.inc: line 50: /usr/bin/tar: Cannot allocate memory
    inc/igbinary.inc: line 55: cd: /svr-setup/igbinary-igbinary-*/: No such file or directory
    inc/igbinary.inc: line 59: head: command not found
    inc/igbinary.inc: line 59: /usr/bin/autoconf: Cannot allocate memory
    inc/igbinary.inc: line 60: /usr/local/bin/phpize: Cannot allocate memory
    inc/igbinary.inc: line 61: /usr/local/bin/phpize: Cannot allocate memory
    /svr-setup
    inc/igbinary.inc: line 63: ./configure: No such file or directory
    inc/igbinary.inc: line 64: /usr/bin/make: Cannot allocate memory
    inc/igbinary.inc: line 66: /usr/bin/make: Cannot allocate memory
    inc/igbinary.inc: line 99: /usr/bin/grep: Cannot allocate memory
    inc/igbinary.inc: line 100: /usr/bin/grep: Cannot allocate memory
    inc/igbinary.inc: line 104: /etc/centminmod/php.d/igbinary.ini: Cannot allocate memory
    inc/igbinary.inc: line 120: /usr/bin/grep: Cannot allocate memory
    service php-fpm reload
    /bin/sh: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: Cannot allocate memory
    *************************************************
    * Installing postfix
    ./centmin.sh: line 742: /usr/bin/tput: Cannot allocate memory
    *************************************************
    ./centmin.sh: line 1311: /usr/bin/yum: Cannot allocate memory
    inc/postfix.inc: line 4: /usr/bin/yum: Cannot allocate memory
    inc/postfix.inc: line 6: /usr/bin/yum: Cannot allocate memory
    inc/postfix.inc: line 8: /usr/bin/grep: Cannot allocate memory
    inc/postfix.inc: line 15: /usr/bin/du: Cannot allocate memory
    inc/postfix.inc: line 15: head: command not found
    inc/postfix.inc: line 15: /usr/bin/sed: Cannot allocate memory
    inc/postfix.inc: line 15: awk: command not found
    inc/postfix.inc: line 16: /usr/bin/bc: Cannot allocate memory
    inc/postfix.inc: line 17: postconf: command not found
    inc/postfix.inc: line 17: /usr/bin/grep: Cannot allocate memory
    inc/postfix.inc: line 17: awk: command not found
    inc/postfix.inc: line 17: /usr/bin/head: Cannot allocate memory
    inc/postfix.inc: line 18: /usr/bin/bc: Cannot allocate memory
    inc/postfix.inc: line 19: /usr/bin/grep: Cannot allocate memory
    inc/postfix.inc: line 23: /usr/bin/mkfifo: Cannot allocate memory
    inc/postfix.inc: line 24: /usr/bin/chown: Cannot allocate memory
    inc/postfix.inc: line 27: postconf: command not found
    inc/postfix.inc: line 28: postconf: command not found
    inc/postfix.inc: line 29: postconf: command not found
    inc/postfix.inc: line 30: postconf: command not found
    inc/postfix.inc: line 31: postconf: command not found
    inc/postfix.inc: line 32: postconf: command not found
    inc/postfix.inc: line 33: postconf: command not found
    inc/postfix.inc: line 34: postconf: command not found
    inc/postfix.inc: line 35: postconf: command not found
    inc/postfix.inc: line 36: postconf: command not found
    inc/postfix.inc: line 37: postconf: command not found
    inc/postfix.inc: line 38: postconf: command not found
    inc/postfix.inc: line 39: postconf: command not found
    inc/postfix.inc: line 41: postconf: command not found
    inc/postfix.inc: line 42: postconf: command not found
    inc/postfix.inc: line 43: postconf: command not found
    inc/postfix.inc: line 44: postconf: command not found
    inc/postfix.inc: line 46: postconf: command not found
    /bin/sh: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: Cannot allocate memory
    inc/postfix.inc: line 47: postconf: command not found
    inc/postfix.inc: line 48: postconf: command not found
    inc/postfix.inc: line 49: egrep: command not found
    inc/postfix.inc: line 49: postconf: command not found
    inc/postfix.inc: line 51: postconf: command not found
    /bin/sh: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: Cannot allocate memory
    inc/postfix.inc: line 52: postconf: command not found
    inc/postfix.inc: line 53: postconf: command not found
    /bin/sh: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: Cannot allocate memory
    inc/postfix.inc: line 54: postconf: command not found
    inc/postfix.inc: line 56: postconf: command not found
    /bin/sh: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: Cannot allocate memory
    inc/postfix.inc: line 57: postconf: command not found
    inc/postfix.inc: line 58: postconf: command not found
    inc/postfix.inc: line 59: postconf: command not found
    /bin/sh: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: Cannot allocate memory
    inc/postfix.inc: line 61: postconf: command not found
    inc/postfix.inc: line 61: /usr/bin/grep: Cannot allocate memory
    inc/postfix.inc: line 62: postconf: command not found
    inc/postfix.inc: line 63: postconf: command not found
    inc/postfix.inc: line 63: /usr/bin/grep: Cannot allocate memory
    inc/postfix.inc: line 76: postconf: command not found
    inc/postfix.inc: line 77: postconf: command not found
    inc/postfix.inc: line 78: postconf: command not found
    inc/postfix.inc: line 79: postconf: command not found
    inc/postfix.inc: line 80: postconf: command not found
    /bin/sh: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: Cannot allocate memory
    inc/postfix.inc: line 82: postconf: command not found
    systemctl restart postfix.service
    ./centmin.sh: line 152: /usr/bin/systemctl: Cannot allocate memory
    inc/postfix.inc: line 85: postconf: command not found
    inc/postfix.inc: line 85: /usr/bin/grep: Cannot allocate memory
    inc/postfix.inc: line 85: /usr/bin/head: Cannot allocate memory
    inc/postfix.inc: line 85: awk: command not found
    inc/postfix.inc: line 88: /usr/bin/wget: Cannot allocate memory
    inc/postfix.inc: line 89: /usr/bin/tar: Cannot allocate memory
    inc/postfix.inc: line 90: cd: pflogsumm-1.1.5: No such file or directory
    inc/postfix.inc: line 91: /usr/bin/cp: Cannot allocate memory
    inc/postfix.inc: line 92: /usr/bin/chmod: Cannot allocate memory
    *************************************************
    * postfix installed
    ./centmin.sh: line 742: /usr/bin/tput: Cannot allocate memory
    *************************************************
    incmemcachedinstall
    inc/memcached_install.inc: line 135: awk: command not found
    inc/memcached_install.inc: line 135: /usr/bin/cat: Cannot allocate memory
    *************************************************
    * Installing memcached
    ./centmin.sh: line 742: /usr/bin/tput: Cannot allocate memory
    *************************************************
    Downloading memcached...
    Check if mcperf-0.1.1.tar.gz exists
    ./centmin.sh: line 742: /usr/bin/tput: Cannot allocate memory
    Downloading mcperf tarball..
    ./centmin.sh: line 742: /usr/bin/tput: Cannot allocate memory
    Download twemperf-0.1.1.tar.gz ...
    ./centmin.sh: line 742: /usr/bin/tput: Cannot allocate memory
    twemperf-0.1.1.tar.gz found, skipping download...
    ./centmin.sh: line 742: /usr/bin/tput: Cannot allocate memory
    inc/downloads.inc: line 1740: /usr/bin/tar: Cannot allocate memory
    Error: twemperf-0.1.1.tar.gz extraction failed.
    ./centmin.sh: line 742: /usr/bin/tput: Cannot allocate memory
    check Centmin Mod log for details at /root/centminlogs/
    Aborting script...
    bc: error while loading shared libraries: libncurses.so.5: cannot open shared object file: Cannot allocate memory
    
    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 Time: 145.3591 seconds
    Total YUM Time: 61.159643195 seconds
    installer.sh: line 142: printf: seconds: invalid number
    Total YUM + Source Download Time: 96.4000
    installer.sh: line 150: printf: seconds: invalid number
    Total Nginx First Time Install Time: 0.0000
    installer.sh: line 151: printf: seconds: invalid number
    Total PHP First Time Install Time: 0.0000
    Download Zip From Github Time: 16.5801
    Total Time Other eg. source compiles: -96.4000
    Total Centmin Mod Install Time: 0.0000
    ---------------------------------------------------------------------------
    Total Install Time (curl yum + cm install + zip download): 161.9392 seconds
    ---------------------------------------------------------------------------
    
    [root@server15 ~]#
    
     
  3. eva2000

    eva2000 Administrator Staff Member

    55,229
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,831
    Local Time:
    9:54 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    you ran out of memory it seems !

    You'll need to post on the forums with the following info
    • Server or VPS details ? XEN, KVM, OpenVZ, VMWare or dedicated server ? OS ? CentOS 6.7 or 7.2 ? 32bit or 64bit ?
    • What version of Centmin Mod ? .07 stable or 08 stable or .09 beta01 or another branch version ?
    • Was it fresh install or upgrade ?
    • Method of install ? Via centmin.sh menu option 1, Git install or curl one liner install as outlined at centminmod.com/download.html ?
    • How long ago did you install Centmin Mod ?
    • There's numerous code changes, bug fixes over time, so ensure you have latest Centmin Mod code installed by upgrading your Centmin Mod code as instructed below.

    Troubleshooting Initial Install



    To troubleshoot initial installation, you need to check the initial install log at /root/centminlogs and instructions under Sharing logs and errors heading for using Pastebin.com or Gists to share a sanitised version of the contents of the initial install log. You can see full details at How to troubleshoot Centmin Mod initial install issues
     
  4. eva2000

    eva2000 Administrator Staff Member

    55,229
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,831
    Local Time:
    9:54 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    oh btw, did you install as root user or sudo user ? centmin mod 123.08stable doesn't support sudo user, need to install as root user
     
  5. johnnyc

    johnnyc Member

    41
    2
    8
    Mar 23, 2015
    Ratings:
    +2
    Local Time:
    6:54 AM
    I saw that and that's not possible unless there is a MAJOR problem.

    The VPS has 4GB of ram, and when I was running "top" BEFORE the install, Centmin was using something like 50mb worth. Same exact case on centos 6 and centos 7 Minimum installs.

    • Server or VPS details ? XEN, KVM, OpenVZ, VMWare or dedicated server ? OS ? CentOS 6.7 or 7.2 ? 32bit or 64bit ?
    OPENVZ . Same error both times. Tried Centos 6.7 32bit, then reinstall with centos 7 64bit MIN install.

    • What version of Centmin Mod ? .07 stable or 08 stable or .09 beta01 or another branch version ?
    08 stable
    • Was it fresh install or upgrade ?
    • Completely fresh VPS install.

    • Method of install ? Via centmin.sh menu option 1, Git install or curl one liner install as outlined atcentminmod.com/download.html ?
    • CURL 1 line installer.
    • How long ago did you install Centmin Mod ?
    • Today, this morning.

    • There's numerous code changes, bug fixes over time, so ensure you have latest Centmin Mod code installed by upgrading your Centmin Mod code as instructed below.
     
  6. johnnyc

    johnnyc Member

    41
    2
    8
    Mar 23, 2015
    Ratings:
    +2
    Local Time:
    6:54 AM
    root User.
     
  7. johnnyc

    johnnyc Member

    41
    2
    8
    Mar 23, 2015
    Ratings:
    +2
    Local Time:
    6:54 AM
    I was able to reboot the VPS, and then continue the install with cd /usr/local/src/centminmod/; ./centmin.sh; option 1.

    It installed okay this time.

    Do you know what Auto Updates happened in the last 7 days (via 08stable default cron script) which would have broke FastCGI / php-fpm?
     
  8. eva2000

    eva2000 Administrator Staff Member

    55,229
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,831
    Local Time:
    9:54 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Could be problem with OpenVZ VPS as it reports and uses memory differently than KVM/Xen, VMWare which can inflate memory usage.

    post output for this command
    Code (Text):
    cat /proc/user_beancounters

    OpenVZ has limits to system resource usage as OpenVZ host nodes can be oversold by web hosts i.e. allocating more memory to each OpenVZ VPS which the real host node doesn't have. i.e. 64GB host node could host 32 VPS each with 4GB allocated = 128GB memory on 64GB host node.

    Who's your web host ?
     
  9. eva2000

    eva2000 Administrator Staff Member

    55,229
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,831
    Local Time:
    9:54 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    a bit of info at vps - sudo: unable to create sockets: Cannot allocate memory - Server Fault

    and KB Plesk: UBC resources in Parallels Virtuozzo Containers for Linux

     
  10. eva2000

    eva2000 Administrator Staff Member

    55,229
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,831
    Local Time:
    9:54 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+

    basically your issue is you probably hit the UBC limits so your output at failure time has alot of counters for failcnt column which means you reached the limits preset by your web host providing you the OpenVZ VPS.

    If you want guaranteed resources, it's better to use KVM or Xen VPS than OpenVZ VPS !

    examples from 2 of my OpenVZ VPSes

    On OpenVZ 1GB memory server
    Code (Text):
    free -m
                  total        used        free      shared  buff/cache   available
    Mem:           1024           0          11         471        1012         874
    Swap:          1024         214         809
    

    Code (Text):
    cat /proc/user_beancounters
    Version: 2.5
           uid  resource                     held              maxheld              barrier                limit              failcnt
         2643:  kmemsize                976029555           1022353408  9223372036854775807  9223372036854775807                    0
                lockedpages                     0                    0               262144               262144                    0
                privvmpages                263936               437098  9223372036854775807  9223372036854775807                    0
                shmpages                   120633               121956  9223372036854775807  9223372036854775807                    0
                dummy                           0                    0  9223372036854775807  9223372036854775807                    0
                numproc                        73                  186  9223372036854775807  9223372036854775807                    0
                physpages                  260537               262371               262144               262144                    0
                vmguarpages                     0                    0               524288  9223372036854775807                    0
                oomguarpages                66638               212123               262144  9223372036854775807                    0
                numtcpsock                     26                  149  9223372036854775807  9223372036854775807                    0
                numflock                        7                   24  9223372036854775807  9223372036854775807                    0
                numpty                          1                    3  9223372036854775807  9223372036854775807                    0
                numsiginfo                      0                   66  9223372036854775807  9223372036854775807                    0
                tcpsndbuf                  914664              4114432  9223372036854775807  9223372036854775807                    0
                tcprcvbuf                  602240             10676912  9223372036854775807  9223372036854775807                    0
                othersockbuf               208080               427304  9223372036854775807  9223372036854775807                    0
                dgramrcvbuf                     0                14368  9223372036854775807  9223372036854775807                    0
                numothersock                  151                  190  9223372036854775807  9223372036854775807                    0
                dcachesize              957226892           1006166896  9223372036854775807  9223372036854775807                    0
                numfile                      1432                 2785  9223372036854775807  9223372036854775807                    0
                dummy                           0                    0  9223372036854775807  9223372036854775807                    0
                dummy                           0                    0  9223372036854775807  9223372036854775807                    0
                dummy                           0                    0  9223372036854775807  9223372036854775807                    0
                numiptent                    1008                 1008  9223372036854775807  9223372036854775807                    0


    on OpenVZ server with 1GB memory
    Code (Text):
    free -m
                  total        used        free      shared  buff/cache   available
    Mem:           1024           0         248         227         775         799
    Swap:          1024          80         943

    Code (Text):
    cat /proc/user_beancounters
    Version: 2.5
           uid  resource                     held              maxheld              barrier                limit              failcnt
          251:  kmemsize                137604923            284540928            536870912            536870912                    0
                lockedpages                     0                    8               131072               131072                    0
                privvmpages                242739               474925  9223372036854775807  9223372036854775807                    0
                shmpages                    58155                95464  9223372036854775807  9223372036854775807                    0
                dummy                           0                    0  9223372036854775807  9223372036854775807                    0
                numproc                        73                  138  9223372036854775807  9223372036854775807                    0
                physpages                  198500               262194                    0               262144                    0
                vmguarpages                     0                    0  9223372036854775807  9223372036854775807                    0
                oomguarpages                53404               175918  9223372036854775807  9223372036854775807                    0
                numtcpsock                     19                  152  9223372036854775807  9223372036854775807                    0
                numflock                      104                  332  9223372036854775807  9223372036854775807                    0
                numpty                          1                    3  9223372036854775807  9223372036854775807                    0
                numsiginfo                      0                   33  9223372036854775807  9223372036854775807                    0
                tcpsndbuf                  331360              2823232  9223372036854775807  9223372036854775807                    0
                tcprcvbuf                  311296             22857328  9223372036854775807  9223372036854775807                    0
                othersockbuf               210392               870904  9223372036854775807  9223372036854775807                    0
                dgramrcvbuf                     0                27048  9223372036854775807  9223372036854775807                    0
                numothersock                  151                  175  9223372036854775807  9223372036854775807                    0
                dcachesize              125052432            268435456            268435456            268435456                    0
                numfile                      1328                 1985  9223372036854775807  9223372036854775807                    0
                dummy                           0                    0  9223372036854775807  9223372036854775807                    0
                dummy                           0                    0  9223372036854775807  9223372036854775807                    0
                dummy                           0                    0  9223372036854775807  9223372036854775807                    0
                numiptent                    1045                 1045  9223372036854775807  9223372036854775807                    0


    example for privvmpages
    All this applies to OpenVZ VPSes only. KVM and Xen doesn't have such restrictions.
     
    Last edited: Oct 20, 2016