[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: unable to login to svn repo

From: Kapur, Rajneesh <RKapur_at_activehealth.net>
Date: Wed, 25 Jul 2012 11:18:34 -0400

Thanks Philip, Thorsten, and Ryan

Do you mean the repository is a directory 'repo4' on disk?
----> Yes, my repository is named: repo4 - located at /home/RKapur with absolute path /home/RKapur/repo4

Here is the output of "ls -l" at /home/RKapur
drwxr-xr-x 7 rkapur hie_dev 4.0K Jul 25 10:55 repo4

If I "cd" into "repo4" and do "ls -l" then it shows this:
-rw-r--r-- 1 rkapur hie_dev 229 Jul 25 10:55 README.txt
drwxr-xr-x 2 rkapur hie_dev 4.0K Jul 25 10:55 locks
drwxr-xr-x 2 rkapur hie_dev 4.0K Jul 25 10:55 hooks
drwxr-xr-x 2 rkapur hie_dev 4.0K Jul 25 10:55 dav
-r--r--r-- 1 rkapur hie_dev 2 Jul 25 10:55 format
drwxr-sr-x 5 rkapur hie_dev 4.0K Jul 25 10:55 db
drwxr-xr-x 2 rkapur hie_dev 4.0K Jul 25 10:57 conf

the permissions inside "conf" directory is:
-rw-r--r-- 1 rkapur hie_dev 383 Jul 25 10:56 svnserve.conf
-rw-r--r-- 1 rkapur hie_dev 305 Jul 25 10:56 passwd
-rw-r--r-- 1 rkapur hie_dev 894 Jul 25 10:57 authz

You are right - looks like tortoiseSVN or "svn" client can't find the repository. I just tried with tortoiseSVN and I see more logs in server log file:

-------------------------start Logs -----------------------------------------------------------------------------
19269 2012-07-25T14:58:19.946784Z 172.20.33.153 - home/RKapur/repo4 open 2 cap=(edit-pipeline svndiff1 absent-entries depth mergeinfo log-revprops) / SVN/1.7.5 -
19269 2012-07-25T14:58:19.959811Z 172.20.33.153 - home/RKapur/repo4 get-latest-rev
19268 2012-07-25T14:58:19.959823Z 172.20.33.153 - home/RKapur/repo4 get-latest-rev
19269 2012-07-25T14:58:19.970012Z 172.20.33.153 - home/RKapur/repo4 reparent /
19268 2012-07-25T14:58:19.970035Z 172.20.33.153 - home/RKapur/repo4 reparent /
19268 2012-07-25T14:58:20.003675Z 172.20.33.153 harry home/RKapur/repo4 ERR subversion/svnserve/serve.c 167 170001 Authorization failed
19269 2012-07-25T14:58:20.008894Z 172.20.33.153 harry home/RKapur/repo4 ERR subversion/svnserve/serve.c 167 170001 Authorization failed
19270 2012-07-25T14:58:20.015983Z 172.20.33.153 - home/RKapur/repo4 open 2 cap=(edit-pipeline svndiff1 absent-entries depth mergeinfo log-revprops) / SVN/1.7.5 TortoiseSVN-1.7.7.22907
19271 2012-07-25T14:58:20.089746Z 172.20.33.153 - home/RKapur/repo4 open 2 cap=(edit-pipeline svndiff1 absent-entries depth mergeinfo log-revprops) / SVN/1.7.5 TortoiseSVN-1.7.7.22907
19271 2012-07-25T14:58:20.107691Z 172.20.33.153 - home/RKapur/repo4 get-latest-rev
19273 2012-07-25T14:58:20.180937Z 172.20.33.153 - home/RKapur/repo4 open 2 cap=(edit-pipeline svndiff1 absent-entries depth mergeinfo log-revprops) / SVN/1.7.5 -
19272 2012-07-25T14:58:20.180989Z 172.20.33.153 - home/RKapur/repo4 open 2 cap=(edit-pipeline svndiff1 absent-entries depth mergeinfo log-revprops) / SVN/1.7.5 TortoiseSVN-1.7.7.22907
19273 2012-07-25T14:58:20.198600Z 172.20.33.153 - home/RKapur/repo4 get-latest-rev
19272 2012-07-25T14:58:20.198659Z 172.20.33.153 - home/RKapur/repo4 get-latest-rev
19273 2012-07-25T14:58:20.215981Z 172.20.33.153 - home/RKapur/repo4 reparent /
19272 2012-07-25T14:58:20.216031Z 172.20.33.153 - home/RKapur/repo4 reparent /
19272 2012-07-25T14:58:20.274188Z 172.20.33.153 harry home/RKapur/repo4 ERR subversion/svnserve/serve.c 167 170001 Authorization failed
19273 2012-07-25T14:58:20.274690Z 172.20.33.153 harry home/RKapur/repo4 ERR subversion/svnserve/serve.c 167 170001 Authorization failed
19274 2012-07-25T14:58:20.348340Z 172.20.33.153 - home/RKapur/repo4 open 2 cap=(edit-pipeline svndiff1 absent-entries depth mergeinfo log-revprops) / SVN/1.7.5 TortoiseSVN-1.7.7.22907
19274 2012-07-25T14:58:20.366374Z 172.20.33.153 - home/RKapur/repo4 get-latest-rev
19274 2012-07-25T14:58:20.386632Z 172.20.33.153 - home/RKapur/repo4 reparent /
19274 2012-07-25T14:58:20.446603Z 172.20.33.153 harry home/RKapur/repo4 ERR subversion/svnserve/serve.c 167 170001 Authorization failed
19275 2012-07-25T14:58:20.499907Z 172.20.33.153 - - ERR subversion/svnserve/serve.c 2847 210005 No repository found in 'svn://192.168.4.64/home/RKapur'
19276 2012-07-25T14:58:20.538166Z 172.20.33.153 - - ERR subversion/svnserve/serve.c 2847 210005 No repository found in 'svn://192.168.4.64/home'
19277 2012-07-25T14:58:20.569107Z 172.20.33.153 - - ERR subversion/svnserve/serve.c 2847 210005 No repository found in 'svn://192.168.4.64'
------------------------- END logs -----------------------------------------------------------------------------

It looks like when I used "svnadmin create /home/RKapur/repo4" then the directory permissions were not set correctly. It might be because of the user "rkapur" that I am logged in as. Is this correct? Do I have to login as "root"? If so then I have to ask our system admins. as I don't have "root" access. I also checked in other machine where we have older linux ES release 4 (Nahant Update 9) -

In older machine svnadmin command creates directory as follows:
drwxrwxr-x 7 jboss jboss 4.0K Mar 22 11:09 svn_repo

and if I "cd" into svn_repo (our old repository) then I see:
-rw-rw-r-- 1 jboss jboss 379 Mar 21 16:11 README.txt
drwxrwxr-x 2 jboss jboss 4.0K Mar 21 16:11 locks
drwxrwxr-x 2 jboss jboss 4.0K Mar 21 16:11 hooks
-r--r--r-- 1 jboss jboss 2 Mar 21 16:11 format
drwxrwxr-x 2 jboss jboss 4.0K Mar 21 16:11 dav
drwxrwxr-x 2 jboss jboss 4.0K Jul 23 11:29 conf
drwxrwsr-x 2 jboss jboss 4.0K Jul 24 16:19 db

Obviously these permissions are different then in newer linux our current box (which is Red Hat Enterprise Linux Server release 6.2 (Santiago). and also this has newer svn, version 1.6.11 (r934486).

Thanks,
-raj.

IMPORTANT WARNING: Information contained in this email is intended for the use of the individual to whom it is addressed, and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If you are not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is STRICTLY FORBIDDEN. If you have received this communication in error, please notify us immediately by return email and delete this document. Thank you.
Received on 2012-07-25 17:19:21 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.