nickedwards
asked on
Failed httpd start after Fedora 10 upgrade
HI, I've just upgraded our Fedora 10 to Fedora 11. After the restart everything seemed fine but I couldn't access our Intranet. I restarted the httpd service and got the following error:
[root@appontws1 ~]# /etc/init.d/httpd restart
Stopping httpd: [FAILED]
Starting httpd: httpd: Syntax error on line 209 of /etc/httpd/conf/httpd.conf : Syntax error on line 12 of /etc/httpd/conf.d/ssl.conf : Cannot load /etc/httpd/modules/mod_ssl .so into server: libssl.so.7: cannot open shared object file: No such file or directory
[FAILED]
[root@appontws1 ~]# /etc/init.d/httpd restart
Stopping httpd: [FAILED]
Starting httpd: httpd: Syntax error on line 209 of /etc/httpd/conf/httpd.conf
[FAILED]
ASKER
Thanks, I installed and i had this error:
1:mod_ssl-2.2.13-1.fc11.i5 86 from updates has depsolving problems
--> Missing Dependency: httpd = 2.2.13-1.fc11 is needed by package 1:mod_ssl-2 .2.13-1.fc11.i586 (updates)
Error: Missing Dependency: httpd = 2.2.13-1.fc11 is needed by package 1:mod_ssl- 2.2.13-1.fc11.i586 (updates)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
1:mod_ssl-2.2.13-1.fc11.i5
--> Missing Dependency: httpd = 2.2.13-1.fc11 is needed by package 1:mod_ssl-2 .2.13-1.fc11.i586 (updates)
Error: Missing Dependency: httpd = 2.2.13-1.fc11 is needed by package 1:mod_ssl- 2.2.13-1.fc11.i586 (updates)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
what does this command return?
rpm -qa | grep http
rpm -qa | grep http
ASKER
[root@appontws1 ~]# rpm -qa | grep http
httpd-tools-2.2.14-1.fc10. i386
jakarta-commons-httpclient -3.1-0.4.f c11.i586
httpd-2.2.14-1.fc10.i386
system-config-httpd-1.4.4- 4.fc11.noa rch
httpd-manual-2.2.14-1.fc10 .i386
httpunit-1.6.2-3.fc11.noar ch
httpd-devel-2.2.14-1.fc10. i386
httpd-tools-2.2.14-1.fc10.
jakarta-commons-httpclient
httpd-2.2.14-1.fc10.i386
system-config-httpd-1.4.4-
httpd-manual-2.2.14-1.fc10
httpunit-1.6.2-3.fc11.noar
httpd-devel-2.2.14-1.fc10.
it is still using the FC10 version of http.
try this
yum reinstall httpd* mod_ssl
try this
yum reinstall httpd* mod_ssl
ASKER
I've just run that command and it tells me there's nothing to do and grep http is exactly the same unfortunately.
[root@appontws1 ~]# yum reinstall httpd* mod_ssl
/usr/lib/yum-plugins/fedor akmod.py:2 5: DeprecationWarning: the sets module is deprecated
from sets import Set
Loaded plugins: fastestmirror, fedorakmod, kernel-module, refresh-packagekit
Setting up Reinstall Process
Loading mirror speeds from cached hostfile
* dell-community: linux.dell.com
* fedora: mirror.ox.ac.uk
* updates: mirror.sov.uk.goscomb.net
Installed package httpd-tools-2.2.14-1.fc10. i386 (from updates) not available.
Installed package 1:mod_ssl-2.2.14-1.fc10.i3 86 (from updates) not available.
Nothing to do
[root@appontws1 ~]# /etc/init.d/httpd start
Starting httpd: httpd: Syntax error on line 209 of /etc/httpd/conf/httpd.conf : Syntax error on line 12 of /etc/httpd/conf.d/ssl.conf : Cannot load /etc/httpd/modules/mod_ssl .so into server: libssl.so.7: cannot open shared object file: No such file or directory
[FAILED]
[root@appontws1 ~]#
[root@appontws1 ~]# rpm -qa | grep http
httpd-tools-2.2.14-1.fc10. i386
jakarta-commons-httpclient -3.1-0.4.f c11.i586
httpd-2.2.14-1.fc10.i386
system-config-httpd-1.4.4- 4.fc11.noa rch
httpd-manual-2.2.14-1.fc10 .i386
httpunit-1.6.2-3.fc11.noar ch
httpd-devel-2.2.14-1.fc10. i386
[root@appontws1 ~]# yum reinstall httpd* mod_ssl
/usr/lib/yum-plugins/fedor
from sets import Set
Loaded plugins: fastestmirror, fedorakmod, kernel-module, refresh-packagekit
Setting up Reinstall Process
Loading mirror speeds from cached hostfile
* dell-community: linux.dell.com
* fedora: mirror.ox.ac.uk
* updates: mirror.sov.uk.goscomb.net
Installed package httpd-tools-2.2.14-1.fc10.
Installed package 1:mod_ssl-2.2.14-1.fc10.i3
Nothing to do
[root@appontws1 ~]# /etc/init.d/httpd start
Starting httpd: httpd: Syntax error on line 209 of /etc/httpd/conf/httpd.conf
[FAILED]
[root@appontws1 ~]#
[root@appontws1 ~]# rpm -qa | grep http
httpd-tools-2.2.14-1.fc10.
jakarta-commons-httpclient
httpd-2.2.14-1.fc10.i386
system-config-httpd-1.4.4-
httpd-manual-2.2.14-1.fc10
httpunit-1.6.2-3.fc11.noar
httpd-devel-2.2.14-1.fc10.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
That worked a treat.. but there's one more issue. When i go to our Intranet (hosted on Fedora server) raher than displaying the page, it lists the files rather than running them.
ASKER
SOLVED - Thanks.
I had to reinstall one of the dependancies: php-devel
I had to reinstall one of the dependancies: php-devel
ASKER
Thanks for all your help. Spot on!
yum reinstall mod_ssl
If mod_ssl is not installed, then this.
yum install mod_ssl