Skip to content

Instantly share code, notes, and snippets.

Created January 9, 2013 10:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/2dd3769dba045ab28c0c to your computer and use it in GitHub Desktop.
Save anonymous/2dd3769dba045ab28c0c to your computer and use it in GitHub Desktop.
"nginx: the configuration file /srv/ph3/configs/nginx/2013-01-09--18-21-47.conf syntax is ok\nnginx: configuration file /srv/ph3/configs/nginx/2013-01-09--18-21-47.conf test is successful\n"
Nginx - configuration is valid
running 'sudo ln --force --symbolic /opt/nginx/conf/nginx.conf /srv/ph3/configs/nginx/2013-01-09--18-21-47.conf' on ausprod
running 'ps aux | grep 'nginx: mas'' on ausprod
1000 19938 0.0 0.0 9408 1152 ? Ss 21:21 0:00 bash -c ps aux | grep 'nginx: mas'
1000 19940 0.0 0.0 6504 624 ? S 21:21 0:00 grep nginx: mas
root 31185 0.0 0.0 37544 1188 ? Ss 2012 0:00 nginx: master process /opt/nginx/sbin/nginx
running 'pgrep -f 'nginx: master' || echo 'NOT_FOUND'' on ausprod
19941
31185
running 'ps aux | grep 'nginx: mas'' on ausprod
1000 19943 0.0 0.0 9408 1152 ? Ss 21:21 0:00 bash -c ps aux | grep 'nginx: mas'
1000 19945 0.0 0.0 6504 628 ? S 21:21 0:00 grep nginx: mas
root 31185 0.0 0.0 37544 1188 ? Ss 2012 0:00 nginx: master process /opt/nginx/sbin/nginx
running 'if [ -e /var/run/nginx.pid ]; then cat /var/run/nginx.pid || echo PID_IS_EMPTY; else echo 'PID_FILE_NOT_FOUND'; fi' on ausprod
31185
The ID found in the nginx.pid file was different to the process it was running on.
PID in nginx.pid: 31185
PID in process : 19941
31185
You must manually restart or start nginx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment