Deleted all the files from /usr/lib/apache2/modules directory!

Vishal Rana ranavishal at gmail.com
Sun Aug 8 18:21:42 UTC 2010


I think most of them were default files, as now I can't even start apache
its looking for some file, below is the traceback:

* Starting web server apache2
apache2: Syntax error on line 204 of /etc/apache2/apache2.conf: Syntax error
on line 1 of /etc/apache2/mods-enabled/alias.load: Cannot load
/usr/lib/apache2/modules/mod_alias.so into server:
/usr/lib/apache2/modules/mod_alias.so: cannot open shared object file: No
such file or directory
   ...fail!

Thanks
Vishal Rana


On Sun, Aug 8, 2010 at 11:15 AM, Jordon Bedwell <jordon at envygeeks.com>wrote:

> On Sun, 2010-08-08 at 11:09 -0700, Vishal Rana wrote:
> > I did, but the folder is still empty.
> >
> > Thanks
> > Vishal Rana
> >
> >
> > On Sun, Aug 8, 2010 at 11:06 AM, Jordon Bedwell <jordon at envygeeks.com>
> > wrote:
> >
> >         On Sun, 2010-08-08 at 10:58 -0700, Vishal Rana wrote:
> >         > Will running just aptitude reinstall apache2 installs all
> >         the default
> >         > modules?
> >         >
> >         > Thanks
> >         > Vishal Rana
> >         >
> >
> >
> >         Usually it's helpful to experiment and see.  But the short
> >         answer is
> >         yes. It will /reinstall/ it, the key word is /install/.
> >
> >
> >         --
> >         ubuntu-users mailing list
> >         ubuntu-users at lists.ubuntu.com
> >
> >         Modify settings or unsubscribe at:
> >         https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> >
> >
>
> Are you *sure* they were default libs or were they added as recommends
> and others during installation? if that's the case, go through aptitude
> or purge the entire package and reinstall it.
>
> apt-get purge apache2 && apt-get install apache2
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20100808/92daa37e/attachment.html>


More information about the ubuntu-users mailing list