Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1251
  • Last Modified:

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]
0
nickedwards
Asked:
nickedwards
  • 6
  • 4
1 Solution
 
wareb73Commented:
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
0
 
nickedwardsAuthor Commented:
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.

0
 
wareb73Commented:
what does this command return?

rpm -qa | grep http
0
Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

 
nickedwardsAuthor Commented:
[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
0
 
wareb73Commented:
it is still using the FC10 version of http.

try this

yum reinstall httpd* mod_ssl

0
 
nickedwardsAuthor Commented:
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
0
 
wareb73Commented:
Try to remove the httpd and mod_ssl packages, make note of the dependencies when you do this so you can re-install any that are missed on the install.  FOr some reason, the upgrade left the old versions on the system, ie rc10 and not fc11 in the rpm name.

yum remove httpd* mod_ssl

yum install httpd* mod_ssl.
0
 
nickedwardsAuthor Commented:
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.
0
 
nickedwardsAuthor Commented:
SOLVED - Thanks.

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

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 6
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now