You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jim Anderson <ja...@jandernet.com> on 2008/07/05 23:13:39 UTC

newbie question

I'm running Mac OS X. I've created a subversion user and created the  
repository under that userid. The subversion userid is otherwise not  
used.

I started the server like this:

	svnserve -d -r /Users/subversion/repos

But when I login as myself and try to create the project file I get an  
error:

bash-3.2$ svn mkdir http://localhost/MyApp -m 'create project file'
svn: OPTIONS request failed on '/'
svn: OPTIONS of '/': could not connect to server (http://localhost)
bash-3.2$

(I also tried specifying the full path but got the same results.)

I've either missed something obvious or am doing something very stupid.

Any help appreciated,

Jim

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

Re: newbie question

Posted by Jim Anderson <ja...@jandernet.com>.
No, I haven't done any user configuration at all; I didn't realize  
that was necessary :-(

I guess I'll have to go back to the book.

Thanks.

On Jul 5, 2008, at 7:54 PM, Ryan Schmidt wrote:

> On Jul 5, 2008, at 18:34, Jim Anderson wrote:
>
>> On Jul 5, 2008, at 7:24 PM, Ryan Schmidt wrote:
>>
>>> On Jul 5, 2008, at 18:13, Jim Anderson wrote:
>>>
>>>> I'm running Mac OS X. I've created a subversion user and created  
>>>> the repository under that userid. The subversion userid is  
>>>> otherwise not used.
>>>>
>>>> I started the server like this:
>>>>
>>>> 	svnserve -d -r /Users/subversion/repos
>>>>
>>>> But when I login as myself and try to create the project file I  
>>>> get an error:
>>>>
>>>> bash-3.2$ svn mkdir http://localhost/MyApp -m 'create project file'
>>>> svn: OPTIONS request failed on '/'
>>>> svn: OPTIONS of '/': could not connect to server (http://localhost)
>>>> bash-3.2$
>>>>
>>>> (I also tried specifying the full path but got the same results.)
>>>
>>> If you are using svnserve, then your repository URLs will begin  
>>> with svn:// not http:// . http:// URLs are only used if you are  
>>> serving your repositories using apache2.
>>
>> Thanks, I knew it was something stupid. Things are improving but  
>> now I get this:
>>
>> bash-3.2$ svn mkdir svn://localhost/MoveMe/trunk,branches,tags -m  
>> 'create project file'
>> svn: Authorization failed
>> bash-3.2$
>
> Check your svnserve.conf file (in the conf directory in the  
> repository directory) and check the password file configured with  
> its password-db directive. Have you configured your users properly?
>
>


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

Re: newbie question

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jul 5, 2008, at 18:34, Jim Anderson wrote:

> On Jul 5, 2008, at 7:24 PM, Ryan Schmidt wrote:
>
>> On Jul 5, 2008, at 18:13, Jim Anderson wrote:
>>
>>> I'm running Mac OS X. I've created a subversion user and created  
>>> the repository under that userid. The subversion userid is  
>>> otherwise not used.
>>>
>>> I started the server like this:
>>>
>>> 	svnserve -d -r /Users/subversion/repos
>>>
>>> But when I login as myself and try to create the project file I  
>>> get an error:
>>>
>>> bash-3.2$ svn mkdir http://localhost/MyApp -m 'create project file'
>>> svn: OPTIONS request failed on '/'
>>> svn: OPTIONS of '/': could not connect to server (http://localhost)
>>> bash-3.2$
>>>
>>> (I also tried specifying the full path but got the same results.)
>>
>> If you are using svnserve, then your repository URLs will begin  
>> with svn:// not http:// . http:// URLs are only used if you are  
>> serving your repositories using apache2.
>
> Thanks, I knew it was something stupid. Things are improving but  
> now I get this:
>
> bash-3.2$ svn mkdir svn://localhost/MoveMe/trunk,branches,tags -m  
> 'create project file'
> svn: Authorization failed
> bash-3.2$

Check your svnserve.conf file (in the conf directory in the  
repository directory) and check the password file configured with its  
password-db directive. Have you configured your users properly?



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

Re: newbie question

Posted by Jim Anderson <ja...@jandernet.com>.
Thanks, I knew it was something stupid. Things are improving but now I  
get this:

bash-3.2$ svn mkdir svn://localhost/MoveMe/trunk,branches,tags -m  
'create project file'
svn: Authorization failed
bash-3.2$



On Jul 5, 2008, at 7:24 PM, Ryan Schmidt wrote:

> On Jul 5, 2008, at 18:13, Jim Anderson wrote:
>
>> I'm running Mac OS X. I've created a subversion user and created  
>> the repository under that userid. The subversion userid is  
>> otherwise not used.
>>
>> I started the server like this:
>>
>> 	svnserve -d -r /Users/subversion/repos
>>
>> But when I login as myself and try to create the project file I get  
>> an error:
>>
>> bash-3.2$ svn mkdir http://localhost/MyApp -m 'create project file'
>> svn: OPTIONS request failed on '/'
>> svn: OPTIONS of '/': could not connect to server (http://localhost)
>> bash-3.2$
>>
>> (I also tried specifying the full path but got the same results.)
>
>
> If you are using svnserve, then your repository URLs will begin with  
> svn:// not http:// . http:// URLs are only used if you are serving  
> your repositories using apache2.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>


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

Re: newbie question

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jul 5, 2008, at 18:13, Jim Anderson wrote:

> I'm running Mac OS X. I've created a subversion user and created  
> the repository under that userid. The subversion userid is  
> otherwise not used.
>
> I started the server like this:
>
> 	svnserve -d -r /Users/subversion/repos
>
> But when I login as myself and try to create the project file I get  
> an error:
>
> bash-3.2$ svn mkdir http://localhost/MyApp -m 'create project file'
> svn: OPTIONS request failed on '/'
> svn: OPTIONS of '/': could not connect to server (http://localhost)
> bash-3.2$
>
> (I also tried specifying the full path but got the same results.)


If you are using svnserve, then your repository URLs will begin with  
svn:// not http:// . http:// URLs are only used if you are serving  
your repositories using apache2.


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