Tomcat, CVS, SSH --> "you don't exist, go away!"

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Tomcat, CVS, SSH --> "you don't exist, go away!"

jdtangney
My CVSROOT is :ext:user@host:/usr/local/cvsroot. When I run Hudson standalone, it is able to access the CVS repository correctly. But when I run it inside Tomcat, Hudson reports an error message from CVS: "you don't exist, go away!" and CVS co or update do not work. CVS polling also fails.

This used to work. The failure started happening after upgrading to 213, though I don't recall what the earlier, working version was. I _think_ I also ran a Software Update around the same time.

I googled a little and the error message seems to originate from SSH, which CVS is using due to the :ext: in the CVSROOT.

This is Java 1.5.0_13-b05-237 on MacOS X 10.5.2, Tomcat 6.0.16.

Any hints, anyone? Have you ever seen anything like this?

Thanks,
--johnt

Reply | Threaded
Open this post in threaded view
|

Re: Tomcat, CVS, SSH --> "you don't exist, go away!"

Kohsuke Kawaguchi
Administrator
Google with the error message yields hits like
http://www.seebs.net/ops/ibm/cranky37.html

It appears to be related to your user account on your server.

2008/5/19 John Tangney <[hidden email]>:

>
> My CVSROOT is :ext:user@host:/usr/local/cvsroot. When I run Hudson
> standalone, it is able to access the CVS repository correctly. But when I
> run it inside Tomcat, Hudson reports an error message from CVS: "you don't
> exist, go away!" and CVS co or update do not work. CVS polling also fails.
>
> This used to work. The failure started happening after upgrading to 213,
> though I don't recall what the earlier, working version was. I _think_ I
> also ran a Software Update around the same time.
>
> I googled a little and the error message seems to originate from SSH, which
> CVS is using due to the :ext: in the CVSROOT.
>
> This is Java 1.5.0_13-b05-237 on MacOS X 10.5.2, Tomcat 6.0.16.
>
> Any hints, anyone? Have you ever seen anything like this?
>
> Thanks,
> --johnt
>
>
> --
> View this message in context: http://www.nabble.com/Tomcat%2C-CVS%2C-SSH---%3E-%22you-don%27t-exist%2C-go-away%21%22-tp17330433p17330433.html
> Sent from the Hudson users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>



--
Kohsuke Kawaguchi

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Tomcat, CVS, SSH --> "you don't exist, go away!"

jdtangney
kohsuke wrote
Google with the error message yields hits like
http://www.seebs.net/ops/ibm/cranky37.html

It appears to be related to your user account on your server.
Hey, thanks for the response!

Yeah, I saw that posting. I wish that the problem was as simple as a user account issue, but I can't see how it can be:

1) This used to work just fine with Hudson inside Tomcat, and nothing's changed on the SSH server side
2) It still works fine with Hudson standalone (i.e. no Tomcat)
3) CVS works fine from the command line.

Note that Tomcat runs as me, as does Hudson.

Any other clues?

PS Hudson ROCKS!
Reply | Threaded
Open this post in threaded view
|

Re: Tomcat, CVS, SSH --> "you don't exist, go away!"

Kohsuke Kawaguchi
Administrator
What I'd try is to see if the sshd on the server leaves any
information, like by using "sshd -d"

2008/5/19 John Tangney <[hidden email]>:

>
>
> kohsuke wrote:
>>
>> Google with the error message yields hits like
>> http://www.seebs.net/ops/ibm/cranky37.html
>>
>> It appears to be related to your user account on your server.
>>
>
> Hey, thanks for the response!
>
> Yeah, I saw that posting. I wish that the problem was as simple as a user
> account issue, but I can't see how it can be:
>
> 1) This used to work just fine with Hudson inside Tomcat, and nothing's
> changed on the SSH server side
> 2) It still works fine with Hudson standalone (i.e. no Tomcat)
> 3) CVS works fine from the command line.
>
> Note that Tomcat runs as me, as does Hudson.
>
> Any other clues?
>
> PS Hudson ROCKS!
> --
> View this message in context: http://www.nabble.com/Tomcat%2C-CVS%2C-SSH---%3E-%22you-don%27t-exist%2C-go-away%21%22-tp17330433p17334319.html
> Sent from the Hudson users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>



--
Kohsuke Kawaguchi

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Tomcat, CVS, SSH --> "you don't exist, go away!"

jdtangney
kohsuke wrote
What I'd try is to see if the sshd on the server leaves any
information, like by using "sshd -d"
Dude! I should have know to try that! ;-) Rule #1 of anything on Unix: Read the log file.

Since I'm messing with a live system, I need to choose a time when no one is watching for me to try various experiments. I'll let the community know if I find anything.

Thanks for your GREAT software and dedicated support. You totally rock.
--johnt

Reply | Threaded
Open this post in threaded view
|

Re: Tomcat, CVS, SSH --> "you don't exist, go away!"

Kohsuke Kawaguchi
Administrator
John Tangney wrote:

>
> kohsuke wrote:
>>
>> What I'd try is to see if the sshd on the server leaves any
>> information, like by using "sshd -d"
>>
>
> Dude! I should have know to try that! ;-) Rule #1 of anything on Unix: Read
> the log file.
>
> Since I'm messing with a live system, I need to choose a time when no one is
> watching for me to try various experiments. I'll let the community know if I
> find anything.
I often do something like "sshd -d -p 2222" to run debug sshd on a
different port, so that I don't have to stop the live system.

In this case the client is CVS, so you'd need a small shell script
wrapper to do something like this and use it in CVS_RSH:

   #!/bin/sh
   exec ssh -p 2222 "$@"

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Tomcat, CVS, SSH --> "you don't exist, go away!"

jdtangney
Thanks again. I still haven't had a chance to try this, but I wanted to add an ssh hint for the sake of those who come after. ;-)

kohsuke wrote
In this case the client is CVS, so you'd need a small shell script
wrapper to do something like this and use it in CVS_RSH:

   #!/bin/sh
   exec ssh -p 2222 "$@"
An easier way to tell ssh about a non-standard port number is to add this to your .ssh/config:

Host myhost.com
    Port 2222

--johnt