You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by ying lcs <yi...@gmail.com> on 2007/03/05 22:00:01 UTC

405 Method Not Allowed

I am getting 405 Method Not Allowed when I try to checkout?

I have log in to my subversion server and check it does has directory
'/srv/svn/repositories/sample' , and I have start svnserve -d in my
subversion server , so what am I missing?

$ svn co http://85.135.187.6/repositories/sample
svn: PROPFIND request failed on '/repositories/sample'
svn: PROPFIND of '/repositories/snapshot': 405 Method Not Allowed
(http://85.135.187.6)


Thank you.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: 405 Method Not Allowed

Posted by Rahul Bhargava <ra...@rahulbhargava.org>.
do a "netstat -an | grep 3690"  on the server and ensure
a listen socket is open. Ensure its not bound to only localhost, it should
be bound to wildcard (0.0.0.0) or 85.135.187.6

If it is, try "telnet 85.135.187.6  3690" to make sure you can connect
to port 3690.

Make sure you got the correct server's IP. Just do a "/sbin/ifconfig -a" 
and see if the IP
85.135.187.6 is listed.

ying lcs wrote:
> On 3/5/07, Rahul Bhargava <me...@rahulbhargava.org> wrote:
>> The svnserve executable starts the SVN RA listener (svn:// scheme) 
>> and NOT
>> the Http listener. If you want to checkout using the http scheme, you
>> will need
>> to setup Apache with mod_dav_svn directives.
>>
>> Perhaps all you want to do is checkout using the svn protcol -
>>
>> svn co svn://85.135.187.6/repositories/sample
>>
>
> Thanks, I tried that , but I get a 'Connection timed out' error
> $ svn co svn://85.135.187.6/repositories/snapshot
> svn: Can't connect to host '85.135.187.6: Connection timed out
>
> and I can ping '85.135.187.6' from my box
> $ ping 85.135.187.6
> PING 85.135.187.6 (85.135.187.6) 56(84) bytes of data.
> 64 bytes from 85.135.187.6: icmp_seq=1 ttl=50 time=45.1 ms
>
> i have started 'svnserve' in that box:
> # ps -ef | grep svnserve
> root     22744     1  0 03:52 ?        00:00:00 svnserve -d
> root     23181 22707  0 04:07 pts/3    00:00:00 grep svnserve
>
> Can you please tell what else can be wrong?
>
>> ying lcs wrote:
>> > I am getting 405 Method Not Allowed when I try to checkout?
>> >
>> > I have log in to my subversion server and check it does has directory
>> > '/srv/svn/repositories/sample' , and I have start svnserve -d in my
>> > subversion server , so what am I missing?
>> >
>> > $ svn co http://85.135.187.6/repositories/sample
>> > svn: PROPFIND request failed on '/repositories/sample'
>> > svn: PROPFIND of '/repositories/snapshot': 405 Method Not Allowed
>> > (http://85.135.187.6)
>> >
>> >
>> > Thank you.
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>> > For additional commands, e-mail: users-help@subversion.tigris.org
>> >
>> >
>>
>>
>> -- 
>> Rahul Bhargava
>> Phone: (925) 265-8801 (W)
>>        (925) 895-2201 (M)
>>
>>
>>
>


-- 
Rahul Bhargava
http://www.rahulbhargava.org
Phone: (925) 265-8801(W)|895-2201(M)


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: 405 Method Not Allowed

Posted by Rahul Bhargava <ra...@rahulbhargava.org>.
The svnserve executable starts the SVN RA listener (svn:// scheme) and NOT
the Http listener. If you want to checkout using the http scheme, you 
will need
to setup Apache with mod_dav_svn directives.

Perhaps all you want to do is checkout using the svn protcol -

svn co svn://85.135.187.6/repositories/sample

ying lcs wrote:
> I am getting 405 Method Not Allowed when I try to checkout?
>
> I have log in to my subversion server and check it does has directory
> '/srv/svn/repositories/sample' , and I have start svnserve -d in my
> subversion server , so what am I missing?
>
> $ svn co http://85.135.187.6/repositories/sample
> svn: PROPFIND request failed on '/repositories/sample'
> svn: PROPFIND of '/repositories/snapshot': 405 Method Not Allowed
> (http://85.135.187.6)
>
>
> Thank you.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>


-- 
Rahul Bhargava
Phone: (925) 265-8801 (W)
       (925) 895-2201 (M)


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org