You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
(1) |
Apr
(9) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(32) |
Feb
(24) |
Mar
(5) |
Apr
(50) |
May
(21) |
Jun
(25) |
Jul
(6) |
Aug
(1) |
Sep
|
Oct
(1) |
Nov
(6) |
Dec
(17) |
2004 |
Jan
(19) |
Feb
(1) |
Mar
(5) |
Apr
(4) |
May
|
Jun
(9) |
Jul
|
Aug
(6) |
Sep
(1) |
Oct
|
Nov
(3) |
Dec
(14) |
2005 |
Jan
(6) |
Feb
(3) |
Mar
(3) |
Apr
(1) |
May
(5) |
Jun
(7) |
Jul
(4) |
Aug
(16) |
Sep
(2) |
Oct
(2) |
Nov
(7) |
Dec
|
2006 |
Jan
(3) |
Feb
(4) |
Mar
(8) |
Apr
(1) |
May
(6) |
Jun
(19) |
Jul
(5) |
Aug
(4) |
Sep
(4) |
Oct
(19) |
Nov
(15) |
Dec
(10) |
2007 |
Jan
(6) |
Feb
(2) |
Mar
(4) |
Apr
(1) |
May
|
Jun
(5) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Rob H. <ro...@ro...> - 2003-02-26 20:00:28
|
Hello, Here are some shots from the ALPHA release, I'm still getting them ready for the BETA ( BETA is the same, except we have a couple graphics like one for the logo, and on the browse menu ). http://sandweb.sourceforge.net/screenshots/ Thanks, Rob On Wed, Feb 26, 2003 at 10:35:02AM -0800, Van Woods wrote: > Is there a demo site somewhere or screen captures?? > > Thx, > Van > > > ------------------------------------------------------- > This SF.net email is sponsored by: Scholarships for Techies! > Can't afford IT training? All 2003 ictp students receive scholarships. > Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. > www.ictp.com/training/sourceforge.asp > _______________________________________________ > Sandweb-users mailing list > San...@li... > https://lists.sourceforge.net/lists/listinfo/sandweb-users > |
From: Van W. <van...@ya...> - 2003-02-26 18:35:02
|
Is there a demo site somewhere or screen captures?? Thx, Van |
From: Rob H. <ro...@na...> - 2003-02-24 08:07:32
|
Hello, I just uploaded the package for SandWeb BETA-1 to SourceForge, go to http://sandweb.sf.net and get it! If bugs are found in this ( I am so used to SandWeb now I don't think I am a good tester, I am sure others will be able to find bugs ), we'll do BETA-2, 3 etc. until it's solid. Here is the release blurb I used when uploading the file to SourceForge : -- SandWeb BETA-1 Released Big changes : * SSH/CVS support * Full API docs for SandWeb library * Support for almost all CVS commands * All known bugs squashed Debian package added : deb http://sandweb.sourceforge.net/debian/ ./ -- Thanks, Rob |
From: Rob H. <ro...@ro...> - 2003-02-13 19:40:14
|
Hmm.. I ran into this issue before, try removing this to see if it helps - in bin/sandweb-expect, comment out line 20, it should be : set timeout 10 just put a # before that line, and do a "make install" on sandweb. Let me know if that works. The only problem is that it will not timeout for a long time if e.g. we get output that we're not expecting. There is a 5 minute timeout in Shell.pm too, but that's probably not the problem in this case ( how long does a normal checkout of this repo take? ) Thanks, rob On Thu, Feb 13, 2003 at 02:19:52PM -0500, Zoltan Farkas wrote: > > I am trying to use sandweb with a fairly large repository. > > When I am doing an update on a folder it doesn't do all the files. It > looks like there is a limit or something like that? > > If I run update several times on the same folder eventually I can update > all the files. > > --zoly > |
From: Zoltan F. <zo...@da...> - 2003-02-13 19:25:25
|
=20 I am trying to use sandweb with a fairly large repository. =20 When I am doing an update on a folder it doesn't do all the files. It looks like there is a limit or something like that? =20 If I run update several times on the same folder eventually I can update all the files. =20 --zoly =20 |
From: Rob H. <ro...@ro...> - 2003-02-06 18:26:54
|
Hello, This isn't really SandWeb's job, being a client. It may or may not be installed where the repository is installed, and it's not SandWeb's place to manipulate the repo directly in any way. SandWeb has an authentication system because it's a web-based service, and it's just not secure not to. Think about this the same way you think about logging into your workstation, especially if your workstation is accessible from anywhere in the world. The authentication information that you enter in the "repository" menu is what enables this, however. You need to set these permissions on the repository side. I have done this in CVS before so I'll comment on that. In my opinion, the best way to do this is on a per-module basis, and create ampersand modules : http://www.cvshome.org/docs/manual/cvs_18.html#SEC160 For example you might have modules like : lib/ doc/ app/ You could have an ampersand module that would be the name of your program ( e.g. "sandweb" ), but would really just check out these three modules. You could have a "cvs-doc", "cvs-lib" and "cvs-app" group that owns each module, and only the people in those groups could have write access ( or read access, or whatever ). Alternatively, you can just change the group permissions on directories inside the repository, it's not quite as nice as the module setup but it works. HTH, Rob Helmer On Thu, Feb 06, 2003 at 04:18:29PM +0000, lu fang wrote: > Hi, > I am wondering that we may specify different previlege for different users > of sandweb. Since each user have a user name and password, why can't they > get different previlege on file viewing/editing? For some files,they can be > viewed by every user, but for some specified files,only some of the users > can access to it. > I 'm just thinking about this issue but have no idea to make it yet. I am > not sure whether current version of sandweb already covered this security > issue becos I haven't tested all the functions of sandweb yet.But hope get > some discussion here. > > kaguya > > > > > > _________________________________________________________________ > Ãâ·ÑÏÂÔØ MSN Explorer: http://explorer.msn.com/lccn/ > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > Sandweb-users mailing list > San...@li... > https://lists.sourceforge.net/lists/listinfo/sandweb-users > |
From: Rob H. <ro...@ro...> - 2003-02-06 18:14:48
|
Hello, SSH connections work fine. It's possible to use pserver, but it poses pretty grave security risks ( it's intended to be run by seperate users, not all under one Apache user like SandWeb is ). Diff is rather lame at the moment, the most you can do is show the difference between the file in your sandbox and the equivalent file in the repository. At some point I would like to fully implement the diff command and be able to run diff on seperate files as well as seperate versions of the same file ( regardless of the checked-out version ). Of course, it's our intention to fully support all the CVS commands, but it's going to take a while .. :) This feature won't be a huge leap, but I'd like to stabilize and go to 1.0 without it. You are probably better off using something like ViewCVS or CVSWeb to run diffs and examine the repository history, since they are installed on the repo side they are alot faster and they already have these features. I think those kind of tools will always have a place, since SandWeb is a client, it's not going to emulate all those features, and it is not going to read the repository directly. I'd actually like to integrate with those tools at some point ( this is even farther into the future, after all CVS commands have been fully implemented.. :) ). -- Rob On Thu, Feb 06, 2003 at 03:52:37PM +0000, lu fang wrote: > Hi, > I have installed sandweb and it seems that it almost works properly. But it > seems that the "diff" function can not work. I am not sure whether I tested > that function properly. Firstly I edited one of the file and saved it, then > I commit this saved file so that I got a revision of 1.2. But Is it > possible for me to still retrieve the previous version of this file? I > noted that I can use "annotate" function to get the diffrence between these > two versions, but when I try the "diff" command, i got nothing displayed. > Why? > By the way, I used "local" connection for my cvs. But can sandweb be used > properly for other connection protocol? > Pls give some suggestion. thanks alot! > > kaguya > > > > > > _________________________________________________________________ > ÏíÓÃÊÀ½çÉÏ×î´óµÄµç×ÓÓʼþϵͳ¡ª MSN Hotmail¡£ http://www.hotmail.com > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > Sandweb-users mailing list > San...@li... > https://lists.sourceforge.net/lists/listinfo/sandweb-users > |
From: lu f. <hel...@ho...> - 2003-02-06 16:18:43
|
Hi, I am wondering that we may specify different previlege for different users of sandweb. Since each user have a user name and password, why can't they get different previlege on file viewing/editing? For some files,they can be viewed by every user, but for some specified files,only some of the users can access to it. I 'm just thinking about this issue but have no idea to make it yet. I am not sure whether current version of sandweb already covered this security issue becos I haven't tested all the functions of sandweb yet.But hope get some discussion here. kaguya _________________________________________________________________ 免费下载 MSN Explorer: http://explorer.msn.com/lccn/ |
From: lu f. <hel...@ho...> - 2003-02-06 15:52:43
|
Hi, I have installed sandweb and it seems that it almost works properly. But it seems that the "diff" function can not work. I am not sure whether I tested that function properly. Firstly I edited one of the file and saved it, then I commit this saved file so that I got a revision of 1.2. But Is it possible for me to still retrieve the previous version of this file? I noted that I can use "annotate" function to get the diffrence between these two versions, but when I try the "diff" command, i got nothing displayed. Why? By the way, I used "local" connection for my cvs. But can sandweb be used properly for other connection protocol? Pls give some suggestion. thanks alot! kaguya _________________________________________________________________ 享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com |
From: Rob H. <ro...@ro...> - 2003-02-04 22:44:09
|
Yes, it's not really intuitive .. You can do it from the "tag" menu. Just type in a revision number instead of a tagname ( in CVS these are the same thing, we'll need some way to split this out from a UI perspective in the future ). -- Rob On Tue, Feb 04, 2003 at 05:30:56PM -0500, Zoltan Farkas wrote: > I have a question: > > Is it possible to download a specific revision of a file with the web > interface ? or a specific release ? > > > --zoly > > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld http://www.vasoftware.com > _______________________________________________ > Sandweb-users mailing list > San...@li... > https://lists.sourceforge.net/lists/listinfo/sandweb-users > |
From: Zoltan F. <zo...@da...> - 2003-02-04 22:36:40
|
I have a question: Is it possible to download a specific revision of a file with the web interface ? or a specific release ? --zoly =20 |
From: Rob H. <ro...@ro...> - 2003-02-04 21:36:26
|
Hmm.. interesting. I'll add bash as a requirement in the INSTALL file :) I guess ksh doesn't do deeply nested quotes. Oh well. I think regular old Bourne sh might work too. Glad it's working for you though :) On Tue, Feb 04, 2003 at 04:27:44PM -0500, Zoltan Farkas wrote: > This fixed it. > > Now I use bash and it works. > > thanks > > --zoly > > > > > > -----Original Message----- > From: Rob Helmer [mailto:ro...@ro...] > Sent: Tuesday, February 04, 2003 4:15 PM > To: Zoltan Farkas > Subject: Re: [Sandweb-users] module checkout problem > > oh, this is what i forgot to ask also.. you are using ksh? > > I am only testing with bash. > > Can you try setting "nobody"'s shell to "bash"? > > Hmm.... maybe ksh doesn't like deep nesting of quotes? interesting.. > > > On Tue, Feb 04, 2003 at 04:03:11PM -0500, Zoltan Farkas wrote: > > Continuing my previous mail I am getting : > > > > If I type CTRL+D I get: > > > > > > ksh: syntax error: `'' unmatched > > > > --zoly > > > > > > -----Original Message----- > > From: Rob Helmer [mailto:ro...@ro...] > > Sent: Tuesday, February 04, 2003 3:47 PM > > To: Zoltan Farkas > > Cc: san...@li... > > Subject: Re: [Sandweb-users] module checkout problem > > > > Hmm.. I still can't reproduce this. > > > > You are fully up-to-date in your CVS checkout of SandWeb, correct? > > > > Extreme measures are called for to debug this I guess :) > > > > Try this ( "su -" to the user running Apache and run it from the shell > ) > > : > > > > -- > > > > echo cvs123 > /usr/local/share/sandweb/users/admin/passwd > > > > /usr/local/bin/sandweb-expect vcs > > /usr/local/share/sandweb/users/admin/passwd "cd > > /usr/local/share/sandweb/users/admin/local/doclib//Clients/Jo && > > CVS_RSH=/usr/bin/ssh && export CVS_RSH && /usr/local/bin/cvs -q -d > > :ext:cvs@freak:/db/cvs commit -m 'Zoly changed it' 'IT Mission Company > > Profile1.doc'" > > > > -- > > > > Does this work? This is exactly what SandWeb is trying to run as the > > user > > running Apache. > > > > > > > > Thanks, > > Rob > > > > On Tue, Feb 04, 2003 at 10:29:12AM -0500, Zoltan Farkas wrote: > > > I have problems with commit, here is the error: > > > > > > I think the following fails : cd > > > /usr/local/share/sandweb/users/admin/local/doclib//Clients/Jo > > > > > > There is a // in there > > > > > > > > > SandWeb : VCS commit > > > > > > > > > > > > > > > > > > > > > Zoly changed it > > > > > > Current filename(s) : IT Mission Company Profile1.doc > > > > > > > > > An error occurred. A call to the shell gave us this error code : 1 > > > > > > > > > > > > > > > > > > DEBUG: (main) action: vcs - submit: 1 > > > DEBUG: (main) module_description: > > > DEBUG: (main) loading prefs > > > DEBUG: (main) > > > $VAR1 = bless( { > > > 'log_obj' => bless( { > > > 'log_dir' => '/var/log', > > > 'toggle' => { > > > 'debug' => '1', > > > 'log' => '1' > > > }, > > > 'debug_msgs' => [ > > > '(main) > > action: > > > vcs - submit: 1', > > > '(main) > > > module_description: > > > ', > > > '(main) > > loading > > > prefs' > > > ] > > > }, 'SandWeb::Log' ), > > > 'repo' => { > > > 'local' => { > > > 'password' => 'cvs123', > > > 'connection' => 'SSH', > > > 'remember_repo_password' => > > > 'on', > > > 'name' => 'local', > > > 'server' => 'freak', > > > 'type' => 'CVS', > > > 'root' => '/db/cvs', > > > 'module' => { > > > 'doclib' => { > > > > > 'name' > > > => 'doclib', > > > > > > 'description' => '' > > > } > > > }, > > > 'username' => 'cvs' > > > } > > > }, > > > 'personal' => { > > > 'confirm_delete' => 'on', > > > 'full_name' => 'Zoltan Farkas' > > > }, > > > 'config_file' => '.user.cfg', > > > 'config_dir' => > > '/usr/local/share/sandweb/users/admin' > > > }, 'SandWeb::Config' ); > > > > > > DEBUG: (main) module_name: doclib > > > DEBUG: (main) username: admin > > > DEBUG: (main) location: /Clients/Jo > > > DEBUG: (main) main_window_url: > > > DEBUG: (main) Repo name: local > > > DEBUG: (main) Repo root: /db/cvs > > > DEBUG: (main) VCS sandbox: > > > /usr/local/share/sandweb/users/admin/local/doclib//Clients/Jo > > > DEBUG: (main) Repo type: CVS > > > DEBUG: (main) Filename(s): IT Mission Company Profile1.doc > > > DEBUG: (SandWeb::Repository) Performing commit operation > > > DEBUG: (SandWeb::Repository) Params: message Zoly changed it file IT > > > Mission Company Profile1.doc > > > DEBUG: (SandWeb::Repository::cvs) Performing commit operation > > > DEBUG: (SandWeb::Repository::cvs) Params: commit -m 'Zoly changed > it' > > > DEBUG: (SandWeb::Repository::cvs) File: IT Mission Company > > Profile1.doc > > > DEBUG: (SandWeb::Repository::cvs) Creating Shell object > > > DEBUG: (SandWeb::Shell) VCS call to Unix shell > > > DEBUG: (SandWeb::Shell) VCS command is : cd > > > /usr/local/share/sandweb/users/admin/local/doclib//Clients/Jo && > > > CVS_RSH=/usr/bin/ssh && export CVS_RSH && /usr/local/bin/cvs -q -d > > > :ext:cvs@freak:/db/cvs commit -m 'Zoly changed it' 'IT Mission > Company > > > Profile1.doc' > > > DEBUG: (SandWeb::Shell) Using VCS username/password > > > DEBUG: (SandWeb::Shell) Full command is : > > /usr/local/bin/sandweb-expect > > > vcs /usr/local/share/sandweb/users/admin/passwd "cd > > > /usr/local/share/sandweb/users/admin/local/doclib//Clients/Jo && > > > CVS_RSH=/usr/bin/ssh && export CVS_RSH && /usr/local/bin/cvs -q -d > > > :ext:cvs@freak:/db/cvs commit -m 'Zoly changed it' 'IT Mission > Company > > > Profile1.doc'" > > > DEBUG: (SandWeb::File) removing file : > > > /usr/local/share/sandweb/users/admin/passwd > > > DEBUG: (SandWeb::File::Unix) removing file : > > > /usr/local/share/sandweb/users/admin/passwd > > > DEBUG: (SandWeb::Shell) VCS call to Unix shell > > > DEBUG: (SandWeb::Shell) VCS command is : rm > > > "/usr/local/share/sandweb/users/admin/passwd" > > > DEBUG: (SandWeb::Shell) Not using VCS username/password > > > DEBUG: (SandWeb::File::Unix) error code : > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Zoltan Farkas > > > Manager of Software Products > > > Dax Technologies Corp, www.daxtechnologies.com > > > Phone: 732 203 1784 ext 106 > > > Fax: 732 203 1786 > > > Email: zo...@da... > > > > > > > > > -----Original Message----- > > > From: Rob Helmer [mailto:ro...@ro...] > > > Sent: Saturday, February 01, 2003 2:03 AM > > > To: Zoltan Farkas > > > Cc: san...@li... > > > Subject: Re: [Sandweb-users] module checkout problem > > > > > > Hmm... I went to fix this, but I cannot reproduce it. > > > > > > The current CVS checkout of SandWeb is working for me, and when > > > I look at the command it looks ok ( the extra '/' looks silly but > > > it won't hurt anything ). > > > > > > I an completely up-to-date, and I'm able to checkout. > > > > > > CVS gives a "1" in quite a few situations, I'm wondering if you can > > > do another update and see if it happens again? > > > > > > Can you help me debug this on your setup? It works ok for me. > > > > > > On Fri, Jan 31, 2003 at 12:47:16PM -0500, Zoltan Farkas wrote: > > > > I made the update with the latest version: > > > > > > > > And I am getting the error: An error occurred. A call to the shell > > > gave > > > > us this error code : 1 > > > > > > > > I see the command : > > > > > > > > cd /usr/local/share/sandweb/users/admin/local// && > > > CVS_RSH=/usr/bin/ssh > > > > && export CVS_RSH && /usr/local/bin/cvs -q -d > :ext:cvs@freak:/db/cvs > > > > checkout -d doclib 'doclib' > > > > > > > > The cd command looks like has a / that it shouldn't be there at > the > > > end. > > > > > > > > Here is the entire log entry: > > > > > > > > Current filename(s) : doclib > > > > > > > > > > > > An error occurred. A call to the shell gave us this error code : 1 > > > > > > > > > > > > > > > > > > > > > > > > > DEBUG: (main) action: sandbox - submit: Checkout > > > > DEBUG: (main) module_description: > > > > DEBUG: (main) loading prefs > > > > DEBUG: (main) > > > > $VAR1 = bless( { > > > > 'log_obj' => bless( { > > > > 'log_dir' => '/var/log', > > > > 'toggle' => { > > > > 'debug' => > '1', > > > > 'log' => '1' > > > > }, > > > > 'debug_msgs' => [ > > > > '(main) > > > action: > > > > sandbox - submit: Checkout', > > > > '(main) > > > > module_description: > > > > ', > > > > '(main) > > > loading > > > > prefs' > > > > ] > > > > }, 'SandWeb::Log' ), > > > > 'repo' => { > > > > 'local' => { > > > > 'password' => 'cvs123', > > > > 'connection' => 'SSH', > > > > 'remember_repo_password' > => > > > > 'on', > > > > 'name' => 'local', > > > > 'root' => '/db/cvs', > > > > 'type' => 'CVS', > > > > 'server' => 'freak', > > > > 'module' => {}, > > > > 'username' => 'cvs' > > > > } > > > > }, > > > > 'personal' => { > > > > 'confirm_delete' => 'on', > > > > 'full_name' => 'Zoltan Farkas' > > > > }, > > > > 'config_file' => '.user.cfg', > > > > 'config_dir' => > > > '/usr/local/share/sandweb/users/admin' > > > > }, 'SandWeb::Config' ); > > > > > > > > DEBUG: (SandWeb::Config) module_description = '' > > > > DEBUG: (main) write_config() > > > > DEBUG: (main) module_name: > > > > DEBUG: (main) username: admin > > > > DEBUG: (main) location: > > > > DEBUG: (main) main_window_url: http://freak/cgi-bin/sandweb.cgi > > > > DEBUG: (main) Repo name: local > > > > DEBUG: (main) Repo root: /db/cvs > > > > DEBUG: (main) VCS sandbox: > > > /usr/local/share/sandweb/users/admin/local// > > > > DEBUG: (main) Repo type: CVS > > > > DEBUG: (main) Filename(s): doclib > > > > DEBUG: (SandWeb::Repository) Performing checkout operation > > > > DEBUG: (SandWeb::Repository) Params: file doclib > > > > DEBUG: (SandWeb::Repository::cvs) Performing checkout operation > > > > DEBUG: (SandWeb::Repository::cvs) Params: checkout -d doclib > > > > DEBUG: (SandWeb::Repository::cvs) File: doclib > > > > DEBUG: (SandWeb::Repository::cvs) Creating Shell object > > > > DEBUG: (SandWeb::Shell) VCS call to Unix shell > > > > DEBUG: (SandWeb::Shell) VCS command is : cd > > > > /usr/local/share/sandweb/users/admin/local// && > CVS_RSH=/usr/bin/ssh > > > && > > > > export CVS_RSH && /usr/local/bin/cvs -q -d :ext:cvs@freak:/db/cvs > > > > checkout -d doclib 'doclib' > > > > DEBUG: (SandWeb::Shell) Using VCS username/password > > > > DEBUG: (SandWeb::Shell) Full command is : > > > /usr/local/bin/sandweb-expect > > > > vcs /usr/local/share/sandweb/users/admin/passwd "cd > > > > /usr/local/share/sandweb/users/admin/local// && > CVS_RSH=/usr/bin/ssh > > > && > > > > export CVS_RSH && /usr/local/bin/cvs -q -d :ext:cvs@freak:/db/cvs > > > > checkout -d doclib 'doclib'" > > > > DEBUG: (SandWeb::File) removing file : > > > > /usr/local/share/sandweb/users/admin/passwd > > > > DEBUG: (SandWeb::File::Unix) removing file : > > > > /usr/local/share/sandweb/users/admin/passwd > > > > DEBUG: (SandWeb::Shell) VCS call to Unix shell > > > > DEBUG: (SandWeb::Shell) VCS command is : rm > > > > "/usr/local/share/sandweb/users/admin/passwd" > > > > DEBUG: (SandWeb::Shell) Not using VCS username/password > > > > DEBUG: (SandWeb::File::Unix) error code : > > > > > > > > > > > > > > > > --zoly > > > > > > > > -----Original Message----- > > > > From: Rob Helmer [mailto:ro...@ro...] > > > > Sent: Friday, January 31, 2003 12:20 PM > > > > To: Zoltan Farkas > > > > Cc: san...@li... > > > > Subject: RE: [Sandweb-users] module checkout problem > > > > > > > > Excellent :) I'm glad it's working for you. > > > > > > > > I made a couple checkins last night, one of them fixes a bug with > > > > commit, and the other was obscuring some cvs error messages. > > > > > > > > You should do a "cvs update" on the sandweb codebase and do > another > > > > "make install". > > > > You shouldn't have to reconfigure anything, it should "just work". > > > > > > > > Right now I don't know of any bugs in the latest cvs version of > > > SandWeb, > > > > > > > > let me know if you find anything. I'd like to release the beta > soon. > > > > > > > > On Fri, 31 Jan 2003 8:33AM -0800, Zoltan Farkas wrote: > > > > > > > > > > I found the problem: > > > > > > > > > > .profile is not loaded when cvs is calling ssh, so my PATH was > not > > > set > > > > > to where cvs was (usr/local/bin). When a user does a login ssh > the > > > > > profile is loaded. > > > > > > > > > > So I corrected this and now everything seems to work. > > > > > > > > > > thanks > > > > > > > > > > > > > > > -----Original Message----- > > > > > From: Rob Helmer [mailto:ro...@ro...] > > > > > Sent: Thursday, January 30, 2003 7:48 PM > > > > > To: Zoltan Farkas > > > > > Subject: Re: [Sandweb-users] module checkout problem > > > > > > > > > > hmm.. ok, I am not really sure why CVS isn't working then. It's > > > > > saying the the server is giving it EOF, if doing : > > > > > > > > > > CVS_RSH=ssh > > > > > export CVS_RSH > > > > > > > > > > and a CVS command on the command line doesn't work, it's > > definitely > > > > > not going to work in sandweb :) > > > > > > > > > > > > > > > On Thu, Jan 30, 2003 at 07:15:57PM -0500, Zoltan Farkas wrote: > > > > >> That's what happens > > > > >> > > > > >> $ ssh cvs@freak > > > > >> cvs@freak's password: > > > > >> Last login: Thu Jan 30 08:48:28 2003 from freak.daxtechno > > > > >> Sun Microsystems Inc. SunOS 5.9 Generic May 2002 > > > > >> $ which cvs > > > > >> /usr/local/bin/cvs > > > > >> $ cvs server > > > > >> > > > > >> and it holds term ..... > > > > >> > > > > >> > > > > >> --zoly > > > > >> > > > > >> > > > > >> -----Original Message----- > > > > >> From: Rob Helmer [mailto:ro...@ro...] > > > > >> Sent: Thursday, January 30, 2003 7:16 PM > > > > >> To: Zoltan Farkas > > > > >> Subject: Re: [Sandweb-users] module checkout problem > > > > >> > > > > >> what if you "ssh cvs@freak" and at the prompt try "which cvs", > > > > >> "cvs server" should put the CVS on the other side into server > > > > >> mode and hold that term until you hang up. > > > > >> > > > > >> > > > > >> On Thu, Jan 30, 2003 at 07:03:10PM -0500, Zoltan Farkas wrote: > > > > >> > This is what happens: > > > > >> > > > > > >> > $ ssh cvs@freak cvs server > > > > >> > cvs@freak's password: > > > > >> > $ > > > > >> > > > > > >> > > > > > >> > --zoly > > > > >> > > > > > >> > > > > > >> > -----Original Message----- > > > > >> > From: Rob Helmer [mailto:ro...@ro...] > > > > >> > Sent: Thursday, January 30, 2003 7:06 PM > > > > >> > To: Zoltan Farkas > > > > >> > Subject: Re: [Sandweb-users] module checkout problem > > > > >> > > > > > >> > hmm.. very strange. What if you do "ssh cvs@freak cvs > server"? > > > > >> > > > > > >> > > > > > >> > On Thu, Jan 30, 2003 at 06:42:31PM -0500, Zoltan Farkas > wrote: > > > > >> > > (127)oracle@/opt/oracle/product/8.1.7/dbs>which ssh > > > > >> > > /usr/bin/ssh > > > > >> > > > > > > >> > > --zoly > > > > >> > > > > > > >> > > > > > > >> > > -----Original Message----- > > > > >> > > From: Rob Helmer [mailto:ro...@ro...] > > > > >> > > Sent: Thursday, January 30, 2003 6:43 PM > > > > >> > > To: Zoltan Farkas > > > > >> > > Subject: Re: [Sandweb-users] module checkout problem > > > > >> > > > > > > >> > > type "which ssh" > > > > >> > > > > > > >> > > > > > > >> > > On Thu, Jan 30, 2003 at 06:08:28PM -0500, Zoltan Farkas > > wrote: > > > > >> > > > SSH seems to work: > > > > >> > > > > > > > >> > > > $ ssh cvs@freak > > > > >> > > > cvs@freak's password: > > > > >> > > > Last login: Thu Jan 30 05:04:39 2003 from 192.168.0.8 > > > > >> > > > Sun Microsystems Inc. SunOS 5.9 Generic May 2002 > > > > >> > > > $ > > > > >> > > > > > > > >> > > > --zoly > > > > >> > > > > > > > >> > > > -----Original Message----- > > > > >> > > > From: Rob Helmer [mailto:ro...@ro...] > > > > >> > > > Sent: Thursday, January 30, 2003 6:11 PM > > > > >> > > > To: Zoltan Farkas > > > > >> > > > Subject: Re: [Sandweb-users] module checkout problem > > > > >> > > > > > > > >> > > > It's definitely an SSH-related problem. > > > > >> > > > > > > > >> > > > > > > > >> > > > On Thu, Jan 30, 2003 at 06:04:17PM -0500, Zoltan Farkas > > > wrote: > > > > >> > > > > > > > > >> > > > > The following line works: > > > > >> > > > > $ /usr/local/bin/cvs -q -d /db/cvs checkout -d doclib > > > > >> 'doclib' > > > > >> > > > > > > > > >> > > > > U doclib/test > > > > >> > > > > U doclib/test.txt > > > > >> > > > > > > > > >> > > > > But the following : > > > > >> > > > > > > > > >> > > > > $ export CVS_RSH=/usr/bin/ssh > > > > >> > > > > $ /usr/local/bin/cvs -q -d :ext:cvs@freak:/db/cvs > > checkout > > > > -d > > > > >> > doclib > > > > >> > > > > 'doclib' > > > > >> > > > > cvs@freak's password: > > > > >> > > > > cvs [checkout aborted]: end of file from server > (consult > > > > > > >> above > > > > >> > > > messages > > > > >> > > > > if any) > > > > >> > > > > > > > > >> > > > > and I am entering the correct password ... > > > > >> > > > > > > > > >> > > > > --zoly > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > -----Original Message----- > > > > >> > > > > From: Rob Helmer [mailto:ro...@ro...] > > > > >> > > > > Sent: Thursday, January 30, 2003 5:44 PM > > > > >> > > > > To: Zoltan Farkas > > > > >> > > > > Cc: san...@li... > > > > >> > > > > Subject: Re: [Sandweb-users] module checkout problem > > > > >> > > > > > > > > >> > > > > On Thu, Jan 30, 2003 at 04:59:17PM -0500, Zoltan > Farkas > > > > >> wrote: > > > > >> > > > > > I have problems checking out a module from CVS using > > SSH > > > > >> > > > > > > > > > >> > > > > > I have here the debug message dump: > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > Hello, > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > Current filename(s) : doclib > > > > >> > > > > > > > > > >> > > > > > cvs [checkout aborted]: end of file from server > > (consult > > > > > above > > > > >> > > > > messages > > > > >> > > > > > if any) > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > Either CVS can't talk to SSH, or the SSH server is not > > > > > accepting > > > > >> > > > > connections. > > > > >> > > > > > > > > >> > > > > Which OS is this BTW? > > > > >> > > > > > > > > >> > > > > Looks like this is your full command : > > > > >> > > > > > > > > >> > > > > DEBUG: (SandWeb::Shell) Full command is : > > > > >> > > > /usr/local/bin/sandweb-expect > > > > >> > > > > vcs /usr/local/share/sandweb/users/admin/passwd "cd > > > > >> > > > > /usr/local/share/sandweb/users/admin/local// && > > > > >> > CVS_RSH=/usr/bin/ssh > > > > >> > > > && > > > > >> > > > > export CVS_RSH && /usr/local/bin/cvs -q -d > > > > >> :ext:cvs@freak:/db/cvs > > > > >> > > > > checkout -d doclib 'doclib'" > > > > >> > > > > > > > > >> > > > > Make sure that "/usr/bin/ssh" is the correct path for > > SSH, > > > > > this > > > > >> is > > > > >> > > set > > > > >> > > > > upon install and is configured in sandweb.cfg > > > > >> > > > > > > > > >> > > > > Also, try running this from the command line in your > > > regular > > > > >> user > > > > >> > > > > account : > > > > >> > > > > > > > > >> > > > > CVS_RSH=/usr/bin/ssh && export CVS_RSH && > > > /usr/local/bin/cvs > > > > > -q > > > > >> -d > > > > >> > > > > :ext:cvs@freak:/db/cvs checkout -d doclib 'doclib' > > > > >> > > > > > > > > >> > > > > Let us know if that works. > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > Thanks, > > > > >> > > > > Rob > > > > >> > > > > > > > > > >> > > > > > > > > > >> > > > > > DEBUG: (main) action: sandbox - submit: Checkout > > > > >> > > > > > DEBUG: (main) module_description: > > > > >> > > > > > DEBUG: (main) loading prefs > > > > >> > > > > > DEBUG: (main) > > > > >> > > > > > $VAR1 = bless( { > > > > >> > > > > > 'log_obj' => bless( { > > > > >> > > > > > 'log_dir' => > > > > >> '/var/log', > > > > >> > > > > > 'toggle' => { > > > > >> > > > > > > > > > > >> 'debug' > > > > >> => > > > > >> > > '1', > > > > >> > > > > > > > > 'log' > > > > > => > > > > >> > '1' > > > > >> > > > > > > }, > > > > >> > > > > > 'debug_msgs' > => > > [ > > > > >> > > > > > > > > > >> '(main) > > > > >> > > > > action: > > > > >> > > > > > sandbox - submit: Checkout', > > > > >> > > > > > > > > > >> '(main) > > > > >> > > > > > module_description: > > > > >> > > > > > ', > > > > >> > > > > > > > > > >> '(main) > > > > >> > > > > loading > > > > >> > > > > > prefs' > > > > >> > > > > > > > ] > > > > >> > > > > > }, > 'SandWeb::Log' > > > ), > > > > >> > > > > > 'repo' => { > > > > >> > > > > > 'local' => { > > > > >> > > > > > 'password' > => > > > > >> 'cvs123', > > > > >> > > > > > 'connection' > > => > > > > > 'SSH', > > > > >> > > > > > > > > > >> 'remember_repo_password' > > > > >> > > => > > > > >> > > > > > 'on', > > > > >> > > > > > 'name' => > > > 'local', > > > > >> > > > > > 'root' => > > > > >> '/db/cvs', > > > > >> > > > > > 'type' => > > 'CVS', > > > > >> > > > > > 'server' => > > > > >> 'freak', > > > > >> > > > > > 'module' => > > {}, > > > > >> > > > > > 'username' > => > > > > 'cvs' > > > > >> > > > > > } > > > > >> > > > > > }, > > > > >> > > > > > 'personal' => { > > > > >> > > > > > 'confirm_delete' => > > 'on', > > > > >> > > > > > 'full_name' => > 'Zoltan > > > > > Farkas' > > > > >> > > > > > }, > > > > >> > > > > > 'config_file' => '.user.cfg', > > > > >> > > > > > 'config_dir' => > > > > >> > > > > '/usr/local/share/sandweb/users/admin' > > > > >> > > > > > }, 'SandWeb::Config' ); > > > > >> > > > > > > > > > >> > > > > > DEBUG: (SandWeb::Config) module_description = '' > > > > >> > > > > > DEBUG: (main) write_config() > > > > >> > > > > > DEBUG: (main) module_name: > > > > >> > > > > > DEBUG: (main) username: admin > > > > >> > > > > > DEBUG: (main) location: > > > > >> > > > > > DEBUG: (main) main_window_url: > > > > >> > > > > > http://freak/cgi-bin/sandweb.cgi?action=sandbox > > > > >> > > > > > DEBUG: (main) Repo name: local > > > > >> > > > > > DEBUG: (main) Repo root: /db/cvs > > > > >> > > > > > DEBUG: (main) VCS sandbox: > > > > >> > > > > /usr/local/share/sandweb/users/admin/local// > > > > >> > > > > > DEBUG: (main) Repo type: CVS > > > > >> > > > > > DEBUG: (main) Filename(s): doclib > > > > >> > > > > > DEBUG: (SandWeb::Repository) Performing checkout > > > operation > > > > >> > > > > > DEBUG: (SandWeb::Repository) Params: file doclib > > > > >> > > > > > DEBUG: (SandWeb::Repository::cvs) Performing > checkout > > > > >> operation > > > > >> > > > > > DEBUG: (SandWeb::Repository::cvs) Params: checkout > -d > > > > >> doclib > > > > >> > > > > > DEBUG: (SandWeb::Repository::cvs) File: doclib > > > > >> > > > > > DEBUG: (SandWeb::Repository::cvs) Creating Shell > > object > > > > >> > > > > > DEBUG: (SandWeb::Shell) VCS call to Unix shell > > > > >> > > > > > DEBUG: (SandWeb::Shell) VCS command is : cd > > > > >> > > > > > /usr/local/share/sandweb/users/admin/local// && > > > > >> > > CVS_RSH=/usr/bin/ssh > > > > >> > > > > && > > > > >> > > > > > export CVS_RSH && /usr/local/bin/cvs -q -d > > > > >> > :ext:cvs@freak:/db/cvs > > > > >> > > > > > checkout -d doclib 'doclib' > > > > >> > > > > > DEBUG: (SandWeb::Shell) Using VCS username/password > > > > >> > > > > > DEBUG: (SandWeb::Shell) Full command is : > > > > >> > > > > /usr/local/bin/sandweb-expect > > > > >> > > > > > vcs /usr/local/share/sandweb/users/admin/passwd "cd > > > > >> > > > > > /usr/local/share/sandweb/users/admin/local// && > > > > >> > > CVS_RSH=/usr/bin/ssh > > > > >> > > > > && > > > > >> > > > > > export CVS_RSH && /usr/local/bin/cvs -q -d > > > > >> > :ext:cvs@freak:/db/cvs > > > > >> > > > > > checkout -d doclib 'doclib'" > > > > >> > > > > > DEBUG: (SandWeb::File) removing file : > > > > >> > > > > > /usr/local/share/sandweb/users/admin/passwd > > > > >> > > > > > DEBUG: (SandWeb::File::Unix) removing file : > > > > >> > > > > > /usr/local/share/sandweb/users/admin/passwd > > > > >> > > > > > DEBUG: (SandWeb::Shell) VCS call to Unix shell > > > > >> > > > > > DEBUG: (SandWeb::Shell) VCS command is : rm > > > > >> > > > > > "/usr/local/share/sandweb/users/admin/passwd" > > > > >> > > > > > DEBUG: (SandWeb::Shell) Not using VCS > > username/password > > > > >> > > > > > DEBUG: (SandWeb::File::Unix) error code : > > > > >> > > > > > > > > > >> > > > > > > > > > >> > > > > > > > > > >> > > > > > > > > > >> > > > > > Anybody knows why? > > > > >> > > > > > > > > > >> > > > > > --zoly > > > > >> > > > > > > > > >> > > > > > > > >> > > > > > > >> > > > > > >> > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.NET email is sponsored by: > > > SourceForge Enterprise Edition + IBM + LinuxWorld > > http://www.vasoftware.com > > > _______________________________________________ > > > Sandweb-users mailing list > > > San...@li... > > > https://lists.sourceforge.net/lists/listinfo/sandweb-users > > > > > > |
From: Zoltan F. <zo...@da...> - 2003-02-04 21:33:28
|
This fixed it. Now I use bash and it works. thanks --zoly -----Original Message----- From: Rob Helmer [mailto:ro...@ro...]=20 Sent: Tuesday, February 04, 2003 4:15 PM To: Zoltan Farkas Subject: Re: [Sandweb-users] module checkout problem oh, this is what i forgot to ask also.. you are using ksh? I am only testing with bash. Can you try setting "nobody"'s shell to "bash"? Hmm.... maybe ksh doesn't like deep nesting of quotes? interesting.. On Tue, Feb 04, 2003 at 04:03:11PM -0500, Zoltan Farkas wrote: > Continuing my previous mail I am getting : >=20 > If I type CTRL+D I get: > >=20 > > ksh: syntax error: `'' unmatched >=20 > --zoly >=20 >=20 > -----Original Message----- > From: Rob Helmer [mailto:ro...@ro...]=20 > Sent: Tuesday, February 04, 2003 3:47 PM > To: Zoltan Farkas > Cc: san...@li... > Subject: Re: [Sandweb-users] module checkout problem >=20 > Hmm.. I still can't reproduce this. >=20 > You are fully up-to-date in your CVS checkout of SandWeb, correct? >=20 > Extreme measures are called for to debug this I guess :)=20 >=20 > Try this ( "su -" to the user running Apache and run it from the shell ) > : >=20 > -- >=20 > echo cvs123 > /usr/local/share/sandweb/users/admin/passwd >=20 > /usr/local/bin/sandweb-expect vcs > /usr/local/share/sandweb/users/admin/passwd "cd > /usr/local/share/sandweb/users/admin/local/doclib//Clients/Jo && > CVS_RSH=3D/usr/bin/ssh && export CVS_RSH && /usr/local/bin/cvs -q -d > :ext:cvs@freak:/db/cvs commit -m 'Zoly changed it' 'IT Mission Company > Profile1.doc'" >=20 > -- >=20 > Does this work? This is exactly what SandWeb is trying to run as the > user > running Apache.=20 >=20 >=20 >=20 > Thanks, > Rob >=20 > On Tue, Feb 04, 2003 at 10:29:12AM -0500, Zoltan Farkas wrote: > > I have problems with commit, here is the error: > >=20 > > I think the following fails : cd > > /usr/local/share/sandweb/users/admin/local/doclib//Clients/Jo > >=20 > > There is a // in there > >=20 > > =20 > > SandWeb : VCS commit > > =20 > > =20 > > =20 > > =20 > > =20 > > =20 > > Zoly changed it > > =20 > > Current filename(s) : IT Mission Company Profile1.doc=20 > >=20 > > =20 > > An error occurred. A call to the shell gave us this error code : 1 =20 > >=20 > > =20 > > =20 > > =20 > > =20 > > DEBUG: (main) action: vcs - submit: 1 > > DEBUG: (main) module_description:=20 > > DEBUG: (main) loading prefs > > DEBUG: (main)=20 > > $VAR1 =3D bless( { > > 'log_obj' =3D> bless( { > > 'log_dir' =3D> '/var/log', > > 'toggle' =3D> { > > 'debug' =3D> = '1', > > 'log' =3D> '1' > > }, > > 'debug_msgs' =3D> [ > > '(main) > action: > > vcs - submit: 1', > > '(main) > > module_description:=20 > > ', > > '(main) > loading > > prefs' > > ] > > }, 'SandWeb::Log' ), > > 'repo' =3D> { > > 'local' =3D> { > > 'password' =3D> 'cvs123', > > 'connection' =3D> 'SSH', > > 'remember_repo_password' = =3D> > > 'on', > > 'name' =3D> 'local', > > 'server' =3D> 'freak', > > 'type' =3D> 'CVS', > > 'root' =3D> '/db/cvs', > > 'module' =3D> { > > 'doclib' =3D> = { > > > 'name' > > =3D> 'doclib', > > =20 > > 'description' =3D> '' > > } > > }, > > 'username' =3D> 'cvs' > > } > > }, > > 'personal' =3D> { > > 'confirm_delete' =3D> 'on', > > 'full_name' =3D> 'Zoltan Farkas' > > }, > > 'config_file' =3D> '.user.cfg', > > 'config_dir' =3D> > '/usr/local/share/sandweb/users/admin' > > }, 'SandWeb::Config' ); > >=20 > > DEBUG: (main) module_name: doclib > > DEBUG: (main) username: admin > > DEBUG: (main) location: /Clients/Jo > > DEBUG: (main) main_window_url:=20 > > DEBUG: (main) Repo name: local > > DEBUG: (main) Repo root: /db/cvs > > DEBUG: (main) VCS sandbox: > > /usr/local/share/sandweb/users/admin/local/doclib//Clients/Jo > > DEBUG: (main) Repo type: CVS > > DEBUG: (main) Filename(s): IT Mission Company Profile1.doc > > DEBUG: (SandWeb::Repository) Performing commit operation > > DEBUG: (SandWeb::Repository) Params: message Zoly changed it file IT > > Mission Company Profile1.doc > > DEBUG: (SandWeb::Repository::cvs) Performing commit operation > > DEBUG: (SandWeb::Repository::cvs) Params: commit -m 'Zoly changed it' > > DEBUG: (SandWeb::Repository::cvs) File: IT Mission Company > Profile1.doc > > DEBUG: (SandWeb::Repository::cvs) Creating Shell object > > DEBUG: (SandWeb::Shell) VCS call to Unix shell > > DEBUG: (SandWeb::Shell) VCS command is : cd > > /usr/local/share/sandweb/users/admin/local/doclib//Clients/Jo && > > CVS_RSH=3D/usr/bin/ssh && export CVS_RSH && /usr/local/bin/cvs -q -d > > :ext:cvs@freak:/db/cvs commit -m 'Zoly changed it' 'IT Mission Company > > Profile1.doc' > > DEBUG: (SandWeb::Shell) Using VCS username/password > > DEBUG: (SandWeb::Shell) Full command is : > /usr/local/bin/sandweb-expect > > vcs /usr/local/share/sandweb/users/admin/passwd "cd > > /usr/local/share/sandweb/users/admin/local/doclib//Clients/Jo && > > CVS_RSH=3D/usr/bin/ssh && export CVS_RSH && /usr/local/bin/cvs -q -d > > :ext:cvs@freak:/db/cvs commit -m 'Zoly changed it' 'IT Mission Company > > Profile1.doc'" > > DEBUG: (SandWeb::File) removing file : > > /usr/local/share/sandweb/users/admin/passwd > > DEBUG: (SandWeb::File::Unix) removing file : > > /usr/local/share/sandweb/users/admin/passwd > > DEBUG: (SandWeb::Shell) VCS call to Unix shell > > DEBUG: (SandWeb::Shell) VCS command is : rm > > "/usr/local/share/sandweb/users/admin/passwd" > > DEBUG: (SandWeb::Shell) Not using VCS username/password > > DEBUG: (SandWeb::File::Unix) error code : > >=20 > >=20 > >=20 > >=20 > >=20 > >=20 > >=20 > >=20 > >=20 > >=20 > >=20 > >=20 > > Zoltan Farkas > > Manager of Software Products > > Dax Technologies Corp, www.daxtechnologies.com > > Phone: 732 203 1784 ext 106 > > Fax: 732 203 1786 > > Email: zo...@da... > > =20 > >=20 > > -----Original Message----- > > From: Rob Helmer [mailto:ro...@ro...]=20 > > Sent: Saturday, February 01, 2003 2:03 AM > > To: Zoltan Farkas > > Cc: san...@li... > > Subject: Re: [Sandweb-users] module checkout problem > >=20 > > Hmm... I went to fix this, but I cannot reproduce it. > >=20 > > The current CVS checkout of SandWeb is working for me, and when > > I look at the command it looks ok ( the extra '/' looks silly but > > it won't hurt anything ). > >=20 > > I an completely up-to-date, and I'm able to checkout. > >=20 > > CVS gives a "1" in quite a few situations, I'm wondering if you can > > do another update and see if it happens again?=20 > >=20 > > Can you help me debug this on your setup? It works ok for me. > >=20 > > On Fri, Jan 31, 2003 at 12:47:16PM -0500, Zoltan Farkas wrote: > > > I made the update with the latest version: > > >=20 > > > And I am getting the error: An error occurred. A call to the shell > > gave > > > us this error code : 1 > > >=20 > > > I see the command : > > >=20 > > > cd /usr/local/share/sandweb/users/admin/local// && > > CVS_RSH=3D/usr/bin/ssh > > > && export CVS_RSH && /usr/local/bin/cvs -q -d :ext:cvs@freak:/db/cvs > > > checkout -d doclib 'doclib' > > >=20 > > > The cd command looks like has a / that it shouldn't be there at the > > end. > > >=20 > > > Here is the entire log entry: > > >=20 > > > Current filename(s) : doclib=20 > > >=20 > > > =20 > > > An error occurred. A call to the shell gave us this error code : 1 > > >=20 > > > =20 > > > =20 > > > =20 > > > =20 > > > DEBUG: (main) action: sandbox - submit: Checkout > > > DEBUG: (main) module_description:=20 > > > DEBUG: (main) loading prefs > > > DEBUG: (main)=20 > > > $VAR1 =3D bless( { > > > 'log_obj' =3D> bless( { > > > 'log_dir' =3D> '/var/log', > > > 'toggle' =3D> { > > > 'debug' =3D> '1', > > > 'log' =3D> = '1' > > > }, > > > 'debug_msgs' =3D> [ > > > '(main) > > action: > > > sandbox - submit: Checkout', > > > '(main) > > > module_description:=20 > > > ', > > > '(main) > > loading > > > prefs' > > > ] > > > }, 'SandWeb::Log' ), > > > 'repo' =3D> { > > > 'local' =3D> { > > > 'password' =3D> 'cvs123', > > > 'connection' =3D> 'SSH', > > > 'remember_repo_password' =3D> > > > 'on', > > > 'name' =3D> 'local', > > > 'root' =3D> '/db/cvs', > > > 'type' =3D> 'CVS', > > > 'server' =3D> 'freak', > > > 'module' =3D> {}, > > > 'username' =3D> 'cvs' > > > } > > > }, > > > 'personal' =3D> { > > > 'confirm_delete' =3D> 'on', > > > 'full_name' =3D> 'Zoltan Farkas' > > > }, > > > 'config_file' =3D> '.user.cfg', > > > 'config_dir' =3D> > > '/usr/local/share/sandweb/users/admin' > > > }, 'SandWeb::Config' ); > > >=20 > > > DEBUG: (SandWeb::Config) module_description =3D ''=20 > > > DEBUG: (main) write_config() > > > DEBUG: (main) module_name:=20 > > > DEBUG: (main) username: admin > > > DEBUG: (main) location:=20 > > > DEBUG: (main) main_window_url: http://freak/cgi-bin/sandweb.cgi > > > DEBUG: (main) Repo name: local > > > DEBUG: (main) Repo root: /db/cvs > > > DEBUG: (main) VCS sandbox: > > /usr/local/share/sandweb/users/admin/local// > > > DEBUG: (main) Repo type: CVS > > > DEBUG: (main) Filename(s): doclib > > > DEBUG: (SandWeb::Repository) Performing checkout operation > > > DEBUG: (SandWeb::Repository) Params: file doclib > > > DEBUG: (SandWeb::Repository::cvs) Performing checkout operation > > > DEBUG: (SandWeb::Repository::cvs) Params: checkout -d doclib > > > DEBUG: (SandWeb::Repository::cvs) File: doclib > > > DEBUG: (SandWeb::Repository::cvs) Creating Shell object > > > DEBUG: (SandWeb::Shell) VCS call to Unix shell > > > DEBUG: (SandWeb::Shell) VCS command is : cd > > > /usr/local/share/sandweb/users/admin/local// && CVS_RSH=3D/usr/bin/ssh > > && > > > export CVS_RSH && /usr/local/bin/cvs -q -d :ext:cvs@freak:/db/cvs > > > checkout -d doclib 'doclib' > > > DEBUG: (SandWeb::Shell) Using VCS username/password > > > DEBUG: (SandWeb::Shell) Full command is : > > /usr/local/bin/sandweb-expect > > > vcs /usr/local/share/sandweb/users/admin/passwd "cd > > > /usr/local/share/sandweb/users/admin/local// && CVS_RSH=3D/usr/bin/ssh > > && > > > export CVS_RSH && /usr/local/bin/cvs -q -d :ext:cvs@freak:/db/cvs > > > checkout -d doclib 'doclib'" > > > DEBUG: (SandWeb::File) removing file : > > > /usr/local/share/sandweb/users/admin/passwd > > > DEBUG: (SandWeb::File::Unix) removing file : > > > /usr/local/share/sandweb/users/admin/passwd > > > DEBUG: (SandWeb::Shell) VCS call to Unix shell > > > DEBUG: (SandWeb::Shell) VCS command is : rm > > > "/usr/local/share/sandweb/users/admin/passwd" > > > DEBUG: (SandWeb::Shell) Not using VCS username/password > > > DEBUG: (SandWeb::File::Unix) error code : > > >=20 > > >=20 > > >=20 > > > --zoly > > >=20 > > > -----Original Message----- > > > From: Rob Helmer [mailto:ro...@ro...]=20 > > > Sent: Friday, January 31, 2003 12:20 PM > > > To: Zoltan Farkas > > > Cc: san...@li... > > > Subject: RE: [Sandweb-users] module checkout problem > > >=20 > > > Excellent :) I'm glad it's working for you. > > >=20 > > > I made a couple checkins last night, one of them fixes a bug with=20 > > > commit, and the other was obscuring some cvs error messages. > > >=20 > > > You should do a "cvs update" on the sandweb codebase and do another=20 > > > "make install". > > > You shouldn't have to reconfigure anything, it should "just work". > > >=20 > > > Right now I don't know of any bugs in the latest cvs version of > > SandWeb, > > >=20 > > > let me know if you find anything. I'd like to release the beta soon. > > >=20 > > > On Fri, 31 Jan 2003 8:33AM -0800, Zoltan Farkas wrote: > > > > > > > > I found the problem: > > > > > > > > .profile is not loaded when cvs is calling ssh, so my PATH was not > > set > > > > to where cvs was (usr/local/bin). When a user does a login ssh the > > > > profile is loaded. > > > > > > > > So I corrected this and now everything seems to work. > > > > > > > > thanks > > > > > > > > > > > > -----Original Message----- > > > > From: Rob Helmer [mailto:ro...@ro...] > > > > Sent: Thursday, January 30, 2003 7:48 PM > > > > To: Zoltan Farkas > > > > Subject: Re: [Sandweb-users] module checkout problem > > > > > > > > hmm.. ok, I am not really sure why CVS isn't working then. It's > > > > saying the the server is giving it EOF, if doing : > > > > > > > > CVS_RSH=3Dssh > > > > export CVS_RSH > > > > > > > > and a CVS command on the command line doesn't work, it's > definitely > > > > not going to work in sandweb :) > > > > > > > > > > > > On Thu, Jan 30, 2003 at 07:15:57PM -0500, Zoltan Farkas wrote: > > > >> That's what happens > > > >> > > > >> $ ssh cvs@freak > > > >> cvs@freak's password: > > > >> Last login: Thu Jan 30 08:48:28 2003 from freak.daxtechno > > > >> Sun Microsystems Inc. SunOS 5.9 Generic May 2002 > > > >> $ which cvs > > > >> /usr/local/bin/cvs > > > >> $ cvs server > > > >> > > > >> and it holds term ..... > > > >> > > > >> > > > >> --zoly > > > >> > > > >> > > > >> -----Original Message----- > > > >> From: Rob Helmer [mailto:ro...@ro...] > > > >> Sent: Thursday, January 30, 2003 7:16 PM > > > >> To: Zoltan Farkas > > > >> Subject: Re: [Sandweb-users] module checkout problem > > > >> > > > >> what if you "ssh cvs@freak" and at the prompt try "which cvs", > > > >> "cvs server" should put the CVS on the other side into server > > > >> mode and hold that term until you hang up. > > > >> > > > >> > > > >> On Thu, Jan 30, 2003 at 07:03:10PM -0500, Zoltan Farkas wrote: > > > >> > This is what happens: > > > >> > > > > >> > $ ssh cvs@freak cvs server > > > >> > cvs@freak's password: > > > >> > $ > > > >> > > > > >> > > > > >> > --zoly > > > >> > > > > >> > > > > >> > -----Original Message----- > > > >> > From: Rob Helmer [mailto:ro...@ro...] > > > >> > Sent: Thursday, January 30, 2003 7:06 PM > > > >> > To: Zoltan Farkas > > > >> > Subject: Re: [Sandweb-users] module checkout problem > > > >> > > > > >> > hmm.. very strange. What if you do "ssh cvs@freak cvs server"? > > > >> > > > > >> > > > > >> > On Thu, Jan 30, 2003 at 06:42:31PM -0500, Zoltan Farkas wrote: > > > >> > > (127)oracle@/opt/oracle/product/8.1.7/dbs>which ssh > > > >> > > /usr/bin/ssh > > > >> > > > > > >> > > --zoly > > > >> > > > > > >> > > > > > >> > > -----Original Message----- > > > >> > > From: Rob Helmer [mailto:ro...@ro...] > > > >> > > Sent: Thursday, January 30, 2003 6:43 PM > > > >> > > To: Zoltan Farkas > > > >> > > Subject: Re: [Sandweb-users] module checkout problem > > > >> > > > > > >> > > type "which ssh" > > > >> > > > > > >> > > > > > >> > > On Thu, Jan 30, 2003 at 06:08:28PM -0500, Zoltan Farkas > wrote: > > > >> > > > SSH seems to work: > > > >> > > > > > > >> > > > $ ssh cvs@freak > > > >> > > > cvs@freak's password: > > > >> > > > Last login: Thu Jan 30 05:04:39 2003 from 192.168.0.8 > > > >> > > > Sun Microsystems Inc. SunOS 5.9 Generic May 2002 > > > >> > > > $ > > > >> > > > > > > >> > > > --zoly > > > >> > > > > > > >> > > > -----Original Message----- > > > >> > > > From: Rob Helmer [mailto:ro...@ro...] > > > >> > > > Sent: Thursday, January 30, 2003 6:11 PM > > > >> > > > To: Zoltan Farkas > > > >> > > > Subject: Re: [Sandweb-users] module checkout problem > > > >> > > > > > > >> > > > It's definitely an SSH-related problem. > > > >> > > > > > > >> > > > > > > >> > > > On Thu, Jan 30, 2003 at 06:04:17PM -0500, Zoltan Farkas > > wrote: > > > >> > > > > > > > >> > > > > The following line works: > > > >> > > > > $ /usr/local/bin/cvs -q -d /db/cvs checkout -d doclib=20 > > > >> 'doclib' > > > >> > > > > > > > >> > > > > U doclib/test > > > >> > > > > U doclib/test.txt > > > >> > > > > > > > >> > > > > But the following : > > > >> > > > > > > > >> > > > > $ export CVS_RSH=3D/usr/bin/ssh > > > >> > > > > $ /usr/local/bin/cvs -q -d :ext:cvs@freak:/db/cvs > checkout > > > -d > > > >> > doclib > > > >> > > > > 'doclib' > > > >> > > > > cvs@freak's password: > > > >> > > > > cvs [checkout aborted]: end of file from server (consult >=20 > > > >> above > > > >> > > > messages > > > >> > > > > if any) > > > >> > > > > > > > >> > > > > and I am entering the correct password ... > > > >> > > > > > > > >> > > > > --zoly > > > >> > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > -----Original Message----- > > > >> > > > > From: Rob Helmer [mailto:ro...@ro...] > > > >> > > > > Sent: Thursday, January 30, 2003 5:44 PM > > > >> > > > > To: Zoltan Farkas > > > >> > > > > Cc: san...@li... > > > >> > > > > Subject: Re: [Sandweb-users] module checkout problem > > > >> > > > > > > > >> > > > > On Thu, Jan 30, 2003 at 04:59:17PM -0500, Zoltan Farkas=20 > > > >> wrote: > > > >> > > > > > I have problems checking out a module from CVS using > SSH > > > >> > > > > > > > > >> > > > > > I have here the debug message dump: > > > >> > > > > > > > >> > > > > > > > >> > > > > Hello, > > > >> > > > > > > > >> > > > > > > > >> > > > > > Current filename(s) : doclib > > > >> > > > > > > > > >> > > > > > cvs [checkout aborted]: end of file from server > (consult > > > > above > > > >> > > > > messages > > > >> > > > > > if any) > > > >> > > > > > > > >> > > > > > > > >> > > > > Either CVS can't talk to SSH, or the SSH server is not > > > > accepting > > > >> > > > > connections. > > > >> > > > > > > > >> > > > > Which OS is this BTW? > > > >> > > > > > > > >> > > > > Looks like this is your full command : > > > >> > > > > > > > >> > > > > DEBUG: (SandWeb::Shell) Full command is : > > > >> > > > /usr/local/bin/sandweb-expect > > > >> > > > > vcs /usr/local/share/sandweb/users/admin/passwd "cd > > > >> > > > > /usr/local/share/sandweb/users/admin/local// && > > > >> > CVS_RSH=3D/usr/bin/ssh > > > >> > > > && > > > >> > > > > export CVS_RSH && /usr/local/bin/cvs -q -d > > > >> :ext:cvs@freak:/db/cvs > > > >> > > > > checkout -d doclib 'doclib'" > > > >> > > > > > > > >> > > > > Make sure that "/usr/bin/ssh" is the correct path for > SSH, > > > > this > > > >> is > > > >> > > set > > > >> > > > > upon install and is configured in sandweb.cfg > > > >> > > > > > > > >> > > > > Also, try running this from the command line in your > > regular > > > >> user > > > >> > > > > account : > > > >> > > > > > > > >> > > > > CVS_RSH=3D/usr/bin/ssh && export CVS_RSH && > > /usr/local/bin/cvs > > > > -q > > > >> -d > > > >> > > > > :ext:cvs@freak:/db/cvs checkout -d doclib 'doclib' > > > >> > > > > > > > >> > > > > Let us know if that works. > > > >> > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > Thanks, > > > >> > > > > Rob > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > DEBUG: (main) action: sandbox - submit: Checkout > > > >> > > > > > DEBUG: (main) module_description: > > > >> > > > > > DEBUG: (main) loading prefs > > > >> > > > > > DEBUG: (main) > > > >> > > > > > $VAR1 =3D bless( { > > > >> > > > > > 'log_obj' =3D> bless( { > > > >> > > > > > 'log_dir' = =3D> > > > >> '/var/log', > > > >> > > > > > 'toggle' =3D> = { > > > >> > > > > > > > > >> 'debug' > > > >> =3D> > > > >> > > '1', > > > >> > > > > > > > 'log' > > > > =3D> > > > >> > '1' > > > >> > > > > > }, > > > >> > > > > > 'debug_msgs' =3D> > [ > > > >> > > > > > > > > >> '(main) > > > >> > > > > action: > > > >> > > > > > sandbox - submit: Checkout', > > > >> > > > > > > > > >> '(main) > > > >> > > > > > module_description: > > > >> > > > > > ', > > > >> > > > > > > > > >> '(main) > > > >> > > > > loading > > > >> > > > > > prefs' > > > >> > > > > > > ] > > > >> > > > > > }, 'SandWeb::Log' > > ), > > > >> > > > > > 'repo' =3D> { > > > >> > > > > > 'local' =3D> { > > > >> > > > > > 'password' =3D> > > > >> 'cvs123', > > > >> > > > > > 'connection' > =3D> > > > > 'SSH', > > > >> > > > > > > > > >> 'remember_repo_password' > > > >> > > =3D> > > > >> > > > > > 'on', > > > >> > > > > > 'name' =3D> > > 'local', > > > >> > > > > > 'root' =3D>=20 > > > >> '/db/cvs', > > > >> > > > > > 'type' =3D> > 'CVS', > > > >> > > > > > 'server' = =3D>=20 > > > >> 'freak', > > > >> > > > > > 'module' = =3D> > {}, > > > >> > > > > > 'username' =3D> > > > 'cvs' > > > >> > > > > > } > > > >> > > > > > }, > > > >> > > > > > 'personal' =3D> { > > > >> > > > > > 'confirm_delete' =3D> > 'on', > > > >> > > > > > 'full_name' =3D> 'Zoltan > > > > Farkas' > > > >> > > > > > }, > > > >> > > > > > 'config_file' =3D> '.user.cfg', > > > >> > > > > > 'config_dir' =3D> > > > >> > > > > '/usr/local/share/sandweb/users/admin' > > > >> > > > > > }, 'SandWeb::Config' ); > > > >> > > > > > > > > >> > > > > > DEBUG: (SandWeb::Config) module_description =3D '' > > > >> > > > > > DEBUG: (main) write_config() > > > >> > > > > > DEBUG: (main) module_name: > > > >> > > > > > DEBUG: (main) username: admin > > > >> > > > > > DEBUG: (main) location: > > > >> > > > > > DEBUG: (main) main_window_url: > > > >> > > > > > http://freak/cgi-bin/sandweb.cgi?action=3Dsandbox > > > >> > > > > > DEBUG: (main) Repo name: local > > > >> > > > > > DEBUG: (main) Repo root: /db/cvs > > > >> > > > > > DEBUG: (main) VCS sandbox: > > > >> > > > > /usr/local/share/sandweb/users/admin/local// > > > >> > > > > > DEBUG: (main) Repo type: CVS > > > >> > > > > > DEBUG: (main) Filename(s): doclib > > > >> > > > > > DEBUG: (SandWeb::Repository) Performing checkout > > operation > > > >> > > > > > DEBUG: (SandWeb::Repository) Params: file doclib > > > >> > > > > > DEBUG: (SandWeb::Repository::cvs) Performing checkout > > > >> operation > > > >> > > > > > DEBUG: (SandWeb::Repository::cvs) Params: checkout -d=20 > > > >> doclib > > > >> > > > > > DEBUG: (SandWeb::Repository::cvs) File: doclib > > > >> > > > > > DEBUG: (SandWeb::Repository::cvs) Creating Shell > object > > > >> > > > > > DEBUG: (SandWeb::Shell) VCS call to Unix shell > > > >> > > > > > DEBUG: (SandWeb::Shell) VCS command is : cd > > > >> > > > > > /usr/local/share/sandweb/users/admin/local// && > > > >> > > CVS_RSH=3D/usr/bin/ssh > > > >> > > > > && > > > >> > > > > > export CVS_RSH && /usr/local/bin/cvs -q -d > > > >> > :ext:cvs@freak:/db/cvs > > > >> > > > > > checkout -d doclib 'doclib' > > > >> > > > > > DEBUG: (SandWeb::Shell) Using VCS username/password > > > >> > > > > > DEBUG: (SandWeb::Shell) Full command is : > > > >> > > > > /usr/local/bin/sandweb-expect > > > >> > > > > > vcs /usr/local/share/sandweb/users/admin/passwd "cd > > > >> > > > > > /usr/local/share/sandweb/users/admin/local// && > > > >> > > CVS_RSH=3D/usr/bin/ssh > > > >> > > > > && > > > >> > > > > > export CVS_RSH && /usr/local/bin/cvs -q -d > > > >> > :ext:cvs@freak:/db/cvs > > > >> > > > > > checkout -d doclib 'doclib'" > > > >> > > > > > DEBUG: (SandWeb::File) removing file : > > > >> > > > > > /usr/local/share/sandweb/users/admin/passwd > > > >> > > > > > DEBUG: (SandWeb::File::Unix) removing file : > > > >> > > > > > /usr/local/share/sandweb/users/admin/passwd > > > >> > > > > > DEBUG: (SandWeb::Shell) VCS call to Unix shell > > > >> > > > > > DEBUG: (SandWeb::Shell) VCS command is : rm > > > >> > > > > > "/usr/local/share/sandweb/users/admin/passwd" > > > >> > > > > > DEBUG: (SandWeb::Shell) Not using VCS > username/password > > > >> > > > > > DEBUG: (SandWeb::File::Unix) error code : > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > Anybody knows why? > > > >> > > > > > > > > >> > > > > > --zoly > > > >> > > > > > > > >> > > > > > > >> > > > > > >> > > > > >> > > >=20 > >=20 > >=20 > > ------------------------------------------------------- > > This SF.NET email is sponsored by: > > SourceForge Enterprise Edition + IBM + LinuxWorld > http://www.vasoftware.com > > _______________________________________________ > > Sandweb-users mailing list > > San...@li... > > https://lists.sourceforge.net/lists/listinfo/sandweb-users > >=20 >=20 |
From: Rob H. <ro...@ro...> - 2003-02-04 20:48:07
|
Hmm.. I still can't reproduce this. You are fully up-to-date in your CVS checkout of SandWeb, correct? Extreme measures are called for to debug this I guess :) Try this ( "su -" to the user running Apache and run it from the shell ) : -- echo cvs123 > /usr/local/share/sandweb/users/admin/passwd /usr/local/bin/sandweb-expect vcs /usr/local/share/sandweb/users/admin/passwd "cd /usr/local/share/sandweb/users/admin/local/doclib//Clients/Jo && CVS_RSH=/usr/bin/ssh && export CVS_RSH && /usr/local/bin/cvs -q -d :ext:cvs@freak:/db/cvs commit -m 'Zoly changed it' 'IT Mission Company Profile1.doc'" -- Does this work? This is exactly what SandWeb is trying to run as the user running Apache. Thanks, Rob On Tue, Feb 04, 2003 at 10:29:12AM -0500, Zoltan Farkas wrote: > I have problems with commit, here is the error: > > I think the following fails : cd > /usr/local/share/sandweb/users/admin/local/doclib//Clients/Jo > > There is a // in there > > > SandWeb : VCS commit > > > > > > > Zoly changed it > > Current filename(s) : IT Mission Company Profile1.doc > > > An error occurred. A call to the shell gave us this error code : 1 > > > > > > DEBUG: (main) action: vcs - submit: 1 > DEBUG: (main) module_description: > DEBUG: (main) loading prefs > DEBUG: (main) > $VAR1 = bless( { > 'log_obj' => bless( { > 'log_dir' => '/var/log', > 'toggle' => { > 'debug' => '1', > 'log' => '1' > }, > 'debug_msgs' => [ > '(main) action: > vcs - submit: 1', > '(main) > module_description: > ', > '(main) loading > prefs' > ] > }, 'SandWeb::Log' ), > 'repo' => { > 'local' => { > 'password' => 'cvs123', > 'connection' => 'SSH', > 'remember_repo_password' => > 'on', > 'name' => 'local', > 'server' => 'freak', > 'type' => 'CVS', > 'root' => '/db/cvs', > 'module' => { > 'doclib' => { > 'name' > => 'doclib', > > 'description' => '' > } > }, > 'username' => 'cvs' > } > }, > 'personal' => { > 'confirm_delete' => 'on', > 'full_name' => 'Zoltan Farkas' > }, > 'config_file' => '.user.cfg', > 'config_dir' => '/usr/local/share/sandweb/users/admin' > }, 'SandWeb::Config' ); > > DEBUG: (main) module_name: doclib > DEBUG: (main) username: admin > DEBUG: (main) location: /Clients/Jo > DEBUG: (main) main_window_url: > DEBUG: (main) Repo name: local > DEBUG: (main) Repo root: /db/cvs > DEBUG: (main) VCS sandbox: > /usr/local/share/sandweb/users/admin/local/doclib//Clients/Jo > DEBUG: (main) Repo type: CVS > DEBUG: (main) Filename(s): IT Mission Company Profile1.doc > DEBUG: (SandWeb::Repository) Performing commit operation > DEBUG: (SandWeb::Repository) Params: message Zoly changed it file IT > Mission Company Profile1.doc > DEBUG: (SandWeb::Repository::cvs) Performing commit operation > DEBUG: (SandWeb::Repository::cvs) Params: commit -m 'Zoly changed it' > DEBUG: (SandWeb::Repository::cvs) File: IT Mission Company Profile1.doc > DEBUG: (SandWeb::Repository::cvs) Creating Shell object > DEBUG: (SandWeb::Shell) VCS call to Unix shell > DEBUG: (SandWeb::Shell) VCS command is : cd > /usr/local/share/sandweb/users/admin/local/doclib//Clients/Jo && > CVS_RSH=/usr/bin/ssh && export CVS_RSH && /usr/local/bin/cvs -q -d > :ext:cvs@freak:/db/cvs commit -m 'Zoly changed it' 'IT Mission Company > Profile1.doc' > DEBUG: (SandWeb::Shell) Using VCS username/password > DEBUG: (SandWeb::Shell) Full command is : /usr/local/bin/sandweb-expect > vcs /usr/local/share/sandweb/users/admin/passwd "cd > /usr/local/share/sandweb/users/admin/local/doclib//Clients/Jo && > CVS_RSH=/usr/bin/ssh && export CVS_RSH && /usr/local/bin/cvs -q -d > :ext:cvs@freak:/db/cvs commit -m 'Zoly changed it' 'IT Mission Company > Profile1.doc'" > DEBUG: (SandWeb::File) removing file : > /usr/local/share/sandweb/users/admin/passwd > DEBUG: (SandWeb::File::Unix) removing file : > /usr/local/share/sandweb/users/admin/passwd > DEBUG: (SandWeb::Shell) VCS call to Unix shell > DEBUG: (SandWeb::Shell) VCS command is : rm > "/usr/local/share/sandweb/users/admin/passwd" > DEBUG: (SandWeb::Shell) Not using VCS username/password > DEBUG: (SandWeb::File::Unix) error code : > > > > > > > > > > > > > Zoltan Farkas > Manager of Software Products > Dax Technologies Corp, www.daxtechnologies.com > Phone: 732 203 1784 ext 106 > Fax: 732 203 1786 > Email: zo...@da... > > > -----Original Message----- > From: Rob Helmer [mailto:ro...@ro...] > Sent: Saturday, February 01, 2003 2:03 AM > To: Zoltan Farkas > Cc: san...@li... > Subject: Re: [Sandweb-users] module checkout problem > > Hmm... I went to fix this, but I cannot reproduce it. > > The current CVS checkout of SandWeb is working for me, and when > I look at the command it looks ok ( the extra '/' looks silly but > it won't hurt anything ). > > I an completely up-to-date, and I'm able to checkout. > > CVS gives a "1" in quite a few situations, I'm wondering if you can > do another update and see if it happens again? > > Can you help me debug this on your setup? It works ok for me. > > On Fri, Jan 31, 2003 at 12:47:16PM -0500, Zoltan Farkas wrote: > > I made the update with the latest version: > > > > And I am getting the error: An error occurred. A call to the shell > gave > > us this error code : 1 > > > > I see the command : > > > > cd /usr/local/share/sandweb/users/admin/local// && > CVS_RSH=/usr/bin/ssh > > && export CVS_RSH && /usr/local/bin/cvs -q -d :ext:cvs@freak:/db/cvs > > checkout -d doclib 'doclib' > > > > The cd command looks like has a / that it shouldn't be there at the > end. > > > > Here is the entire log entry: > > > > Current filename(s) : doclib > > > > > > An error occurred. A call to the shell gave us this error code : 1 > > > > > > > > > > > > DEBUG: (main) action: sandbox - submit: Checkout > > DEBUG: (main) module_description: > > DEBUG: (main) loading prefs > > DEBUG: (main) > > $VAR1 = bless( { > > 'log_obj' => bless( { > > 'log_dir' => '/var/log', > > 'toggle' => { > > 'debug' => '1', > > 'log' => '1' > > }, > > 'debug_msgs' => [ > > '(main) > action: > > sandbox - submit: Checkout', > > '(main) > > module_description: > > ', > > '(main) > loading > > prefs' > > ] > > }, 'SandWeb::Log' ), > > 'repo' => { > > 'local' => { > > 'password' => 'cvs123', > > 'connection' => 'SSH', > > 'remember_repo_password' => > > 'on', > > 'name' => 'local', > > 'root' => '/db/cvs', > > 'type' => 'CVS', > > 'server' => 'freak', > > 'module' => {}, > > 'username' => 'cvs' > > } > > }, > > 'personal' => { > > 'confirm_delete' => 'on', > > 'full_name' => 'Zoltan Farkas' > > }, > > 'config_file' => '.user.cfg', > > 'config_dir' => > '/usr/local/share/sandweb/users/admin' > > }, 'SandWeb::Config' ); > > > > DEBUG: (SandWeb::Config) module_description = '' > > DEBUG: (main) write_config() > > DEBUG: (main) module_name: > > DEBUG: (main) username: admin > > DEBUG: (main) location: > > DEBUG: (main) main_window_url: http://freak/cgi-bin/sandweb.cgi > > DEBUG: (main) Repo name: local > > DEBUG: (main) Repo root: /db/cvs > > DEBUG: (main) VCS sandbox: > /usr/local/share/sandweb/users/admin/local// > > DEBUG: (main) Repo type: CVS > > DEBUG: (main) Filename(s): doclib > > DEBUG: (SandWeb::Repository) Performing checkout operation > > DEBUG: (SandWeb::Repository) Params: file doclib > > DEBUG: (SandWeb::Repository::cvs) Performing checkout operation > > DEBUG: (SandWeb::Repository::cvs) Params: checkout -d doclib > > DEBUG: (SandWeb::Repository::cvs) File: doclib > > DEBUG: (SandWeb::Repository::cvs) Creating Shell object > > DEBUG: (SandWeb::Shell) VCS call to Unix shell > > DEBUG: (SandWeb::Shell) VCS command is : cd > > /usr/local/share/sandweb/users/admin/local// && CVS_RSH=/usr/bin/ssh > && > > export CVS_RSH && /usr/local/bin/cvs -q -d :ext:cvs@freak:/db/cvs > > checkout -d doclib 'doclib' > > DEBUG: (SandWeb::Shell) Using VCS username/password > > DEBUG: (SandWeb::Shell) Full command is : > /usr/local/bin/sandweb-expect > > vcs /usr/local/share/sandweb/users/admin/passwd "cd > > /usr/local/share/sandweb/users/admin/local// && CVS_RSH=/usr/bin/ssh > && > > export CVS_RSH && /usr/local/bin/cvs -q -d :ext:cvs@freak:/db/cvs > > checkout -d doclib 'doclib'" > > DEBUG: (SandWeb::File) removing file : > > /usr/local/share/sandweb/users/admin/passwd > > DEBUG: (SandWeb::File::Unix) removing file : > > /usr/local/share/sandweb/users/admin/passwd > > DEBUG: (SandWeb::Shell) VCS call to Unix shell > > DEBUG: (SandWeb::Shell) VCS command is : rm > > "/usr/local/share/sandweb/users/admin/passwd" > > DEBUG: (SandWeb::Shell) Not using VCS username/password > > DEBUG: (SandWeb::File::Unix) error code : > > > > > > > > --zoly > > > > -----Original Message----- > > From: Rob Helmer [mailto:ro...@ro...] > > Sent: Friday, January 31, 2003 12:20 PM > > To: Zoltan Farkas > > Cc: san...@li... > > Subject: RE: [Sandweb-users] module checkout problem > > > > Excellent :) I'm glad it's working for you. > > > > I made a couple checkins last night, one of them fixes a bug with > > commit, and the other was obscuring some cvs error messages. > > > > You should do a "cvs update" on the sandweb codebase and do another > > "make install". > > You shouldn't have to reconfigure anything, it should "just work". > > > > Right now I don't know of any bugs in the latest cvs version of > SandWeb, > > > > let me know if you find anything. I'd like to release the beta soon. > > > > On Fri, 31 Jan 2003 8:33AM -0800, Zoltan Farkas wrote: > > > > > > I found the problem: > > > > > > .profile is not loaded when cvs is calling ssh, so my PATH was not > set > > > to where cvs was (usr/local/bin). When a user does a login ssh the > > > profile is loaded. > > > > > > So I corrected this and now everything seems to work. > > > > > > thanks > > > > > > > > > -----Original Message----- > > > From: Rob Helmer [mailto:ro...@ro...] > > > Sent: Thursday, January 30, 2003 7:48 PM > > > To: Zoltan Farkas > > > Subject: Re: [Sandweb-users] module checkout problem > > > > > > hmm.. ok, I am not really sure why CVS isn't working then. It's > > > saying the the server is giving it EOF, if doing : > > > > > > CVS_RSH=ssh > > > export CVS_RSH > > > > > > and a CVS command on the command line doesn't work, it's definitely > > > not going to work in sandweb :) > > > > > > > > > On Thu, Jan 30, 2003 at 07:15:57PM -0500, Zoltan Farkas wrote: > > >> That's what happens > > >> > > >> $ ssh cvs@freak > > >> cvs@freak's password: > > >> Last login: Thu Jan 30 08:48:28 2003 from freak.daxtechno > > >> Sun Microsystems Inc. SunOS 5.9 Generic May 2002 > > >> $ which cvs > > >> /usr/local/bin/cvs > > >> $ cvs server > > >> > > >> and it holds term ..... > > >> > > >> > > >> --zoly > > >> > > >> > > >> -----Original Message----- > > >> From: Rob Helmer [mailto:ro...@ro...] > > >> Sent: Thursday, January 30, 2003 7:16 PM > > >> To: Zoltan Farkas > > >> Subject: Re: [Sandweb-users] module checkout problem > > >> > > >> what if you "ssh cvs@freak" and at the prompt try "which cvs", > > >> "cvs server" should put the CVS on the other side into server > > >> mode and hold that term until you hang up. > > >> > > >> > > >> On Thu, Jan 30, 2003 at 07:03:10PM -0500, Zoltan Farkas wrote: > > >> > This is what happens: > > >> > > > >> > $ ssh cvs@freak cvs server > > >> > cvs@freak's password: > > >> > $ > > >> > > > >> > > > >> > --zoly > > >> > > > >> > > > >> > -----Original Message----- > > >> > From: Rob Helmer [mailto:ro...@ro...] > > >> > Sent: Thursday, January 30, 2003 7:06 PM > > >> > To: Zoltan Farkas > > >> > Subject: Re: [Sandweb-users] module checkout problem > > >> > > > >> > hmm.. very strange. What if you do "ssh cvs@freak cvs server"? > > >> > > > >> > > > >> > On Thu, Jan 30, 2003 at 06:42:31PM -0500, Zoltan Farkas wrote: > > >> > > (127)oracle@/opt/oracle/product/8.1.7/dbs>which ssh > > >> > > /usr/bin/ssh > > >> > > > > >> > > --zoly > > >> > > > > >> > > > > >> > > -----Original Message----- > > >> > > From: Rob Helmer [mailto:ro...@ro...] > > >> > > Sent: Thursday, January 30, 2003 6:43 PM > > >> > > To: Zoltan Farkas > > >> > > Subject: Re: [Sandweb-users] module checkout problem > > >> > > > > >> > > type "which ssh" > > >> > > > > >> > > > > >> > > On Thu, Jan 30, 2003 at 06:08:28PM -0500, Zoltan Farkas wrote: > > >> > > > SSH seems to work: > > >> > > > > > >> > > > $ ssh cvs@freak > > >> > > > cvs@freak's password: > > >> > > > Last login: Thu Jan 30 05:04:39 2003 from 192.168.0.8 > > >> > > > Sun Microsystems Inc. SunOS 5.9 Generic May 2002 > > >> > > > $ > > >> > > > > > >> > > > --zoly > > >> > > > > > >> > > > -----Original Message----- > > >> > > > From: Rob Helmer [mailto:ro...@ro...] > > >> > > > Sent: Thursday, January 30, 2003 6:11 PM > > >> > > > To: Zoltan Farkas > > >> > > > Subject: Re: [Sandweb-users] module checkout problem > > >> > > > > > >> > > > It's definitely an SSH-related problem. > > >> > > > > > >> > > > > > >> > > > On Thu, Jan 30, 2003 at 06:04:17PM -0500, Zoltan Farkas > wrote: > > >> > > > > > > >> > > > > The following line works: > > >> > > > > $ /usr/local/bin/cvs -q -d /db/cvs checkout -d doclib > > >> 'doclib' > > >> > > > > > > >> > > > > U doclib/test > > >> > > > > U doclib/test.txt > > >> > > > > > > >> > > > > But the following : > > >> > > > > > > >> > > > > $ export CVS_RSH=/usr/bin/ssh > > >> > > > > $ /usr/local/bin/cvs -q -d :ext:cvs@freak:/db/cvs checkout > > -d > > >> > doclib > > >> > > > > 'doclib' > > >> > > > > cvs@freak's password: > > >> > > > > cvs [checkout aborted]: end of file from server (consult > > >> above > > >> > > > messages > > >> > > > > if any) > > >> > > > > > > >> > > > > and I am entering the correct password ... > > >> > > > > > > >> > > > > --zoly > > >> > > > > > > >> > > > > > > >> > > > > > > >> > > > > -----Original Message----- > > >> > > > > From: Rob Helmer [mailto:ro...@ro...] > > >> > > > > Sent: Thursday, January 30, 2003 5:44 PM > > >> > > > > To: Zoltan Farkas > > >> > > > > Cc: san...@li... > > >> > > > > Subject: Re: [Sandweb-users] module checkout problem > > >> > > > > > > >> > > > > On Thu, Jan 30, 2003 at 04:59:17PM -0500, Zoltan Farkas > > >> wrote: > > >> > > > > > I have problems checking out a module from CVS using SSH > > >> > > > > > > > >> > > > > > I have here the debug message dump: > > >> > > > > > > >> > > > > > > >> > > > > Hello, > > >> > > > > > > >> > > > > > > >> > > > > > Current filename(s) : doclib > > >> > > > > > > > >> > > > > > cvs [checkout aborted]: end of file from server (consult > > > above > > >> > > > > messages > > >> > > > > > if any) > > >> > > > > > > >> > > > > > > >> > > > > Either CVS can't talk to SSH, or the SSH server is not > > > accepting > > >> > > > > connections. > > >> > > > > > > >> > > > > Which OS is this BTW? > > >> > > > > > > >> > > > > Looks like this is your full command : > > >> > > > > > > >> > > > > DEBUG: (SandWeb::Shell) Full command is : > > >> > > > /usr/local/bin/sandweb-expect > > >> > > > > vcs /usr/local/share/sandweb/users/admin/passwd "cd > > >> > > > > /usr/local/share/sandweb/users/admin/local// && > > >> > CVS_RSH=/usr/bin/ssh > > >> > > > && > > >> > > > > export CVS_RSH && /usr/local/bin/cvs -q -d > > >> :ext:cvs@freak:/db/cvs > > >> > > > > checkout -d doclib 'doclib'" > > >> > > > > > > >> > > > > Make sure that "/usr/bin/ssh" is the correct path for SSH, > > > this > > >> is > > >> > > set > > >> > > > > upon install and is configured in sandweb.cfg > > >> > > > > > > >> > > > > Also, try running this from the command line in your > regular > > >> user > > >> > > > > account : > > >> > > > > > > >> > > > > CVS_RSH=/usr/bin/ssh && export CVS_RSH && > /usr/local/bin/cvs > > > -q > > >> -d > > >> > > > > :ext:cvs@freak:/db/cvs checkout -d doclib 'doclib' > > >> > > > > > > >> > > > > Let us know if that works. > > >> > > > > > > >> > > > > > > >> > > > > > > >> > > > > Thanks, > > >> > > > > Rob > > >> > > > > > > > >> > > > > > > > >> > > > > > DEBUG: (main) action: sandbox - submit: Checkout > > >> > > > > > DEBUG: (main) module_description: > > >> > > > > > DEBUG: (main) loading prefs > > >> > > > > > DEBUG: (main) > > >> > > > > > $VAR1 = bless( { > > >> > > > > > 'log_obj' => bless( { > > >> > > > > > 'log_dir' => > > >> '/var/log', > > >> > > > > > 'toggle' => { > > >> > > > > > > > >> 'debug' > > >> => > > >> > > '1', > > >> > > > > > > 'log' > > > => > > >> > '1' > > >> > > > > > }, > > >> > > > > > 'debug_msgs' => [ > > >> > > > > > > > >> '(main) > > >> > > > > action: > > >> > > > > > sandbox - submit: Checkout', > > >> > > > > > > > >> '(main) > > >> > > > > > module_description: > > >> > > > > > ', > > >> > > > > > > > >> '(main) > > >> > > > > loading > > >> > > > > > prefs' > > >> > > > > > ] > > >> > > > > > }, 'SandWeb::Log' > ), > > >> > > > > > 'repo' => { > > >> > > > > > 'local' => { > > >> > > > > > 'password' => > > >> 'cvs123', > > >> > > > > > 'connection' => > > > 'SSH', > > >> > > > > > > > >> 'remember_repo_password' > > >> > > => > > >> > > > > > 'on', > > >> > > > > > 'name' => > 'local', > > >> > > > > > 'root' => > > >> '/db/cvs', > > >> > > > > > 'type' => 'CVS', > > >> > > > > > 'server' => > > >> 'freak', > > >> > > > > > 'module' => {}, > > >> > > > > > 'username' => > > 'cvs' > > >> > > > > > } > > >> > > > > > }, > > >> > > > > > 'personal' => { > > >> > > > > > 'confirm_delete' => 'on', > > >> > > > > > 'full_name' => 'Zoltan > > > Farkas' > > >> > > > > > }, > > >> > > > > > 'config_file' => '.user.cfg', > > >> > > > > > 'config_dir' => > > >> > > > > '/usr/local/share/sandweb/users/admin' > > >> > > > > > }, 'SandWeb::Config' ); > > >> > > > > > > > >> > > > > > DEBUG: (SandWeb::Config) module_description = '' > > >> > > > > > DEBUG: (main) write_config() > > >> > > > > > DEBUG: (main) module_name: > > >> > > > > > DEBUG: (main) username: admin > > >> > > > > > DEBUG: (main) location: > > >> > > > > > DEBUG: (main) main_window_url: > > >> > > > > > http://freak/cgi-bin/sandweb.cgi?action=sandbox > > >> > > > > > DEBUG: (main) Repo name: local > > >> > > > > > DEBUG: (main) Repo root: /db/cvs > > >> > > > > > DEBUG: (main) VCS sandbox: > > >> > > > > /usr/local/share/sandweb/users/admin/local// > > >> > > > > > DEBUG: (main) Repo type: CVS > > >> > > > > > DEBUG: (main) Filename(s): doclib > > >> > > > > > DEBUG: (SandWeb::Repository) Performing checkout > operation > > >> > > > > > DEBUG: (SandWeb::Repository) Params: file doclib > > >> > > > > > DEBUG: (SandWeb::Repository::cvs) Performing checkout > > >> operation > > >> > > > > > DEBUG: (SandWeb::Repository::cvs) Params: checkout -d > > >> doclib > > >> > > > > > DEBUG: (SandWeb::Repository::cvs) File: doclib > > >> > > > > > DEBUG: (SandWeb::Repository::cvs) Creating Shell object > > >> > > > > > DEBUG: (SandWeb::Shell) VCS call to Unix shell > > >> > > > > > DEBUG: (SandWeb::Shell) VCS command is : cd > > >> > > > > > /usr/local/share/sandweb/users/admin/local// && > > >> > > CVS_RSH=/usr/bin/ssh > > >> > > > > && > > >> > > > > > export CVS_RSH && /usr/local/bin/cvs -q -d > > >> > :ext:cvs@freak:/db/cvs > > >> > > > > > checkout -d doclib 'doclib' > > >> > > > > > DEBUG: (SandWeb::Shell) Using VCS username/password > > >> > > > > > DEBUG: (SandWeb::Shell) Full command is : > > >> > > > > /usr/local/bin/sandweb-expect > > >> > > > > > vcs /usr/local/share/sandweb/users/admin/passwd "cd > > >> > > > > > /usr/local/share/sandweb/users/admin/local// && > > >> > > CVS_RSH=/usr/bin/ssh > > >> > > > > && > > >> > > > > > export CVS_RSH && /usr/local/bin/cvs -q -d > > >> > :ext:cvs@freak:/db/cvs > > >> > > > > > checkout -d doclib 'doclib'" > > >> > > > > > DEBUG: (SandWeb::File) removing file : > > >> > > > > > /usr/local/share/sandweb/users/admin/passwd > > >> > > > > > DEBUG: (SandWeb::File::Unix) removing file : > > >> > > > > > /usr/local/share/sandweb/users/admin/passwd > > >> > > > > > DEBUG: (SandWeb::Shell) VCS call to Unix shell > > >> > > > > > DEBUG: (SandWeb::Shell) VCS command is : rm > > >> > > > > > "/usr/local/share/sandweb/users/admin/passwd" > > >> > > > > > DEBUG: (SandWeb::Shell) Not using VCS username/password > > >> > > > > > DEBUG: (SandWeb::File::Unix) error code : > > >> > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > Anybody knows why? > > >> > > > > > > > >> > > > > > --zoly > > >> > > > > > > >> > > > > > >> > > > > >> > > > >> > > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld http://www.vasoftware.com > _______________________________________________ > Sandweb-users mailing list > San...@li... > https://lists.sourceforge.net/lists/listinfo/sandweb-users > |
From: Zoltan F. <zo...@da...> - 2003-02-04 15:34:48
|
I have problems with commit, here is the error: I think the following fails : cd /usr/local/share/sandweb/users/admin/local/doclib//Clients/Jo There is a // in there =20 SandWeb : VCS commit =20 =20 =20 =20 =20 =20 Zoly changed it =20 Current filename(s) : IT Mission Company Profile1.doc=20 =20 An error occurred. A call to the shell gave us this error code : 1 =20 =20 =20 =20 =20 DEBUG: (main) action: vcs - submit: 1 DEBUG: (main) module_description:=20 DEBUG: (main) loading prefs DEBUG: (main)=20 $VAR1 =3D bless( { 'log_obj' =3D> bless( { 'log_dir' =3D> '/var/log', 'toggle' =3D> { 'debug' =3D> '1', 'log' =3D> '1' }, 'debug_msgs' =3D> [ '(main) action: vcs - submit: 1', '(main) module_description:=20 ', '(main) loading prefs' ] }, 'SandWeb::Log' ), 'repo' =3D> { 'local' =3D> { 'password' =3D> 'cvs123', 'connection' =3D> 'SSH', 'remember_repo_password' =3D> 'on', 'name' =3D> 'local', 'server' =3D> 'freak', 'type' =3D> 'CVS', 'root' =3D> '/db/cvs', 'module' =3D> { 'doclib' =3D> { 'name' =3D> 'doclib', =20 'description' =3D> '' } }, 'username' =3D> 'cvs' } }, 'personal' =3D> { 'confirm_delete' =3D> 'on', 'full_name' =3D> 'Zoltan Farkas' }, 'config_file' =3D> '.user.cfg', 'config_dir' =3D> = '/usr/local/share/sandweb/users/admin' }, 'SandWeb::Config' ); DEBUG: (main) module_name: doclib DEBUG: (main) username: admin DEBUG: (main) location: /Clients/Jo DEBUG: (main) main_window_url:=20 DEBUG: (main) Repo name: local DEBUG: (main) Repo root: /db/cvs DEBUG: (main) VCS sandbox: /usr/local/share/sandweb/users/admin/local/doclib//Clients/Jo DEBUG: (main) Repo type: CVS DEBUG: (main) Filename(s): IT Mission Company Profile1.doc DEBUG: (SandWeb::Repository) Performing commit operation DEBUG: (SandWeb::Repository) Params: message Zoly changed it file IT Mission Company Profile1.doc DEBUG: (SandWeb::Repository::cvs) Performing commit operation DEBUG: (SandWeb::Repository::cvs) Params: commit -m 'Zoly changed it' DEBUG: (SandWeb::Repository::cvs) File: IT Mission Company Profile1.doc DEBUG: (SandWeb::Repository::cvs) Creating Shell object DEBUG: (SandWeb::Shell) VCS call to Unix shell DEBUG: (SandWeb::Shell) VCS command is : cd /usr/local/share/sandweb/users/admin/local/doclib//Clients/Jo && CVS_RSH=3D/usr/bin/ssh && export CVS_RSH && /usr/local/bin/cvs -q -d :ext:cvs@freak:/db/cvs commit -m 'Zoly changed it' 'IT Mission Company Profile1.doc' DEBUG: (SandWeb::Shell) Using VCS username/password DEBUG: (SandWeb::Shell) Full command is : /usr/local/bin/sandweb-expect vcs /usr/local/share/sandweb/users/admin/passwd "cd /usr/local/share/sandweb/users/admin/local/doclib//Clients/Jo && CVS_RSH=3D/usr/bin/ssh && export CVS_RSH && /usr/local/bin/cvs -q -d :ext:cvs@freak:/db/cvs commit -m 'Zoly changed it' 'IT Mission Company Profile1.doc'" DEBUG: (SandWeb::File) removing file : /usr/local/share/sandweb/users/admin/passwd DEBUG: (SandWeb::File::Unix) removing file : /usr/local/share/sandweb/users/admin/passwd DEBUG: (SandWeb::Shell) VCS call to Unix shell DEBUG: (SandWeb::Shell) VCS command is : rm "/usr/local/share/sandweb/users/admin/passwd" DEBUG: (SandWeb::Shell) Not using VCS username/password DEBUG: (SandWeb::File::Unix) error code : Zoltan Farkas Manager of Software Products Dax Technologies Corp, www.daxtechnologies.com Phone: 732 203 1784 ext 106 Fax: 732 203 1786 Email: zo...@da... =20 -----Original Message----- From: Rob Helmer [mailto:ro...@ro...]=20 Sent: Saturday, February 01, 2003 2:03 AM To: Zoltan Farkas Cc: san...@li... Subject: Re: [Sandweb-users] module checkout problem Hmm... I went to fix this, but I cannot reproduce it. The current CVS checkout of SandWeb is working for me, and when I look at the command it looks ok ( the extra '/' looks silly but it won't hurt anything ). I an completely up-to-date, and I'm able to checkout. CVS gives a "1" in quite a few situations, I'm wondering if you can do another update and see if it happens again?=20 Can you help me debug this on your setup? It works ok for me. On Fri, Jan 31, 2003 at 12:47:16PM -0500, Zoltan Farkas wrote: > I made the update with the latest version: >=20 > And I am getting the error: An error occurred. A call to the shell gave > us this error code : 1 >=20 > I see the command : >=20 > cd /usr/local/share/sandweb/users/admin/local// && CVS_RSH=3D/usr/bin/ssh > && export CVS_RSH && /usr/local/bin/cvs -q -d :ext:cvs@freak:/db/cvs > checkout -d doclib 'doclib' >=20 > The cd command looks like has a / that it shouldn't be there at the end. >=20 > Here is the entire log entry: >=20 > Current filename(s) : doclib=20 >=20 > =20 > An error occurred. A call to the shell gave us this error code : 1 =20 >=20 > =20 > =20 > =20 > =20 > DEBUG: (main) action: sandbox - submit: Checkout > DEBUG: (main) module_description:=20 > DEBUG: (main) loading prefs > DEBUG: (main)=20 > $VAR1 =3D bless( { > 'log_obj' =3D> bless( { > 'log_dir' =3D> '/var/log', > 'toggle' =3D> { > 'debug' =3D> '1', > 'log' =3D> '1' > }, > 'debug_msgs' =3D> [ > '(main) action: > sandbox - submit: Checkout', > '(main) > module_description:=20 > ', > '(main) loading > prefs' > ] > }, 'SandWeb::Log' ), > 'repo' =3D> { > 'local' =3D> { > 'password' =3D> 'cvs123', > 'connection' =3D> 'SSH', > 'remember_repo_password' =3D> > 'on', > 'name' =3D> 'local', > 'root' =3D> '/db/cvs', > 'type' =3D> 'CVS', > 'server' =3D> 'freak', > 'module' =3D> {}, > 'username' =3D> 'cvs' > } > }, > 'personal' =3D> { > 'confirm_delete' =3D> 'on', > 'full_name' =3D> 'Zoltan Farkas' > }, > 'config_file' =3D> '.user.cfg', > 'config_dir' =3D> '/usr/local/share/sandweb/users/admin' > }, 'SandWeb::Config' ); >=20 > DEBUG: (SandWeb::Config) module_description =3D ''=20 > DEBUG: (main) write_config() > DEBUG: (main) module_name:=20 > DEBUG: (main) username: admin > DEBUG: (main) location:=20 > DEBUG: (main) main_window_url: http://freak/cgi-bin/sandweb.cgi > DEBUG: (main) Repo name: local > DEBUG: (main) Repo root: /db/cvs > DEBUG: (main) VCS sandbox: /usr/local/share/sandweb/users/admin/local// > DEBUG: (main) Repo type: CVS > DEBUG: (main) Filename(s): doclib > DEBUG: (SandWeb::Repository) Performing checkout operation > DEBUG: (SandWeb::Repository) Params: file doclib > DEBUG: (SandWeb::Repository::cvs) Performing checkout operation > DEBUG: (SandWeb::Repository::cvs) Params: checkout -d doclib > DEBUG: (SandWeb::Repository::cvs) File: doclib > DEBUG: (SandWeb::Repository::cvs) Creating Shell object > DEBUG: (SandWeb::Shell) VCS call to Unix shell > DEBUG: (SandWeb::Shell) VCS command is : cd > /usr/local/share/sandweb/users/admin/local// && CVS_RSH=3D/usr/bin/ssh && > export CVS_RSH && /usr/local/bin/cvs -q -d :ext:cvs@freak:/db/cvs > checkout -d doclib 'doclib' > DEBUG: (SandWeb::Shell) Using VCS username/password > DEBUG: (SandWeb::Shell) Full command is : /usr/local/bin/sandweb-expect > vcs /usr/local/share/sandweb/users/admin/passwd "cd > /usr/local/share/sandweb/users/admin/local// && CVS_RSH=3D/usr/bin/ssh && > export CVS_RSH && /usr/local/bin/cvs -q -d :ext:cvs@freak:/db/cvs > checkout -d doclib 'doclib'" > DEBUG: (SandWeb::File) removing file : > /usr/local/share/sandweb/users/admin/passwd > DEBUG: (SandWeb::File::Unix) removing file : > /usr/local/share/sandweb/users/admin/passwd > DEBUG: (SandWeb::Shell) VCS call to Unix shell > DEBUG: (SandWeb::Shell) VCS command is : rm > "/usr/local/share/sandweb/users/admin/passwd" > DEBUG: (SandWeb::Shell) Not using VCS username/password > DEBUG: (SandWeb::File::Unix) error code : >=20 >=20 >=20 > --zoly >=20 > -----Original Message----- > From: Rob Helmer [mailto:ro...@ro...]=20 > Sent: Friday, January 31, 2003 12:20 PM > To: Zoltan Farkas > Cc: san...@li... > Subject: RE: [Sandweb-users] module checkout problem >=20 > Excellent :) I'm glad it's working for you. >=20 > I made a couple checkins last night, one of them fixes a bug with=20 > commit, and the other was obscuring some cvs error messages. >=20 > You should do a "cvs update" on the sandweb codebase and do another=20 > "make install". > You shouldn't have to reconfigure anything, it should "just work". >=20 > Right now I don't know of any bugs in the latest cvs version of SandWeb, >=20 > let me know if you find anything. I'd like to release the beta soon. >=20 > On Fri, 31 Jan 2003 8:33AM -0800, Zoltan Farkas wrote: > > > > I found the problem: > > > > .profile is not loaded when cvs is calling ssh, so my PATH was not set > > to where cvs was (usr/local/bin). When a user does a login ssh the > > profile is loaded. > > > > So I corrected this and now everything seems to work. > > > > thanks > > > > > > -----Original Message----- > > From: Rob Helmer [mailto:ro...@ro...] > > Sent: Thursday, January 30, 2003 7:48 PM > > To: Zoltan Farkas > > Subject: Re: [Sandweb-users] module checkout problem > > > > hmm.. ok, I am not really sure why CVS isn't working then. It's > > saying the the server is giving it EOF, if doing : > > > > CVS_RSH=3Dssh > > export CVS_RSH > > > > and a CVS command on the command line doesn't work, it's definitely > > not going to work in sandweb :) > > > > > > On Thu, Jan 30, 2003 at 07:15:57PM -0500, Zoltan Farkas wrote: > >> That's what happens > >> > >> $ ssh cvs@freak > >> cvs@freak's password: > >> Last login: Thu Jan 30 08:48:28 2003 from freak.daxtechno > >> Sun Microsystems Inc. SunOS 5.9 Generic May 2002 > >> $ which cvs > >> /usr/local/bin/cvs > >> $ cvs server > >> > >> and it holds term ..... > >> > >> > >> --zoly > >> > >> > >> -----Original Message----- > >> From: Rob Helmer [mailto:ro...@ro...] > >> Sent: Thursday, January 30, 2003 7:16 PM > >> To: Zoltan Farkas > >> Subject: Re: [Sandweb-users] module checkout problem > >> > >> what if you "ssh cvs@freak" and at the prompt try "which cvs", > >> "cvs server" should put the CVS on the other side into server > >> mode and hold that term until you hang up. > >> > >> > >> On Thu, Jan 30, 2003 at 07:03:10PM -0500, Zoltan Farkas wrote: > >> > This is what happens: > >> > > >> > $ ssh cvs@freak cvs server > >> > cvs@freak's password: > >> > $ > >> > > >> > > >> > --zoly > >> > > >> > > >> > -----Original Message----- > >> > From: Rob Helmer [mailto:ro...@ro...] > >> > Sent: Thursday, January 30, 2003 7:06 PM > >> > To: Zoltan Farkas > >> > Subject: Re: [Sandweb-users] module checkout problem > >> > > >> > hmm.. very strange. What if you do "ssh cvs@freak cvs server"? > >> > > >> > > >> > On Thu, Jan 30, 2003 at 06:42:31PM -0500, Zoltan Farkas wrote: > >> > > (127)oracle@/opt/oracle/product/8.1.7/dbs>which ssh > >> > > /usr/bin/ssh > >> > > > >> > > --zoly > >> > > > >> > > > >> > > -----Original Message----- > >> > > From: Rob Helmer [mailto:ro...@ro...] > >> > > Sent: Thursday, January 30, 2003 6:43 PM > >> > > To: Zoltan Farkas > >> > > Subject: Re: [Sandweb-users] module checkout problem > >> > > > >> > > type "which ssh" > >> > > > >> > > > >> > > On Thu, Jan 30, 2003 at 06:08:28PM -0500, Zoltan Farkas wrote: > >> > > > SSH seems to work: > >> > > > > >> > > > $ ssh cvs@freak > >> > > > cvs@freak's password: > >> > > > Last login: Thu Jan 30 05:04:39 2003 from 192.168.0.8 > >> > > > Sun Microsystems Inc. SunOS 5.9 Generic May 2002 > >> > > > $ > >> > > > > >> > > > --zoly > >> > > > > >> > > > -----Original Message----- > >> > > > From: Rob Helmer [mailto:ro...@ro...] > >> > > > Sent: Thursday, January 30, 2003 6:11 PM > >> > > > To: Zoltan Farkas > >> > > > Subject: Re: [Sandweb-users] module checkout problem > >> > > > > >> > > > It's definitely an SSH-related problem. > >> > > > > >> > > > > >> > > > On Thu, Jan 30, 2003 at 06:04:17PM -0500, Zoltan Farkas wrote: > >> > > > > > >> > > > > The following line works: > >> > > > > $ /usr/local/bin/cvs -q -d /db/cvs checkout -d doclib=20 > >> 'doclib' > >> > > > > > >> > > > > U doclib/test > >> > > > > U doclib/test.txt > >> > > > > > >> > > > > But the following : > >> > > > > > >> > > > > $ export CVS_RSH=3D/usr/bin/ssh > >> > > > > $ /usr/local/bin/cvs -q -d :ext:cvs@freak:/db/cvs checkout > -d > >> > doclib > >> > > > > 'doclib' > >> > > > > cvs@freak's password: > >> > > > > cvs [checkout aborted]: end of file from server (consult=20 > >> above > >> > > > messages > >> > > > > if any) > >> > > > > > >> > > > > and I am entering the correct password ... > >> > > > > > >> > > > > --zoly > >> > > > > > >> > > > > > >> > > > > > >> > > > > -----Original Message----- > >> > > > > From: Rob Helmer [mailto:ro...@ro...] > >> > > > > Sent: Thursday, January 30, 2003 5:44 PM > >> > > > > To: Zoltan Farkas > >> > > > > Cc: san...@li... > >> > > > > Subject: Re: [Sandweb-users] module checkout problem > >> > > > > > >> > > > > On Thu, Jan 30, 2003 at 04:59:17PM -0500, Zoltan Farkas=20 > >> wrote: > >> > > > > > I have problems checking out a module from CVS using SSH > >> > > > > > > >> > > > > > I have here the debug message dump: > >> > > > > > >> > > > > > >> > > > > Hello, > >> > > > > > >> > > > > > >> > > > > > Current filename(s) : doclib > >> > > > > > > >> > > > > > cvs [checkout aborted]: end of file from server (consult > > above > >> > > > > messages > >> > > > > > if any) > >> > > > > > >> > > > > > >> > > > > Either CVS can't talk to SSH, or the SSH server is not > > accepting > >> > > > > connections. > >> > > > > > >> > > > > Which OS is this BTW? > >> > > > > > >> > > > > Looks like this is your full command : > >> > > > > > >> > > > > DEBUG: (SandWeb::Shell) Full command is : > >> > > > /usr/local/bin/sandweb-expect > >> > > > > vcs /usr/local/share/sandweb/users/admin/passwd "cd > >> > > > > /usr/local/share/sandweb/users/admin/local// && > >> > CVS_RSH=3D/usr/bin/ssh > >> > > > && > >> > > > > export CVS_RSH && /usr/local/bin/cvs -q -d > >> :ext:cvs@freak:/db/cvs > >> > > > > checkout -d doclib 'doclib'" > >> > > > > > >> > > > > Make sure that "/usr/bin/ssh" is the correct path for SSH, > > this > >> is > >> > > set > >> > > > > upon install and is configured in sandweb.cfg > >> > > > > > >> > > > > Also, try running this from the command line in your regular > >> user > >> > > > > account : > >> > > > > > >> > > > > CVS_RSH=3D/usr/bin/ssh && export CVS_RSH && /usr/local/bin/cvs > > -q > >> -d > >> > > > > :ext:cvs@freak:/db/cvs checkout -d doclib 'doclib' > >> > > > > > >> > > > > Let us know if that works. > >> > > > > > >> > > > > > >> > > > > > >> > > > > Thanks, > >> > > > > Rob > >> > > > > > > >> > > > > > > >> > > > > > DEBUG: (main) action: sandbox - submit: Checkout > >> > > > > > DEBUG: (main) module_description: > >> > > > > > DEBUG: (main) loading prefs > >> > > > > > DEBUG: (main) > >> > > > > > $VAR1 =3D bless( { > >> > > > > > 'log_obj' =3D> bless( { > >> > > > > > 'log_dir' =3D> > >> '/var/log', > >> > > > > > 'toggle' =3D> { > >> > > > > > =20 > >> 'debug' > >> =3D> > >> > > '1', > >> > > > > > 'log' > > =3D> > >> > '1' > >> > > > > > }, > >> > > > > > 'debug_msgs' =3D> = [ > >> > > > > > > >> '(main) > >> > > > > action: > >> > > > > > sandbox - submit: Checkout', > >> > > > > > > >> '(main) > >> > > > > > module_description: > >> > > > > > ', > >> > > > > > > >> '(main) > >> > > > > loading > >> > > > > > prefs' > >> > > > > > ] > >> > > > > > }, 'SandWeb::Log' ), > >> > > > > > 'repo' =3D> { > >> > > > > > 'local' =3D> { > >> > > > > > 'password' =3D> > >> 'cvs123', > >> > > > > > 'connection' = =3D> > > 'SSH', > >> > > > > > > >> 'remember_repo_password' > >> > > =3D> > >> > > > > > 'on', > >> > > > > > 'name' =3D> 'local', > >> > > > > > 'root' =3D>=20 > >> '/db/cvs', > >> > > > > > 'type' =3D> = 'CVS', > >> > > > > > 'server' =3D>=20 > >> 'freak', > >> > > > > > 'module' =3D> = {}, > >> > > > > > 'username' =3D> > 'cvs' > >> > > > > > } > >> > > > > > }, > >> > > > > > 'personal' =3D> { > >> > > > > > 'confirm_delete' =3D> = 'on', > >> > > > > > 'full_name' =3D> 'Zoltan > > Farkas' > >> > > > > > }, > >> > > > > > 'config_file' =3D> '.user.cfg', > >> > > > > > 'config_dir' =3D> > >> > > > > '/usr/local/share/sandweb/users/admin' > >> > > > > > }, 'SandWeb::Config' ); > >> > > > > > > >> > > > > > DEBUG: (SandWeb::Config) module_description =3D '' > >> > > > > > DEBUG: (main) write_config() > >> > > > > > DEBUG: (main) module_name: > >> > > > > > DEBUG: (main) username: admin > >> > > > > > DEBUG: (main) location: > >> > > > > > DEBUG: (main) main_window_url: > >> > > > > > http://freak/cgi-bin/sandweb.cgi?action=3Dsandbox > >> > > > > > DEBUG: (main) Repo name: local > >> > > > > > DEBUG: (main) Repo root: /db/cvs > >> > > > > > DEBUG: (main) VCS sandbox: > >> > > > > /usr/local/share/sandweb/users/admin/local// > >> > > > > > DEBUG: (main) Repo type: CVS > >> > > > > > DEBUG: (main) Filename(s): doclib > >> > > > > > DEBUG: (SandWeb::Repository) Performing checkout operation > >> > > > > > DEBUG: (SandWeb::Repository) Params: file doclib > >> > > > > > DEBUG: (SandWeb::Repository::cvs) Performing checkout > >> operation > >> > > > > > DEBUG: (SandWeb::Repository::cvs) Params: checkout -d=20 > >> doclib > >> > > > > > DEBUG: (SandWeb::Repository::cvs) File: doclib > >> > > > > > DEBUG: (SandWeb::Repository::cvs) Creating Shell object > >> > > > > > DEBUG: (SandWeb::Shell) VCS call to Unix shell > >> > > > > > DEBUG: (SandWeb::Shell) VCS command is : cd > >> > > > > > /usr/local/share/sandweb/users/admin/local// && > >> > > CVS_RSH=3D/usr/bin/ssh > >> > > > > && > >> > > > > > export CVS_RSH && /usr/local/bin/cvs -q -d > >> > :ext:cvs@freak:/db/cvs > >> > > > > > checkout -d doclib 'doclib' > >> > > > > > DEBUG: (SandWeb::Shell) Using VCS username/password > >> > > > > > DEBUG: (SandWeb::Shell) Full command is : > >> > > > > /usr/local/bin/sandweb-expect > >> > > > > > vcs /usr/local/share/sandweb/users/admin/passwd "cd > >> > > > > > /usr/local/share/sandweb/users/admin/local// && > >> > > CVS_RSH=3D/usr/bin/ssh > >> > > > > && > >> > > > > > export CVS_RSH && /usr/local/bin/cvs -q -d > >> > :ext:cvs@freak:/db/cvs > >> > > > > > checkout -d doclib 'doclib'" > >> > > > > > DEBUG: (SandWeb::File) removing file : > >> > > > > > /usr/local/share/sandweb/users/admin/passwd > >> > > > > > DEBUG: (SandWeb::File::Unix) removing file : > >> > > > > > /usr/local/share/sandweb/users/admin/passwd > >> > > > > > DEBUG: (SandWeb::Shell) VCS call to Unix shell > >> > > > > > DEBUG: (SandWeb::Shell) VCS command is : rm > >> > > > > > "/usr/local/share/sandweb/users/admin/passwd" > >> > > > > > DEBUG: (SandWeb::Shell) Not using VCS username/password > >> > > > > > DEBUG: (SandWeb::File::Unix) error code : > >> > > > > > > >> > > > > > > >> > > > > > > >> > > > > > > >> > > > > > Anybody knows why? > >> > > > > > > >> > > > > > --zoly > >> > > > > > >> > > > > >> > > > >> > > >> >=20 |
From: Rob H. <ro...@ro...> - 2003-02-03 07:19:58
|
Hello, I'm pretty happy with the current state of the SandWeb CVS, I'd like to do a beta release if noone finds any show-stoppers. Anyone interested in helping a pre-beta test? It's easy! 1) check out the latest SandWeb sources from CVS : cvs -d:pserver:ano...@cv...:/cvsroot/sandweb login cvs -z3 -d:pserver:ano...@cv...:/cvsroot/sandweb co sandweb 2) read the INSTALL and README files to install SandWeb ( Debian users can find a debian/ dir that can be used to make a .deb package, which will have all the dependencies you need specified ). 3) use SandWeb as your regular CVS client Please note that there are some issues with the "pserver" protocol, namely that it is pretty much impossible to support securely with a stock SandWeb install. "local" works without fuss, but it's terribly insecure ( all users have the same access, the access of the user running Apache ). I'm thinking about writing a HOWTO on setting Apache up for individual users to run SandWeb more securely ( e.g. the "local" and "pserver" protocols, and SSH keys would all work great in this scenario ). If this is useful to anyone, please let me know and I'll help you get it running ( and we can document the procedure ). Thanks, Rob Helmer |
From: Rob H. <ro...@ro...> - 2003-02-01 07:04:06
|
Hmm... I went to fix this, but I cannot reproduce it. The current CVS checkout of SandWeb is working for me, and when I look at the command it looks ok ( the extra '/' looks silly but it won't hurt anything ). I an completely up-to-date, and I'm able to checkout. CVS gives a "1" in quite a few situations, I'm wondering if you can do another update and see if it happens again? Can you help me debug this on your setup? It works ok for me. On Fri, Jan 31, 2003 at 12:47:16PM -0500, Zoltan Farkas wrote: > I made the update with the latest version: > > And I am getting the error: An error occurred. A call to the shell gave > us this error code : 1 > > I see the command : > > cd /usr/local/share/sandweb/users/admin/local// && CVS_RSH=/usr/bin/ssh > && export CVS_RSH && /usr/local/bin/cvs -q -d :ext:cvs@freak:/db/cvs > checkout -d doclib 'doclib' > > The cd command looks like has a / that it shouldn't be there at the end. > > Here is the entire log entry: > > Current filename(s) : doclib > > > An error occurred. A call to the shell gave us this error code : 1 > > > > > > DEBUG: (main) action: sandbox - submit: Checkout > DEBUG: (main) module_description: > DEBUG: (main) loading prefs > DEBUG: (main) > $VAR1 = bless( { > 'log_obj' => bless( { > 'log_dir' => '/var/log', > 'toggle' => { > 'debug' => '1', > 'log' => '1' > }, > 'debug_msgs' => [ > '(main) action: > sandbox - submit: Checkout', > '(main) > module_description: > ', > '(main) loading > prefs' > ] > }, 'SandWeb::Log' ), > 'repo' => { > 'local' => { > 'password' => 'cvs123', > 'connection' => 'SSH', > 'remember_repo_password' => > 'on', > 'name' => 'local', > 'root' => '/db/cvs', > 'type' => 'CVS', > 'server' => 'freak', > 'module' => {}, > 'username' => 'cvs' > } > }, > 'personal' => { > 'confirm_delete' => 'on', > 'full_name' => 'Zoltan Farkas' > }, > 'config_file' => '.user.cfg', > 'config_dir' => '/usr/local/share/sandweb/users/admin' > }, 'SandWeb::Config' ); > > DEBUG: (SandWeb::Config) module_description = '' > DEBUG: (main) write_config() > DEBUG: (main) module_name: > DEBUG: (main) username: admin > DEBUG: (main) location: > DEBUG: (main) main_window_url: http://freak/cgi-bin/sandweb.cgi > DEBUG: (main) Repo name: local > DEBUG: (main) Repo root: /db/cvs > DEBUG: (main) VCS sandbox: /usr/local/share/sandweb/users/admin/local// > DEBUG: (main) Repo type: CVS > DEBUG: (main) Filename(s): doclib > DEBUG: (SandWeb::Repository) Performing checkout operation > DEBUG: (SandWeb::Repository) Params: file doclib > DEBUG: (SandWeb::Repository::cvs) Performing checkout operation > DEBUG: (SandWeb::Repository::cvs) Params: checkout -d doclib > DEBUG: (SandWeb::Repository::cvs) File: doclib > DEBUG: (SandWeb::Repository::cvs) Creating Shell object > DEBUG: (SandWeb::Shell) VCS call to Unix shell > DEBUG: (SandWeb::Shell) VCS command is : cd > /usr/local/share/sandweb/users/admin/local// && CVS_RSH=/usr/bin/ssh && > export CVS_RSH && /usr/local/bin/cvs -q -d :ext:cvs@freak:/db/cvs > checkout -d doclib 'doclib' > DEBUG: (SandWeb::Shell) Using VCS username/password > DEBUG: (SandWeb::Shell) Full command is : /usr/local/bin/sandweb-expect > vcs /usr/local/share/sandweb/users/admin/passwd "cd > /usr/local/share/sandweb/users/admin/local// && CVS_RSH=/usr/bin/ssh && > export CVS_RSH && /usr/local/bin/cvs -q -d :ext:cvs@freak:/db/cvs > checkout -d doclib 'doclib'" > DEBUG: (SandWeb::File) removing file : > /usr/local/share/sandweb/users/admin/passwd > DEBUG: (SandWeb::File::Unix) removing file : > /usr/local/share/sandweb/users/admin/passwd > DEBUG: (SandWeb::Shell) VCS call to Unix shell > DEBUG: (SandWeb::Shell) VCS command is : rm > "/usr/local/share/sandweb/users/admin/passwd" > DEBUG: (SandWeb::Shell) Not using VCS username/password > DEBUG: (SandWeb::File::Unix) error code : > > > > --zoly > > -----Original Message----- > From: Rob Helmer [mailto:ro...@ro...] > Sent: Friday, January 31, 2003 12:20 PM > To: Zoltan Farkas > Cc: san...@li... > Subject: RE: [Sandweb-users] module checkout problem > > Excellent :) I'm glad it's working for you. > > I made a couple checkins last night, one of them fixes a bug with > commit, and the other was obscuring some cvs error messages. > > You should do a "cvs update" on the sandweb codebase and do another > "make install". > You shouldn't have to reconfigure anything, it should "just work". > > Right now I don't know of any bugs in the latest cvs version of SandWeb, > > let me know if you find anything. I'd like to release the beta soon. > > On Fri, 31 Jan 2003 8:33AM -0800, Zoltan Farkas wrote: > > > > I found the problem: > > > > .profile is not loaded when cvs is calling ssh, so my PATH was not set > > to where cvs was (usr/local/bin). When a user does a login ssh the > > profile is loaded. > > > > So I corrected this and now everything seems to work. > > > > thanks > > > > > > -----Original Message----- > > From: Rob Helmer [mailto:ro...@ro...] > > Sent: Thursday, January 30, 2003 7:48 PM > > To: Zoltan Farkas > > Subject: Re: [Sandweb-users] module checkout problem > > > > hmm.. ok, I am not really sure why CVS isn't working then. It's > > saying the the server is giving it EOF, if doing : > > > > CVS_RSH=ssh > > export CVS_RSH > > > > and a CVS command on the command line doesn't work, it's definitely > > not going to work in sandweb :) > > > > > > On Thu, Jan 30, 2003 at 07:15:57PM -0500, Zoltan Farkas wrote: > >> That's what happens > >> > >> $ ssh cvs@freak > >> cvs@freak's password: > >> Last login: Thu Jan 30 08:48:28 2003 from freak.daxtechno > >> Sun Microsystems Inc. SunOS 5.9 Generic May 2002 > >> $ which cvs > >> /usr/local/bin/cvs > >> $ cvs server > >> > >> and it holds term ..... > >> > >> > >> --zoly > >> > >> > >> -----Original Message----- > >> From: Rob Helmer [mailto:ro...@ro...] > >> Sent: Thursday, January 30, 2003 7:16 PM > >> To: Zoltan Farkas > >> Subject: Re: [Sandweb-users] module checkout problem > >> > >> what if you "ssh cvs@freak" and at the prompt try "which cvs", > >> "cvs server" should put the CVS on the other side into server > >> mode and hold that term until you hang up. > >> > >> > >> On Thu, Jan 30, 2003 at 07:03:10PM -0500, Zoltan Farkas wrote: > >> > This is what happens: > >> > > >> > $ ssh cvs@freak cvs server > >> > cvs@freak's password: > >> > $ > >> > > >> > > >> > --zoly > >> > > >> > > >> > -----Original Message----- > >> > From: Rob Helmer [mailto:ro...@ro...] > >> > Sent: Thursday, January 30, 2003 7:06 PM > >> > To: Zoltan Farkas > >> > Subject: Re: [Sandweb-users] module checkout problem > >> > > >> > hmm.. very strange. What if you do "ssh cvs@freak cvs server"? > >> > > >> > > >> > On Thu, Jan 30, 2003 at 06:42:31PM -0500, Zoltan Farkas wrote: > >> > > (127)oracle@/opt/oracle/product/8.1.7/dbs>which ssh > >> > > /usr/bin/ssh > >> > > > >> > > --zoly > >> > > > >> > > > >> > > -----Original Message----- > >> > > From: Rob Helmer [mailto:ro...@ro...] > >> > > Sent: Thursday, January 30, 2003 6:43 PM > >> > > To: Zoltan Farkas > >> > > Subject: Re: [Sandweb-users] module checkout problem > >> > > > >> > > type "which ssh" > >> > > > >> > > > >> > > On Thu, Jan 30, 2003 at 06:08:28PM -0500, Zoltan Farkas wrote: > >> > > > SSH seems to work: > >> > > > > >> > > > $ ssh cvs@freak > >> > > > cvs@freak's password: > >> > > > Last login: Thu Jan 30 05:04:39 2003 from 192.168.0.8 > >> > > > Sun Microsystems Inc. SunOS 5.9 Generic May 2002 > >> > > > $ > >> > > > > >> > > > --zoly > >> > > > > >> > > > -----Original Message----- > >> > > > From: Rob Helmer [mailto:ro...@ro...] > >> > > > Sent: Thursday, January 30, 2003 6:11 PM > >> > > > To: Zoltan Farkas > >> > > > Subject: Re: [Sandweb-users] module checkout problem > >> > > > > >> > > > It's definitely an SSH-related problem. > >> > > > > >> > > > > >> > > > On Thu, Jan 30, 2003 at 06:04:17PM -0500, Zoltan Farkas wrote: > >> > > > > > >> > > > > The following line works: > >> > > > > $ /usr/local/bin/cvs -q -d /db/cvs checkout -d doclib > >> 'doclib' > >> > > > > > >> > > > > U doclib/test > >> > > > > U doclib/test.txt > >> > > > > > >> > > > > But the following : > >> > > > > > >> > > > > $ export CVS_RSH=/usr/bin/ssh > >> > > > > $ /usr/local/bin/cvs -q -d :ext:cvs@freak:/db/cvs checkout > -d > >> > doclib > >> > > > > 'doclib' > >> > > > > cvs@freak's password: > >> > > > > cvs [checkout aborted]: end of file from server (consult > >> above > >> > > > messages > >> > > > > if any) > >> > > > > > >> > > > > and I am entering the correct password ... > >> > > > > > >> > > > > --zoly > >> > > > > > >> > > > > > >> > > > > > >> > > > > -----Original Message----- > >> > > > > From: Rob Helmer [mailto:ro...@ro...] > >> > > > > Sent: Thursday, January 30, 2003 5:44 PM > >> > > > > To: Zoltan Farkas > >> > > > > Cc: san...@li... > >> > > > > Subject: Re: [Sandweb-users] module checkout problem > >> > > > > > >> > > > > On Thu, Jan 30, 2003 at 04:59:17PM -0500, Zoltan Farkas > >> wrote: > >> > > > > > I have problems checking out a module from CVS using SSH > >> > > > > > > >> > > > > > I have here the debug message dump: > >> > > > > > >> > > > > > >> > > > > Hello, > >> > > > > > >> > > > > > >> > > > > > Current filename(s) : doclib > >> > > > > > > >> > > > > > cvs [checkout aborted]: end of file from server (consult > > above > >> > > > > messages > >> > > > > > if any) > >> > > > > > >> > > > > > >> > > > > Either CVS can't talk to SSH, or the SSH server is not > > accepting > >> > > > > connections. > >> > > > > > >> > > > > Which OS is this BTW? > >> > > > > > >> > > > > Looks like this is your full command : > >> > > > > > >> > > > > DEBUG: (SandWeb::Shell) Full command is : > >> > > > /usr/local/bin/sandweb-expect > >> > > > > vcs /usr/local/share/sandweb/users/admin/passwd "cd > >> > > > > /usr/local/share/sandweb/users/admin/local// && > >> > CVS_RSH=/usr/bin/ssh > >> > > > && > >> > > > > export CVS_RSH && /usr/local/bin/cvs -q -d > >> :ext:cvs@freak:/db/cvs > >> > > > > checkout -d doclib 'doclib'" > >> > > > > > >> > > > > Make sure that "/usr/bin/ssh" is the correct path for SSH, > > this > >> is > >> > > set > >> > > > > upon install and is configured in sandweb.cfg > >> > > > > > >> > > > > Also, try running this from the command line in your regular > >> user > >> > > > > account : > >> > > > > > >> > > > > CVS_RSH=/usr/bin/ssh && export CVS_RSH && /usr/local/bin/cvs > > -q > >> -d > >> > > > > :ext:cvs@freak:/db/cvs checkout -d doclib 'doclib' > >> > > > > > >> > > > > Let us know if that works. > >> > > > > > >> > > > > > >> > > > > > >> > > > > Thanks, > >> > > > > Rob > >> > > > > > > >> > > > > > > >> > > > > > DEBUG: (main) action: sandbox - submit: Checkout > >> > > > > > DEBUG: (main) module_description: > >> > > > > > DEBUG: (main) loading prefs > >> > > > > > DEBUG: (main) > >> > > > > > $VAR1 = bless( { > >> > > > > > 'log_obj' => bless( { > >> > > > > > 'log_dir' => > >> '/var/log', > >> > > > > > 'toggle' => { > >> > > > > > > >> 'debug' > >> => > >> > > '1', > >> > > > > > 'log' > > => > >> > '1' > >> > > > > > }, > >> > > > > > 'debug_msgs' => [ > >> > > > > > > >> '(main) > >> > > > > action: > >> > > > > > sandbox - submit: Checkout', > >> > > > > > > >> '(main) > >> > > > > > module_description: > >> > > > > > ', > >> > > > > > > >> '(main) > >> > > > > loading > >> > > > > > prefs' > >> > > > > > ] > >> > > > > > }, 'SandWeb::Log' ), > >> > > > > > 'repo' => { > >> > > > > > 'local' => { > >> > > > > > 'password' => > >> 'cvs123', > >> > > > > > 'connection' => > > 'SSH', > >> > > > > > > >> 'remember_repo_password' > >> > > => > >> > > > > > 'on', > >> > > > > > 'name' => 'local', > >> > > > > > 'root' => > >> '/db/cvs', > >> > > > > > 'type' => 'CVS', > >> > > > > > 'server' => > >> 'freak', > >> > > > > > 'module' => {}, > >> > > > > > 'username' => > 'cvs' > >> > > > > > } > >> > > > > > }, > >> > > > > > 'personal' => { > >> > > > > > 'confirm_delete' => 'on', > >> > > > > > 'full_name' => 'Zoltan > > Farkas' > >> > > > > > }, > >> > > > > > 'config_file' => '.user.cfg', > >> > > > > > 'config_dir' => > >> > > > > '/usr/local/share/sandweb/users/admin' > >> > > > > > }, 'SandWeb::Config' ); > >> > > > > > > >> > > > > > DEBUG: (SandWeb::Config) module_description = '' > >> > > > > > DEBUG: (main) write_config() > >> > > > > > DEBUG: (main) module_name: > >> > > > > > DEBUG: (main) username: admin > >> > > > > > DEBUG: (main) location: > >> > > > > > DEBUG: (main) main_window_url: > >> > > > > > http://freak/cgi-bin/sandweb.cgi?action=sandbox > >> > > > > > DEBUG: (main) Repo name: local > >> > > > > > DEBUG: (main) Repo root: /db/cvs > >> > > > > > DEBUG: (main) VCS sandbox: > >> > > > > /usr/local/share/sandweb/users/admin/local// > >> > > > > > DEBUG: (main) Repo type: CVS > >> > > > > > DEBUG: (main) Filename(s): doclib > >> > > > > > DEBUG: (SandWeb::Repository) Performing checkout operation > >> > > > > > DEBUG: (SandWeb::Repository) Params: file doclib > >> > > > > > DEBUG: (SandWeb::Repository::cvs) Performing checkout > >> operation > >> > > > > > DEBUG: (SandWeb::Repository::cvs) Params: checkout -d > >> doclib > >> > > > > > DEBUG: (SandWeb::Repository::cvs) File: doclib > >> > > > > > DEBUG: (SandWeb::Repository::cvs) Creating Shell object > >> > > > > > DEBUG: (SandWeb::Shell) VCS call to Unix shell > >> > > > > > DEBUG: (SandWeb::Shell) VCS command is : cd > >> > > > > > /usr/local/share/sandweb/users/admin/local// && > >> > > CVS_RSH=/usr/bin/ssh > >> > > > > && > >> > > > > > export CVS_RSH && /usr/local/bin/cvs -q -d > >> > :ext:cvs@freak:/db/cvs > >> > > > > > checkout -d doclib 'doclib' > >> > > > > > DEBUG: (SandWeb::Shell) Using VCS username/password > >> > > > > > DEBUG: (SandWeb::Shell) Full command is : > >> > > > > /usr/local/bin/sandweb-expect > >> > > > > > vcs /usr/local/share/sandweb/users/admin/passwd "cd > >> > > > > > /usr/local/share/sandweb/users/admin/local// && > >> > > CVS_RSH=/usr/bin/ssh > >> > > > > && > >> > > > > > export CVS_RSH && /usr/local/bin/cvs -q -d > >> > :ext:cvs@freak:/db/cvs > >> > > > > > checkout -d doclib 'doclib'" > >> > > > > > DEBUG: (SandWeb::File) removing file : > >> > > > > > /usr/local/share/sandweb/users/admin/passwd > >> > > > > > DEBUG: (SandWeb::File::Unix) removing file : > >> > > > > > /usr/local/share/sandweb/users/admin/passwd > >> > > > > > DEBUG: (SandWeb::Shell) VCS call to Unix shell > >> > > > > > DEBUG: (SandWeb::Shell) VCS command is : rm > >> > > > > > "/usr/local/share/sandweb/users/admin/passwd" > >> > > > > > DEBUG: (SandWeb::Shell) Not using VCS username/password > >> > > > > > DEBUG: (SandWeb::File::Unix) error code : > >> > > > > > > >> > > > > > > >> > > > > > > >> > > > > > > >> > > > > > Anybody knows why? > >> > > > > > > >> > > > > > --zoly > >> > > > > > >> > > > > >> > > > >> > > >> > |
From: Rob H. <ro...@ro...> - 2003-01-31 21:26:30
|
Ah, ok :) cool. Just wanted to cc this to the user's list, I will fix this tonight. On Fri, 31 Jan 2003 12:50PM -0800, Zoltan Farkas wrote: > I roled back, and it works. > > --zoly > > > -----Original Message----- > From: Rob Helmer [mailto:ro...@ro...] > Sent: Friday, January 31, 2003 3:39 PM > To: Zoltan Farkas > Cc: san...@li... > Subject: RE: [Sandweb-users] module checkout problem > > Ack! Sorry about that :) > > Hmm.. Not sure why it would get an error level of 1, can you roll > lib/SandWeb/Shell.pm back by one revision and see if that helps? > > I changed the quoting of cvs commands, it's possible that I fixed > commit > > and broke other cvs commands :p > > I will work on it tonight. > > Thanks! > > > On Fri, 31 Jan 2003 9:54AM -0800, Zoltan Farkas wrote: >> I made the update with the latest version: >> >> And I am getting the error: An error occurred. A call to the shell >> gave >> us this error code : 1 >> >> I see the command : >> >> cd /usr/local/share/sandweb/users/admin/local// && >> CVS_RSH=/usr/bin/ssh >> && export CVS_RSH && /usr/local/bin/cvs -q -d :ext:cvs@freak:/db/cvs >> checkout -d doclib 'doclib' >> >> The cd command looks like has a / that it shouldn't be there at the >> end. >> >> Here is the entire log entry: >> >> Current filename(s) : doclib >> >> >> An error occurred. A call to the shell gave us this error code : 1 >> >> >> >> >> >> DEBUG: (main) action: sandbox - submit: Checkout >> DEBUG: (main) module_description: >> DEBUG: (main) loading prefs >> DEBUG: (main) >> $VAR1 = bless( { >> 'log_obj' => bless( { >> 'log_dir' => '/var/log', >> 'toggle' => { >> 'debug' => '1', >> 'log' => '1' >> }, >> 'debug_msgs' => [ >> '(main) >> action: >> sandbox - submit: Checkout', >> '(main) >> module_description: >> ', >> '(main) >> loading >> prefs' >> ] >> }, 'SandWeb::Log' ), >> 'repo' => { >> 'local' => { >> 'password' => 'cvs123', >> 'connection' => 'SSH', >> 'remember_repo_password' => >> 'on', >> 'name' => 'local', >> 'root' => '/db/cvs', >> 'type' => 'CVS', >> 'server' => 'freak', >> 'module' => {}, >> 'username' => 'cvs' >> } >> }, >> 'personal' => { >> 'confirm_delete' => 'on', >> 'full_name' => 'Zoltan Farkas' >> }, >> 'config_file' => '.user.cfg', >> 'config_dir' => >> '/usr/local/share/sandweb/users/admin' >> }, 'SandWeb::Config' ); >> >> DEBUG: (SandWeb::Config) module_description = '' >> DEBUG: (main) write_config() >> DEBUG: (main) module_name: >> DEBUG: (main) username: admin >> DEBUG: (main) location: >> DEBUG: (main) main_window_url: http://freak/cgi-bin/sandweb.cgi >> DEBUG: (main) Repo name: local >> DEBUG: (main) Repo root: /db/cvs >> DEBUG: (main) VCS sandbox: >> /usr/local/share/sandweb/users/admin/local// >> DEBUG: (main) Repo type: CVS >> DEBUG: (main) Filename(s): doclib >> DEBUG: (SandWeb::Repository) Performing checkout operation >> DEBUG: (SandWeb::Repository) Params: file doclib >> DEBUG: (SandWeb::Repository::cvs) Performing checkout operation >> DEBUG: (SandWeb::Repository::cvs) Params: checkout -d doclib >> DEBUG: (SandWeb::Repository::cvs) File: doclib >> DEBUG: (SandWeb::Repository::cvs) Creating Shell object >> DEBUG: (SandWeb::Shell) VCS call to Unix shell >> DEBUG: (SandWeb::Shell) VCS command is : cd >> /usr/local/share/sandweb/users/admin/local// && CVS_RSH=/usr/bin/ssh >> && >> export CVS_RSH && /usr/local/bin/cvs -q -d :ext:cvs@freak:/db/cvs >> checkout -d doclib 'doclib' >> DEBUG: (SandWeb::Shell) Using VCS username/password >> DEBUG: (SandWeb::Shell) Full command is : >> /usr/local/bin/sandweb-expect >> vcs /usr/local/share/sandweb/users/admin/passwd "cd >> /usr/local/share/sandweb/users/admin/local// && CVS_RSH=/usr/bin/ssh >> && >> export CVS_RSH && /usr/local/bin/cvs -q -d :ext:cvs@freak:/db/cvs >> checkout -d doclib 'doclib'" >> DEBUG: (SandWeb::File) removing file : >> /usr/local/share/sandweb/users/admin/passwd >> DEBUG: (SandWeb::File::Unix) removing file : >> /usr/local/share/sandweb/users/admin/passwd >> DEBUG: (SandWeb::Shell) VCS call to Unix shell >> DEBUG: (SandWeb::Shell) VCS command is : rm >> "/usr/local/share/sandweb/users/admin/passwd" >> DEBUG: (SandWeb::Shell) Not using VCS username/password >> DEBUG: (SandWeb::File::Unix) error code : >> >> >> >> --zoly >> >> -----Original Message----- >> From: Rob Helmer [mailto:ro...@ro...] >> Sent: Friday, January 31, 2003 12:20 PM >> To: Zoltan Farkas >> Cc: san...@li... >> Subject: RE: [Sandweb-users] module checkout problem >> >> Excellent :) I'm glad it's working for you. >> >> I made a couple checkins last night, one of them fixes a bug with >> commit, and the other was obscuring some cvs error messages. >> >> You should do a "cvs update" on the sandweb codebase and do another >> "make install". >> You shouldn't have to reconfigure anything, it should "just work". >> >> Right now I don't know of any bugs in the latest cvs version of >> SandWeb, >> >> let me know if you find anything. I'd like to release the beta soon. >> >> On Fri, 31 Jan 2003 8:33AM -0800, Zoltan Farkas wrote: >>> >>> I found the problem: >>> >>> .profile is not loaded when cvs is calling ssh, so my PATH was not >>> set >>> to where cvs was (usr/local/bin). When a user does a login ssh the >>> profile is loaded. >>> >>> So I corrected this and now everything seems to work. >>> >>> thanks >>> >>> >>> -----Original Message----- >>> From: Rob Helmer [mailto:ro...@ro...] >>> Sent: Thursday, January 30, 2003 7:48 PM >>> To: Zoltan Farkas >>> Subject: Re: [Sandweb-users] module checkout problem >>> >>> hmm.. ok, I am not really sure why CVS isn't working then. It's >>> saying the the server is giving it EOF, if doing : >>> >>> CVS_RSH=ssh >>> export CVS_RSH >>> >>> and a CVS command on the command line doesn't work, it's definitely >>> not going to work in sandweb :) >>> >>> >>> On Thu, Jan 30, 2003 at 07:15:57PM -0500, Zoltan Farkas wrote: >>>> That's what happens >>>> >>>> $ ssh cvs@freak >>>> cvs@freak's password: >>>> Last login: Thu Jan 30 08:48:28 2003 from freak.daxtechno >>>> Sun Microsystems Inc. SunOS 5.9 Generic May 2002 >>>> $ which cvs >>>> /usr/local/bin/cvs >>>> $ cvs server >>>> >>>> and it holds term ..... >>>> >>>> >>>> --zoly >>>> >>>> >>>> -----Original Message----- >>>> From: Rob Helmer [mailto:ro...@ro...] >>>> Sent: Thursday, January 30, 2003 7:16 PM >>>> To: Zoltan Farkas >>>> Subject: Re: [Sandweb-users] module checkout problem >>>> >>>> what if you "ssh cvs@freak" and at the prompt try "which cvs", >>>> "cvs server" should put the CVS on the other side into server >>>> mode and hold that term until you hang up. >>>> >>>> >>>> On Thu, Jan 30, 2003 at 07:03:10PM -0500, Zoltan Farkas wrote: >>>> > This is what happens: >>>> > >>>> > $ ssh cvs@freak cvs server >>>> > cvs@freak's password: >>>> > $ >>>> > >>>> > >>>> > --zoly >>>> > >>>> > >>>> > -----Original Message----- >>>> > From: Rob Helmer [mailto:ro...@ro...] >>>> > Sent: Thursday, January 30, 2003 7:06 PM >>>> > To: Zoltan Farkas >>>> > Subject: Re: [Sandweb-users] module checkout problem >>>> > >>>> > hmm.. very strange. What if you do "ssh cvs@freak cvs server"? >>>> > >>>> > >>>> > On Thu, Jan 30, 2003 at 06:42:31PM -0500, Zoltan Farkas wrote: >>>> > > (127)oracle@/opt/oracle/product/8.1.7/dbs>which ssh >>>> > > /usr/bin/ssh >>>> > > >>>> > > --zoly >>>> > > >>>> > > >>>> > > -----Original Message----- >>>> > > From: Rob Helmer [mailto:ro...@ro...] >>>> > > Sent: Thursday, January 30, 2003 6:43 PM >>>> > > To: Zoltan Farkas >>>> > > Subject: Re: [Sandweb-users] module checkout problem >>>> > > >>>> > > type "which ssh" >>>> > > >>>> > > >>>> > > On Thu, Jan 30, 2003 at 06:08:28PM -0500, Zoltan Farkas wrote: >>>> > > > SSH seems to work: >>>> > > > >>>> > > > $ ssh cvs@freak >>>> > > > cvs@freak's password: >>>> > > > Last login: Thu Jan 30 05:04:39 2003 from 192.168.0.8 >>>> > > > Sun Microsystems Inc. SunOS 5.9 Generic May 2002 >>>> > > > $ >>>> > > > >>>> > > > --zoly >>>> > > > >>>> > > > -----Original Message----- >>>> > > > From: Rob Helmer [mailto:ro...@ro...] >>>> > > > Sent: Thursday, January 30, 2003 6:11 PM >>>> > > > To: Zoltan Farkas >>>> > > > Subject: Re: [Sandweb-users] module checkout problem >>>> > > > >>>> > > > It's definitely an SSH-related problem. >>>> > > > >>>> > > > >>>> > > > On Thu, Jan 30, 2003 at 06:04:17PM -0500, Zoltan Farkas > wrote: >>>> > > > > >>>> > > > > The following line works: >>>> > > > > $ /usr/local/bin/cvs -q -d /db/cvs checkout -d doclib >>>> 'doclib' >>>> > > > > >>>> > > > > U doclib/test >>>> > > > > U doclib/test.txt >>>> > > > > >>>> > > > > But the following : >>>> > > > > >>>> > > > > $ export CVS_RSH=/usr/bin/ssh >>>> > > > > $ /usr/local/bin/cvs -q -d :ext:cvs@freak:/db/cvs checkout >> -d >>>> > doclib >>>> > > > > 'doclib' >>>> > > > > cvs@freak's password: >>>> > > > > cvs [checkout aborted]: end of file from server (consult >>>> above >>>> > > > messages >>>> > > > > if any) >>>> > > > > >>>> > > > > and I am entering the correct password ... >>>> > > > > >>>> > > > > --zoly >>>> > > > > >>>> > > > > >>>> > > > > >>>> > > > > -----Original Message----- >>>> > > > > From: Rob Helmer [mailto:ro...@ro...] >>>> > > > > Sent: Thursday, January 30, 2003 5:44 PM >>>> > > > > To: Zoltan Farkas >>>> > > > > Cc: san...@li... >>>> > > > > Subject: Re: [Sandweb-users] module checkout problem >>>> > > > > >>>> > > > > On Thu, Jan 30, 2003 at 04:59:17PM -0500, Zoltan Farkas >>>> wrote: >>>> > > > > > I have problems checking out a module from CVS using SSH >>>> > > > > > >>>> > > > > > I have here the debug message dump: >>>> > > > > >>>> > > > > >>>> > > > > Hello, >>>> > > > > >>>> > > > > >>>> > > > > > Current filename(s) : doclib >>>> > > > > > >>>> > > > > > cvs [checkout aborted]: end of file from server (consult >>> above >>>> > > > > messages >>>> > > > > > if any) >>>> > > > > >>>> > > > > >>>> > > > > Either CVS can't talk to SSH, or the SSH server is not >>> accepting >>>> > > > > connections. >>>> > > > > >>>> > > > > Which OS is this BTW? >>>> > > > > >>>> > > > > Looks like this is your full command : >>>> > > > > >>>> > > > > DEBUG: (SandWeb::Shell) Full command is : >>>> > > > /usr/local/bin/sandweb-expect >>>> > > > > vcs /usr/local/share/sandweb/users/admin/passwd "cd >>>> > > > > /usr/local/share/sandweb/users/admin/local// && >>>> > CVS_RSH=/usr/bin/ssh >>>> > > > && >>>> > > > > export CVS_RSH && /usr/local/bin/cvs -q -d >>>> :ext:cvs@freak:/db/cvs >>>> > > > > checkout -d doclib 'doclib'" >>>> > > > > >>>> > > > > Make sure that "/usr/bin/ssh" is the correct path for SSH, >>> this >>>> is >>>> > > set >>>> > > > > upon install and is configured in sandweb.cfg >>>> > > > > >>>> > > > > Also, try running this from the command line in your > regular >>>> user >>>> > > > > account : >>>> > > > > >>>> > > > > CVS_RSH=/usr/bin/ssh && export CVS_RSH && > /usr/local/bin/cvs >>> -q >>>> -d >>>> > > > > :ext:cvs@freak:/db/cvs checkout -d doclib 'doclib' >>>> > > > > >>>> > > > > Let us know if that works. >>>> > > > > >>>> > > > > >>>> > > > > >>>> > > > > Thanks, >>>> > > > > Rob >>>> > > > > > >>>> > > > > > >>>> > > > > > DEBUG: (main) action: sandbox - submit: Checkout >>>> > > > > > DEBUG: (main) module_description: >>>> > > > > > DEBUG: (main) loading prefs >>>> > > > > > DEBUG: (main) >>>> > > > > > $VAR1 = bless( { >>>> > > > > > 'log_obj' => bless( { >>>> > > > > > 'log_dir' => >>>> '/var/log', >>>> > > > > > 'toggle' => { >>>> > > > > > >>>> 'debug' >>>> => >>>> > > '1', >>>> > > > > > > 'log' >>> => >>>> > '1' >>>> > > > > > }, >>>> > > > > > 'debug_msgs' => [ >>>> > > > > > >>>> '(main) >>>> > > > > action: >>>> > > > > > sandbox - submit: Checkout', >>>> > > > > > >>>> '(main) >>>> > > > > > module_description: >>>> > > > > > ', >>>> > > > > > >>>> '(main) >>>> > > > > loading >>>> > > > > > prefs' >>>> > > > > > ] >>>> > > > > > }, 'SandWeb::Log' > ), >>>> > > > > > 'repo' => { >>>> > > > > > 'local' => { >>>> > > > > > 'password' => >>>> 'cvs123', >>>> > > > > > 'connection' => >>> 'SSH', >>>> > > > > > >>>> 'remember_repo_password' >>>> > > => >>>> > > > > > 'on', >>>> > > > > > 'name' => > 'local', >>>> > > > > > 'root' => >>>> '/db/cvs', >>>> > > > > > 'type' => 'CVS', >>>> > > > > > 'server' => >>>> 'freak', >>>> > > > > > 'module' => {}, >>>> > > > > > 'username' => >> 'cvs' >>>> > > > > > } >>>> > > > > > }, >>>> > > > > > 'personal' => { >>>> > > > > > 'confirm_delete' => 'on', >>>> > > > > > 'full_name' => 'Zoltan >>> Farkas' >>>> > > > > > }, >>>> > > > > > 'config_file' => '.user.cfg', >>>> > > > > > 'config_dir' => >>>> > > > > '/usr/local/share/sandweb/users/admin' >>>> > > > > > }, 'SandWeb::Config' ); >>>> > > > > > >>>> > > > > > DEBUG: (SandWeb::Config) module_description = '' >>>> > > > > > DEBUG: (main) write_config() >>>> > > > > > DEBUG: (main) module_name: >>>> > > > > > DEBUG: (main) username: admin >>>> > > > > > DEBUG: (main) location: >>>> > > > > > DEBUG: (main) main_window_url: >>>> > > > > > http://freak/cgi-bin/sandweb.cgi?action=sandbox >>>> > > > > > DEBUG: (main) Repo name: local >>>> > > > > > DEBUG: (main) Repo root: /db/cvs >>>> > > > > > DEBUG: (main) VCS sandbox: >>>> > > > > /usr/local/share/sandweb/users/admin/local// >>>> > > > > > DEBUG: (main) Repo type: CVS >>>> > > > > > DEBUG: (main) Filename(s): doclib >>>> > > > > > DEBUG: (SandWeb::Repository) Performing checkout > operation >>>> > > > > > DEBUG: (SandWeb::Repository) Params: file doclib >>>> > > > > > DEBUG: (SandWeb::Repository::cvs) Performing checkout >>>> operation >>>> > > > > > DEBUG: (SandWeb::Repository::cvs) Params: checkout -d >>>> doclib >>>> > > > > > DEBUG: (SandWeb::Repository::cvs) File: doclib >>>> > > > > > DEBUG: (SandWeb::Repository::cvs) Creating Shell object >>>> > > > > > DEBUG: (SandWeb::Shell) VCS call to Unix shell >>>> > > > > > DEBUG: (SandWeb::Shell) VCS command is : cd >>>> > > > > > /usr/local/share/sandweb/users/admin/local// && >>>> > > CVS_RSH=/usr/bin/ssh >>>> > > > > && >>>> > > > > > export CVS_RSH && /usr/local/bin/cvs -q -d >>>> > :ext:cvs@freak:/db/cvs >>>> > > > > > checkout -d doclib 'doclib' >>>> > > > > > DEBUG: (SandWeb::Shell) Using VCS username/password >>>> > > > > > DEBUG: (SandWeb::Shell) Full command is : >>>> > > > > /usr/local/bin/sandweb-expect >>>> > > > > > vcs /usr/local/share/sandweb/users/admin/passwd "cd >>>> > > > > > /usr/local/share/sandweb/users/admin/local// && >>>> > > CVS_RSH=/usr/bin/ssh >>>> > > > > && >>>> > > > > > export CVS_RSH && /usr/local/bin/cvs -q -d >>>> > :ext:cvs@freak:/db/cvs >>>> > > > > > checkout -d doclib 'doclib'" >>>> > > > > > DEBUG: (SandWeb::File) removing file : >>>> > > > > > /usr/local/share/sandweb/users/admin/passwd >>>> > > > > > DEBUG: (SandWeb::File::Unix) removing file : >>>> > > > > > /usr/local/share/sandweb/users/admin/passwd >>>> > > > > > DEBUG: (SandWeb::Shell) VCS call to Unix shell >>>> > > > > > DEBUG: (SandWeb::Shell) VCS command is : rm >>>> > > > > > "/usr/local/share/sandweb/users/admin/passwd" >>>> > > > > > DEBUG: (SandWeb::Shell) Not using VCS username/password >>>> > > > > > DEBUG: (SandWeb::File::Unix) error code : >>>> > > > > > >>>> > > > > > >>>> > > > > > >>>> > > > > > >>>> > > > > > Anybody knows why? >>>> > > > > > >>>> > > > > > --zoly >>>> > > > > >>>> > > > >>>> > > >>>> > >>>> |
From: Rob H. <ro...@ro...> - 2003-01-31 20:40:00
|
Ack! Sorry about that :) Hmm.. Not sure why it would get an error level of 1, can you roll lib/SandWeb/Shell.pm back by one revision and see if that helps? I changed the quoting of cvs commands, it's possible that I fixed commit and broke other cvs commands :p I will work on it tonight. Thanks! On Fri, 31 Jan 2003 9:54AM -0800, Zoltan Farkas wrote: > I made the update with the latest version: > > And I am getting the error: An error occurred. A call to the shell > gave > us this error code : 1 > > I see the command : > > cd /usr/local/share/sandweb/users/admin/local// && > CVS_RSH=/usr/bin/ssh > && export CVS_RSH && /usr/local/bin/cvs -q -d :ext:cvs@freak:/db/cvs > checkout -d doclib 'doclib' > > The cd command looks like has a / that it shouldn't be there at the > end. > > Here is the entire log entry: > > Current filename(s) : doclib > > > An error occurred. A call to the shell gave us this error code : 1 > > > > > > DEBUG: (main) action: sandbox - submit: Checkout > DEBUG: (main) module_description: > DEBUG: (main) loading prefs > DEBUG: (main) > $VAR1 = bless( { > 'log_obj' => bless( { > 'log_dir' => '/var/log', > 'toggle' => { > 'debug' => '1', > 'log' => '1' > }, > 'debug_msgs' => [ > '(main) > action: > sandbox - submit: Checkout', > '(main) > module_description: > ', > '(main) > loading > prefs' > ] > }, 'SandWeb::Log' ), > 'repo' => { > 'local' => { > 'password' => 'cvs123', > 'connection' => 'SSH', > 'remember_repo_password' => > 'on', > 'name' => 'local', > 'root' => '/db/cvs', > 'type' => 'CVS', > 'server' => 'freak', > 'module' => {}, > 'username' => 'cvs' > } > }, > 'personal' => { > 'confirm_delete' => 'on', > 'full_name' => 'Zoltan Farkas' > }, > 'config_file' => '.user.cfg', > 'config_dir' => > '/usr/local/share/sandweb/users/admin' > }, 'SandWeb::Config' ); > > DEBUG: (SandWeb::Config) module_description = '' > DEBUG: (main) write_config() > DEBUG: (main) module_name: > DEBUG: (main) username: admin > DEBUG: (main) location: > DEBUG: (main) main_window_url: http://freak/cgi-bin/sandweb.cgi > DEBUG: (main) Repo name: local > DEBUG: (main) Repo root: /db/cvs > DEBUG: (main) VCS sandbox: > /usr/local/share/sandweb/users/admin/local// > DEBUG: (main) Repo type: CVS > DEBUG: (main) Filename(s): doclib > DEBUG: (SandWeb::Repository) Performing checkout operation > DEBUG: (SandWeb::Repository) Params: file doclib > DEBUG: (SandWeb::Repository::cvs) Performing checkout operation > DEBUG: (SandWeb::Repository::cvs) Params: checkout -d doclib > DEBUG: (SandWeb::Repository::cvs) File: doclib > DEBUG: (SandWeb::Repository::cvs) Creating Shell object > DEBUG: (SandWeb::Shell) VCS call to Unix shell > DEBUG: (SandWeb::Shell) VCS command is : cd > /usr/local/share/sandweb/users/admin/local// && CVS_RSH=/usr/bin/ssh > && > export CVS_RSH && /usr/local/bin/cvs -q -d :ext:cvs@freak:/db/cvs > checkout -d doclib 'doclib' > DEBUG: (SandWeb::Shell) Using VCS username/password > DEBUG: (SandWeb::Shell) Full command is : > /usr/local/bin/sandweb-expect > vcs /usr/local/share/sandweb/users/admin/passwd "cd > /usr/local/share/sandweb/users/admin/local// && CVS_RSH=/usr/bin/ssh > && > export CVS_RSH && /usr/local/bin/cvs -q -d :ext:cvs@freak:/db/cvs > checkout -d doclib 'doclib'" > DEBUG: (SandWeb::File) removing file : > /usr/local/share/sandweb/users/admin/passwd > DEBUG: (SandWeb::File::Unix) removing file : > /usr/local/share/sandweb/users/admin/passwd > DEBUG: (SandWeb::Shell) VCS call to Unix shell > DEBUG: (SandWeb::Shell) VCS command is : rm > "/usr/local/share/sandweb/users/admin/passwd" > DEBUG: (SandWeb::Shell) Not using VCS username/password > DEBUG: (SandWeb::File::Unix) error code : > > > > --zoly > > -----Original Message----- > From: Rob Helmer [mailto:ro...@ro...] > Sent: Friday, January 31, 2003 12:20 PM > To: Zoltan Farkas > Cc: san...@li... > Subject: RE: [Sandweb-users] module checkout problem > > Excellent :) I'm glad it's working for you. > > I made a couple checkins last night, one of them fixes a bug with > commit, and the other was obscuring some cvs error messages. > > You should do a "cvs update" on the sandweb codebase and do another > "make install". > You shouldn't have to reconfigure anything, it should "just work". > > Right now I don't know of any bugs in the latest cvs version of > SandWeb, > > let me know if you find anything. I'd like to release the beta soon. > > On Fri, 31 Jan 2003 8:33AM -0800, Zoltan Farkas wrote: >> >> I found the problem: >> >> .profile is not loaded when cvs is calling ssh, so my PATH was not >> set >> to where cvs was (usr/local/bin). When a user does a login ssh the >> profile is loaded. >> >> So I corrected this and now everything seems to work. >> >> thanks >> >> >> -----Original Message----- >> From: Rob Helmer [mailto:ro...@ro...] >> Sent: Thursday, January 30, 2003 7:48 PM >> To: Zoltan Farkas >> Subject: Re: [Sandweb-users] module checkout problem >> >> hmm.. ok, I am not really sure why CVS isn't working then. It's >> saying the the server is giving it EOF, if doing : >> >> CVS_RSH=ssh >> export CVS_RSH >> >> and a CVS command on the command line doesn't work, it's definitely >> not going to work in sandweb :) >> >> >> On Thu, Jan 30, 2003 at 07:15:57PM -0500, Zoltan Farkas wrote: >>> That's what happens >>> >>> $ ssh cvs@freak >>> cvs@freak's password: >>> Last login: Thu Jan 30 08:48:28 2003 from freak.daxtechno >>> Sun Microsystems Inc. SunOS 5.9 Generic May 2002 >>> $ which cvs >>> /usr/local/bin/cvs >>> $ cvs server >>> >>> and it holds term ..... >>> >>> >>> --zoly >>> >>> >>> -----Original Message----- >>> From: Rob Helmer [mailto:ro...@ro...] >>> Sent: Thursday, January 30, 2003 7:16 PM >>> To: Zoltan Farkas >>> Subject: Re: [Sandweb-users] module checkout problem >>> >>> what if you "ssh cvs@freak" and at the prompt try "which cvs", >>> "cvs server" should put the CVS on the other side into server >>> mode and hold that term until you hang up. >>> >>> >>> On Thu, Jan 30, 2003 at 07:03:10PM -0500, Zoltan Farkas wrote: >>> > This is what happens: >>> > >>> > $ ssh cvs@freak cvs server >>> > cvs@freak's password: >>> > $ >>> > >>> > >>> > --zoly >>> > >>> > >>> > -----Original Message----- >>> > From: Rob Helmer [mailto:ro...@ro...] >>> > Sent: Thursday, January 30, 2003 7:06 PM >>> > To: Zoltan Farkas >>> > Subject: Re: [Sandweb-users] module checkout problem >>> > >>> > hmm.. very strange. What if you do "ssh cvs@freak cvs server"? >>> > >>> > >>> > On Thu, Jan 30, 2003 at 06:42:31PM -0500, Zoltan Farkas wrote: >>> > > (127)oracle@/opt/oracle/product/8.1.7/dbs>which ssh >>> > > /usr/bin/ssh >>> > > >>> > > --zoly >>> > > >>> > > >>> > > -----Original Message----- >>> > > From: Rob Helmer [mailto:ro...@ro...] >>> > > Sent: Thursday, January 30, 2003 6:43 PM >>> > > To: Zoltan Farkas >>> > > Subject: Re: [Sandweb-users] module checkout problem >>> > > >>> > > type "which ssh" >>> > > >>> > > >>> > > On Thu, Jan 30, 2003 at 06:08:28PM -0500, Zoltan Farkas wrote: >>> > > > SSH seems to work: >>> > > > >>> > > > $ ssh cvs@freak >>> > > > cvs@freak's password: >>> > > > Last login: Thu Jan 30 05:04:39 2003 from 192.168.0.8 >>> > > > Sun Microsystems Inc. SunOS 5.9 Generic May 2002 >>> > > > $ >>> > > > >>> > > > --zoly >>> > > > >>> > > > -----Original Message----- >>> > > > From: Rob Helmer [mailto:ro...@ro...] >>> > > > Sent: Thursday, January 30, 2003 6:11 PM >>> > > > To: Zoltan Farkas >>> > > > Subject: Re: [Sandweb-users] module checkout problem >>> > > > >>> > > > It's definitely an SSH-related problem. >>> > > > >>> > > > >>> > > > On Thu, Jan 30, 2003 at 06:04:17PM -0500, Zoltan Farkas wrote: >>> > > > > >>> > > > > The following line works: >>> > > > > $ /usr/local/bin/cvs -q -d /db/cvs checkout -d doclib >>> 'doclib' >>> > > > > >>> > > > > U doclib/test >>> > > > > U doclib/test.txt >>> > > > > >>> > > > > But the following : >>> > > > > >>> > > > > $ export CVS_RSH=/usr/bin/ssh >>> > > > > $ /usr/local/bin/cvs -q -d :ext:cvs@freak:/db/cvs checkout > -d >>> > doclib >>> > > > > 'doclib' >>> > > > > cvs@freak's password: >>> > > > > cvs [checkout aborted]: end of file from server (consult >>> above >>> > > > messages >>> > > > > if any) >>> > > > > >>> > > > > and I am entering the correct password ... >>> > > > > >>> > > > > --zoly >>> > > > > >>> > > > > >>> > > > > >>> > > > > -----Original Message----- >>> > > > > From: Rob Helmer [mailto:ro...@ro...] >>> > > > > Sent: Thursday, January 30, 2003 5:44 PM >>> > > > > To: Zoltan Farkas >>> > > > > Cc: san...@li... >>> > > > > Subject: Re: [Sandweb-users] module checkout problem >>> > > > > >>> > > > > On Thu, Jan 30, 2003 at 04:59:17PM -0500, Zoltan Farkas >>> wrote: >>> > > > > > I have problems checking out a module from CVS using SSH >>> > > > > > >>> > > > > > I have here the debug message dump: >>> > > > > >>> > > > > >>> > > > > Hello, >>> > > > > >>> > > > > >>> > > > > > Current filename(s) : doclib >>> > > > > > >>> > > > > > cvs [checkout aborted]: end of file from server (consult >> above >>> > > > > messages >>> > > > > > if any) >>> > > > > >>> > > > > >>> > > > > Either CVS can't talk to SSH, or the SSH server is not >> accepting >>> > > > > connections. >>> > > > > >>> > > > > Which OS is this BTW? >>> > > > > >>> > > > > Looks like this is your full command : >>> > > > > >>> > > > > DEBUG: (SandWeb::Shell) Full command is : >>> > > > /usr/local/bin/sandweb-expect >>> > > > > vcs /usr/local/share/sandweb/users/admin/passwd "cd >>> > > > > /usr/local/share/sandweb/users/admin/local// && >>> > CVS_RSH=/usr/bin/ssh >>> > > > && >>> > > > > export CVS_RSH && /usr/local/bin/cvs -q -d >>> :ext:cvs@freak:/db/cvs >>> > > > > checkout -d doclib 'doclib'" >>> > > > > >>> > > > > Make sure that "/usr/bin/ssh" is the correct path for SSH, >> this >>> is >>> > > set >>> > > > > upon install and is configured in sandweb.cfg >>> > > > > >>> > > > > Also, try running this from the command line in your regular >>> user >>> > > > > account : >>> > > > > >>> > > > > CVS_RSH=/usr/bin/ssh && export CVS_RSH && /usr/local/bin/cvs >> -q >>> -d >>> > > > > :ext:cvs@freak:/db/cvs checkout -d doclib 'doclib' >>> > > > > >>> > > > > Let us know if that works. >>> > > > > >>> > > > > >>> > > > > >>> > > > > Thanks, >>> > > > > Rob >>> > > > > > >>> > > > > > >>> > > > > > DEBUG: (main) action: sandbox - submit: Checkout >>> > > > > > DEBUG: (main) module_description: >>> > > > > > DEBUG: (main) loading prefs >>> > > > > > DEBUG: (main) >>> > > > > > $VAR1 = bless( { >>> > > > > > 'log_obj' => bless( { >>> > > > > > 'log_dir' => >>> '/var/log', >>> > > > > > 'toggle' => { >>> > > > > > >>> 'debug' >>> => >>> > > '1', >>> > > > > > 'log' >> => >>> > '1' >>> > > > > > }, >>> > > > > > 'debug_msgs' => [ >>> > > > > > >>> '(main) >>> > > > > action: >>> > > > > > sandbox - submit: Checkout', >>> > > > > > >>> '(main) >>> > > > > > module_description: >>> > > > > > ', >>> > > > > > >>> '(main) >>> > > > > loading >>> > > > > > prefs' >>> > > > > > ] >>> > > > > > }, 'SandWeb::Log' ), >>> > > > > > 'repo' => { >>> > > > > > 'local' => { >>> > > > > > 'password' => >>> 'cvs123', >>> > > > > > 'connection' => >> 'SSH', >>> > > > > > >>> 'remember_repo_password' >>> > > => >>> > > > > > 'on', >>> > > > > > 'name' => 'local', >>> > > > > > 'root' => >>> '/db/cvs', >>> > > > > > 'type' => 'CVS', >>> > > > > > 'server' => >>> 'freak', >>> > > > > > 'module' => {}, >>> > > > > > 'username' => > 'cvs' >>> > > > > > } >>> > > > > > }, >>> > > > > > 'personal' => { >>> > > > > > 'confirm_delete' => 'on', >>> > > > > > 'full_name' => 'Zoltan >> Farkas' >>> > > > > > }, >>> > > > > > 'config_file' => '.user.cfg', >>> > > > > > 'config_dir' => >>> > > > > '/usr/local/share/sandweb/users/admin' >>> > > > > > }, 'SandWeb::Config' ); >>> > > > > > >>> > > > > > DEBUG: (SandWeb::Config) module_description = '' >>> > > > > > DEBUG: (main) write_config() >>> > > > > > DEBUG: (main) module_name: >>> > > > > > DEBUG: (main) username: admin >>> > > > > > DEBUG: (main) location: >>> > > > > > DEBUG: (main) main_window_url: >>> > > > > > http://freak/cgi-bin/sandweb.cgi?action=sandbox >>> > > > > > DEBUG: (main) Repo name: local >>> > > > > > DEBUG: (main) Repo root: /db/cvs >>> > > > > > DEBUG: (main) VCS sandbox: >>> > > > > /usr/local/share/sandweb/users/admin/local// >>> > > > > > DEBUG: (main) Repo type: CVS >>> > > > > > DEBUG: (main) Filename(s): doclib >>> > > > > > DEBUG: (SandWeb::Repository) Performing checkout operation >>> > > > > > DEBUG: (SandWeb::Repository) Params: file doclib >>> > > > > > DEBUG: (SandWeb::Repository::cvs) Performing checkout >>> operation >>> > > > > > DEBUG: (SandWeb::Repository::cvs) Params: checkout -d >>> doclib >>> > > > > > DEBUG: (SandWeb::Repository::cvs) File: doclib >>> > > > > > DEBUG: (SandWeb::Repository::cvs) Creating Shell object >>> > > > > > DEBUG: (SandWeb::Shell) VCS call to Unix shell >>> > > > > > DEBUG: (SandWeb::Shell) VCS command is : cd >>> > > > > > /usr/local/share/sandweb/users/admin/local// && >>> > > CVS_RSH=/usr/bin/ssh >>> > > > > && >>> > > > > > export CVS_RSH && /usr/local/bin/cvs -q -d >>> > :ext:cvs@freak:/db/cvs >>> > > > > > checkout -d doclib 'doclib' >>> > > > > > DEBUG: (SandWeb::Shell) Using VCS username/password >>> > > > > > DEBUG: (SandWeb::Shell) Full command is : >>> > > > > /usr/local/bin/sandweb-expect >>> > > > > > vcs /usr/local/share/sandweb/users/admin/passwd "cd >>> > > > > > /usr/local/share/sandweb/users/admin/local// && >>> > > CVS_RSH=/usr/bin/ssh >>> > > > > && >>> > > > > > export CVS_RSH && /usr/local/bin/cvs -q -d >>> > :ext:cvs@freak:/db/cvs >>> > > > > > checkout -d doclib 'doclib'" >>> > > > > > DEBUG: (SandWeb::File) removing file : >>> > > > > > /usr/local/share/sandweb/users/admin/passwd >>> > > > > > DEBUG: (SandWeb::File::Unix) removing file : >>> > > > > > /usr/local/share/sandweb/users/admin/passwd >>> > > > > > DEBUG: (SandWeb::Shell) VCS call to Unix shell >>> > > > > > DEBUG: (SandWeb::Shell) VCS command is : rm >>> > > > > > "/usr/local/share/sandweb/users/admin/passwd" >>> > > > > > DEBUG: (SandWeb::Shell) Not using VCS username/password >>> > > > > > DEBUG: (SandWeb::File::Unix) error code : >>> > > > > > >>> > > > > > >>> > > > > > >>> > > > > > >>> > > > > > Anybody knows why? >>> > > > > > >>> > > > > > --zoly >>> > > > > >>> > > > >>> > > >>> > >>> |
From: Zoltan F. <zo...@da...> - 2003-01-31 17:52:37
|
I made the update with the latest version: And I am getting the error: An error occurred. A call to the shell gave us this error code : 1 I see the command : cd /usr/local/share/sandweb/users/admin/local// && = CVS_RSH=3D/usr/bin/ssh && export CVS_RSH && /usr/local/bin/cvs -q -d :ext:cvs@freak:/db/cvs checkout -d doclib 'doclib' The cd command looks like has a / that it shouldn't be there at the end. Here is the entire log entry: Current filename(s) : doclib=20 =20 An error occurred. A call to the shell gave us this error code : 1 =20 =20 =20 =20 =20 DEBUG: (main) action: sandbox - submit: Checkout DEBUG: (main) module_description:=20 DEBUG: (main) loading prefs DEBUG: (main)=20 $VAR1 =3D bless( { 'log_obj' =3D> bless( { 'log_dir' =3D> '/var/log', 'toggle' =3D> { 'debug' =3D> '1', 'log' =3D> '1' }, 'debug_msgs' =3D> [ '(main) action: sandbox - submit: Checkout', '(main) module_description:=20 ', '(main) loading prefs' ] }, 'SandWeb::Log' ), 'repo' =3D> { 'local' =3D> { 'password' =3D> 'cvs123', 'connection' =3D> 'SSH', 'remember_repo_password' =3D> 'on', 'name' =3D> 'local', 'root' =3D> '/db/cvs', 'type' =3D> 'CVS', 'server' =3D> 'freak', 'module' =3D> {}, 'username' =3D> 'cvs' } }, 'personal' =3D> { 'confirm_delete' =3D> 'on', 'full_name' =3D> 'Zoltan Farkas' }, 'config_file' =3D> '.user.cfg', 'config_dir' =3D> = '/usr/local/share/sandweb/users/admin' }, 'SandWeb::Config' ); DEBUG: (SandWeb::Config) module_description =3D ''=20 DEBUG: (main) write_config() DEBUG: (main) module_name:=20 DEBUG: (main) username: admin DEBUG: (main) location:=20 DEBUG: (main) main_window_url: http://freak/cgi-bin/sandweb.cgi DEBUG: (main) Repo name: local DEBUG: (main) Repo root: /db/cvs DEBUG: (main) VCS sandbox: /usr/local/share/sandweb/users/admin/local// DEBUG: (main) Repo type: CVS DEBUG: (main) Filename(s): doclib DEBUG: (SandWeb::Repository) Performing checkout operation DEBUG: (SandWeb::Repository) Params: file doclib DEBUG: (SandWeb::Repository::cvs) Performing checkout operation DEBUG: (SandWeb::Repository::cvs) Params: checkout -d doclib DEBUG: (SandWeb::Repository::cvs) File: doclib DEBUG: (SandWeb::Repository::cvs) Creating Shell object DEBUG: (SandWeb::Shell) VCS call to Unix shell DEBUG: (SandWeb::Shell) VCS command is : cd /usr/local/share/sandweb/users/admin/local// && CVS_RSH=3D/usr/bin/ssh = && export CVS_RSH && /usr/local/bin/cvs -q -d :ext:cvs@freak:/db/cvs checkout -d doclib 'doclib' DEBUG: (SandWeb::Shell) Using VCS username/password DEBUG: (SandWeb::Shell) Full command is : /usr/local/bin/sandweb-expect vcs /usr/local/share/sandweb/users/admin/passwd "cd /usr/local/share/sandweb/users/admin/local// && CVS_RSH=3D/usr/bin/ssh = && export CVS_RSH && /usr/local/bin/cvs -q -d :ext:cvs@freak:/db/cvs checkout -d doclib 'doclib'" DEBUG: (SandWeb::File) removing file : /usr/local/share/sandweb/users/admin/passwd DEBUG: (SandWeb::File::Unix) removing file : /usr/local/share/sandweb/users/admin/passwd DEBUG: (SandWeb::Shell) VCS call to Unix shell DEBUG: (SandWeb::Shell) VCS command is : rm "/usr/local/share/sandweb/users/admin/passwd" DEBUG: (SandWeb::Shell) Not using VCS username/password DEBUG: (SandWeb::File::Unix) error code : --zoly -----Original Message----- From: Rob Helmer [mailto:ro...@ro...]=20 Sent: Friday, January 31, 2003 12:20 PM To: Zoltan Farkas Cc: san...@li... Subject: RE: [Sandweb-users] module checkout problem Excellent :) I'm glad it's working for you. I made a couple checkins last night, one of them fixes a bug with=20 commit, and the other was obscuring some cvs error messages. You should do a "cvs update" on the sandweb codebase and do another=20 "make install". You shouldn't have to reconfigure anything, it should "just work". Right now I don't know of any bugs in the latest cvs version of SandWeb, let me know if you find anything. I'd like to release the beta soon. On Fri, 31 Jan 2003 8:33AM -0800, Zoltan Farkas wrote: > > I found the problem: > > .profile is not loaded when cvs is calling ssh, so my PATH was not set > to where cvs was (usr/local/bin). When a user does a login ssh the > profile is loaded. > > So I corrected this and now everything seems to work. > > thanks > > > -----Original Message----- > From: Rob Helmer [mailto:ro...@ro...] > Sent: Thursday, January 30, 2003 7:48 PM > To: Zoltan Farkas > Subject: Re: [Sandweb-users] module checkout problem > > hmm.. ok, I am not really sure why CVS isn't working then. It's > saying the the server is giving it EOF, if doing : > > CVS_RSH=3Dssh > export CVS_RSH > > and a CVS command on the command line doesn't work, it's definitely > not going to work in sandweb :) > > > On Thu, Jan 30, 2003 at 07:15:57PM -0500, Zoltan Farkas wrote: >> That's what happens >> >> $ ssh cvs@freak >> cvs@freak's password: >> Last login: Thu Jan 30 08:48:28 2003 from freak.daxtechno >> Sun Microsystems Inc. SunOS 5.9 Generic May 2002 >> $ which cvs >> /usr/local/bin/cvs >> $ cvs server >> >> and it holds term ..... >> >> >> --zoly >> >> >> -----Original Message----- >> From: Rob Helmer [mailto:ro...@ro...] >> Sent: Thursday, January 30, 2003 7:16 PM >> To: Zoltan Farkas >> Subject: Re: [Sandweb-users] module checkout problem >> >> what if you "ssh cvs@freak" and at the prompt try "which cvs", >> "cvs server" should put the CVS on the other side into server >> mode and hold that term until you hang up. >> >> >> On Thu, Jan 30, 2003 at 07:03:10PM -0500, Zoltan Farkas wrote: >> > This is what happens: >> > >> > $ ssh cvs@freak cvs server >> > cvs@freak's password: >> > $ >> > >> > >> > --zoly >> > >> > >> > -----Original Message----- >> > From: Rob Helmer [mailto:ro...@ro...] >> > Sent: Thursday, January 30, 2003 7:06 PM >> > To: Zoltan Farkas >> > Subject: Re: [Sandweb-users] module checkout problem >> > >> > hmm.. very strange. What if you do "ssh cvs@freak cvs server"? >> > >> > >> > On Thu, Jan 30, 2003 at 06:42:31PM -0500, Zoltan Farkas wrote: >> > > (127)oracle@/opt/oracle/product/8.1.7/dbs>which ssh >> > > /usr/bin/ssh >> > > >> > > --zoly >> > > >> > > >> > > -----Original Message----- >> > > From: Rob Helmer [mailto:ro...@ro...] >> > > Sent: Thursday, January 30, 2003 6:43 PM >> > > To: Zoltan Farkas >> > > Subject: Re: [Sandweb-users] module checkout problem >> > > >> > > type "which ssh" >> > > >> > > >> > > On Thu, Jan 30, 2003 at 06:08:28PM -0500, Zoltan Farkas wrote: >> > > > SSH seems to work: >> > > > >> > > > $ ssh cvs@freak >> > > > cvs@freak's password: >> > > > Last login: Thu Jan 30 05:04:39 2003 from 192.168.0.8 >> > > > Sun Microsystems Inc. SunOS 5.9 Generic May 2002 >> > > > $ >> > > > >> > > > --zoly >> > > > >> > > > -----Original Message----- >> > > > From: Rob Helmer [mailto:ro...@ro...] >> > > > Sent: Thursday, January 30, 2003 6:11 PM >> > > > To: Zoltan Farkas >> > > > Subject: Re: [Sandweb-users] module checkout problem >> > > > >> > > > It's definitely an SSH-related problem. >> > > > >> > > > >> > > > On Thu, Jan 30, 2003 at 06:04:17PM -0500, Zoltan Farkas wrote: >> > > > > >> > > > > The following line works: >> > > > > $ /usr/local/bin/cvs -q -d /db/cvs checkout -d doclib=20 >> 'doclib' >> > > > > >> > > > > U doclib/test >> > > > > U doclib/test.txt >> > > > > >> > > > > But the following : >> > > > > >> > > > > $ export CVS_RSH=3D/usr/bin/ssh >> > > > > $ /usr/local/bin/cvs -q -d :ext:cvs@freak:/db/cvs checkout -d >> > doclib >> > > > > 'doclib' >> > > > > cvs@freak's password: >> > > > > cvs [checkout aborted]: end of file from server (consult=20 >> above >> > > > messages >> > > > > if any) >> > > > > >> > > > > and I am entering the correct password ... >> > > > > >> > > > > --zoly >> > > > > >> > > > > >> > > > > >> > > > > -----Original Message----- >> > > > > From: Rob Helmer [mailto:ro...@ro...] >> > > > > Sent: Thursday, January 30, 2003 5:44 PM >> > > > > To: Zoltan Farkas >> > > > > Cc: san...@li... >> > > > > Subject: Re: [Sandweb-users] module checkout problem >> > > > > >> > > > > On Thu, Jan 30, 2003 at 04:59:17PM -0500, Zoltan Farkas=20 >> wrote: >> > > > > > I have problems checking out a module from CVS using SSH >> > > > > > >> > > > > > I have here the debug message dump: >> > > > > >> > > > > >> > > > > Hello, >> > > > > >> > > > > >> > > > > > Current filename(s) : doclib >> > > > > > >> > > > > > cvs [checkout aborted]: end of file from server (consult > above >> > > > > messages >> > > > > > if any) >> > > > > >> > > > > >> > > > > Either CVS can't talk to SSH, or the SSH server is not > accepting >> > > > > connections. >> > > > > >> > > > > Which OS is this BTW? >> > > > > >> > > > > Looks like this is your full command : >> > > > > >> > > > > DEBUG: (SandWeb::Shell) Full command is : >> > > > /usr/local/bin/sandweb-expect >> > > > > vcs /usr/local/share/sandweb/users/admin/passwd "cd >> > > > > /usr/local/share/sandweb/users/admin/local// && >> > CVS_RSH=3D/usr/bin/ssh >> > > > && >> > > > > export CVS_RSH && /usr/local/bin/cvs -q -d >> :ext:cvs@freak:/db/cvs >> > > > > checkout -d doclib 'doclib'" >> > > > > >> > > > > Make sure that "/usr/bin/ssh" is the correct path for SSH, > this >> is >> > > set >> > > > > upon install and is configured in sandweb.cfg >> > > > > >> > > > > Also, try running this from the command line in your regular >> user >> > > > > account : >> > > > > >> > > > > CVS_RSH=3D/usr/bin/ssh && export CVS_RSH && = /usr/local/bin/cvs > -q >> -d >> > > > > :ext:cvs@freak:/db/cvs checkout -d doclib 'doclib' >> > > > > >> > > > > Let us know if that works. >> > > > > >> > > > > >> > > > > >> > > > > Thanks, >> > > > > Rob >> > > > > > >> > > > > > >> > > > > > DEBUG: (main) action: sandbox - submit: Checkout >> > > > > > DEBUG: (main) module_description: >> > > > > > DEBUG: (main) loading prefs >> > > > > > DEBUG: (main) >> > > > > > $VAR1 =3D bless( { >> > > > > > 'log_obj' =3D> bless( { >> > > > > > 'log_dir' =3D> >> '/var/log', >> > > > > > 'toggle' =3D> { >> > > > > > =20 >> 'debug' >> =3D> >> > > '1', >> > > > > > 'log' > =3D> >> > '1' >> > > > > > }, >> > > > > > 'debug_msgs' =3D> [ >> > > > > > >> '(main) >> > > > > action: >> > > > > > sandbox - submit: Checkout', >> > > > > > >> '(main) >> > > > > > module_description: >> > > > > > ', >> > > > > > >> '(main) >> > > > > loading >> > > > > > prefs' >> > > > > > ] >> > > > > > }, 'SandWeb::Log' ), >> > > > > > 'repo' =3D> { >> > > > > > 'local' =3D> { >> > > > > > 'password' =3D> >> 'cvs123', >> > > > > > 'connection' =3D> > 'SSH', >> > > > > > >> 'remember_repo_password' >> > > =3D> >> > > > > > 'on', >> > > > > > 'name' =3D> = 'local', >> > > > > > 'root' =3D>=20 >> '/db/cvs', >> > > > > > 'type' =3D> 'CVS', >> > > > > > 'server' =3D>=20 >> 'freak', >> > > > > > 'module' =3D> {}, >> > > > > > 'username' =3D> 'cvs' >> > > > > > } >> > > > > > }, >> > > > > > 'personal' =3D> { >> > > > > > 'confirm_delete' =3D> 'on', >> > > > > > 'full_name' =3D> 'Zoltan > Farkas' >> > > > > > }, >> > > > > > 'config_file' =3D> '.user.cfg', >> > > > > > 'config_dir' =3D> >> > > > > '/usr/local/share/sandweb/users/admin' >> > > > > > }, 'SandWeb::Config' ); >> > > > > > >> > > > > > DEBUG: (SandWeb::Config) module_description =3D '' >> > > > > > DEBUG: (main) write_config() >> > > > > > DEBUG: (main) module_name: >> > > > > > DEBUG: (main) username: admin >> > > > > > DEBUG: (main) location: >> > > > > > DEBUG: (main) main_window_url: >> > > > > > http://freak/cgi-bin/sandweb.cgi?action=3Dsandbox >> > > > > > DEBUG: (main) Repo name: local >> > > > > > DEBUG: (main) Repo root: /db/cvs >> > > > > > DEBUG: (main) VCS sandbox: >> > > > > /usr/local/share/sandweb/users/admin/local// >> > > > > > DEBUG: (main) Repo type: CVS >> > > > > > DEBUG: (main) Filename(s): doclib >> > > > > > DEBUG: (SandWeb::Repository) Performing checkout operation >> > > > > > DEBUG: (SandWeb::Repository) Params: file doclib >> > > > > > DEBUG: (SandWeb::Repository::cvs) Performing checkout >> operation >> > > > > > DEBUG: (SandWeb::Repository::cvs) Params: checkout -d=20 >> doclib >> > > > > > DEBUG: (SandWeb::Repository::cvs) File: doclib >> > > > > > DEBUG: (SandWeb::Repository::cvs) Creating Shell object >> > > > > > DEBUG: (SandWeb::Shell) VCS call to Unix shell >> > > > > > DEBUG: (SandWeb::Shell) VCS command is : cd >> > > > > > /usr/local/share/sandweb/users/admin/local// && >> > > CVS_RSH=3D/usr/bin/ssh >> > > > > && >> > > > > > export CVS_RSH && /usr/local/bin/cvs -q -d >> > :ext:cvs@freak:/db/cvs >> > > > > > checkout -d doclib 'doclib' >> > > > > > DEBUG: (SandWeb::Shell) Using VCS username/password >> > > > > > DEBUG: (SandWeb::Shell) Full command is : >> > > > > /usr/local/bin/sandweb-expect >> > > > > > vcs /usr/local/share/sandweb/users/admin/passwd "cd >> > > > > > /usr/local/share/sandweb/users/admin/local// && >> > > CVS_RSH=3D/usr/bin/ssh >> > > > > && >> > > > > > export CVS_RSH && /usr/local/bin/cvs -q -d >> > :ext:cvs@freak:/db/cvs >> > > > > > checkout -d doclib 'doclib'" >> > > > > > DEBUG: (SandWeb::File) removing file : >> > > > > > /usr/local/share/sandweb/users/admin/passwd >> > > > > > DEBUG: (SandWeb::File::Unix) removing file : >> > > > > > /usr/local/share/sandweb/users/admin/passwd >> > > > > > DEBUG: (SandWeb::Shell) VCS call to Unix shell >> > > > > > DEBUG: (SandWeb::Shell) VCS command is : rm >> > > > > > "/usr/local/share/sandweb/users/admin/passwd" >> > > > > > DEBUG: (SandWeb::Shell) Not using VCS username/password >> > > > > > DEBUG: (SandWeb::File::Unix) error code : >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > Anybody knows why? >> > > > > > >> > > > > > --zoly >> > > > > >> > > > >> > > >> > >> |
From: Rob H. <ro...@ro...> - 2003-01-31 17:21:48
|
Excellent :) I'm glad it's working for you. I made a couple checkins last night, one of them fixes a bug with commit, and the other was obscuring some cvs error messages. You should do a "cvs update" on the sandweb codebase and do another "make install". You shouldn't have to reconfigure anything, it should "just work". Right now I don't know of any bugs in the latest cvs version of SandWeb, let me know if you find anything. I'd like to release the beta soon. On Fri, 31 Jan 2003 8:33AM -0800, Zoltan Farkas wrote: > > I found the problem: > > .profile is not loaded when cvs is calling ssh, so my PATH was not set > to where cvs was (usr/local/bin). When a user does a login ssh the > profile is loaded. > > So I corrected this and now everything seems to work. > > thanks > > > -----Original Message----- > From: Rob Helmer [mailto:ro...@ro...] > Sent: Thursday, January 30, 2003 7:48 PM > To: Zoltan Farkas > Subject: Re: [Sandweb-users] module checkout problem > > hmm.. ok, I am not really sure why CVS isn't working then. It's > saying the the server is giving it EOF, if doing : > > CVS_RSH=ssh > export CVS_RSH > > and a CVS command on the command line doesn't work, it's definitely > not going to work in sandweb :) > > > On Thu, Jan 30, 2003 at 07:15:57PM -0500, Zoltan Farkas wrote: >> That's what happens >> >> $ ssh cvs@freak >> cvs@freak's password: >> Last login: Thu Jan 30 08:48:28 2003 from freak.daxtechno >> Sun Microsystems Inc. SunOS 5.9 Generic May 2002 >> $ which cvs >> /usr/local/bin/cvs >> $ cvs server >> >> and it holds term ..... >> >> >> --zoly >> >> >> -----Original Message----- >> From: Rob Helmer [mailto:ro...@ro...] >> Sent: Thursday, January 30, 2003 7:16 PM >> To: Zoltan Farkas >> Subject: Re: [Sandweb-users] module checkout problem >> >> what if you "ssh cvs@freak" and at the prompt try "which cvs", >> "cvs server" should put the CVS on the other side into server >> mode and hold that term until you hang up. >> >> >> On Thu, Jan 30, 2003 at 07:03:10PM -0500, Zoltan Farkas wrote: >> > This is what happens: >> > >> > $ ssh cvs@freak cvs server >> > cvs@freak's password: >> > $ >> > >> > >> > --zoly >> > >> > >> > -----Original Message----- >> > From: Rob Helmer [mailto:ro...@ro...] >> > Sent: Thursday, January 30, 2003 7:06 PM >> > To: Zoltan Farkas >> > Subject: Re: [Sandweb-users] module checkout problem >> > >> > hmm.. very strange. What if you do "ssh cvs@freak cvs server"? >> > >> > >> > On Thu, Jan 30, 2003 at 06:42:31PM -0500, Zoltan Farkas wrote: >> > > (127)oracle@/opt/oracle/product/8.1.7/dbs>which ssh >> > > /usr/bin/ssh >> > > >> > > --zoly >> > > >> > > >> > > -----Original Message----- >> > > From: Rob Helmer [mailto:ro...@ro...] >> > > Sent: Thursday, January 30, 2003 6:43 PM >> > > To: Zoltan Farkas >> > > Subject: Re: [Sandweb-users] module checkout problem >> > > >> > > type "which ssh" >> > > >> > > >> > > On Thu, Jan 30, 2003 at 06:08:28PM -0500, Zoltan Farkas wrote: >> > > > SSH seems to work: >> > > > >> > > > $ ssh cvs@freak >> > > > cvs@freak's password: >> > > > Last login: Thu Jan 30 05:04:39 2003 from 192.168.0.8 >> > > > Sun Microsystems Inc. SunOS 5.9 Generic May 2002 >> > > > $ >> > > > >> > > > --zoly >> > > > >> > > > -----Original Message----- >> > > > From: Rob Helmer [mailto:ro...@ro...] >> > > > Sent: Thursday, January 30, 2003 6:11 PM >> > > > To: Zoltan Farkas >> > > > Subject: Re: [Sandweb-users] module checkout problem >> > > > >> > > > It's definitely an SSH-related problem. >> > > > >> > > > >> > > > On Thu, Jan 30, 2003 at 06:04:17PM -0500, Zoltan Farkas wrote: >> > > > > >> > > > > The following line works: >> > > > > $ /usr/local/bin/cvs -q -d /db/cvs checkout -d doclib >> 'doclib' >> > > > > >> > > > > U doclib/test >> > > > > U doclib/test.txt >> > > > > >> > > > > But the following : >> > > > > >> > > > > $ export CVS_RSH=/usr/bin/ssh >> > > > > $ /usr/local/bin/cvs -q -d :ext:cvs@freak:/db/cvs checkout -d >> > doclib >> > > > > 'doclib' >> > > > > cvs@freak's password: >> > > > > cvs [checkout aborted]: end of file from server (consult >> above >> > > > messages >> > > > > if any) >> > > > > >> > > > > and I am entering the correct password ... >> > > > > >> > > > > --zoly >> > > > > >> > > > > >> > > > > >> > > > > -----Original Message----- >> > > > > From: Rob Helmer [mailto:ro...@ro...] >> > > > > Sent: Thursday, January 30, 2003 5:44 PM >> > > > > To: Zoltan Farkas >> > > > > Cc: san...@li... >> > > > > Subject: Re: [Sandweb-users] module checkout problem >> > > > > >> > > > > On Thu, Jan 30, 2003 at 04:59:17PM -0500, Zoltan Farkas >> wrote: >> > > > > > I have problems checking out a module from CVS using SSH >> > > > > > >> > > > > > I have here the debug message dump: >> > > > > >> > > > > >> > > > > Hello, >> > > > > >> > > > > >> > > > > > Current filename(s) : doclib >> > > > > > >> > > > > > cvs [checkout aborted]: end of file from server (consult > above >> > > > > messages >> > > > > > if any) >> > > > > >> > > > > >> > > > > Either CVS can't talk to SSH, or the SSH server is not > accepting >> > > > > connections. >> > > > > >> > > > > Which OS is this BTW? >> > > > > >> > > > > Looks like this is your full command : >> > > > > >> > > > > DEBUG: (SandWeb::Shell) Full command is : >> > > > /usr/local/bin/sandweb-expect >> > > > > vcs /usr/local/share/sandweb/users/admin/passwd "cd >> > > > > /usr/local/share/sandweb/users/admin/local// && >> > CVS_RSH=/usr/bin/ssh >> > > > && >> > > > > export CVS_RSH && /usr/local/bin/cvs -q -d >> :ext:cvs@freak:/db/cvs >> > > > > checkout -d doclib 'doclib'" >> > > > > >> > > > > Make sure that "/usr/bin/ssh" is the correct path for SSH, > this >> is >> > > set >> > > > > upon install and is configured in sandweb.cfg >> > > > > >> > > > > Also, try running this from the command line in your regular >> user >> > > > > account : >> > > > > >> > > > > CVS_RSH=/usr/bin/ssh && export CVS_RSH && /usr/local/bin/cvs > -q >> -d >> > > > > :ext:cvs@freak:/db/cvs checkout -d doclib 'doclib' >> > > > > >> > > > > Let us know if that works. >> > > > > >> > > > > >> > > > > >> > > > > Thanks, >> > > > > Rob >> > > > > > >> > > > > > >> > > > > > DEBUG: (main) action: sandbox - submit: Checkout >> > > > > > DEBUG: (main) module_description: >> > > > > > DEBUG: (main) loading prefs >> > > > > > DEBUG: (main) >> > > > > > $VAR1 = bless( { >> > > > > > 'log_obj' => bless( { >> > > > > > 'log_dir' => >> '/var/log', >> > > > > > 'toggle' => { >> > > > > > >> 'debug' >> => >> > > '1', >> > > > > > 'log' > => >> > '1' >> > > > > > }, >> > > > > > 'debug_msgs' => [ >> > > > > > >> '(main) >> > > > > action: >> > > > > > sandbox - submit: Checkout', >> > > > > > >> '(main) >> > > > > > module_description: >> > > > > > ', >> > > > > > >> '(main) >> > > > > loading >> > > > > > prefs' >> > > > > > ] >> > > > > > }, 'SandWeb::Log' ), >> > > > > > 'repo' => { >> > > > > > 'local' => { >> > > > > > 'password' => >> 'cvs123', >> > > > > > 'connection' => > 'SSH', >> > > > > > >> 'remember_repo_password' >> > > => >> > > > > > 'on', >> > > > > > 'name' => 'local', >> > > > > > 'root' => >> '/db/cvs', >> > > > > > 'type' => 'CVS', >> > > > > > 'server' => >> 'freak', >> > > > > > 'module' => {}, >> > > > > > 'username' => 'cvs' >> > > > > > } >> > > > > > }, >> > > > > > 'personal' => { >> > > > > > 'confirm_delete' => 'on', >> > > > > > 'full_name' => 'Zoltan > Farkas' >> > > > > > }, >> > > > > > 'config_file' => '.user.cfg', >> > > > > > 'config_dir' => >> > > > > '/usr/local/share/sandweb/users/admin' >> > > > > > }, 'SandWeb::Config' ); >> > > > > > >> > > > > > DEBUG: (SandWeb::Config) module_description = '' >> > > > > > DEBUG: (main) write_config() >> > > > > > DEBUG: (main) module_name: >> > > > > > DEBUG: (main) username: admin >> > > > > > DEBUG: (main) location: >> > > > > > DEBUG: (main) main_window_url: >> > > > > > http://freak/cgi-bin/sandweb.cgi?action=sandbox >> > > > > > DEBUG: (main) Repo name: local >> > > > > > DEBUG: (main) Repo root: /db/cvs >> > > > > > DEBUG: (main) VCS sandbox: >> > > > > /usr/local/share/sandweb/users/admin/local// >> > > > > > DEBUG: (main) Repo type: CVS >> > > > > > DEBUG: (main) Filename(s): doclib >> > > > > > DEBUG: (SandWeb::Repository) Performing checkout operation >> > > > > > DEBUG: (SandWeb::Repository) Params: file doclib >> > > > > > DEBUG: (SandWeb::Repository::cvs) Performing checkout >> operation >> > > > > > DEBUG: (SandWeb::Repository::cvs) Params: checkout -d >> doclib >> > > > > > DEBUG: (SandWeb::Repository::cvs) File: doclib >> > > > > > DEBUG: (SandWeb::Repository::cvs) Creating Shell object >> > > > > > DEBUG: (SandWeb::Shell) VCS call to Unix shell >> > > > > > DEBUG: (SandWeb::Shell) VCS command is : cd >> > > > > > /usr/local/share/sandweb/users/admin/local// && >> > > CVS_RSH=/usr/bin/ssh >> > > > > && >> > > > > > export CVS_RSH && /usr/local/bin/cvs -q -d >> > :ext:cvs@freak:/db/cvs >> > > > > > checkout -d doclib 'doclib' >> > > > > > DEBUG: (SandWeb::Shell) Using VCS username/password >> > > > > > DEBUG: (SandWeb::Shell) Full command is : >> > > > > /usr/local/bin/sandweb-expect >> > > > > > vcs /usr/local/share/sandweb/users/admin/passwd "cd >> > > > > > /usr/local/share/sandweb/users/admin/local// && >> > > CVS_RSH=/usr/bin/ssh >> > > > > && >> > > > > > export CVS_RSH && /usr/local/bin/cvs -q -d >> > :ext:cvs@freak:/db/cvs >> > > > > > checkout -d doclib 'doclib'" >> > > > > > DEBUG: (SandWeb::File) removing file : >> > > > > > /usr/local/share/sandweb/users/admin/passwd >> > > > > > DEBUG: (SandWeb::File::Unix) removing file : >> > > > > > /usr/local/share/sandweb/users/admin/passwd >> > > > > > DEBUG: (SandWeb::Shell) VCS call to Unix shell >> > > > > > DEBUG: (SandWeb::Shell) VCS command is : rm >> > > > > > "/usr/local/share/sandweb/users/admin/passwd" >> > > > > > DEBUG: (SandWeb::Shell) Not using VCS username/password >> > > > > > DEBUG: (SandWeb::File::Unix) error code : >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > Anybody knows why? >> > > > > > >> > > > > > --zoly >> > > > > >> > > > >> > > >> > >> |
From: Zoltan F. <zo...@da...> - 2003-01-31 16:29:39
|
I found the problem: .profile is not loaded when cvs is calling ssh, so my PATH was not set to where cvs was (usr/local/bin). When a user does a login ssh the profile is loaded.=20 So I corrected this and now everything seems to work. thanks -----Original Message----- From: Rob Helmer [mailto:ro...@ro...]=20 Sent: Thursday, January 30, 2003 7:48 PM To: Zoltan Farkas Subject: Re: [Sandweb-users] module checkout problem hmm.. ok, I am not really sure why CVS isn't working then. It's saying the the server is giving it EOF, if doing : CVS_RSH=3Dssh export CVS_RSH and a CVS command on the command line doesn't work, it's definitely not going to work in sandweb :) On Thu, Jan 30, 2003 at 07:15:57PM -0500, Zoltan Farkas wrote: > That's what happens >=20 > $ ssh cvs@freak > cvs@freak's password:=20 > Last login: Thu Jan 30 08:48:28 2003 from freak.daxtechno > Sun Microsystems Inc. SunOS 5.9 Generic May 2002 > $ which cvs > /usr/local/bin/cvs > $ cvs server >=20 > and it holds term ..... >=20 >=20 > --zoly > =20 >=20 > -----Original Message----- > From: Rob Helmer [mailto:ro...@ro...]=20 > Sent: Thursday, January 30, 2003 7:16 PM > To: Zoltan Farkas > Subject: Re: [Sandweb-users] module checkout problem >=20 > what if you "ssh cvs@freak" and at the prompt try "which cvs", > "cvs server" should put the CVS on the other side into server > mode and hold that term until you hang up. >=20 >=20 > On Thu, Jan 30, 2003 at 07:03:10PM -0500, Zoltan Farkas wrote: > > This is what happens: > >=20 > > $ ssh cvs@freak cvs server > > cvs@freak's password:=20 > > $ > >=20 > >=20 > > --zoly > > =20 > >=20 > > -----Original Message----- > > From: Rob Helmer [mailto:ro...@ro...]=20 > > Sent: Thursday, January 30, 2003 7:06 PM > > To: Zoltan Farkas > > Subject: Re: [Sandweb-users] module checkout problem > >=20 > > hmm.. very strange. What if you do "ssh cvs@freak cvs server"? > >=20 > >=20 > > On Thu, Jan 30, 2003 at 06:42:31PM -0500, Zoltan Farkas wrote: > > > (127)oracle@/opt/oracle/product/8.1.7/dbs>which ssh > > > /usr/bin/ssh > > >=20 > > > --zoly > > > =20 > > >=20 > > > -----Original Message----- > > > From: Rob Helmer [mailto:ro...@ro...]=20 > > > Sent: Thursday, January 30, 2003 6:43 PM > > > To: Zoltan Farkas > > > Subject: Re: [Sandweb-users] module checkout problem > > >=20 > > > type "which ssh" > > >=20 > > >=20 > > > On Thu, Jan 30, 2003 at 06:08:28PM -0500, Zoltan Farkas wrote: > > > > SSH seems to work: > > > >=20 > > > > $ ssh cvs@freak > > > > cvs@freak's password:=20 > > > > Last login: Thu Jan 30 05:04:39 2003 from 192.168.0.8 > > > > Sun Microsystems Inc. SunOS 5.9 Generic May 2002 > > > > $ > > > >=20 > > > > --zoly > > > >=20 > > > > -----Original Message----- > > > > From: Rob Helmer [mailto:ro...@ro...]=20 > > > > Sent: Thursday, January 30, 2003 6:11 PM > > > > To: Zoltan Farkas > > > > Subject: Re: [Sandweb-users] module checkout problem > > > >=20 > > > > It's definitely an SSH-related problem. > > > >=20 > > > >=20 > > > > On Thu, Jan 30, 2003 at 06:04:17PM -0500, Zoltan Farkas wrote: > > > > >=20 > > > > > The following line works:=20 > > > > > $ /usr/local/bin/cvs -q -d /db/cvs checkout -d doclib 'doclib' > > > > >=20 > > > > > U doclib/test > > > > > U doclib/test.txt > > > > >=20 > > > > > But the following : > > > > >=20 > > > > > $ export CVS_RSH=3D/usr/bin/ssh > > > > > $ /usr/local/bin/cvs -q -d :ext:cvs@freak:/db/cvs checkout -d > > doclib > > > > > 'doclib' > > > > > cvs@freak's password:=20 > > > > > cvs [checkout aborted]: end of file from server (consult above > > > > messages > > > > > if any) > > > > >=20 > > > > > and I am entering the correct password ... > > > > >=20 > > > > > --zoly > > > > >=20 > > > > >=20 > > > > >=20 > > > > > -----Original Message----- > > > > > From: Rob Helmer [mailto:ro...@ro...]=20 > > > > > Sent: Thursday, January 30, 2003 5:44 PM > > > > > To: Zoltan Farkas > > > > > Cc: san...@li... > > > > > Subject: Re: [Sandweb-users] module checkout problem > > > > >=20 > > > > > On Thu, Jan 30, 2003 at 04:59:17PM -0500, Zoltan Farkas wrote: > > > > > > I have problems checking out a module from CVS using SSH > > > > > > =20 > > > > > > I have here the debug message dump: > > > > >=20 > > > > >=20 > > > > > Hello, > > > > >=20 > > > > >=20 > > > > > > Current filename(s) : doclib=20 > > > > > >=20 > > > > > > cvs [checkout aborted]: end of file from server (consult above > > > > > messages > > > > > > if any) > > > > >=20 > > > > >=20 > > > > > Either CVS can't talk to SSH, or the SSH server is not accepting > > > > > connections.=20 > > > > >=20 > > > > > Which OS is this BTW? > > > > >=20 > > > > > Looks like this is your full command : > > > > >=20 > > > > > DEBUG: (SandWeb::Shell) Full command is : > > > > /usr/local/bin/sandweb-expect > > > > > vcs /usr/local/share/sandweb/users/admin/passwd "cd > > > > > /usr/local/share/sandweb/users/admin/local// && > > CVS_RSH=3D/usr/bin/ssh > > > > && > > > > > export CVS_RSH && /usr/local/bin/cvs -q -d > :ext:cvs@freak:/db/cvs > > > > > checkout -d doclib 'doclib'" > > > > >=20 > > > > > Make sure that "/usr/bin/ssh" is the correct path for SSH, this > is > > > set > > > > > upon install and is configured in sandweb.cfg > > > > >=20 > > > > > Also, try running this from the command line in your regular > user > > > > > account : > > > > >=20 > > > > > CVS_RSH=3D/usr/bin/ssh && export CVS_RSH && /usr/local/bin/cvs -q > -d > > > > > :ext:cvs@freak:/db/cvs checkout -d doclib 'doclib' > > > > >=20 > > > > > Let us know if that works. > > > > >=20 > > > > >=20 > > > > >=20 > > > > > Thanks, > > > > > Rob > > > > > > =20 > > > > > > =20 > > > > > > DEBUG: (main) action: sandbox - submit: Checkout > > > > > > DEBUG: (main) module_description:=20 > > > > > > DEBUG: (main) loading prefs > > > > > > DEBUG: (main)=20 > > > > > > $VAR1 =3D bless( { > > > > > > 'log_obj' =3D> bless( { > > > > > > 'log_dir' =3D> > '/var/log', > > > > > > 'toggle' =3D> { > > > > > > 'debug' > =3D> > > > '1', > > > > > > 'log' =3D> > > '1' > > > > > > }, > > > > > > 'debug_msgs' =3D> [ > > > > > > > '(main) > > > > > action: > > > > > > sandbox - submit: Checkout', > > > > > > > '(main) > > > > > > module_description:=20 > > > > > > ', > > > > > > > '(main) > > > > > loading > > > > > > prefs' > > > > > > ] > > > > > > }, 'SandWeb::Log' ), > > > > > > 'repo' =3D> { > > > > > > 'local' =3D> { > > > > > > 'password' =3D> > 'cvs123', > > > > > > 'connection' =3D> 'SSH', > > > > > > > 'remember_repo_password' > > > =3D> > > > > > > 'on', > > > > > > 'name' =3D> 'local', > > > > > > 'root' =3D> = '/db/cvs', > > > > > > 'type' =3D> 'CVS', > > > > > > 'server' =3D> = 'freak', > > > > > > 'module' =3D> {}, > > > > > > 'username' =3D> = 'cvs' > > > > > > } > > > > > > }, > > > > > > 'personal' =3D> { > > > > > > 'confirm_delete' =3D> 'on', > > > > > > 'full_name' =3D> 'Zoltan Farkas' > > > > > > }, > > > > > > 'config_file' =3D> '.user.cfg', > > > > > > 'config_dir' =3D> > > > > > '/usr/local/share/sandweb/users/admin' > > > > > > }, 'SandWeb::Config' ); > > > > > >=20 > > > > > > DEBUG: (SandWeb::Config) module_description =3D ''=20 > > > > > > DEBUG: (main) write_config() > > > > > > DEBUG: (main) module_name:=20 > > > > > > DEBUG: (main) username: admin > > > > > > DEBUG: (main) location:=20 > > > > > > DEBUG: (main) main_window_url: > > > > > > http://freak/cgi-bin/sandweb.cgi?action=3Dsandbox > > > > > > DEBUG: (main) Repo name: local > > > > > > DEBUG: (main) Repo root: /db/cvs > > > > > > DEBUG: (main) VCS sandbox: > > > > > /usr/local/share/sandweb/users/admin/local// > > > > > > DEBUG: (main) Repo type: CVS > > > > > > DEBUG: (main) Filename(s): doclib > > > > > > DEBUG: (SandWeb::Repository) Performing checkout operation > > > > > > DEBUG: (SandWeb::Repository) Params: file doclib > > > > > > DEBUG: (SandWeb::Repository::cvs) Performing checkout > operation > > > > > > DEBUG: (SandWeb::Repository::cvs) Params: checkout -d doclib > > > > > > DEBUG: (SandWeb::Repository::cvs) File: doclib > > > > > > DEBUG: (SandWeb::Repository::cvs) Creating Shell object > > > > > > DEBUG: (SandWeb::Shell) VCS call to Unix shell > > > > > > DEBUG: (SandWeb::Shell) VCS command is : cd > > > > > > /usr/local/share/sandweb/users/admin/local// && > > > CVS_RSH=3D/usr/bin/ssh > > > > > && > > > > > > export CVS_RSH && /usr/local/bin/cvs -q -d > > :ext:cvs@freak:/db/cvs > > > > > > checkout -d doclib 'doclib' > > > > > > DEBUG: (SandWeb::Shell) Using VCS username/password > > > > > > DEBUG: (SandWeb::Shell) Full command is : > > > > > /usr/local/bin/sandweb-expect > > > > > > vcs /usr/local/share/sandweb/users/admin/passwd "cd > > > > > > /usr/local/share/sandweb/users/admin/local// && > > > CVS_RSH=3D/usr/bin/ssh > > > > > && > > > > > > export CVS_RSH && /usr/local/bin/cvs -q -d > > :ext:cvs@freak:/db/cvs > > > > > > checkout -d doclib 'doclib'" > > > > > > DEBUG: (SandWeb::File) removing file : > > > > > > /usr/local/share/sandweb/users/admin/passwd > > > > > > DEBUG: (SandWeb::File::Unix) removing file : > > > > > > /usr/local/share/sandweb/users/admin/passwd > > > > > > DEBUG: (SandWeb::Shell) VCS call to Unix shell > > > > > > DEBUG: (SandWeb::Shell) VCS command is : rm > > > > > > "/usr/local/share/sandweb/users/admin/passwd" > > > > > > DEBUG: (SandWeb::Shell) Not using VCS username/password > > > > > > DEBUG: (SandWeb::File::Unix) error code : > > > > > > =20 > > > > > > =20 > > > > > > =20 > > > > > > =20 > > > > > > Anybody knows why? > > > > > > =20 > > > > > > --zoly > > > > >=20 > > > >=20 > > >=20 > >=20 >=20 |
From: Rob H. <ro...@ro...> - 2003-01-31 06:36:38
|
On Fri, Jan 31, 2003 at 10:46:46AM +0530, Kiran Kumar M wrote: > Hi Rob, > Thanks for the reply ,I am using Redhat 7.2 ..i have attached the output > file . > 1.I create a new Repository ..this is created under the user SandWeb does not actually create repositories, what you are doing is giving SandWeb info about an existing repository ( we may be able to create modules in the future, actual creation of a repository requires access to the server though. That's possible too but not planned ). > 2.Next i select that repository from dropdown and do a checkout (Here is > the Error after this i get the module name,description,repository update > delete entries added for the project i have added with name and description > ...but these folders are not created ). please look at the attachment You need to already have an existing CVS repository and module to check out, according to this error you left the module name field blank. Here's a good introductory guide to doing that : http://www.cvshome.org/docs/blandy.html > 3.After I create a repository how do i add folders/files to the same .. If you check out and existing module, you should be able to add files and folders through SandWeb. > 4.Do you have any Documentation on the usage Unfortunately no, I've been working on API docs mostly :) I'd like to have a user's guide that is linked from the application itself, via a "help" button on every screen. But this is post-1.0 work for me. > 5.If i have existing repositories in the system can i view the same on the > browser and if yes how can that be done The repositories must already exist for SandWeb to use them. Think of SandWeb as a CVS client, it does not help to administer a CVS server in any way. Think of it as you would WinCVS or command-line "cvs". > > > Thanks , > > Kiran > > > Current filename : > > > cvs [checkout aborted]: must specify at least one module or directory > > > > > > > > > DEBUG: (main) action: sandbox submit: Checkout > DEBUG: (main) module_description: > DEBUG: (main) loading prefs > DEBUG: (main) > $VAR1 = bless( { > 'repo' => { > 'Ktest' => { > 'module' => { > 'Ktest' => { > 'description' => '', > 'name' => 'Ktest' > }, > 'description' => '', > 'content' => ' > description="" name="" /> > description="" name="" /> > ', > 'Gentrans' => { > 'description' => '', > 'name' => 'Gentrans' > }, > 'name' => '' > }, > 'username' => 'k', > 'connection' => 'local', > 'server' => 'localhost', > 'root' => '', > 'type' => 'CVS' > }, > 'mysecondrepo' => { > 'module' => { > '' => { > 'description' => '' > }, > 'aaa' => { > 'description' => 'aaa' > } > }, > 'username' => 'k', > 'connection' => 'local', > 'root' => '/tmp/sand/mysecondrepo', > 'server' => 'localhost', > 'type' => 'CVS' > }, > 'Getnrans1' => { > 'module' => { > 'description' => '', > 'content' => ' > description="" name="" /> > ', > 'name' => '' > }, > 'username' => 'k', > 'connection' => 'local', > 'server' => 'localhost', > 'root' => '/home/cvsroot/Gentrans', > 'type' => 'CVS' > }, > 'Getnrans4' => { > 'module' => { > 'description' => '', > 'content' => ' > description="" name="" /> > ', > 'name' => '' > }, > 'username' => 'k', > 'connection' => 'local', > 'root' => '/tmp/sand/cvs', > 'server' => 'localhost', > 'type' => 'CVS' > }, > 'project001' => { > 'module' => {}, > 'username' => 'k', > 'connection' => 'local', > 'root' => '/home/cvsroot/Gentrans', > 'server' => 'localhost', > 'type' => 'CVS' > }, > 'project002' => { > 'module' => {}, > 'username' => 'k', > 'connection' => 'local', > 'server' => 'localhost', > 'root' => '/tmp/sand/cvs', > 'type' => 'CVS' > }, > 'Myfirstproj' => { > 'module' => { > 'description' => '', > 'name' => '' > }, > 'username' => 'k', > 'connection' => 'local', > 'root' => '/tmp/sand/cvs/Project001', > 'server' => 'localhost', > 'type' => 'CVS' > }, > 'myfirstrep' => { > 'module' => { > 'description' => '', > 'name' => '' > }, > 'username' => 'k', > 'connection' => 'local', > 'server' => 'localhost', > 'root' => '/tmp/sand/myfirstrep', > 'type' => 'CVS' > } > }, > 'config_dir' => '/tmp/sand/cache/sandweb/users/k', > 'config_file' => '.user.cfg', > 'personal' => { > 'work_dir' => 'c:\\CVS', > 'full_name' => 'Kiran K' > }, > 'log_obj' => bless( { > 'debug_msgs' => [ > '(main) action: sandbox submit: Checkout', > '(main) module_description: > ', > '(main) loading prefs' > ], > 'log_dir' => '/tmp/sand/log', > 'toggle' => { > 'log' => '1', > 'debug' => '1' > } > }, 'SandWeb::Log' ) > }, 'SandWeb::Config' ); > > > DEBUG: (SandWeb::Config) module_description = '' > DEBUG: (main) > $VAR1 = { > 'errorlevel' => 256, > 'output' => 'cvs [checkout aborted]: must specify at least one module or directory > ' > }; > > > DEBUG: (main) write_config() > DEBUG: (main) HTTP_REFERER: http://intranet.comatindia.com/cgi-bin1/sandweb.cgi?action=sandbox > DEBUG: (main) prev_url http://intranet.comatindia.com/cgi-bin1/sandweb.cgi?action=sandbox |
From: Kiran K. M <ki...@co...> - 2003-01-31 05:17:27
|
Hi Rob, Thanks for the reply ,I am using Redhat 7.2 ..i have attached the output file . 1.I create a new Repository ..this is created under the user 2.Next i select that repository from dropdown and do a checkout (Here is the Error after this i get the module name,description,repository update delete entries added for the project i have added with name and description ...but these folders are not created ). please look at the attachment 3.After I create a repository how do i add folders/files to the same .. 4.Do you have any Documentation on the usage 5.If i have existing repositories in the system can i view the same on the browser and if yes how can that be done Thanks , Kiran |
From: Rob H. <ro...@ro...> - 2003-01-30 23:11:30
|
On Thu, Jan 30, 2003 at 05:54:23PM -0500, Zoltan Farkas wrote: > > I am using Solaris 9 with the latest recommended cluster patch. And the > ssh daemon is the one that comes with solaris 9 > > The ssh part should work fine, because if I am setting a bad password I > am getting something like authentification failed. > > Running the following commandline gives me the following: > > $ CVS_RSH=/usr/bin/ssh && export CVS_RSH && /usr/local/bin/cvs -q -d > :ext:cvs@freak:/db/cvs checkout -d doclib 'doclib' > cvs@freak's password: > cvs [checkout aborted]: end of file from server (consult above messages > if any) Ok, there is your problem. Are you sure SSH is running on "freak"? What happens if you "telnet freak 22"? If that works, try "ssh cvs@freak" and make sure you can log in and execute "cvs server". > > --zoly > > > > -----Original Message----- > From: Rob Helmer [mailto:ro...@ro...] > Sent: Thursday, January 30, 2003 5:44 PM > To: Zoltan Farkas > Cc: san...@li... > Subject: Re: [Sandweb-users] module checkout problem > > On Thu, Jan 30, 2003 at 04:59:17PM -0500, Zoltan Farkas wrote: > > I have problems checking out a module from CVS using SSH > > > > I have here the debug message dump: > > > Hello, > > > > Current filename(s) : doclib > > > > cvs [checkout aborted]: end of file from server (consult above > messages > > if any) > > > Either CVS can't talk to SSH, or the SSH server is not accepting > connections. > > Which OS is this BTW? > > Looks like this is your full command : > > DEBUG: (SandWeb::Shell) Full command is : /usr/local/bin/sandweb-expect > vcs /usr/local/share/sandweb/users/admin/passwd "cd > /usr/local/share/sandweb/users/admin/local// && CVS_RSH=/usr/bin/ssh && > export CVS_RSH && /usr/local/bin/cvs -q -d :ext:cvs@freak:/db/cvs > checkout -d doclib 'doclib'" > > Make sure that "/usr/bin/ssh" is the correct path for SSH, this is set > upon install and is configured in sandweb.cfg > > Also, try running this from the command line in your regular user > account : > > CVS_RSH=/usr/bin/ssh && export CVS_RSH && /usr/local/bin/cvs -q -d > :ext:cvs@freak:/db/cvs checkout -d doclib 'doclib' > > Let us know if that works. > > > > Thanks, > Rob > > > > > > DEBUG: (main) action: sandbox - submit: Checkout > > DEBUG: (main) module_description: > > DEBUG: (main) loading prefs > > DEBUG: (main) > > $VAR1 = bless( { > > 'log_obj' => bless( { > > 'log_dir' => '/var/log', > > 'toggle' => { > > 'debug' => '1', > > 'log' => '1' > > }, > > 'debug_msgs' => [ > > '(main) > action: > > sandbox - submit: Checkout', > > '(main) > > module_description: > > ', > > '(main) > loading > > prefs' > > ] > > }, 'SandWeb::Log' ), > > 'repo' => { > > 'local' => { > > 'password' => 'cvs123', > > 'connection' => 'SSH', > > 'remember_repo_password' => > > 'on', > > 'name' => 'local', > > 'root' => '/db/cvs', > > 'type' => 'CVS', > > 'server' => 'freak', > > 'module' => {}, > > 'username' => 'cvs' > > } > > }, > > 'personal' => { > > 'confirm_delete' => 'on', > > 'full_name' => 'Zoltan Farkas' > > }, > > 'config_file' => '.user.cfg', > > 'config_dir' => > '/usr/local/share/sandweb/users/admin' > > }, 'SandWeb::Config' ); > > > > DEBUG: (SandWeb::Config) module_description = '' > > DEBUG: (main) write_config() > > DEBUG: (main) module_name: > > DEBUG: (main) username: admin > > DEBUG: (main) location: > > DEBUG: (main) main_window_url: > > http://freak/cgi-bin/sandweb.cgi?action=sandbox > > DEBUG: (main) Repo name: local > > DEBUG: (main) Repo root: /db/cvs > > DEBUG: (main) VCS sandbox: > /usr/local/share/sandweb/users/admin/local// > > DEBUG: (main) Repo type: CVS > > DEBUG: (main) Filename(s): doclib > > DEBUG: (SandWeb::Repository) Performing checkout operation > > DEBUG: (SandWeb::Repository) Params: file doclib > > DEBUG: (SandWeb::Repository::cvs) Performing checkout operation > > DEBUG: (SandWeb::Repository::cvs) Params: checkout -d doclib > > DEBUG: (SandWeb::Repository::cvs) File: doclib > > DEBUG: (SandWeb::Repository::cvs) Creating Shell object > > DEBUG: (SandWeb::Shell) VCS call to Unix shell > > DEBUG: (SandWeb::Shell) VCS command is : cd > > /usr/local/share/sandweb/users/admin/local// && CVS_RSH=/usr/bin/ssh > && > > export CVS_RSH && /usr/local/bin/cvs -q -d :ext:cvs@freak:/db/cvs > > checkout -d doclib 'doclib' > > DEBUG: (SandWeb::Shell) Using VCS username/password > > DEBUG: (SandWeb::Shell) Full command is : > /usr/local/bin/sandweb-expect > > vcs /usr/local/share/sandweb/users/admin/passwd "cd > > /usr/local/share/sandweb/users/admin/local// && CVS_RSH=/usr/bin/ssh > && > > export CVS_RSH && /usr/local/bin/cvs -q -d :ext:cvs@freak:/db/cvs > > checkout -d doclib 'doclib'" > > DEBUG: (SandWeb::File) removing file : > > /usr/local/share/sandweb/users/admin/passwd > > DEBUG: (SandWeb::File::Unix) removing file : > > /usr/local/share/sandweb/users/admin/passwd > > DEBUG: (SandWeb::Shell) VCS call to Unix shell > > DEBUG: (SandWeb::Shell) VCS command is : rm > > "/usr/local/share/sandweb/users/admin/passwd" > > DEBUG: (SandWeb::Shell) Not using VCS username/password > > DEBUG: (SandWeb::File::Unix) error code : > > > > > > > > > > Anybody knows why? > > > > --zoly > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld http://www.vasoftware.com > _______________________________________________ > Sandweb-users mailing list > San...@li... > https://lists.sourceforge.net/lists/listinfo/sandweb-users > |