全球主机交流论坛

标题: 求助了,卸载了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
  1. em:/etc/apache2# ps ax
  2.   PID TTY      STAT   TIME COMMAND
  3.     1 ?        Ss     0:00 init [2]
  4. 10092 ?        Ss     0:00 /sbin/syslogd
  5. 10141 ?        Ss     0:00 /usr/sbin/sshd
  6. 10156 ?        Ssl    0:00 /usr/sbin/nscd
  7. 10173 ?        Ss     0:00 /usr/sbin/pptpd
  8. 10209 ?        Ss     0:00 /usr/sbin/xinetd -pidfile /var/run/xinetd.pid -stayalive -inetd_compat -inetd_ipv6
  9. 15596 ?        Ss     0:00 sendmail: MTA: accepting connections
  10. 15634 ?        Ss     0:00 /usr/sbin/cron
  11. 15666 ?        Sl     0:21 /usr/bin/mlnet -pid /var/run/mldonkey
  12. 19752 ?        Ss     0:00 sshd: l12ab [priv]
  13. 20416 pts/0    R+     0:00 ps ax
  14. 21979 ?        S      0:00 sshd: l12ab@pts/0
  15. 22000 pts/0    Ss     0:00 -bash
  16. 23667 pts/0    S      0:00 su root
  17. 24029 pts/0    S      0:00 bash
复制代码

作者: l12ab    时间: 2011-3-5 00:22
  1.   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
  2.     1 root      18   0  1984  724  628 S  0.0  0.3   0:00.25 init
  3. 10092 root      15   0  1696  620  512 S  0.0  0.2   0:00.02 syslogd
  4. 10141 root      18   0  5276 1060  708 S  0.0  0.4   0:00.00 sshd
  5. 10156 root      15   0  106m  940  708 S  0.0  0.4   0:00.09 nscd
  6. 10173 root      19   0  1980  472  388 S  0.0  0.2   0:00.00 pptpd
  7. 10209 root      18   0  2916  840  692 S  0.0  0.3   0:00.00 xinetd
  8. 15596 root      18   0  8728 1556  560 S  0.0  0.6   0:00.16 sendmail-mta
  9. 15634 root      15   0  2040  692  552 S  0.0  0.3   0:00.00 cron
  10. 15666 mldonkey  18   0 30580  16m 4652 R  0.0  6.4   0:21.44 mlnet
  11. 19752 root      16   0  8444 2608 2152 S  0.0  1.0   0:00.06 sshd
  12. 21979 l12ab     15   0  8592 1684 1196 R  0.0  0.6   0:00.55 sshd
  13. 22000 l12ab     15   0  3308 1704 1140 S  0.0  0.7   0:00.00 bash
  14. 23667 root      16   0  2808 1132  900 S  0.0  0.4   0:00.00 su
  15. 24029 root      15   0  2912 1564 1144 S  0.0  0.6   0:00.20 bash
  16. 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