Monday, January 4, 2016

nginx dead but pid file exists

[root@elite ~]#  /etc/init.d/nginx status 
  nginx dead but pid file exists
 
To fix the issue follow the steps below:

 Back up the nginx.pid:

[root@elite ~]#  mv /var/run/nginx.pid /var/run/nginx.pid_bak 
 
 Enable the nginx service:

  [root@elite ~]# /usr/local/psa/admin/bin/nginxmng -e 
 
 Disable the nginx service:

[root@elite ~]#  /usr/local/psa/admin/bin/nginxmng -d 
 
Enable the nginx service once again:

  [root@elite ~]# /usr/local/psa/admin/bin/nginxmng -e 
 
 Rebuild web configuration files:

# /usr/local/psa/admin/bin/httpdmng --reconfigure-domain <domain_name> 
======================================================
 
 

3 comments:

  1. Stainless Steel Double-Edge Double Edge Blades
    Stainless steel ion titanium hair color double titanium piercings edge blades are also titanium anodizing known as titanium ore terraria stainless steel double-edge double edge blades or triple edge blades. These double-edge titanium nipple jewelry double-edge

    ReplyDelete
  2. In the digital age, blogs and articles have become prominent forms of content creation and information dissemination. Virtualization Energy Utilities Blogs emerged as personal online journals, while articles have a long history in print media.

    ReplyDelete

  3. Facing the "nginx dead but pid file exists" issue can be perplexing, much like navigating challenges in technology. It's a reminder that even with the most advanced systems, occasional hiccups occur. This troubleshooting scenario is akin to the constant Advancements in Dental Technology—overcoming glitches to ensure seamless performance, just as dentistry adapts to ensure optimal oral health through innovative solutions.

    ReplyDelete