Hi guys,
This is my first post and I would like to say Hello to all, My name is Arif Aldoseri and I'm from Bahrain.
Now the rant.
I have installed the standard GPL version of Virtualmin. On a CentOS version 5.4 - 64bit and the installation went like a charm or at least this is what I think.
I played around till I found the system check option and I discovered few errors like the MySQL server thing I fixed it after searching in the forum, the email thing was fixed and all seems OK apart from the Apache server which went down for some reason.
Now when I try to restart Apache I get the following message:
Starting httpd: httpd: Syntax error on line 210 of /etc/httpd/conf/httpd.conf: Syntax error on line 2 of /etc/httpd/conf.d/subversion.conf: Cannot load /etc/httpd/modules/mod_dav_svn.so into server: /etc/httpd/modules/mod_dav_svn.so: undefined symbol: dav_register_provider [FAILED]
The SVN module is installed and loaded I believe. There was an error message about (subversion) thing I encountered somewhere but can't remember where exactly. As for now the Apache webserver is upset a little so it refuses to restart.
Any Ideas?
Please be patient. I'm an old guy with a Mac and this is my first Dedicated server and Virtualmin ever. I can follow instructions and learn fast. I swear I won't ask the same question again.
Thank you. Arif
hi
the question is do you want to run svn...?
To get apache started, open /etc/httpd/conf.d/subversion.conf and comment out line 2.
# LoadModule dav_svn_module modules/mod_dav_svn.so
if apache still won't start, go to webmin-servers-Apache Webserver, go to Global configuration-Edit Config Files, scroll down until you see all the modules. Then comment out the dav modules.
This might be the trick to get apache working untill you have figured out how to enable the dav_register_provider.
Thank you ronald,
I commented out lines 2 and 3 which are related and Apache is back online now.
Do I want to run svn? Since I have no idea what svn does it makes no sense to me but when I ran the system check it gave me the following error:
The Apache mod_dav module must be installed before DAV can be used
your system is not ready for use by Virtualmin.
So I went and enabled DAV.
LoadModule dav_svn_module modules/mod_dav_svn.so LoadModule authz_svn_module modules/mod_authz_svn.so
and that brought Apache down. My concern is mainly to make my system ready for use by Virtualmin.
If it's gonna work fine with this error then I can live with it, otherwise I'll have to fix it one way or the other.
Thank you ronald for your help.
This is what I did. After bringing Apache back to life I searched around in the forum and found this post
https://www.virtualmin.com/node/9539
so I moved
LoadModule dav_module modules/mod_dav.so LoadModule dav_fs_module modules/mod_dav_fs.so
to the end of the LoadModule block then re enabled
LoadModule dav_svn_module modules/mod_dav_svn.so LoadModule authz_svn_module modules/mod_authz_svn.so
in the subversion.conf file.
I ran the system check and I got this:
your system is ready for use by Virtualmin.
Updating all Webmin users with new settings..
.. done
Updating Virtualmin library pre-load settings ..
.. done
Updating status collection job ..
.. done
Now I'm back in business.
Thanks again ronald and the guys in the other thread.
if you are not going to use svn or dav then you can (should) switch off the modules in apache. The less modules the better.
You must then go to virtualmin-system settings - features and plugins, and disable dav + Subversion repositories in there.
I had no idea about that, I thought it is required by Virtualmin. I'll disable it then.
All I wanted is to host one domain on my server. but since you seem to know what you're talking about ronald, do you think I have to create a virtual server or I can host my website directly on the main installation?
I will compare this to Cpanel.
Virtualmin = WHM and Webmin = Cpanel
Oh, and there is Usermin.
I guess I can't complain about it. A nice and free hosting panel and helpful community what else could a man ask for. I'll find my way around.
Thanks ronald for the tip, You've been a great help to me.
No problem ;)
I suggest you let virtualmin create the virtual server (domain) for you so you can control it with virtualmin.