Apache2 and mod_DAV reporting not installed

10 posts / 0 new
Last post
#1 Fri, 11/03/2006 - 15:55
MichaelConnors

Apache2 and mod_DAV reporting not installed

I just bought and set up Virtulmin 3.26 on clean Debian Sarge 3.1 server and ran Virtualmin's configuration and I got the error...

The Apache mod_dav module must be installed before DAV can be used.

I checked to see if the Libapache2-mod-snv was installed with aptitude and it was. So to be safe, since this is a clean install I reinstalled it. There were no errors and the package was installed

Anything else I can do?

Sat, 11/04/2006 - 00:38
Joe
Joe's picture

Hi Michael,

As you know, the install support on Debian is a bit new...but this one sounds like a pretty easy one.

The package you've mentioned is for Subversion--it's also a DAV module, but not the same as the general purpose mod_dav. I don't think the DAV module is separate in Apache 2 on Debian--see if you have mod_dav in the apache library directory (I'm traveling at the moment, so I don't have my Debian box handy to check where this would be, exactly).

If it is present, we might need to do something to convince Apache to load it. Debian has the a2enmod utility to enable modules...not sure if it's needed for this one.

I'll get back to you tomorrow when I've had a chance to boot up a Debian test box and check into it more deeply.

--

Check out the forum guidelines!

Sat, 11/04/2006 - 12:19
MichaelConnors

Yeah it look likes Ihave the DAV modules installed

server:/etc/apache2/mods-available# ls
actions.load dav_fs.load imap.load rewrite.load
asis.load dav.load include.load speling.load
auth_anon.load dav_svn.conf info.load ssl.conf
auth_dbm.load dav_svn.load ldap.load ssl.load
auth_digest.load deflate.load mem_cache.load suexec.load
auth_ldap.load disk_cache.load mime_magic.conf unique_id.load
cache.load expires.load mime_magic.load userdir.conf
cern_meta.load ext_filter.load proxy.conf userdir.load
cgid.conf fcgid.conf proxy_connect.load usertrack.load
cgid.load fcgid.load proxy_ftp.load vhost_alias.load
cgi.load file_cache.load proxy_http.load
dav_fs.conf headers.load proxy.load

server:/etc/apache2/mods-available# a2enmod dav
This module is already enabled!

server:/etc/apache2/mods-available# a2enmod dav_svn
This module is already enabled!

server:/etc/apache2/mods-available# a2enmod dav_fs
This module is already enabled!

Sat, 11/04/2006 - 14:50
MichaelConnors

I was thinking of changing may system over to Mandrake 10.2.

Would that be a better solution. I have the ISO alaready.

Sat, 11/04/2006 - 14:58 (Reply to #4)
MichaelConnors

I am more familiar with Mandrivia 10.2. Let me know if it would be a problem to switch over to Mandriava 10.2

Sat, 11/04/2006 - 15:01
MichaelConnors

Acutally, Madriva may not be the best OS either. Let me know which Linux flavour Virtualmin works best with and I would have no problem switching over knowing that there is more users with the same OS, more support if something goes wrong down the line.

Sat, 11/04/2006 - 15:33
MichaelConnors

Ok.. Here's the Solution for DAV.

It turns out that the Webmin->Apache->Module Config-> Ststem Configuration automatically uses the default settings for Apache 1.3xx.

Since VirtualMin uses Apache2 on Debian the config files are located in

/etc/apache2/...

Same with the Start up command

/usr/sbin/apache2

Sat, 11/04/2006 - 21:55
Joe
Joe's picture

Hey Michael,

I've seen this one during my Debian testing! (I forgot what the symptoms were, that your solution reminded me.)

This is caused by having the old Debian Webmin package installed before our Webmin package gets installed. The package respects the previous Webmin configuration, which defaulted to using Apache 1.3, instead of apache2.

I need to add something to make sure the old Webmin package isn't around when we start our install.

--

Check out the forum guidelines!

Sat, 11/04/2006 - 21:59 (Reply to #8)
Joe
Joe's picture

On the OS support issue...they all have potential gotchas. Fedora is the most widely used, by far, with CentOS coming up second. If you pinned me down under something heavy and wouldn't let me up until I made a recommendation: CentOS, Fedora, Debian, Ubuntu, in that order (with the differences being very very small between them).

All have good package management (yum or apt-get), and all are solid. CentOS and Debian and Ubuntu have longer supported life cycles, but Fedora Legacy makes Fedora's short life less painful.

So, pick your favorite from those, and you'll be most happy. I'm not gonna claim that Debian/Ubuntu support is as good as Fedora, yet, but we're gonna support the heck of out of it on any platform--we'll be here to help when something blows up. And we'll do what we can to make sure it doesn't blow up again in the same way in the future.

--

Check out the forum guidelines!

Sun, 11/05/2006 - 05:02
MichaelConnors

Thanks Joe.

I have decided to do a chnage over to Fedora 6 due to that fact that alot of the RPMs (yum) have more up-to-date packages than Debian 3.1, namely LAMP.

I really wanted to use the latest PHP5 and Mysql5 and Apache2 so that I could use a PHP framework I was playing with recently.

I'll do the new OS install today and let you know if I have any problems.

Regards,
Michael Connors