当前位置: 技术问答>linux和unix
大家来帮忙,看看新手的问题,谢谢!!
来源: 互联网 发布时间:2015-05-29
本文导语: 我的redhat9的httpd出问题了,我想删除他重新再安装,下面是我的操作 [root@mail root]# service httpd status httpd dead but subsys locked [root@mail root]# service httpd stop Stopping httpd: ...
我的redhat9的httpd出问题了,我想删除他重新再安装,下面是我的操作
[root@mail root]# service httpd status
httpd dead but subsys locked
[root@mail root]# service httpd stop
Stopping httpd: [FAILED]
[root@mail root]# rpm -q httpd
httpd-2.0.40-21
[root@mail root]# rpm -e httpd
error: Failed dependencies:
httpd-mmn = 20020628 is needed by (installed) mod_perl-1.99_07-5
httpd-mmn = 20020628 is needed by (installed) mod_python-3.0.1-3
httpd-mmn = 20020628 is needed by (installed) mod_ssl-2.0.40-21
httpd-mmn = 20020628 is needed by (installed) php-4.2.2-17
httpd-mmn = 20020628 is needed by (installed) mod_auth_mysql-1.11-12
httpd-mmn = 20020628 is needed by (installed) mod_auth_pgsql-0.9.12-14
libapr.so.0 is needed by (installed) mod_perl-1.99_07-5
libaprutil.so.0 is needed by (installed) mod_perl-1.99_07-5
webserver is needed by (installed) webalizer-2.01_10-11
webserver is needed by (installed) mailman-2.1-8
httpd >= 2.0.40 is needed by (installed) mod_perl-1.99_07-5
httpd >= 2.0.40 is needed by (installed) mod_python-3.0.1-3
httpd is needed by (installed) mod_ssl-2.0.40-21
httpd is needed by (installed) redhat-config-httpd-1.0.1-18
httpd >= 2.0.40 is needed by (installed) mod_auth_mysql-1.11-12
httpd >= 2.0.40 is needed by (installed) mod_auth_pgsql-0.9.12-14
httpd is needed by (installed) squirrelmail-1.2.10-4
httpd is needed by (installed) anywebmail-2.3-37
大家帮我看看 怎么样才能删除httpd包,才可以重新安装。谢谢
[root@mail root]# service httpd status
httpd dead but subsys locked
[root@mail root]# service httpd stop
Stopping httpd: [FAILED]
[root@mail root]# rpm -q httpd
httpd-2.0.40-21
[root@mail root]# rpm -e httpd
error: Failed dependencies:
httpd-mmn = 20020628 is needed by (installed) mod_perl-1.99_07-5
httpd-mmn = 20020628 is needed by (installed) mod_python-3.0.1-3
httpd-mmn = 20020628 is needed by (installed) mod_ssl-2.0.40-21
httpd-mmn = 20020628 is needed by (installed) php-4.2.2-17
httpd-mmn = 20020628 is needed by (installed) mod_auth_mysql-1.11-12
httpd-mmn = 20020628 is needed by (installed) mod_auth_pgsql-0.9.12-14
libapr.so.0 is needed by (installed) mod_perl-1.99_07-5
libaprutil.so.0 is needed by (installed) mod_perl-1.99_07-5
webserver is needed by (installed) webalizer-2.01_10-11
webserver is needed by (installed) mailman-2.1-8
httpd >= 2.0.40 is needed by (installed) mod_perl-1.99_07-5
httpd >= 2.0.40 is needed by (installed) mod_python-3.0.1-3
httpd is needed by (installed) mod_ssl-2.0.40-21
httpd is needed by (installed) redhat-config-httpd-1.0.1-18
httpd >= 2.0.40 is needed by (installed) mod_auth_mysql-1.11-12
httpd >= 2.0.40 is needed by (installed) mod_auth_pgsql-0.9.12-14
httpd is needed by (installed) squirrelmail-1.2.10-4
httpd is needed by (installed) anywebmail-2.3-37
大家帮我看看 怎么样才能删除httpd包,才可以重新安装。谢谢
|
1、try service httpd restart
2、setup选择services,关闭http服务,reboot后再删除
2、setup选择services,关闭http服务,reboot后再删除
|
当然你也可以下载最新版的http,直接编译安装升级就行了
|
你以前的http就有问题巴???你是不是想做一个apache+perl+mysql阿??然后没集成好??如果用的是tar包直接rm就ok的。如果是rpm,就ivh在安装一下。
很有可能你的系统包没安装全!!!式式巴
很有可能你的系统包没安装全!!!式式巴
|
楼主不方便重启服务器?
ntsysv
里面把httpd关了,重启了,在删就是了.(独立运行的话)
如果不方便重启,
不知道和我遇到的vsftp僵死进程样子一样不
kill 不了,service ** restart/stop无效
其实是有网络连接存在的原因,所以kill不掉,停不了
我最后是用iptables来解决的
把哪个连到vsftpd的ip 数据包都drop掉
然后就可以kill掉该线程了
ntsysv
里面把httpd关了,重启了,在删就是了.(独立运行的话)
如果不方便重启,
不知道和我遇到的vsftp僵死进程样子一样不
kill 不了,service ** restart/stop无效
其实是有网络连接存在的原因,所以kill不掉,停不了
我最后是用iptables来解决的
把哪个连到vsftpd的ip 数据包都drop掉
然后就可以kill掉该线程了