I had one server that needed to be upgraded from FC4 to FC7. I did the DVD upgrade version by version, that is FC4 > FC5, then FC5 > FC6 followed by FC6 > FC7.
At FC5, sendmail failed to start due to some changes in shared objects. This could be remedied by "yum install sendmail". Another process failed was httpd. As I still had serveral upgrades to continue, I decided not to fix this yet.
The upgrades from FC5 > FC6 > FC7 were smooth and easy. Orginally, in FC4, my httpd was running static page with no php and other added modules. At FC7, when httpd start, the first error was :
Syntax error on line 209 of /etc/httpd/conf/httpd.conf: Syntax error on line 10 of /etc/httpd/conf.d/perl.conf: API module structure `perl_module' in file /etc/httpd/modules/mod_perl.so is garbled - perhaps this is not an Apache module DSO?
I figured out this could be solved by yum install mod_perl.
Afterward, another failure appeared :
Syntax error on line 6 of /etc/httpd/conf.d/php.conf:
Cannot load /etc/httpd/modules/libphp5.so into server: /usr/lib/libcurl.so.3
This could be due to lack of php. The working solution was yum install php.
Just when I though problems had been cleared, another one came up :
Cannot load /etc/httpd/modules/mod_python.so into server: /etc/httpd/modules/mod_python.so:
The error actually prompted me to do a "yum install mod_python".
The last error was as follows :
Cannot load /etc/httpd/modules/mod_ssl.so into server: /etc/httpd/modules/mod_ssl.so: cannot open shared object file: No such file or directory.
This said I had to found mod_ssl to Apache. I did a yum install mod_ssl.
Finally, httpd 2.2.4 started running on FC7. The whole fault-finding process was full of pain.
No comments:
Post a Comment