LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 10-06-2009, 10:09 AM   #1
brgsousa
Member
 
Registered: Aug 2007
Location: Salvador, Brazil
Distribution: Debian, Ubuntu
Posts: 185

Rep: Reputation: 15
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
 
Old 10-06-2009, 05:12 PM   #2
z-man5
LQ Newbie
 
Registered: Feb 2007
Distribution: Debian
Posts: 29

Rep: Reputation: 15
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?
 
Old 10-07-2009, 07:10 AM   #3
brgsousa
Member
 
Registered: Aug 2007
Location: Salvador, Brazil
Distribution: Debian, Ubuntu
Posts: 185

Original Poster
Rep: Reputation: 15
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:
 
Old 10-07-2009, 12:40 PM   #4
z-man5
LQ Newbie
 
Registered: Feb 2007
Distribution: Debian
Posts: 29

Rep: Reputation: 15
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...
 
Old 10-08-2009, 03:00 PM   #5
brgsousa
Member
 
Registered: Aug 2007
Location: Salvador, Brazil
Distribution: Debian, Ubuntu
Posts: 185

Original Poster
Rep: Reputation: 15
I know it is from sudo.
I can asure you it is from /var/log/apache2/error.log
 
Old 10-08-2009, 03:11 PM   #6
lutusp
Member
 
Registered: Sep 2009
Distribution: Fedora
Posts: 835

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by brgsousa View Post
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).
 
Old 10-09-2009, 06:19 AM   #7
brgsousa
Member
 
Registered: Aug 2007
Location: Salvador, Brazil
Distribution: Debian, Ubuntu
Posts: 185

Original Poster
Rep: Reputation: 15
yeah,I'll find it.

And SVN got it working by typing the AuthUserFile correctly :P
My bad.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache2 + mod_auth_pgsql = 500 Internal Server Error on Debian Lenny Mleahy Linux - Server 1 07-05-2009 04:16 AM
internal server error:500 in apache deepak rao Linux - Newbie 1 12-02-2008 01:48 AM
Apache Returning an Internal Server Error (500) ada-guy Linux - Server 2 09-29-2008 07:13 PM
500 Internal Server Error in apache av.dubey Linux - Server 16 01-01-2008 12:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration