Learn about Centmin Mod LEMP Stack today
Register Now

Nginx Fresh Install : Nginx Error or Won't Start (latest beta installer)

Discussion in 'Install & Upgrades or Pre-Install Questions' started by ndha, Jul 5, 2017.

Tags:
  1. ndha

    ndha Member

    53
    9
    8
    Sep 28, 2014
    Ratings:
    +23
    Local Time:
    10:27 PM
    Latest
    10
    Please fill in any relevant information that applies to you:
    • CentOS Version: CentOS 7 64bit
    • Centmin Mod Version Installed: 123.09beta01
    • Nginx Version Installed: 1.13.2
    • PHP Version Installed: 7.0.20
    • MariaDB MySQL Version Installed: 10.0.21 or 10.1.21
    • When was last time updated Centmin Mod code base ? : After Install 23+2
    • Persistent Config:
    Hi @eva2000
    it seems nginx is broken within latest beta installer, as i see there is 2 post in here reporting about it, like THIS and THIS .
    I got same problem which is Nginx won't start after 2x fresh install or recompile using option 4 (downgrade/upgrade).
    Also tried compile using libressl or opensll both gave me "nginx command not found".

    my server is in Dallas within Incero, i just tried with UK server within Clouvider but it gave same results, so no network problem i think..

    when i check using "systemctl status nginx.service" :
    Code (Text):
    nginx.service - SYSV: Nginx is an HTTP(S) server, HTTP(S) reverse proxy and IMAP/POP3 proxy server
    Loaded: loaded (/etc/rc.d/init.d/nginx; bad; vendor preset: disabled)
    Active: failed (Result: exit-code) since Tue 2017-07-04
    Docs: man:systemd-sysv-generator(8)
    Process: 21506 ExecStart=/etc/rc.d/init.d/nginx start (code=exited, status=5)
    

    when i see centmin nginx install/update log using openssl :
    Code (Text):
    make[3]: Leaving directory `/svr-setup/openssl-1.1.0f'
    make[3]: Entering directory `/svr-setup/openssl-1.1.0f'
    make[3]: Leaving directory `/svr-setup/openssl-1.1.0f'
    make[2]: Leaving directory `/svr-setup/openssl-1.1.0f'
    make[1]: Leaving directory `/svr-setup/nginx-1.13.2'
    make: *** [build] Error 2
    
    real    0m46.969s
    user    2m14.089s
    sys     0m26.917s
    
    Tue Jul  4 19:46:49 UTC 2017
    Error: 2, Nginx make failed
    

    when i see centmin nginx install/update log using libressl :
    Code (Text):
    make[5]: Leaving directory `/svr-setup/libressl-2.5.4/man'
    make[4]: Leaving directory `/svr-setup/libressl-2.5.4/man'
    make[3]: Leaving directory `/svr-setup/libressl-2.5.4/man'
    make[3]: Entering directory `/svr-setup/libressl-2.5.4'
    make[4]: Entering directory `/svr-setup/libressl-2.5.4'
    make[4]: Nothing to be done for `install-exec-am'.
     /bin/mkdir -p '/svr-setup/nginx-1.13.2/../libressl-2.5.4/.openssl/lib/pkgconfig'
     /bin/install -c -m 644 libcrypto.pc libssl.pc libtls.pc openssl.pc '/svr-setup/nginx-1.13.2/../libressl-2.5.4/.openssl/lib/pkgconfig'
    make[4]: Leaving directory `/svr-setup/libressl-2.5.4'
    make[3]: Leaving directory `/svr-setup/libressl-2.5.4'
    make[2]: Leaving directory `/svr-setup/libressl-2.5.4'
    make[1]: Leaving directory `/svr-setup/nginx-1.13.2'
    make: *** [build] Error 2
    
    real    0m26.939s
    user    0m40.838s
    sys     0m24.600s
    
    Tue Jul  4 18:31:48 UTC 2017
    Error: 2, Nginx make failed
    

    Also here is :
    Code (Text):
    ls -lahrt /svr-setup | egrep 'libressl|php-'
    -rw-r--r--  1 root  root    19M Jul  4 17:18 php-7.0.20.tar.gz
    -rw-r--r--  1 root  root   3.2M Jul  4 17:18 libressl-2.5.4.tar.gz
    drwxr-xr-x 17 nginx nginx  4.0K Jul  4 17:23 php-7.0.20
    drwxr-xr-x 12 root  root   4.0K Jul  4 18:58 libressl-2.5.4
    


    What's wrong actually???
    Thanks.
     
    • Informative Informative x 1
  2. eva2000

    eva2000 Administrator Staff Member

    30,175
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,138
    Local Time:
    1:27 AM
    Nginx 1.13.x
    MariaDB 5.5
    • Like Like x 1
  3. ndha

    ndha Member

    53
    9
    8
    Sep 28, 2014
    Ratings:
    +23
    Local Time:
    10:27 PM
    Latest
    10
    Thanks @eva2000 everything is fine now..
     
    • Like Like x 1
  4. eva2000

    eva2000 Administrator Staff Member

    30,175
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,138
    Local Time:
    1:27 AM
    Nginx 1.13.x
    MariaDB 5.5
    Glad to hear :)
     
    • Friendly Friendly x 1