重启服务器后网站就打不开了 着急呀
军哥帮忙呀 一天了,重启服务器后网站就打不开了# sudo netstat -ap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address Stat e PID/Program name
tcp 0 0 *:memcache *:* LIST EN 1791/memcached
tcp 0 0 *:6379 *:* LIST EN 1783/redis-server *
tcp 0 0 *:30517 *:* LIST EN 1358/sshd
tcp 0 0 *:mysql *:* LIST EN 1757/mysqld
tcp 0 0 23.*.165.43:30517 49.*.148.207:34313 ESTABLISHED 1824/sshd
tcp 0 52 23.*.2.43:30517 49.*.148.207:39506 ESTABLISHED 1969/sshd
tcp 0 0 *:memcache *:* LISTEN 1791/memc ached
tcp 0 0 *:6379 *:* LISTEN 1783/redi s-server *
tcp 0 0 *:30517 *:* LISTEN 1358/sshd
udp 0 0 *:memcache *:* 1791/memc ached
udp 0 0 *:memcache *:* 1791/memc ached
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node PID/Program name Path
unix3 [ ] DGRAM 8714 1293/rsyslogd /dev/log
unix2 [ ACC ] STREAM LISTENING 7370 1/init @/com/ubuntu/upstart
unix2 [ ] DGRAM 7513 569/udevd @/org/kernel/udev/ud evd
unix2 [ ACC ] STREAM LISTENING 9126 1335/php-cgi /tmp/php-cgi.sock
unix2 [ ACC ] STREAM LISTENING 9500 1757/mysqld /tmp/mysql.sock
unix2 [ ] DGRAM 106691989/sudo
unix2 [ ] DGRAM 106131969/sshd
unix3 [ ] STREAM CONNECTED 9558 1791/memcached
unix3 [ ] STREAM CONNECTED 9557 1791/memcached
unix3 [ ] STREAM CONNECTED 9555 1791/memcached
unix3 [ ] STREAM CONNECTED 9554 1791/memcached
unix3 [ ] STREAM CONNECTED 9552 1791/memcached
unix3 [ ] STREAM CONNECTED 9551 1791/memcached
unix3 [ ] STREAM CONNECTED 9549 1791/memcached
unix3 [ ] STREAM CONNECTED 9548 1791/memcached
unix3 [ ] STREAM CONNECTED 9546 1791/memcached
unix3 [ ] STREAM CONNECTED 9545 1791/memcached
unix3 [ ] STREAM CONNECTED 9129 1335/php-cgi
unix3 [ ] STREAM CONNECTED 9128 1335/php-cgi
unix3 [ ] STREAM CONNECTED 9125 1335/php-cgi
unix3 [ ] STREAM CONNECTED 9124 1335/php-cgi
unix3 [ ] DGRAM 7528 569/udevd
unix3 [ ] DGRAM 7527 569/udevd
# /usr/local/nginx/sbin/nginx -t
nginx: unknown directive "sserver" in /usr/local/nginx/conf/vhost/www.XXX.com.conf:33
nginx: configuration file /usr/local/nginx/conf/nginx.conf test failed
# # /usr/local/nginx/sbin/nginx -t
nginx: unknown directive "sserver" in /usr/local/nginx/conf/vhost/www.XXX.com.conf:33
nginx: configuration file /usr/local/nginx/conf/nginx.conf test failed
从这里看,是nginx配置文件出错了。改一下吧,
回复 1# 的帖子
错误信息里已经提示具体信息了,server拼写错误
页:
[1]