Get the most out of your Centmin Mod LEMP stack
Become a Member

Install PHP-FPM accidentally deleted php-fpm.conf

Discussion in 'Install & Upgrades or Pre-Install Questions' started by adzkii, Jun 5, 2020.

  1. adzkii

    adzkii Member

    38
    1
    8
    Apr 15, 2020
    Ratings:
    +3
    Local Time:
    7:14 PM
    how can i find the default php-fpm.conf that's located in
    /usr/local/etc/php-fpm.conf
    i deleted mines by accident now my fpm won't start
    Code (Text):
     
    yum -y update; curl -O https://centminmod.com/betainstaller73.sh && chmod 0700 betainstaller73.sh && bash betainstaller73.sh
    
    cheers
     
  2. adzkii

    adzkii Member

    38
    1
    8
    Apr 15, 2020
    Ratings:
    +3
    Local Time:
    7:14 PM
    so i newly installed centminmod, my php-fpm isn't starting (nprestart)

    Code:
    systemctl status php-fpm.service
    ● php-fpm.service - PHP FastCGI Process Manager
       Loaded: loaded (/usr/lib/systemd/system/php-fpm.service; enabled; vendor preset: disabled)
      Drop-In: /etc/systemd/system/php-fpm.service.d
               └─limit.conf
       Active: failed (Result: exit-code) since Thu 2020-06-04 19:19:37 UTC; 46s ago
      Process: 14936 ExecStart=/usr/local/sbin/php-fpm --daemonize --fpm-config /usr/local/etc/php-fpm.conf --pid /var/run/php-fpm/php-fpm.pid (code=exited, status=203/EXEC)
    
    Jun 04 19:19:37  systemd[1]: Starting PHP FastCGI Process Manager...
    Jun 04 19:19:37  systemd[14936]: Failed at step EXEC spawning /usr/local/sbin/ph...ory
    Jun 04 19:19:37  systemd[1]: php-fpm.service: control process exited, code=exite...203
    Jun 04 19:19:37  systemd[1]: Failed to start PHP FastCGI Process Manager.
    Jun 04 19:19:37  systemd[1]: Unit php-fpm.service entered failed state.
    Jun 04 19:19:37  systemd[1]: php-fpm.service failed.
    Hint: Some lines were ellipsized, use -l to show in full.
    
    /usr/local/sbin not showing any php-fpm pid
     
  3. eva2000

    eva2000 Administrator Staff Member

    45,192
    10,277
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,927
    Local Time:
    4:14 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    did you reinstall fresh CentOS 7 operating system and do new fresh Centmin Mod install ? or tried running betainstaller.sh on existing Centmin Mod install - which would break existing Centmin Mod install possibly ?

    If fresh install, check initial install logs

    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.9 or 7.4 ? 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

    Example for 123.09beta01 and newer list /root/centminlogs files in date ascending order and grep for installer_*
    Code (Text):
    ls -lahrt /root/centminlogs | grep installer_*
    

    example output returns install log at /root/centminlogs both a the full log and minimal log (smaller in size with some stuff filtered out)
    Code (Text):
    ls -lahrt /root/centminlogs | grep installer_*
    -rw-r--r-- 1 root root 4.3M Jul 12 09:06 installer_120718-083445.log
    -rw-r--r-- 1 root root 826K Jul 12 10:20 installer_120718-083445_minimal.log
    


    Example for 123.08stable list /root/centminlogs files in date ascending order and grep for install.log
    Code (Text):
    ls -lahrt /root/centminlogs | grep install.log
    

    example output returns install log at /root/centminlogs/centminmod_1.2.3-eva2000.09.001_111016-112321_install.log
    Code (Text):
    ls -lahrt /root/centminlogs | grep install.log
    -rw-r--r--  1 root root 2.2M Oct 11 01:40 centminmod_1.2.3-eva2000.09.001_111016-112321_install.log
    

    in SSH use cat to ouput contents of /root/centminlogs/centminmod_1.2.3-eva2000.09.001_111016-112321_install.log. Clear your SSH client window/buffer so only output is the contents of the file

    for 123.08stable
    Code (Text):
    cat /root/centminlogs/centminmod_1.2.3-eva2000.09.001_111016-112321_install.log
    

    for 123.09beta01 and newer
    Code (Text):
    cat /root/centminlogs/installer_120718-083445_minimal.log
    


    Then copy and paste into Pastebin.com or Gists entry. If your SSH window scroll buffer isn't that large to get the whole contents of the install log, you can download file manually and copy and paste contents. But makes sure it's sanitised version of the contents of the initial install log as outlined at How to troubleshoot Centmin Mod initial install issues
     
  4. eva2000

    eva2000 Administrator Staff Member

    45,192
    10,277
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,927
    Local Time:
    4:14 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    if you just deleted /usr/local/etc/php-fpm.conf, you should be able to run centmin.sh menu option 5 to update/recompile PHP and when prompted to overwrite existing php-fpm.conf, answer yes and a new copy of it will be copied from /usr/local/src/centminmod/config/php-fpm/php-fpm.conf to /usr/local/etc/php-fpm.conf and then auto tuning will be applied to /usr/local/etc/php-fpm.conf based on your server detected resources i.e. cpu thread count, memory available etc.
     
  5. adzkii

    adzkii Member

    38
    1
    8
    Apr 15, 2020
    Ratings:
    +3
    Local Time:
    7:14 PM
    fresh install on fresh centos 7

    i seen something in the installer log file
    Code:
    --------------------------------------------------------
    Check PHP-FPM Version:
    --------------------------------------------------------
    which: no php in (/opt/rh/devtoolset-9/root/usr/bin:/opt/rh/devtoolset-9/root/usr/bin:/opt/rh/devtoolset-9/root/usr/bin:/opt/rh/devtoolset-9/root/usr/bin:/opt/rh/devtoolset-9/root/usr/bin:/opt/rh/devtoolset-9/root/usr/bin:/opt/rh/devtoolset-9/root/usr/bin:/opt/rh/devtoolset-9/root/usr/bin:/opt/rh/devtoolset-9/root/usr/bin:/opt/rh/devtoolset-9/root/usr/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
    inc/centminfinish.inc: line 103: -v: command not found
    
     
  6. eva2000

    eva2000 Administrator Staff Member

    45,192
    10,277
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,927
    Local Time:
    4:14 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    did you try fresh install with persistent config file set to use devtoolset-9 instead of default devtoolset-8 ?
    Code (Text):
    DEVTOOLSETEIGHT='n'
    DEVTOOLSETNINE='y'
    

    if so do fresh install with normal devtoolset-8 and not nine by removing the persistent config file entries. I don't recall if I made devtoolset-9 support available for fresh installs versus nginx/php upgrade routines.
     
  7. adzkii

    adzkii Member

    38
    1
    8
    Apr 15, 2020
    Ratings:
    +3
    Local Time:
    7:14 PM
    so if i try to recompile the php using option 5

    Code:
         ____   _   _  ____       _   _                                _
        |  _ \ | | | ||  _ \  _  | | | | _ __    __ _  _ __  __ _   __| |  ___
        | |_) || |_| || |_) |(_) | | | || '_ \  / _` || '__|/ _` | / _` | / _ \
        |  __/ |  _  ||  __/  _  | |_| || |_) || (_| || |  | (_| || (_| ||  __/
        |_|    |_| |_||_|    (_)  \___/ | .__/  \__, ||_|   \__,_| \__,_| \___|
                                        |_|     |___/
    
    PHP Upgrade/Downgrade - Would you like to continue? [y/n] y
    
    ----------------------------------------------------------------
    Install which version of PHP? (version i.e. 7.3.18, 7.0.33, NGDEBUG)
    PHP 7.x/7.1.x/7.2.x/7.3.x is GA Stable but still may have broken PHP extensions.
    NGDEBUG is PHP 8.0 dev builds minus incompatible PHP extensions
    ----------------------------------------------------------------
    
    Current PHP Version: line
    
     
  8. adzkii

    adzkii Member

    38
    1
    8
    Apr 15, 2020
    Ratings:
    +3
    Local Time:
    7:14 PM

    Code:
    PHPFINFO=y
    SET_DEFAULT_MYSQLCHARSET='utf8mb4'
    MARCH_TARGETNATIVE='n'
    NGINX_STAPLE_CACHE_OVERRIDE='y'
    NGINX_HPACK='y'
    NGINX_IOURING_PATCH='y'
    NGXDYNAMIC_NGXPAGESPEED='y'
    NGINX_PAGESPEED='y'
    PHP_PGO='y'
    NGXDYNAMIC_BROTLI='y'
    NGINX_LIBBROTLI='y'
    CLOUDFLARE_ZLIBPHP='y'
    CLOUDFLARE_ZLIB='y'
    ZSTD_LOGROTATE_NGINX='y'
    ZSTD_LOGROTATE_PHPFPM='y'
    NGINX_SSLCACHE_ALLOWOVERRIDE='y'
    NGINX_STAPLE_CACHE_TTL='86400'
    LETSENCRYPT_DETECT='y'
    DUALCERTS='y'
    SELFSIGNEDSSL_ECDSA='y'
    PHP_PGO_ALWAYS='y'
    PHP_BROTLI='y'
    PHP_LZFOUR='y'
    PHP_LZF='y'
    PHP_ZSTD='y'
    NGINX_DYNAMICTLS='y'
    WP_FASTCGI_CACHE='y'
    SET_DEFAULT_MYSQLCHARSET='utf8mb4'
    LIBRESSL_SWITCH='n'
    CLANG='n'
    DEVTOOLSETSIX='n'
    DEVTOOLSETEIGHT='n'
    DEVTOOLSETNINE='y'
    NGINX_DEVTOOLSETGCC='y'
    i know i definitely messed something up and yes i did use devset 9 instead of 8
     
  9. eva2000

    eva2000 Administrator Staff Member

    45,192
    10,277
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,927
    Local Time:
    4:14 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    also what is output for this command wrapped in CODE tags
    Code (Text):
    yum -q list devtoolset-9-gcc devtoolset-9-gcc-c++ devtoolset-9-binutils
     
  10. adzkii

    adzkii Member

    38
    1
    8
    Apr 15, 2020
    Ratings:
    +3
    Local Time:
    7:14 PM
    should i just remove
    Code:
    LIBRESSL_SWITCH='n'
    CLANG='n'
    DEVTOOLSETSIX='n'
    DEVTOOLSETEIGHT='n'
    DEVTOOLSETNINE='y'
    NGINX_DEVTOOLSETGCC='y'
    from the config or set Y to eight and N to nine?

    Code (Text):
    Installed Packages
    devtoolset-9-binutils.x86_64                                                                      2.32-14.el7.1                                                                       @centos-sclo-rh
    devtoolset-9-gcc.x86_64                                                                           9.1.1-2.6.el7                                                                       @centos-sclo-rh
    devtoolset-9-gcc-c++.x86_64                                                                       9.1.1-2.6.el7                                                                       @centos-sclo-rh


    and for gcc 8
    Code (Text):
    Installed Packages
    devtoolset-8-binutils.x86_64                                                                      2.30-55.el7.2                                                                       @centos-sclo-rh
    devtoolset-8-gcc.x86_64                                                                           8.3.1-3.2.el7                                                                       @centos-sclo-rh
    devtoolset-8-gcc-c++.x86_64                                                                       8.3.1-3.2.el7                                                                       @centos-sclo-rh
    
     
  11. eva2000

    eva2000 Administrator Staff Member

    45,192
    10,277
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,927
    Local Time:
    4:14 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    yes you can remove those from persistent config file you setup and just let centmin mod use devtoolset-8 by default

    on your yum lists both look like installed so shouldn't of been a problem

    but i see CLOUDFLARE_ZLIBPHP='y' that is broken so don't use it, i believe I already disabled it's activation but in case, just remove that too
     
  12. adzkii

    adzkii Member

    38
    1
    8
    Apr 15, 2020
    Ratings:
    +3
    Local Time:
    7:14 PM
    removed all devtoolset and zlibphp

    recompiled nginx, it went fine (4 option)
    recompiled php 7.3.18, it didn't go aswell (5 option)
    when trying to recompile php
    i seen this
    inc/php_upgrade.inc: line 367: php: command not found
    inc/php_upgrade.inc: line 14: php: command not found
    here's the log for
    centminmod_123.09beta01.b521_040620-210311_php_upgrade_minimal.log
    hastebin

    centminmod_123.09beta01.b521_040620-210311_php_upgrade.log
    hastebin

    i found more errors in the logs
    Code (Text):
    /svr-setup/phpbench /svr-setup/php-7.3.18/fpm-build
    Archive:  phpbench-0.8.1.zip
     extracting: AUTHORS                 
      inflating: ChangeLog               
      inflating: LICENSE                 
      inflating: phpbench.php           
      inflating: README                 
       creating: tests/
      inflating: tests/test_arithmetic.php 
      inflating: tests/test_array_operators.php 
      inflating: tests/test_bitwise.php 
      inflating: tests/test_casting.php 
      inflating: tests/test_chr_fixed.php 
      inflating: tests/test_chr_hardcoded.php 
      inflating: tests/test_chr_var.php 
      inflating: tests/test_comment_loop.php 
      inflating: tests/test_compare.php 
      inflating: tests/test_compare_false.php 
      inflating: tests/test_compare_invert.php 
      inflating: tests/test_compare_strict.php 
      inflating: tests/test_compare_unstrict.php 
      inflating: tests/test_constants.php 
      inflating: tests/test_crc32.php   
      inflating: tests/test_do_while.php 
      inflating: tests/test_do_while_break.php 
      inflating: tests/test_empty.php   
      inflating: tests/test_empty_loop.php 
      inflating: tests/test_ereg.php     
      inflating: tests/test_foreach.php 
      inflating: tests/test_get_class.php 
      inflating: tests/test_global_scalar_assign.php 
      inflating: tests/test_global_string_assign.php 
      inflating: tests/test_if_constant.php 
      inflating: tests/test_increment.php 
      inflating: tests/test_isset.php   
      inflating: tests/test_is_array.php 
      inflating: tests/test_is_object.php 
      inflating: tests/test_is_type.php 
      inflating: tests/test_line.php     
      inflating: tests/test_local_array_assign.php 
      inflating: tests/test_local_boolean_assign.php 
      inflating: tests/test_local_float_assign.php 
      inflating: tests/test_local_hash_assign.php 
      inflating: tests/test_local_integer_assign.php 
      inflating: tests/test_local_object_assign.php 
      inflating: tests/test_local_scalar_assign.php 
      inflating: tests/test_local_string_assign.php 
      inflating: tests/test_md5.php     
      inflating: tests/test_microtime.php 
      inflating: tests/test_mt_rand.php 
      inflating: tests/test_ord.php     
      inflating: tests/test_ordered_functions.php 
      inflating: tests/test_ordered_functions_references.php 
      inflating: tests/test_preg_match.php 
      inflating: tests/test_rand.php     
      inflating: tests/test_references.php 
      inflating: tests/test_sha1.php     
      inflating: tests/test_string_append.php 
      inflating: tests/test_strlen.php   
      inflating: tests/test_switch.php   
      inflating: tests/test_time.php     
      inflating: tests/test_unordered_functions.php 
      inflating: tests/test_variable_variables.php 
      inflating: tests/test_while.php   
    /svr-setup/php-7.3.18/fpm-build
    PGO phpbench setup end
    
    ./sapi/cgi/php-cgi -T10 /svr-setup/phpbench/phpbench.php
    inc/php_configure.inc: line 1893: ./sapi/cgi/php-cgi: No such file or directory
    
    real    0m0.001s
    user    0m0.000s
    sys    0m0.001s
    ./sapi/cgi/php-cgi -T10 /opt/phpbench/detailed_benchmark.php
    inc/php_configure.inc: line 1901: ./sapi/cgi/php-cgi: No such file or directory
    
    real    0m0.001s
    user    0m0.000s
    sys    0m0.000s
    make prof-clean
    make: *** No rule to make target 'prof-clean'.  Stop.
    
    real    0m0.001s
    user    0m0.001s
    sys    0m0.000s
    make -j12 prof-use
    make: *** No rule to make target 'prof-use'.  Stop.
    
    real    0m0.001s
    user    0m0.000s
    sys    0m0.001s
    
    php_configure.inc make install
    make: *** No rule to make target 'install'.  Stop.
    
    real    0m0.001s
    user    0m0.001s
    sys    0m0.000s
    
    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
    ls: cannot access /usr/local/sbin/php-fpm: No such file or directory
    
    backup before strip PHP binary...
    cp: cannot stat ‘/usr/local/bin/php’: No such file or directory
    cp: cannot stat ‘/usr/local/bin/php-cgi’: No such file or directory
    cp: cannot stat ‘/usr/local/sbin/php-fpm’: No such file or directory
    strip: '/usr/local/bin/php': No such file
    strip: '/usr/local/bin/php-cgi': No such file
    strip: '/usr/local/sbin/php-fpm': No such file
    
    after 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
    ls: cannot access /usr/local/sbin/php-fpm: No such file or directory
    
    [1;33;40m----------------------------------------------------------------------------------
    (B[mPHP was not installed properly
    [1;33;40m----------------------------------------------------------------------------------
    (B[m
    
     
    Last edited: Jun 5, 2020
  13. eva2000

    eva2000 Administrator Staff Member

    45,192
    10,277
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,927
    Local Time:
    4:14 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    what's output for
    Code (Text):
    lscpu

    and
    Code (Text):
    virt-what

    your PHP-FPM install seems to have failed to install due to libzip failing to install. You get error
    Code (Text):
    [ 87%] Building C object lib/CMakeFiles/zip.dir/zip_random_unix.c.o
    In file included from /svr-setup/libzip-1.6.1/lib/zip_crypto.h:45:0,
                    from /svr-setup/libzip-1.6.1/lib/zip_crypto_gnutls.c:38:
    /svr-setup/libzip-1.6.1/lib/zip_crypto_gnutls.h:47:20: error: field ‘ctx_128’ has incomplete type
      struct aes128_ctx ctx_128;
                       ^
    /svr-setup/libzip-1.6.1/lib/zip_crypto_gnutls.h:48:20: error: field ‘ctx_192’ has incomplete type
      struct aes192_ctx ctx_192;
                       ^
    /svr-setup/libzip-1.6.1/lib/zip_crypto_gnutls.h:49:20: error: field ‘ctx_256’ has incomplete type
      struct aes256_ctx ctx_256;
                       ^
    make[2]: *** [lib/CMakeFiles/zip.dir/zip_crypto_gnutls.c.o] Error 1
    make[2]: *** Waiting for unfinished jobs....
    In file included from /svr-setup/libzip-1.6.1/lib/zip_crypto.h:45:0,
                    from /svr-setup/libzip-1.6.1/lib/zip_winzip_aes.c:36:
    /svr-setup/libzip-1.6.1/lib/zip_crypto_gnutls.h:47:20: error: field ‘ctx_128’ has incomplete type
      struct aes128_ctx ctx_128;
                       ^
    /svr-setup/libzip-1.6.1/lib/zip_crypto_gnutls.h:48:20: error: field ‘ctx_192’ has incomplete type
      struct aes192_ctx ctx_192;
                       ^
    /svr-setup/libzip-1.6.1/lib/zip_crypto_gnutls.h:49:20: error: field ‘ctx_256’ has incomplete type
      struct aes256_ctx ctx_256;
                       ^
    In file included from /svr-setup/libzip-1.6.1/lib/zip_crypto.h:45:0,
                    from /svr-setup/libzip-1.6.1/lib/zip_random_unix.c:37:
    /svr-setup/libzip-1.6.1/lib/zip_crypto_gnutls.h:47:20: error: field ‘ctx_128’ has incomplete type
      struct aes128_ctx ctx_128;
                       ^
    /svr-setup/libzip-1.6.1/lib/zip_crypto_gnutls.h:48:20: error: field ‘ctx_192’ has incomplete type
      struct aes192_ctx ctx_192;
                       ^
    /svr-setup/libzip-1.6.1/lib/zip_crypto_gnutls.h:49:20: error: field ‘ctx_256’ has incomplete type
      struct aes256_ctx ctx_256;
                       ^
    make[2]: *** [lib/CMakeFiles/zip.dir/zip_winzip_aes.c.o] Error 1
    make[2]: *** [lib/CMakeFiles/zip.dir/zip_random_unix.c.o] Error 1
    make[1]: *** [lib/CMakeFiles/zip.dir/all] Error 2
    make: *** [all] Error 2
    [  0%] Building C object lib/CMakeFiles/zip.dir/zip_crypto_gnutls.c.o
    In file included from /svr-setup/libzip-1.6.1/lib/zip_crypto.h:45:0,
                    from /svr-setup/libzip-1.6.1/lib/zip_crypto_gnutls.c:38:
    /svr-setup/libzip-1.6.1/lib/zip_crypto_gnutls.h:47:20: error: field ‘ctx_128’ has incomplete type
      struct aes128_ctx ctx_128;
                       ^
    /svr-setup/libzip-1.6.1/lib/zip_crypto_gnutls.h:48:20: error: field ‘ctx_192’ has incomplete type
      struct aes192_ctx ctx_192;
                       ^
    /svr-setup/libzip-1.6.1/lib/zip_crypto_gnutls.h:49:20: error: field ‘ctx_256’ has incomplete type
      struct aes256_ctx ctx_256;
                       ^
    make[2]: *** [lib/CMakeFiles/zip.dir/zip_crypto_gnutls.c.o] Error 1
    make[1]: *** [lib/CMakeFiles/zip.dir/all] Error 2
    make: *** [all] Error 2
    

    while i tested devtoolset-9 default 123.09beta01 PHP 7.3 install and worked and at that stage libzip successfully installed as
    Code (Text):
    11958  [ 87%] Building C object lib/CMakeFiles/zip.dir/zip_random_unix.c.o
     11959  [ 87%] Linking C shared library libzip.so
     11960  [ 87%] Built target zip
     11961  Scanning dependencies of target ziptool
     11962  Scanning dependencies of target zipcmp
     11963  Scanning dependencies of target zipmerge
     11964  [ 89%] Building C object src/CMakeFiles/ziptool.dir/ziptool.c.o
     11965  [ 89%] Building C object src/CMakeFiles/zipmerge.dir/zipmerge.c.o
     11966  [ 91%] Building C object src/CMakeFiles/zipcmp.dir/zipcmp.c.o
     11967  [ 91%] Linking C executable ziptool
     11968  [ 91%] Linking C executable zipmerge
     11969  [ 91%] Linking C executable zipcmp
     11970  [ 91%] Built target zipcmp
     11971  [ 91%] Built target ziptool
     11972  Scanning dependencies of target tryopen
     11973  Scanning dependencies of target fuzz_main
     11974  [ 91%] Built target zipmerge
     11975  [ 91%] Building C object regress/CMakeFiles/fuzz_main.dir/fuzz_main.c.o
     11976  [ 92%] Building C object regress/CMakeFiles/tryopen.dir/tryopen.c.o
     11977  Scanning dependencies of target add_from_filep
     11978  [ 92%] Linking C executable fuzz_main
     11979  [ 92%] Linking C executable tryopen
     11980  [ 92%] Building C object regress/CMakeFiles/add_from_filep.dir/add_from_filep.c.o
     11981  [ 92%] Built target fuzz_main
     11982  [ 92%] Linking C executable add_from_filep
     11983  [ 92%] Built target tryopen
     11984  Scanning dependencies of target fopen_unchanged
     11985  Scanning dependencies of target hole
     11986  [ 94%] Building C object regress/CMakeFiles/fopen_unchanged.dir/fopen_unchanged.c.o
     11987  [ 94%] Building C object regress/CMakeFiles/hole.dir/hole.c.o
     11988  [ 94%] Linking C executable fopen_unchanged
     11989  [ 94%] Built target add_from_filep
     11990  Scanning dependencies of target ziptool_regress
     11991  [ 94%] Building C object regress/CMakeFiles/ziptool_regress.dir/ziptool_regress.c.o
     11992  [ 96%] Building C object regress/CMakeFiles/hole.dir/source_hole.c.o
     11993  [ 96%] Linking C executable hole
     11994  [ 96%] Built target fopen_unchanged
     11995  Scanning dependencies of target fseek
     11996  [ 98%] Building C object regress/CMakeFiles/fseek.dir/fseek.c.o
     11997  [ 98%] Built target hole
     11998  Scanning dependencies of target nonrandomopentest
     11999  [ 98%] Building C object regress/CMakeFiles/ziptool_regress.dir/source_hole.c.o
     12000  [ 98%] Building C object regress/CMakeFiles/nonrandomopentest.dir/nonrandomopentest.c.o
     12001  [ 98%] Linking C executable fseek
     12002  [ 98%] Linking C executable nonrandomopentest
     12003  [100%] Linking C executable ziptool_regress
     12004  [100%] Built target fseek
     12005  Scanning dependencies of target fread
     12006  [100%] Building C object regress/CMakeFiles/fread.dir/fread.c.o
     12007  [100%] Built target nonrandomopentest
     12008  [100%] Built target ziptool_regress
     12009  Scanning dependencies of target in-memory
     12010  [100%] Building C object examples/CMakeFiles/in-memory.dir/in-memory.c.o
     12011  [100%] Linking C executable fread
     12012  [100%] Linking C executable in-memory
     12013  [100%] Built target fread
     12014  [100%] Built target in-memory
     12015  [ 46%] Built target zip
     12016  [ 85%] Built target man
     12017  [ 87%] Built target ziptool
     12018  [ 87%] Built target zipmerge
     12019  [ 89%] Built target zipcmp
     12020  [ 89%] Built target fuzz_main
     12021  [ 89%] Built target testinput
     12022  [ 89%] Built target can_clone_file
     12023  [ 91%] Built target tryopen
     12024  [ 91%] Built target add_from_filep
     12025  [ 92%] Built target fopen_unchanged
     12026  [ 94%] Built target hole
     12027  [ 96%] Built target ziptool_regress
     12028  [ 98%] Built target fseek
     12029  [ 98%] Built target nonrandomopentest
     12030  [100%] Built target nonrandomopen
     12031  [100%] Built target fread
     12032  [100%] Built target in-memory
     12033  Install the project...
     12034  -- Install configuration: ""
     12035  -- Installing: /usr/local/lib64/pkgconfig/libzip.pc
     12036  -- Installing: /usr/local/include/zipconf.h
     12037  -- Installing: /usr/local/include/zip.h
     12038  -- Installing: /usr/local/lib64/libzip.so.5.1
     12039  -- Installing: /usr/local/lib64/libzip.so.5
     12040  -- Installing: /usr/local/lib64/libzip.so
     12041  -- Installing: /usr/local/share/man/man3/ZIP_SOURCE_GET_ARGS.3
     12042  -- Installing: /usr/local/share/man/man3/libzip.3
     12043  -- Installing: /usr/local/share/man/man3/zip_add.3
     12044  -- Installing: /usr/local/share/man/man3/zip_add_dir.3
     12045  -- Installing: /usr/local/share/man/man3/zip_close.3
     12046  -- Installing: /usr/local/share/man/man3/zip_delete.3
     12047  -- Installing: /usr/local/share/man/man3/zip_dir_add.3
     12048  -- Installing: /usr/local/share/man/man3/zip_discard.3
     12049  -- Installing: /usr/local/share/man/man3/zip_error_clear.3
     12050  -- Installing: /usr/local/share/man/man3/zip_error_code_system.3
     12051  -- Installing: /usr/local/share/man/man3/zip_error_code_zip.3
     12052  -- Installing: /usr/local/share/man/man3/zip_error_fini.3
     12053  -- Installing: /usr/local/share/man/man3/zip_error_get.3
     12054  -- Installing: /usr/local/share/man/man3/zip_error_get_sys_type.3
     12055  -- Installing: /usr/local/share/man/man3/zip_error_init.3
     12056  -- Installing: /usr/local/share/man/man3/zip_error_set.3
     12057  -- Installing: /usr/local/share/man/man3/zip_error_strerror.3
     12058  -- Installing: /usr/local/share/man/man3/zip_error_system_type.3
     12059  -- Installing: /usr/local/share/man/man3/zip_error_to_data.3
     12060  -- Installing: /usr/local/share/man/man3/zip_error_to_str.3
     12061  -- Installing: /usr/local/share/man/man3/zip_errors.3
     12062  -- Installing: /usr/local/share/man/man3/zip_fclose.3
     12063  -- Installing: /usr/local/share/man/man3/zip_fdopen.3
     12064  -- Installing: /usr/local/share/man/man3/zip_file_add.3
     12065  -- Installing: /usr/local/share/man/man3/zip_file_extra_field_delete.3
     12066  -- Installing: /usr/local/share/man/man3/zip_file_extra_field_get.3
     12067  -- Installing: /usr/local/share/man/man3/zip_file_extra_field_set.3
     12068  -- Installing: /usr/local/share/man/man3/zip_file_extra_fields_count.3
     12069  -- Installing: /usr/local/share/man/man3/zip_file_get_comment.3
     12070  -- Installing: /usr/local/share/man/man3/zip_file_get_error.3
     12071  -- Installing: /usr/local/share/man/man3/zip_file_get_external_attributes.3
     12072  -- Installing: /usr/local/share/man/man3/zip_file_rename.3
     12073  -- Installing: /usr/local/share/man/man3/zip_file_set_comment.3
     12074  -- Installing: /usr/local/share/man/man3/zip_file_set_encryption.3
     12075  -- Installing: /usr/local/share/man/man3/zip_file_set_external_attributes.3
     12076  -- Installing: /usr/local/share/man/man3/zip_file_set_mtime.3
     12077  -- Installing: /usr/local/share/man/man3/zip_file_strerror.3
     12078  -- Installing: /usr/local/share/man/man3/zip_fopen.3
     12079  -- Installing: /usr/local/share/man/man3/zip_fopen_encrypted.3
     12080  -- Installing: /usr/local/share/man/man3/zip_fread.3
     12081  -- Installing: /usr/local/share/man/man3/zip_fseek.3
     12082  -- Installing: /usr/local/share/man/man3/zip_ftell.3
     12083  -- Installing: /usr/local/share/man/man3/zip_get_archive_comment.3
     12084  -- Installing: /usr/local/share/man/man3/zip_get_archive_flag.3
     12085  -- Installing: /usr/local/share/man/man3/zip_get_error.3
     12086  -- Installing: /usr/local/share/man/man3/zip_get_file_comment.3
     12087  -- Installing: /usr/local/share/man/man3/zip_get_name.3
     12088  -- Installing: /usr/local/share/man/man3/zip_get_num_entries.3
     12089  -- Installing: /usr/local/share/man/man3/zip_get_num_files.3
     12090  -- Installing: /usr/local/share/man/man3/zip_libzip_version.3
     12091  -- Installing: /usr/local/share/man/man3/zip_name_locate.3
     12092  -- Installing: /usr/local/share/man/man3/zip_open.3
     12093  -- Installing: /usr/local/share/man/man3/zip_register_progress_callback.3
     12094  -- Installing: /usr/local/share/man/man3/zip_register_progress_callback_with_state.3
     12095  -- Installing: /usr/local/share/man/man3/zip_rename.3
     12096  -- Installing: /usr/local/share/man/man3/zip_set_archive_comment.3
     12097  -- Installing: /usr/local/share/man/man3/zip_set_archive_flag.3
     12098  -- Installing: /usr/local/share/man/man3/zip_set_default_password.3
     12099  -- Installing: /usr/local/share/man/man3/zip_set_file_comment.3
     12100  -- Installing: /usr/local/share/man/man3/zip_set_file_compression.3
     12101  -- Installing: /usr/local/share/man/man3/zip_source.3
     12102  -- Installing: /usr/local/share/man/man3/zip_source_begin_write.3
     12103  -- Installing: /usr/local/share/man/man3/zip_source_buffer.3
     12104  -- Installing: /usr/local/share/man/man3/zip_source_buffer_fragment.3
     12105  -- Installing: /usr/local/share/man/man3/zip_source_close.3
     12106  -- Installing: /usr/local/share/man/man3/zip_source_commit_write.3
     12107  -- Installing: /usr/local/share/man/man3/zip_source_error.3
     12108  -- Installing: /usr/local/share/man/man3/zip_source_file.3
     12109  -- Installing: /usr/local/share/man/man3/zip_source_filep.3
     12110  -- Installing: /usr/local/share/man/man3/zip_source_free.3
     12111  -- Installing: /usr/local/share/man/man3/zip_source_function.3
     12112  -- Installing: /usr/local/share/man/man3/zip_source_is_deleted.3
     12113  -- Installing: /usr/local/share/man/man3/zip_source_keep.3
     12114  -- Installing: /usr/local/share/man/man3/zip_source_make_command_bitmap.3
     12115  -- Installing: /usr/local/share/man/man3/zip_source_open.3
     12116  -- Installing: /usr/local/share/man/man3/zip_source_read.3
     12117  -- Installing: /usr/local/share/man/man3/zip_source_rollback_write.3
     12118  -- Installing: /usr/local/share/man/man3/zip_source_seek.3
     12119  -- Installing: /usr/local/share/man/man3/zip_source_seek_compute_offset.3
     12120  -- Installing: /usr/local/share/man/man3/zip_source_seek_write.3
     12121  -- Installing: /usr/local/share/man/man3/zip_source_stat.3
     12122  -- Installing: /usr/local/share/man/man3/zip_source_tell.3
     12123  -- Installing: /usr/local/share/man/man3/zip_source_tell_write.3
     12124  -- Installing: /usr/local/share/man/man3/zip_source_win32a.3
     12125  -- Installing: /usr/local/share/man/man3/zip_source_win32handle.3
     12126  -- Installing: /usr/local/share/man/man3/zip_source_win32w.3
     12127  -- Installing: /usr/local/share/man/man3/zip_source_write.3
     12128  -- Installing: /usr/local/share/man/man3/zip_source_zip.3
     12129  -- Installing: /usr/local/share/man/man3/zip_stat.3
     12130  -- Installing: /usr/local/share/man/man3/zip_stat_init.3
     12131  -- Installing: /usr/local/share/man/man3/zip_unchange.3
     12132  -- Installing: /usr/local/share/man/man3/zip_unchange_all.3
     12133  -- Installing: /usr/local/share/man/man3/zip_unchange_archive.3
     12134  -- Installing: /usr/local/share/man/man1/zipcmp.1
     12135  -- Installing: /usr/local/share/man/man1/zipmerge.1
     12136  -- Installing: /usr/local/share/man/man1/ziptool.1
     12137  -- Installing: /usr/local/share/man/man3/zip_replace.3
     12138  -- Installing: /usr/local/share/man/man3/zip_file_error_clear.3
     12139  -- Installing: /usr/local/share/man/man3/zip_file_error_get.3
     12140  -- Installing: /usr/local/share/man/man3/zip_error_init_with_code.3
     12141  -- Installing: /usr/local/share/man/man3/zip_file_replace.3
     12142  -- Installing: /usr/local/share/man/man3/zip_file_extra_field_delete_by_id.3
     12143  -- Installing: /usr/local/share/man/man3/zip_file_extra_field_get_by_id.3
     12144  -- Installing: /usr/local/share/man/man3/zip_file_extra_fields_count_by_id.3
     12145  -- Installing: /usr/local/share/man/man3/zip_file_set_dostime.3
     12146  -- Installing: /usr/local/share/man/man3/zip_strerror.3
     12147  -- Installing: /usr/local/share/man/man3/zip_fopen_index.3
     12148  -- Installing: /usr/local/share/man/man3/zip_fopen_index_encrypted.3
     12149  -- Installing: /usr/local/share/man/man3/zip_open_from_source.3
     12150  -- Installing: /usr/local/share/man/man3/zip_source_begin_write_cloning.3
     12151  -- Installing: /usr/local/share/man/man3/zip_source_buffer_create.3
     12152  -- Installing: /usr/local/share/man/man3/zip_source_buffer_fragment_create.3
     12153  -- Installing: /usr/local/share/man/man3/zip_source_file_create.3
     12154  -- Installing: /usr/local/share/man/man3/zip_source_filep_create.3
     12155  -- Installing: /usr/local/share/man/man3/zip_source_function_create.3
     12156  -- Installing: /usr/local/share/man/man3/zip_source_win32a_create.3
     12157  -- Installing: /usr/local/share/man/man3/zip_source_win32handle_create.3
     12158  -- Installing: /usr/local/share/man/man3/zip_source_win32w_create.3
     12159  -- Installing: /usr/local/share/man/man3/zip_stat_index.3
     12160  -- Installing: /usr/local/bin/zipcmp
     12161  -- Set runtime path of "/usr/local/bin/zipcmp" to ""
     12162  -- Installing: /usr/local/bin/zipmerge
     12163  -- Set runtime path of "/usr/local/bin/zipmerge" to ""
     12164  -- Installing: /usr/local/bin/ziptool
     12165  -- Set runtime path of "/usr/local/bin/ziptool" to ""
    
     
  14. adzkii

    adzkii Member

    38
    1
    8
    Apr 15, 2020
    Ratings:
    +3
    Local Time:
    7:14 PM
    virt-what doesn't show anything
    i'm running on a dedicated server

    if it failed to install, how would i solve this?
     
  15. adzkii

    adzkii Member

    38
    1
    8
    Apr 15, 2020
    Ratings:
    +3
    Local Time:
    7:14 PM
    yeah whenever i try to compile it it fails to make php
    hastebin

    i installed (yum install libzip)
    now i get Segmentation fault (core dumped) every command i use
     
    Last edited: Jun 5, 2020
  16. eva2000

    eva2000 Administrator Staff Member

    45,192
    10,277
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,927
    Local Time:
    4:14 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    probably good idea to reload fresh CentOS 7 OS and install betainstaller73.sh without any persistent config file settings at all and see if that installs fine to first confirm if any persistent config settings are causing problems
     
  17. adzkii

    adzkii Member

    38
    1
    8
    Apr 15, 2020
    Ratings:
    +3
    Local Time:
    7:14 PM
    no other way to get this fixed? like try forcing the centminmod to reinstall all it's files?
    i tried looking up on the libzip Segmentation fault online yesterday but can't find anything to fix it
     
  18. eva2000

    eva2000 Administrator Staff Member

    45,192
    10,277
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,927
    Local Time:
    4:14 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    no other way - troubleshooting could take hours or days ! Much quicker to reinstall with no persistent config file to confirm if the issue is with persistent settings or if your server itself has issues with it's configuration due to segfaults
     
  19. adzkii

    adzkii Member

    38
    1
    8
    Apr 15, 2020
    Ratings:
    +3
    Local Time:
    7:14 PM
    right, thanks. i might just do a reboot of the server with clean persistent config