Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-06-2009, 10:09 AM
|
#1
|
Member
Registered: Aug 2007
Location: Salvador, Brazil
Distribution: Debian, Ubuntu
Posts: 185
Rep:
|
subversion + debian + dav + apache = 500 Internal Server Error
Hi,
I followed this tutorial http://www.debuntu.org/2006/05/20/54...pache2-and-dav
Instead of editing /etc/apache2/mods-available/dav_svn.conf, I used /etc/apache2/conf.d/subversion.conf that got like this:
Code:
<Location /dgti_desenvolvimento>
DAV svn
SVNPath /var/svn/dgti_desenvolvimento
AuthType Basic
AuthName "Repositório DGTI Desenvolvimento"
AuthUserFile /etc/apache2/svn-passwords
Require valid-user
</Location>
/var/svn/dgti_desenvolvimento repository is already created with all permissions to user www-data and the authentication is working fine.
When I try to get http://ip-address/dgti_desenvolvimento there is a 500 Internal Server Error.
What can be happenning?
regards
|
|
|
10-06-2009, 05:12 PM
|
#2
|
LQ Newbie
Registered: Feb 2007
Distribution: Debian
Posts: 29
Rep:
|
Is there anything related in the Apache logs?
Do you have
Code:
LoadModule dav_svn_module lib/httpd/modules/mod_dav_svn.so
(or similar) loaded in Apache configuration?
|
|
|
10-07-2009, 07:10 AM
|
#3
|
Member
Registered: Aug 2007
Location: Salvador, Brazil
Distribution: Debian, Ubuntu
Posts: 185
Original Poster
Rep:
|
This mod was already enabled by a2enmod.
If I add this line
Code:
LoadModule dav_svn_module mods-available/mod_dav_svn.so
then restarting apache2 shows:
Code:
# apache2ctl restart
[Wed Oct 07 08:49:14 2009] [warn] module dav_svn_module is already loaded, skipping
/var/log/apache2/error.log shows several times the same text:
Code:
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
Password:
|
|
|
10-07-2009, 12:40 PM
|
#4
|
LQ Newbie
Registered: Feb 2007
Distribution: Debian
Posts: 29
Rep:
|
Quote:
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
Password:
|
This is the text you normally see when you need to type your password for sudo - is it actually in the Apache log file? It's strange how it would get there...
|
|
|
10-08-2009, 03:00 PM
|
#5
|
Member
Registered: Aug 2007
Location: Salvador, Brazil
Distribution: Debian, Ubuntu
Posts: 185
Original Poster
Rep:
|
I know it is from sudo.
I can asure you it is from /var/log/apache2/error.log

|
|
|
10-08-2009, 03:11 PM
|
#6
|
Member
Registered: Sep 2009
Distribution: Fedora
Posts: 835
Rep: 
|
Quote:
Originally Posted by brgsousa
This mod was already enabled by a2enmod.
If I add this line
Code:
LoadModule dav_svn_module mods-available/mod_dav_svn.so
then restarting apache2 shows:
Code:
# apache2ctl restart
[Wed Oct 07 08:49:14 2009] [warn] module dav_svn_module is already loaded, skipping
/var/log/apache2/error.log shows several times the same text:
Code:
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
Password:
|
That's very bad -- it means a script is trying to invoke "sudo", but it cannot do that (sudo requires a TTY). You will need to track down which script thinks it can use "sudo" in the absence of a TTY (this was once true, but hasn't been true for several years).
|
|
|
10-09-2009, 06:19 AM
|
#7
|
Member
Registered: Aug 2007
Location: Salvador, Brazil
Distribution: Debian, Ubuntu
Posts: 185
Original Poster
Rep:
|
yeah,I'll find it.
And SVN got it working by typing the AuthUserFile correctly :P
My bad.
|
|
|
All times are GMT -5. The time now is 03:22 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|