Welcome to Centmin Mod Community
Become a Member

Beta Branch 123.09beta01 install errors

Discussion in 'Beta release code' started by apidevlab, May 21, 2016.

  1. apidevlab

    apidevlab Member

    91
    33
    18
    Mar 22, 2016
    /dev/null
    Ratings:
    +58
    Local Time:
    10:07 PM
    1.11.1
    5.2.14-122
    Clean install (Github branch method) on clean updated Centos 6 x64 1 GB RAM
    Menu Option 1 > No /etc/centminmod/custom_config.inc


    It's failed 4 times today seems to be a PHP-FPM issue.

    Code (Text):
    --------------------------------------------------------
    Check PHP-FPM Version:
    --------------------------------------------------------
    /usr/bin/which: no php in (/usr/lib64/ccache:/usr/lib64/ccache:/usr/local/sbin:/  usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
    inc/centminfinish.inc: line 67: -v: command not found
    

    centminmod_phpinstalltime_210516-044822.log is empty
    Code (Text):
    Total PHP First Time Install Time: 76.400784948 seconds
    


    Everything in centminmod_1.2.3-eva2000.09.001_210516-044822_install.log seems ok until

    Code (Text):
    strip PHP binary...
    ls: cannot access /usr/local/bin/php: No such file or directory
    ls: cannot access /usr/local/bin/php-cgi: No such file or directory
    strip: '/usr/local/bin/php': No such file
    strip: '/usr/local/bin/php-cgi': No such file
    ls: cannot access /usr/local/bin/php: No such file or directory
    ls: cannot access /usr/local/bin/php-cgi: No such file or directory
    ----------------------------------------------------------------------------------
    PHP was not installed properly
    ----------------------------------------------------------------------------------
    



    Seems as though a few log files were not created, not 100% sure. I will post proper logs as required, it's early AM here so will be later today. Like I said this has happened x4 today if you can give me some idea where to look in the logs I can narrow the issue down. Everything else seems to have compiled/downloaded as expected.

    Also the same behaviour seen with Option 5 (didn't keep those logs from earlier) the current log shows:
    Code (Text):
    Download php-5.6.21.tar.gz ...
    Download done.
    php-5.6.21.tar.gz valid file.
    
     
    Last edited: May 21, 2016
  2. eva2000

    eva2000 Administrator Staff Member

    54,519
    12,211
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,780
    Local Time:
    8:07 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yeah logs for install log at /root/centminlogs which you can post to pastebin.com or gist.github.com or if you want to search you're look for php tar.gz download section could be broken download link or network connectivity issues which are most common
     
  3. apidevlab

    apidevlab Member

    91
    33
    18
    Mar 22, 2016
    /dev/null
    Ratings:
    +58
    Local Time:
    10:07 PM
    1.11.1
    5.2.14-122
    The download seems to have been ok, I have confirmed that.It seems that the compile of php hasn't happened. I just performed an Option 5 downgrade to 5.6.20 which failed

    Just peforming an Option 5 with 5.6.19 and on initial investigation a common issue is:

    Code (Text):
    make: *** No rule to make target `clean'.  Stop.
    Forcing buildconf
    Removing configure caches
    buildconf: checking installation...
    buildconf: autoconf version 2.63 (ok)
    make: *** No rule to make target `clean'.  Stop.
      ____  _  _  ____  ____  __  _   
     |  _ \ | | | ||  _ \  _  / ___| ___  _ __  / _|(_)  __ _  _  _  _ __  ___
     | |_) || |_| || |_) |(_) | |  / _ \ | '_ \ | |_ | | / _` || | | || '__|/ _ \
     |  __/ |  _  ||  __/  _  | |___| (_) || | | ||  _|| || (_| || |_| || |  |  __/
     |_|  |_| |_||_|  (_)  \____|\___/ |_| |_||_|  |_| \__, | \__,_||_|  \___|
      |___/   
    Package 1:net-snmp-5.5-54.el6_7.1.x86_64 already installed and latest version
    Package 1:net-snmp-libs-5.5-54.el6_7.1.x86_64 already installed and latest version
    Package 1:net-snmp-utils-5.5-54.el6_7.1.x86_64 already installed and latest version
    Error: Package: openssl-devel-1.0.1e-42.el6_7.4.x86_64 (updates)
      Requires: openssl = 1.0.1e-42.el6_7.4
      Installed: openssl-1.0.1e-48.el6_8.1.x86_64 (@cr)
      openssl = 1.0.1e-48.el6_8.1
      Available: openssl-1.0.1e-42.el6.x86_64 (base)
      openssl = 1.0.1e-42.el6
      Available: openssl-1.0.1e-42.el6_7.1.x86_64 (updates)
      openssl = 1.0.1e-42.el6_7.1
      Available: openssl-1.0.1e-42.el6_7.2.x86_64 (updates)
      openssl = 1.0.1e-42.el6_7.2
      Available: openssl-1.0.1e-42.el6_7.4.x86_64 (updates)
      openssl = 1.0.1e-42.el6_7.4
     You could try using --skip-broken to work around the problem
     You could try running: rpm -Va --nofiles --nodigest
    
     
    Last edited: May 21, 2016
  4. eva2000

    eva2000 Administrator Staff Member

    54,519
    12,211
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,780
    Local Time:
    8:07 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    ah i see what happened, i added a check to install CR YUM repo openssl vulnerability fixed OpenSSL yum package, openssl-1.0.1e-48.el6_8.1 and that has a conflict with other packages - will need to fix that for CentOS 6

    can you post output for these 2 commands in CODE tags
    Code (Text):
    yum history list net-snmp-devel
    yum history list openssl-devel


    edit: just tested myself on CentOS 6 via centmin.sh menu option 5 and it works for me with openssl vulnerability fixed OpenSSL yum package, openssl-1.0.1e-48.el6_8.1

    fresh install on centos 6 worked too
    Code (Text):
    *************************************************
    * Post-Install Check List....
    *************************************************
    
    --------------------------------------------------------
    Check ccache Version:
    --------------------------------------------------------
    ccache version 3.2.4
    
    Copyright (C) 2002-2007 Andrew Tridgell
    Copyright (C) 2009-2015 Joel Rosdahl
    
    This program is free software; you can redistribute it and/or modify it under
    the terms of the GNU General Public License as published by the Free Software
    Foundation; either version 3 of the License, or (at your option) any later
    version.
    
    --------------------------------------------------------
    Check Nginx Version:
    --------------------------------------------------------
    nginx version: nginx/1.9.15
    built by clang 3.4.2 (tags/RELEASE_34/dot2-final)
    built with LibreSSL 2.3.4
    TLS SNI support enabled
    configure arguments: --with-ld-opt='-lrt -ljemalloc -Wl,-z,relro -Wl,-rpath,/usr/local/lib' --with-cc-opt='-m64 -mtune=native -mfpmath=sse -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 -Wno-c++11-compat-deprecated-writable-strings -Wno-write-strings' --sbin-path=/usr/local/sbin/nginx --conf-path=/usr/local/nginx/conf/nginx.conf --with-http_stub_status_module --with-http_secure_link_module --with-openssl-opt=enable-tlsext --add-module=../nginx-module-vts --with-libatomic --with-threads --with-stream=dynamic --with-stream_ssl_module --with-http_gzip_static_module --with-http_sub_module --with-http_addition_module --with-http_image_filter_module=dynamic --with-http_geoip_module --with-http_realip_module --add-module=../ngx-fancyindex-0.3.6 --add-module=../ngx_cache_purge-2.3 --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=../memc-nginx-module-0.17 --add-module=../srcache-nginx-module-0.31 --add-module=../headers-more-nginx-module-0.30 --with-pcre=../pcre-8.38 --with-pcre-jit --with-http_ssl_module --with-http_v2_module --with-openssl=../libressl-2.3.4
    
    --------------------------------------------------------
    Check PHP-FPM Version:
    --------------------------------------------------------
    PHP 5.6.21 (cli) (built: May 21 2016 16:06:46)
    Copyright (c) 1997-2016 The PHP Group
    Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
        with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
    
    --------------------------------------------------------
    Check MariaDB installed RPM Versions:
    --------------------------------------------------------
    MariaDB-client-10.1.14-1.el6.x86_64
    MariaDB-shared-10.1.14-1.el6.x86_64
    MariaDB-compat-10.1.14-1.el6.x86_64
    MariaDB-devel-10.1.14-1.el6.x86_64
    MariaDB-common-10.1.14-1.el6.x86_64
    MariaDB-server-10.1.14-1.el6.x86_64
    
    --------------------------------------------------------
    Check Memcached Server Version:
    --------------------------------------------------------
    memcached 1.4.25
    
    --------------------------------------------------------
    Check CSF Firewall Version:
    --------------------------------------------------------
    csf: v8.25 (generic)
    
    --------------------------------------------------------
    Check Siege Benchmark Version:
    --------------------------------------------------------
    SIEGE 4.0.1
    
    Copyright (C) 2016 by Jeffrey Fulmer, et al.
    This is free software; see the source for copying conditions.
    There is NO warranty; not even for MERCHANTABILITY or FITNESS
    FOR A PARTICULAR PURPOSE.
    
    
    --------------------------------------------------------
    Check mysqlreport version:
    --------------------------------------------------------
    mysqlreport v3.5-maria11 Jul 4 2013
    
    --------------------------------------------------------
    Check NSD Bind Version:
    --------------------------------------------------------
    NSD version 3.2.18
    Written by NLnet Labs.
    
    Copyright (C) 2001-2011 NLnet Labs.  This is free software.
    There is NO warranty; not even for MERCHANTABILITY or FITNESS
    FOR A PARTICULAR PURPOSE.
    
    --------------------------------------------------------
    Check pure-ftpd Version:
    --------------------------------------------------------
    pure-ftpd v1.0.30
    
    --------------------------------------------------------
    Check YUM Repo List
    --------------------------------------------------------
    Loaded plugins: fastestmirror, priorities, security
    Loading mirror speeds from cached hostfile
    * base: centos.mirror.serversaustralia.com.au
    * epel: fedora.mirror.serversaustralia.com.au
    * extras: centos.mirror.digitalpacific.com.au
    * rpmforge: mirror.ventraip.net.au
    * updates: centos.mirror.serversaustralia.com.au
    1568 packages excluded due to repository priority protections
    repo id        repo name                                             status
    base           CentOS-6 - Base                                       4,995+1,580
    epel           Extra Packages for Enterprise Linux 6 - x86_64        9,164+2,973
    extras         CentOS-6 - Extras                                              62
    mariadb        MariaDB                                                      12+4
    rpmforge       RHEL 6 - RPMforge.net - dag                           3,217+1,501
    updates        CentOS-6 - Updates                                      1,262+360
    repolist: 18,712
    
    --------------------------------------------------------
    mytimes check:
    /usr/bin/mytimes
    --------------------------------------------------------
    Sat May 21 16:21:32 UTC 2016    [UTC]
    Sun May 22 02:21:32 AEST 2016   [Australia/Brisbane]
    Sat May 21 09:21:32 PDT 2016    [America/Los_Angeles]
    Sat May 21 11:21:32 CDT 2016    [America/Chicago]
    Sat May 21 12:21:32 EDT 2016    [America/New_York]
    Sat May 21 17:21:32 BST 2016    [Europe/London]
    --------------------------------------------------------
     
    Last edited: May 22, 2016
  5. apidevlab

    apidevlab Member

    91
    33
    18
    Mar 22, 2016
    /dev/null
    Ratings:
    +58
    Local Time:
    10:07 PM
    1.11.1
    5.2.14-122
    Really odd,I will do a clean install (without updating) see if that makes any headway.

    This is a openvz VPS (all my others have been KVM) it's looking like I may be at the mercy of the openvz template, some providers 'tweak' them etc am wondering if that is the underlying issue?? That my updating before an attempt to install Centmin is causing the OpenSSL yum package issue?

    Code (Text):
    yum history list net-snmp-devel
    Loaded plugins: fastestmirror, priorities, security
    Bad transaction IDs, or package(s), given
    Error: Failed history list
    


    Code (Text):
    yum history list openssl-devel
    Loaded plugins: fastestmirror, priorities, security
    Bad transaction IDs, or package(s), given
    Error: Failed history list
    
     
    Last edited: May 22, 2016
  6. apidevlab

    apidevlab Member

    91
    33
    18
    Mar 22, 2016
    /dev/null
    Ratings:
    +58
    Local Time:
    10:07 PM
    1.11.1
    5.2.14-122
    UPDATE: Clean machine (no updates) with the Github branch method install:
    Code (Text):
    [root@box ~]# yum -y install wget nano bc unzip
    Loaded plugins: fastestmirror
    base  | 3.7 kB  00:00
    branchname=123.09beta01  8% [==-  ]  0.0 B/s | 413 kB  --:-- ETA
    base/primary_db  | 4.6 MB  00:00
    wget -O /usr/local/src/${branchname}.zip https://github.com/centminmod/centminmod/archive/${branchname}.zip
    cd /usr/local/src
    extras  | 3.4 kB  00:00
    extras/primary_db  |  37 kB  00:00
    updates  | 3.4 kB  00:00
    unzip ${branchname}.zip
    updates/primary_db  | 5.2 MB  00:00
    mv centminmod-${branchname} centminmod
    cd centminmod
    vz-base  |  951 B  00:00
    vz-base/primary  | 1.3 kB  00:00
    vz-base  3/3
    vz-updates  |  951 B  00:00
    vz-updates/primary  | 2.2 kB  00:00
    vz-updates  8/8
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package bc.x86_64 0:1.06.95-1.el6 will be installed
    ---> Package nano.x86_64 0:2.0.9-7.el6 will be installed
    ---> Package unzip.x86_64 0:6.0-1.el6 will be updated
    ---> Package unzip.x86_64 0:6.0-2.el6_6 will be an update
    ---> Package wget.x86_64 0:1.12-1.4.el6 will be updated
    ---> Package wget.x86_64 0:1.12-5.el6_6.1 will be an update
    --> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package: wget-1.12-5.el6_6.1.x86_64
    --> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for package: wget-1.12-5.el6_6.1.x86_64
    --> Running transaction check
    ---> Package openssl.x86_64 0:1.0.0-20.el6 will be updated
    ---> Package openssl.x86_64 0:1.0.1e-42.el6_7.4 will be an update
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    =================================================================================================================
    Package  Arch  Version  Repository  Size
    =================================================================================================================
    Installing:
    bc  x86_64  1.06.95-1.el6  base  110 k
    nano  x86_64  2.0.9-7.el6  base  436 k
    Updating:
    unzip  x86_64  6.0-2.el6_6  base  149 k
    wget  x86_64  1.12-5.el6_6.1  base  483 k
    Updating for dependencies:
    openssl  x86_64  1.0.1e-42.el6_7.4  updates  1.5 M
    
    Transaction Summary
    =================================================================================================================
    Install  2 Package(s)
    Upgrade  3 Package(s)
    
    Total download size: 2.7 M
    Downloading Packages:
    (1/5): bc-1.06.95-1.el6.x86_64.rpm  | 110 kB  00:00
    (2/5): nano-2.0.9-7.el6.x86_64.rpm  | 436 kB  00:00
    (3/5): openssl-1.0.1e-42.el6_7.4.x86_64.rpm  | 1.5 MB  00:00
    (4/5): unzip-6.0-2.el6_6.x86_64.rpm  | 149 kB  00:00
    (5/5): wget-1.12-5.el6_6.1.x86_64.rpm  | 483 kB  00:00
    -----------------------------------------------------------------------------------------------------------------
    
     
    Last edited: May 22, 2016
  7. apidevlab

    apidevlab Member

    91
    33
    18
    Mar 22, 2016
    /dev/null
    Ratings:
    +58
    Local Time:
    10:07 PM
    1.11.1
    5.2.14-122
    Code (Text):
    check Centmin Mod log for details at /root/centminlogs/
    Aborting script...
    


    Grrr, EPEL repo is up and down like a yo yo today
     
  8. eva2000

    eva2000 Administrator Staff Member

    54,519
    12,211
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,780
    Local Time:
    8:07 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    maybe it's your epel mirror connection to your vps ?
     
  9. apidevlab

    apidevlab Member

    91
    33
    18
    Mar 22, 2016
    /dev/null
    Ratings:
    +58
    Local Time:
    10:07 PM
    1.11.1
    5.2.14-122
    Code (Text):
    yum upgrade ca-certificates --disablerepo=epel
    

    Has fixed it :) I have still to figure the original issue.

    I have tried to install the openssl-devel-1.0.1e 42.el6_7.4.x86_64 before any updates (wget is not required)
    Code (Text):
    yum install  openssl-devel-1.0.1e-42.el6_7.4.x86_64
    


    Currently running the install, lets see :0
     
    Last edited: May 22, 2016