Link to home
Start Free TrialLog in
Avatar of nickedwards
nickedwardsFlag for United Kingdom of Great Britain and Northern Ireland

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]
Avatar of wareb73
wareb73
Flag of United States of America image

error is stating that there is a missing lib file for mod_ssl.  Try this to start.

yum reinstall mod_ssl

If mod_ssl is not installed, then this.

yum install mod_ssl
Avatar of nickedwards

ASKER

Thanks, I installed and i had this error:

1:mod_ssl-2.2.13-1.fc11.i586 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.

what does this command return?

rpm -qa | grep http
[root@appontws1 ~]# rpm -qa | grep http

httpd-tools-2.2.14-1.fc10.i386
jakarta-commons-httpclient-3.1-0.4.fc11.i586
httpd-2.2.14-1.fc10.i386
system-config-httpd-1.4.4-4.fc11.noarch
httpd-manual-2.2.14-1.fc10.i386
httpunit-1.6.2-3.fc11.noarch
httpd-devel-2.2.14-1.fc10.i386
it is still using the FC10 version of http.

try this

yum reinstall httpd* mod_ssl

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/fedorakmod.py:25: 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.i386 (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.fc11.i586
httpd-2.2.14-1.fc10.i386
system-config-httpd-1.4.4-4.fc11.noarch
httpd-manual-2.2.14-1.fc10.i386
httpunit-1.6.2-3.fc11.noarch
httpd-devel-2.2.14-1.fc10.i386
ASKER CERTIFIED SOLUTION
Avatar of wareb73
wareb73
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.
SOLVED - Thanks.

I had to reinstall one of the dependancies: php-devel
Thanks for all your help. Spot on!