Skip to content

Instantly share code, notes, and snippets.

@ravicious
Created January 27, 2010 14:06
Show Gist options
  • Select an option

  • Save ravicious/287850 to your computer and use it in GitHub Desktop.

Select an option

Save ravicious/287850 to your computer and use it in GitHub Desktop.
openvz-02-91-205-73-242:/# /opt/nginx/sbin/nginx -h
nginx version: nginx/0.7.64
Usage: nginx [-?hvVt] [-s signal] [-c filename] [-p prefix] [-g directives]
Options:
-?,-h : this help
-v : show version and exit
-V : show version and configure options then exit
-t : test configuration and exit
-s signal : send signal to a master process: stop, quit, reopen, reload
-p prefix : set prefix path (default: /opt/nginx/)
-c filename : set configuration file (default: conf/nginx.conf)
-g directives : set global directives out of configuration file
openvz-02-91-205-73-242:/# /opt/nginx/sbin/nginx -s reload
[error]: open() "/var/run/nginx.pid" failed (2: No such file or directory)
openvz-02-91-205-73-242:/# /opt/nginx/sbin/nginx -s stop
[error]: open() "/var/run/nginx.pid" failed (2: No such file or directory)
openvz-02-91-205-73-242:/# /opt/nginx/sbin/nginx
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
[emerg]: still could not bind()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment