RE: Failied to access the CVS repository

2005-03-08 Thread Matt Doar
Find the pid with 

ps auxww | grep inetd 

Then as root

kill -HUP pid

~Matt

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] 
> On Behalf Of MEI-XING ZHAO
> Sent: Tuesday, March 08, 2005 2:47 PM
> To: Larry Jones
> Cc: info-cvs@gnu.org
> Subject: Re: Failied to access the CVS repository
> 
> Thanks! I made it working by adding ``-T /tmp'' before ``pserver'' to 
> the CVS command in [x]inetd.conf.
> 
> BTW, any way to reinitilize the changes made in inetd.conf without 
> rebooting the machine?
> 
> Thanks,
> Mei
> 
> 
> Larry Jones wrote:
> > MEI-XING ZHAO writes:
> > 
> >>Thanks for your reply Larry. You are correct about the 
> problem. I found 
> >>I can access the CVS repository locally(on the same server) 
> OK. But run 
> >>cvs command remotely still not working. I am not sure where the 
> >>/tmp/root set set. It use to be just create the temp files on /tmp.
> > 
> > 
> > What has most likely happened is that someone has changed 
> $TMPDIR for
> > root to be /tmp/root and that setting is getting inherited 
> by everything
> > that root starts, including [x]inetd and then CVS.  Check 
> your [x]inetd
> > config file against what's shown in the CVS manual:
> > 
> > 
> <https://www.cvshome.org/docs/manual/cvs-1.11.19/cvs_2.html#SEC30>
> > 
> > If that doesn't help, add an explicit ``-T /tmp'' before 
> ``pserver'' to
> > the CVS command in [x]inetd.conf.
> > 
> > -Larry Jones
> > 
> > Life's a lot more fun when you're not responsible for your 
> actions. -- Calvin
> 
> 
> -- 
> 
> Mei-Xing Zhao
> Enterprise Messaging & Integration, CSSIT
> Sun Microsystems, Inc.
> (510) 936-3520
> x13520 (internal)
> 
> 
> ~~
> NOTICE:  This email message is for the sole use of the intended
> recipient(s) and may contain confidential and privileged
> information.  Any unauthorized review, use, disclosure or
> distribution is prohibited.  If you are not the intended
> recipient, please contact the sender by reply email and destroy
> all copies of the original message.
> ~~
> 
> 
> 
> 
> ___
> Info-cvs mailing list
> Info-cvs@gnu.org
> http://lists.gnu.org/mailman/listinfo/info-cvs
> 


___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: Failied to access the CVS repository

2005-03-08 Thread MEI-XING ZHAO
Thanks! I made it working by adding ``-T /tmp'' before ``pserver'' to 
the CVS command in [x]inetd.conf.

BTW, any way to reinitilize the changes made in inetd.conf without 
rebooting the machine?

Thanks,
Mei
Larry Jones wrote:
MEI-XING ZHAO writes:
Thanks for your reply Larry. You are correct about the problem. I found 
I can access the CVS repository locally(on the same server) OK. But run 
cvs command remotely still not working. I am not sure where the 
/tmp/root set set. It use to be just create the temp files on /tmp.

What has most likely happened is that someone has changed $TMPDIR for
root to be /tmp/root and that setting is getting inherited by everything
that root starts, including [x]inetd and then CVS.  Check your [x]inetd
config file against what's shown in the CVS manual:


If that doesn't help, add an explicit ``-T /tmp'' before ``pserver'' to
the CVS command in [x]inetd.conf.
-Larry Jones
Life's a lot more fun when you're not responsible for your actions. -- Calvin

--

Mei-Xing Zhao
Enterprise Messaging & Integration, CSSIT
Sun Microsystems, Inc.
(510) 936-3520
x13520 (internal)
~~
NOTICE:  This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information.  Any unauthorized review, use, disclosure or
distribution is prohibited.  If you are not the intended
recipient, please contact the sender by reply email and destroy
all copies of the original message.
~~

___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: Failied to access the CVS repository

2005-03-08 Thread Larry Jones
MEI-XING ZHAO writes:
> 
> BTW, any way to reinitilize the changes made in inetd.conf without 
> rebooting the machine?

Probably -- ``man inetd''.

-Larry Jones

I've got more brains than I know what to do with. -- Calvin


___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: Failied to access the CVS repository

2005-03-08 Thread Larry Jones
MEI-XING ZHAO writes:
> 
> Thanks for your reply Larry. You are correct about the problem. I found 
> I can access the CVS repository locally(on the same server) OK. But run 
> cvs command remotely still not working. I am not sure where the 
> /tmp/root set set. It use to be just create the temp files on /tmp.

What has most likely happened is that someone has changed $TMPDIR for
root to be /tmp/root and that setting is getting inherited by everything
that root starts, including [x]inetd and then CVS.  Check your [x]inetd
config file against what's shown in the CVS manual:



If that doesn't help, add an explicit ``-T /tmp'' before ``pserver'' to
the CVS command in [x]inetd.conf.

-Larry Jones

Life's a lot more fun when you're not responsible for your actions. -- Calvin


___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: Failied to access the CVS repository

2005-03-08 Thread MEI-XING ZHAO
Larry Jones wrote:
MEI-XING ZHAO writes:
$ cvs log file1
can't create temporary directory /tmp/root/cvs-serv4896
Permission denied

You don't have permission to create subdirectories in /tmp/root (on the
server), which is apparently where you have the server's temp directory
set to:
	
Thanks for your reply Larry. You are correct about the problem. I found 
I can access the CVS repository locally(on the same server) OK. But run 
cvs command remotely still not working. I am not sure where the 
/tmp/root set set. It use to be just create the temp files on /tmp. From 
the link you provided, I am still not sure how to set the temp dir so 
the client cvs will use this setting. I feel somehow the system sets the 
temp dir to /tmp/root. Here is ar paragraph from the CVS manual about 
$TMPDIR:
"Directory in which temporary files are located. The CVS server uses 
TMPDIR. See section Global options, for a description of how to specify 
this. Some parts of CVS will always use `/tmp' (via the tmpnam function 
provided by the system)."

I tried to set TMPDIR, but it only applies to client not the server. Not 
sure where in the CVS uses '/tmp', I think maybe this is messed up to 
become '/tmp/root'. Anyidea as how to fix this problem?

Thanks,
Mei
-Larry Jones
The surgeon general should issue a warning about playing with girls. -- Calvin

--

Mei-Xing Zhao
Enterprise Messaging & Integration, CSSIT
Sun Microsystems, Inc.
(510) 936-3520
x13520 (internal)
~~
NOTICE:  This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information.  Any unauthorized review, use, disclosure or
distribution is prohibited.  If you are not the intended
recipient, please contact the sender by reply email and destroy
all copies of the original message.
~~

___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs


Re: Failied to access the CVS repository

2005-03-08 Thread Larry Jones
MEI-XING ZHAO writes:
> 
> $ cvs log file1
> can't create temporary directory /tmp/root/cvs-serv4896
> Permission denied

You don't have permission to create subdirectories in /tmp/root (on the
server), which is apparently where you have the server's temp directory
set to:



-Larry Jones

The surgeon general should issue a warning about playing with girls. -- Calvin


___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs