Learn about Centmin Mod LEMP Stack today
Register Now

Beta Branch 123.09beta01 install issues

Discussion in 'Beta release code' started by envmar, Apr 10, 2017.

  1. envmar

    envmar New Member

    10
    3
    3
    Apr 9, 2017
    Ratings:
    +4
    Local Time:
    7:38 AM
    I just tried the: yum -y update; curl -O https://centminmod.com/betainstaller-latest.sh && chmod 0700 betainstaller-latest.sh && bash betainstaller-latest.sh

    I could be wrong but it seems there's some package URL issues with NGINX, PHP and CSF? Is there a guide on best practice to update the installer and/or packages?

    Install log: centmin mod initial install: yum -y update; curl -O https://centminmod.com/betainstaller-latest.sh && chmod 0700 betainstaller-latest.sh && bash betainstaller-latest.sh ยท GitHub

    Install attempt on:
    CentOS 7 with GUI, fully updated (run through VirtualBox)
    centmin mod: centminmod_1.2.3-eva2000.09.004

     
  2. eva2000

    eva2000 Administrator Staff Member

    58,904
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    12:38 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    moved your post to your own thread :)

    seems solely related to nginx missing it's nginx tarball tar.gz edit: actually php tarball download is missing too, seems your install failed to download some tarball (.tar.gz) that centmin mod requires.

    Code (Text):
    /svr-setup
    nginx configure options (alternate ordering):
    ./configure --with-ld-opt="-ljemalloc -Wl,-z,relro -Wl,-rpath,/usr/local/lib" --with-cc-opt="-g -O3 -fstack-protector-strong -fuse-ld=gold --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wno-deprecated-declarations -gsplit-dwarf" --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-libatomic --with-http_gzip_static_module --add-module=../ngx_brotli --add-module=../ --with-http_sub_module --with-http_addition_module --with-http_image_filter_module --with-http_geoip_module --with-threads --with-stream --with-stream_ssl_module --with-http_realip_module --add-module=../ngx-fancyindex-0.4.0 --add-module=../ngx_cache_purge-2.3 --add-module=../ngx_devel_kit-0.3.0 --add-module=../set-misc-nginx-module-0.31 --add-module=../echo-nginx-module-0.60 --add-module=../redis2-nginx-module-0.14 --add-module=../ngx_http_redis-0.3.7 --add-module=../memc-nginx-module-0.18 --add-module=../srcache-nginx-module-0.31 --add-module=../headers-more-nginx-module-0.32 --with-pcre=../pcre-8.40 --with-pcre-jit --with-zlib=../zlib-1.2.11 --with-http_ssl_module --with-http_v2_module --with-openssl=../openssl-1.0.2k
    inc/nginx_configure.inc: line 2413: ./configure: No such file or directory
    _ _ _ __ __ _
    | \ | | __ _ (_) _ __ __ __ | \/ | __ _ | | __ ___
    | \| | / _` || || '_ \ \ \/ / | |\/| | / _` || |/ // _ \
    | |\ || (_| || || | | | > < | | | || (_| || <| __/
    |_| \_| \__, ||_||_| |_|/_/\_\ |_| |_| \__,_||_|\_\\___|
    |___/
    make: *** No targets specified and no makefile found. Stop.
    real 0m0.003s
    user 0m0.002s
    sys 0m0.002s
    _ _ _ __ __ _
    | \ | | __ _ (_) _ __ __ __ | \/ | __ _ | | __ ___
    | \| | / _` || || '_ \ \ \/ / | |\/| | / _` || |/ // _ \
    | |\ || (_| || || | | | > < | | | || (_| || <| __/
    |_| \_| \__, ||_||_| |_|/_/\_\ |_| |_| \__,_||_|\_\\___|
    |___/
    ___ _ _ _
    |_ _| _ __ ___ | |_ __ _ | || |
    | | | '_ \ / __|| __|/ _` || || |
    | | | | | |\__ \| |_| (_| || || |
    |___||_| |_||___/ \__|\__,_||_||_|
    make: *** No rule to make target `install'. Stop.
    real 0m0.004s
    user 0m0.002s
    sys 0m0.002s
    ____ _ _ _ _ _
    / ___|| |__ ___ ___ | | __ | \ | | __ _ (_) _ __ __ __
    | | | '_ \ / _ \ / __|| |/ / | \| | / _` || || '_ \ \ \/ /
    | |___ | | | || __/| (__ | < | |\ || (_| || || | | | > <
    \____||_| |_| \___| \___||_|\_\ |_| \_| \__, ||_||_| |_|/_/\_\
    |___/
    ____ _
    | _ \ _ _ _ __ __ _ _ __ ___ (_) ___
    | | | || | | || '_ \ / _` || '_ ` _ \ | | / __|
    | |_| || |_| || | | || (_| || | | | | || || (__
    |____/ \__, ||_| |_| \__,_||_| |_| |_||_| \___|
    |___/
    __ __ _ _
    | \/ | ___ __| | _ _ | | ___
    | |\/| | / _ \ / _` || | | || | / _ \
    | | | || (_) || (_| || |_| || || __/
    |_| |_| \___/ \__,_| \__,_||_| \___|
    ____ _
    / ___| _ _ _ __ _ __ ___ _ __ | |_
    \___ \ | | | || '_ \ | '_ \ / _ \ | '__|| __|
    ___) || |_| || |_) || |_) || (_) || | | |_
    |____/ \__,_|| .__/ | .__/ \___/ |_| \__|
    |_| |_|
    NGX_DYNAMICCHECK nginx_configure
    /svr-setup
    grep: /svr-setup/nginx-1.11.13/auto/options: No such file or directory
    awk: fatal: cannot open file `/svr-setup/nginx-1.11.13/src/core/nginx.h' for reading (No such file or directory)
    

    does the .tar.gz exist for nginx ?

    what is output for this command ?
    Code (Text):
    ls -lah /svr-setup | grep nginx
    


    Just tested a fresh CentOS 7 123.09beta01 install using betainstaller-latest.sh installer and worked fine on my end. So issue is something unique to your virtualbox install run for centmin mod.
     
    Last edited: Apr 10, 2017
  3. envmar

    envmar New Member

    10
    3
    3
    Apr 9, 2017
    Ratings:
    +4
    Local Time:
    7:38 AM
    I figured it would be something specific to my machine or there would be someone else talking about it.

    I tried install again this time running through a terminal logged in directly as root (instead of through GUI -> terminal -> sudo to root) still same problems.

    Tarball for nginx seems to be there but I don't see PHP. For some reason nginx doesn't seem to be extracting.

    Previously when I used centmin.sh to "update" PHP and nginx that seemed to work but I was left without csf.

    Code:
    [05:25][root@localhost.localdomain centminlogs]# ls -lah /svr-setup | grep nginx
    -rw-r--r--.  1 root  root    52K Aug 19  2016 echo-nginx-module_v0.60.tar.gz
    -rw-r--r--.  1 root  root   593K Apr 10 00:11 lua-nginx-module_v0.10.8.tar.gz
    -rw-r--r--.  1 root  root   6.4K May 31  2015 lua-upstream-cache-nginx-module_v0.1.1.tar.gz
    -rw-r--r--.  1 root  root    13K Aug 26  2016 lua-upstream-nginx-module_v0.06.tar.gz
    -rw-r--r--.  1 root  root    37K Apr 10 00:11 memc-nginx-module_v0.18.tar.gz
    -rw-r--r--.  1 root  root   958K Apr 10 00:33 nginx-1.11.13.tar.gz
    -rw-r--r--.  1 root  root   6.2K May 31  2015 nginx-dav-ext-module-0.0.3.tar.gz
    -rw-r--r--.  1 root  root    65K May 19  2016 nginx-develkit_v0.3.0.tar.gz
    -rw-r--r--.  1 root  root   6.9K May 31  2015 nginx-http-concat-master.tar.gz
    -rw-r--r--.  1 root  root   118K Mar 11  2016 nginx-sticky-1.2.6.tar.gz
    -rw-r--r--.  1 root  root   134K May 31  2015 nginx-upstream-check-0.3.0.tar.gz
    -rw-r--r--.  1 root  root    28K Apr 10 00:11 redis2-nginx-module_v0.14.tar.gz
    -rw-r--r--.  1 root  root    29K Aug 19  2016 set-misc-nginx-module_v0.31.tar.gz
    -rw-r--r--.  1 root  root    48K May 19  2016 srcache-nginx-module_v0.31.tar.gz
    [05:26][root@localhost.localdomain centminlogs]#
    
    Code:
    [05:26][root@localhost.localdomain centminlogs]# ls -lah /svr-setup | grep php
    drwxr-xr-x.  7 root  root   4.0K Apr 10 04:50 igbinary-php
    drwxrwxr-x.  5 root  root   4.0K Mar 24 20:11 phpredis-3.1.2
    -rw-r--r--.  1 root  root   202K Apr  5 00:33 phpredis-3.1.2.tgz
    [05:28][root@localhost.localdomain centminlogs]#
    
    I have been tempted to just sign up for Vultr and give this a go but it'd be nice to have a local machine with a similar server set up to develop and test on.

    Also downloading CentOS 6 to try that.
     
  4. eva2000

    eva2000 Administrator Staff Member

    58,904
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    12:38 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    best to save the install log after each attempt so we have something to work with for troubleshooting

    also try standard betainstaller.sh instead of betainstaller-latest.sh to rule out specific issues with betainstaller-latest.sh

    Code (Text):
    yum -y update; curl -O https://centminmod.com/betainstaller.sh && chmod 0700 betainstaller.sh && bash betainstaller.sh
     
  5. eva2000

    eva2000 Administrator Staff Member

    58,904
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    12:38 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    you can also double check on failed initial installs, run centmin.sh menu option 4 to manual recompile nginx and see what happens - a separate /root/centminlogs log named nginx_upgrade would be created that you can check to see what happens during nginx compile routines
     
  6. envmar

    envmar New Member

    10
    3
    3
    Apr 9, 2017
    Ratings:
    +4
    Local Time:
    7:38 AM
    You read my mind. I figured if I just installed (updated) PHP and nginx through options 4 and 5 and it worked that would be all I need for local dev.

    Both installed fine that way and so far it looks like option 22 worked. Will do some more testing and see if anythings broken. :)