Learn about Centmin Mod LEMP Stack today
Register Now

Nginx Not restarting after upgrade

Discussion in 'Install & Upgrades or Pre-Install Questions' started by BamaStangGuy, Jun 22, 2014.

  1. BamaStangGuy

    BamaStangGuy Active Member

    465
    136
    43
    May 25, 2014
    Ratings:
    +179
    Local Time:
    7:47 AM
    Code:
    Sat Jun 21 22:17:03 UTC 2014
    Success: Nginx make ok
    
    *************************************************
    Stopping nginx:                                            [  OK  ]
    
    nginx seems to be still running, trying to stop it again...
    
    Stopping nginx:                                            [  OK  ]
    make -f objs/Makefile install
    make[1]: Entering directory `/svr-setup/nginx-1.7.2'
    test -d '/usr/local/nginx' || mkdir -p '/usr/local/nginx'
    test -d '/usr/local/sbin'         || mkdir -p '/usr/local/sbin'
    test ! -f '/usr/local/sbin/nginx'         || mv '/usr/local/sbin/nginx'             '/usr/local/sbin/nginx.old'
    cp objs/nginx '/usr/local/sbin/nginx'
    test -d '/usr/local/nginx/conf'         || mkdir -p '/usr/local/nginx/conf'
    cp conf/koi-win '/usr/local/nginx/conf'
    cp conf/koi-utf '/usr/local/nginx/conf'
    cp conf/win-utf '/usr/local/nginx/conf'
    test -f '/usr/local/nginx/conf/mime.types'         || cp conf/mime.types '/usr/local/nginx/conf'
    cp conf/mime.types '/usr/local/nginx/conf/mime.types.default'
    test -f '/usr/local/nginx/conf/fastcgi_params'         || cp conf/fastcgi_params '/usr/local/nginx/conf'
    cp conf/fastcgi_params         '/usr/local/nginx/conf/fastcgi_params.default'
    test -f '/usr/local/nginx/conf/fastcgi.conf'         || cp conf/fastcgi.conf '/usr/local/nginx/conf'
    cp conf/fastcgi.conf '/usr/local/nginx/conf/fastcgi.conf.default'
    test -f '/usr/local/nginx/conf/uwsgi_params'         || cp conf/uwsgi_params '/usr/local/nginx/conf'
    cp conf/uwsgi_params         '/usr/local/nginx/conf/uwsgi_params.default'
    test -f '/usr/local/nginx/conf/scgi_params'         || cp conf/scgi_params '/usr/local/nginx/conf'
    cp conf/scgi_params         '/usr/local/nginx/conf/scgi_params.default'
    test -f '/usr/local/nginx/conf/nginx.conf'         || cp conf/nginx.conf '/usr/local/nginx/conf/nginx.conf'
    cp conf/nginx.conf '/usr/local/nginx/conf/nginx.conf.default'
    test -d '/usr/local/nginx/logs'         || mkdir -p '/usr/local/nginx/logs'
    test -d '/usr/local/nginx/logs' ||         mkdir -p '/usr/local/nginx/logs'
    test -d '/usr/local/nginx/html'         || cp -R html '/usr/local/nginx'
    test -d '/usr/local/nginx/logs' ||         mkdir -p '/usr/local/nginx/logs'
    make[1]: Leaving directory `/svr-setup/nginx-1.7.2'
    
    real    0m0.130s
    user    0m0.059s
    sys    0m0.059s
    *************************************************
    
    Sat Jun 21 22:17:19 UTC 2014
    Success: Nginx was installed properly
    
    *************************************************
    *************************************************
    * nginx updated
    *************************************************
    
    ccache stats:
    cache directory                     /home/.ccache
    cache hit (direct)                  1645
    cache hit (preprocessed)            1174
    cache miss                          4553
    called for link                      505
    called for preprocessing             322
    compile failed                        85
    preprocessor error                    73
    bad compiler arguments                70
    unsupported source language           99
    autoconf compile/link                730
    unsupported compiler option           14
    no input file                        173
    files in cache                     10267
    cache size                         316.0 Mbytes
    max cache size                       2.0 Gbytes
    This has happened twice now. It tries to stop nginx but seems to think it hasn't stopped. Then stops it again but never tries to start it back.
     
  2. eva2000

    eva2000 Administrator Staff Member

    28,487
    6,469
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,583
    Local Time:
    10:47 PM
    Nginx 1.13.x
    MariaDB 5.5
    Brent you're in luck @RoldanLT has run into this a few times as such with his feedback, I've fixed it in latest .07 beta 21 updates https://community.centminmod.com/th...beta-21-to-stable-status.124/page-5#post-2097

    And my committed fix https://community.centminmod.com/th...beta-21-to-stable-status.124/page-6#post-2132 on Github for inc/nginx_upgrade.inc file changes which you can actually manually add if you don't want to download the full .07 beta 21 again https://github.com/centminmod/centminmod/commit/dabd784d4aa27b1c7abb57f9a612dabb21d1cdbc :)

    oh forgot to ask if you're using .06 stable or .07 betas, but the change would similar
     
    • Like Like x 2
  3. eva2000

    eva2000 Administrator Staff Member

    28,487
    6,469
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,583
    Local Time:
    10:47 PM
    Nginx 1.13.x
    MariaDB 5.5
    • Like Like x 1