全球主机交流论坛
标题:
求助了,卸载了nginx后不管再装nginx还是apache均无法启动
[打印本页]
作者:
l12ab
时间:
2011-3-4 23:48
标题:
求助了,卸载了nginx后不管再装nginx还是apache均无法启动
debian系统,本来装了nginx,想换apache,于是卸载了nginx,装了apache
apt-get remove nginx
apt-get install apache2
但是apache2无法启动
/etc/init.d/apache2 start
Starting web server: apache2.
没显示启动成功,web始终无法访问
检查发现80端口没有被占用
卸载apache,再装nginx,nginx也无法启动
求助呀~~~
作者:
狙击手
时间:
2011-3-4 23:51
资料给得不够 无法判断
作者:
嫂子抱紧我
时间:
2011-3-5 00:10
apt-get remove apache2
apt-get remove apache2.2-common
apt-get autoremove
作者:
l12ab
时间:
2011-3-5 00:17
执行了上面三句,再apt-get install apache2
还是无法启动
作者:
skwinx
时间:
2011-3-5 00:18
错误提示贴上来
作者:
stick
时间:
2011-3-5 00:20
查error_log或者error.log
作者:
l12ab
时间:
2011-3-5 00:20
就是没有错误提示
作者:
l12ab
时间:
2011-3-5 00:21
em:/etc/apache2# ps ax
PID TTY STAT TIME COMMAND
1 ? Ss 0:00 init [2]
10092 ? Ss 0:00 /sbin/syslogd
10141 ? Ss 0:00 /usr/sbin/sshd
10156 ? Ssl 0:00 /usr/sbin/nscd
10173 ? Ss 0:00 /usr/sbin/pptpd
10209 ? Ss 0:00 /usr/sbin/xinetd -pidfile /var/run/xinetd.pid -stayalive -inetd_compat -inetd_ipv6
15596 ? Ss 0:00 sendmail: MTA: accepting connections
15634 ? Ss 0:00 /usr/sbin/cron
15666 ? Sl 0:21 /usr/bin/mlnet -pid /var/run/mldonkey
19752 ? Ss 0:00 sshd: l12ab [priv]
20416 pts/0 R+ 0:00 ps ax
21979 ? S 0:00 sshd: l12ab@pts/0
22000 pts/0 Ss 0:00 -bash
23667 pts/0 S 0:00 su root
24029 pts/0 S 0:00 bash
复制代码
作者:
l12ab
时间:
2011-3-5 00:22
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1 root 18 0 1984 724 628 S 0.0 0.3 0:00.25 init
10092 root 15 0 1696 620 512 S 0.0 0.2 0:00.02 syslogd
10141 root 18 0 5276 1060 708 S 0.0 0.4 0:00.00 sshd
10156 root 15 0 106m 940 708 S 0.0 0.4 0:00.09 nscd
10173 root 19 0 1980 472 388 S 0.0 0.2 0:00.00 pptpd
10209 root 18 0 2916 840 692 S 0.0 0.3 0:00.00 xinetd
15596 root 18 0 8728 1556 560 S 0.0 0.6 0:00.16 sendmail-mta
15634 root 15 0 2040 692 552 S 0.0 0.3 0:00.00 cron
15666 mldonkey 18 0 30580 16m 4652 R 0.0 6.4 0:21.44 mlnet
19752 root 16 0 8444 2608 2152 S 0.0 1.0 0:00.06 sshd
21979 l12ab 15 0 8592 1684 1196 R 0.0 0.6 0:00.55 sshd
22000 l12ab 15 0 3308 1704 1140 S 0.0 0.7 0:00.00 bash
23667 root 16 0 2808 1132 900 S 0.0 0.4 0:00.00 su
24029 root 15 0 2912 1564 1144 S 0.0 0.6 0:00.20 bash
28306 root 15 0 2260 956 796 R 0.0 0.4 0:00.01 top
复制代码
欢迎光临 全球主机交流论坛 (https://lilynana.eu.org/)
Powered by Discuz! X3.4