From: William P. \(Puddle\) <rot...@ya...> - 2005-08-31 17:38:13
|
Okay, it's still unable to find the cvs command. I'm not sure why. It's in the path of the webservd user profile and as well as the local user who's trying to call the sandweb.cgi. From the information from the output window, I'd say it's trying to find the cvs command via the local user I'm checking out the repository from. Here is the output to see if you can see anything missing: ***Error from Checkout window in the web-browser*** SandWeb : VCS checkout Current filename(s) : flash Password: ksh: cvs: not found cvs [checkout aborted]: end of file from server (consult above messages if any) # su - webservd Sun Microsystems Inc. SunOS 5.10 Generic January 2005 You have new mail. -bash-3.00$ which ssh /usr/bin/ssh -bash-3.00$ which cvs /opt/sfw/bin/cvs -bash-3.00$ This is from the local user puddle that I used to checkout the repository. I use the korn shell (with the vi option flags) it's my shell of choice. $ id uid=100(puddle) gid=10(staff) $ which cvs /opt/sfw/bin/cvs $ which ssh /usr/bin/ssh $ Then I tried to issue the commands you gave (this repository is local to the machine) $ id uid=100(puddle) gid=10(staff) $ CVS_RSH=ssh export CVS_RSH $ CVSROOT=:ext:puddle@localhost:/export/home/cvsroot export CVSROOT $ cvs co flash Password: ksh: cvs: not found cvs [checkout aborted]: end of file from server (consult above messages if any) $ It finds the cvs command. Then it acts like it can't find it. I've changed my shells around from sh and bash to see if it'd make a difference. Same thing. The repository is there as well: $ pwd /export/home/cvsroot/flash $ ls CVSROOT flash $ The sandweb.cfg file has the following: <system ssh_bin="/usr/bin/ssh" cvs_bin="/opt/sfw/bin/cvs" bindir="/opt/sfw/bin" timeout="300" /> Any other suggestions would be appreciated. -William --- Robert Helmer <ro...@ro...> wrote: > William Pool (Puddle) wrote: > > Okay, the expect was looking for 'password:' and > > Solaris uses "Password:" fixed that, but now I > get > > the error which relates to the 'cvs server' I > always > > saw in the end of my ssh commands when doing a ps > -ef: > > > > SandWeb : VCS checkout > > > > > > > > > > Current filename(s) : flash > > > > Password: > > ksh: cvs: not found > > cvs [checkout aborted]: end of file from server > > (consult above messages if any) > > > > > > > This is a CVS/SSH config problem.. CVS needs to be > on the path of the > shell user you are using CVS/SSH with. You can > troubleshoot and fix this > from the command line. > > You'll want CVS to be on the PATH in either this > user's .profile or the > system /etc/profile. Try setting up your commandline > like this for testing: > > CVS_RSH=ssh > CVSROOT=:ext:www@localhost:/var/cvs > export CVS_RSH CVSROOT > cvs co module > > Where "www" is your web user, "localhost" is the > host, "/var/cvs" is > your CVS repo, "module" is a module to try checking > out. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |