Skip to content

Instantly share code, notes, and snippets.

@meoooh
Created June 17, 2013 11:20
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 meoooh/5796217 to your computer and use it in GitHub Desktop.
Save meoooh/5796217 to your computer and use it in GitHub Desktop.
Looking up host 'repang.net'...
Host 'repang.net' resolved to 14.63.162.188.
Connecting to 14.63.162.188:22...
Connection established.
To escape to local shell, press 'Ctrl+Alt+]'.
Welcome to Ubuntu 11.04 (GNU/Linux 2.6.38-13-virtual x86_64)
* Documentation: https://help.ubuntu.com/
New release 'oneiric' available.
Run 'do-release-upgrade' to upgrade to it.
han@194f16a7-973d-4e96-80eb-31393b20e3f4:~$ sudo /etc/init.d/nginx status
[sudo] password for han:
* could not access PID file for nginx
han@194f16a7-973d-4e96-80eb-31393b20e3f4:~$ sudo /etc/init.d/nginx start
han@194f16a7-973d-4e96-80eb-31393b20e3f4:~$ sudo /etc/init.d/nginx status
* could not access PID file for nginx
han@194f16a7-973d-4e96-80eb-31393b20e3f4:~$ sudo /etc/init.d/nginx restart
han@194f16a7-973d-4e96-80eb-31393b20e3f4:~$ sudo /etc/init.d/nginx status
* could not access PID file for nginx
han@194f16a7-973d-4e96-80eb-31393b20e3f4:~$ sudo /etc/init.d/nginx stop
* Stopping nginx nginx [ OK ]
han@194f16a7-973d-4e96-80eb-31393b20e3f4:~$ sudo /etc/init.d/nginx status
* could not access PID file for nginx
han@194f16a7-973d-4e96-80eb-31393b20e3f4:~$ service nginx status
* could not access PID file for nginx
han@194f16a7-973d-4e96-80eb-31393b20e3f4:~$ service nginx start
han@194f16a7-973d-4e96-80eb-31393b20e3f4:~$ service nginx status
* could not access PID file for nginx
han@194f16a7-973d-4e96-80eb-31393b20e3f4:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment