Click to See Complete Forum and Search --> : Missing file after swaret --upgrade -a


keywi
02-18-2004, 08:47 AM
My apache will not start after i swaret --upgrade -a everything. It give me an error message of:

Syntax error on line 205 of /etc/apache/httpd.conf:
Cannot load /usr/libexec/mod_vhost_alias.so into server: /usr/libexec/mod_vhost_alias.so: cannot open shared object file: No such file or directory
/usr/sbin/apachectl start: httpd could not be started

Thx,

William

mdwatts
02-18-2004, 12:38 PM
Originally posted by keywi
/usr/libexec/mod_vhost_alias.so: cannot open shared object file: No such file or directory


Does /usr/libexec/mod_vhost_alias.so still exist?

ls -al /usr/libexec/mod_vhost_alias.so

On my system

# rpm -qf /usr/lib/apache2/mod_vhost_alias.so
apache2-2.0.48-9

Try reinstalling Apache.

If you are not using virtual hosts, you can try commenting out mod_vhost_alias.so in /etc/apache/httpd.conf. Looks to be on line 205.

keywi
02-18-2004, 12:50 PM
I tried swaret --reinstall apache.
That didn't work.

Just now I commented out one line, and then another and then all of them.
It just keeps going to the next line. Now it is down to the add module section.

Should I uninstall it and then reinstall it that way?

Thx,

William

mdwatts
02-18-2004, 01:49 PM
Originally posted by keywi

Should I uninstall it and then reinstall it that way?


Unless you can find others with the same problem by searching your distros support site and Apache etc., then I would say uninstall and reinstall Apache.

keywi
02-18-2004, 03:36 PM
Just for the record,

I removed httpd.conf* files
reinstalled apache
now it works.


www.keywi.org


I just love Putty.

Thx for the help.

William