Hao,
Just so I'm clear on things could you post the output from these few
commands and also your '/etc/hosts' file on the headnode.
root# ping -c1 `hostname`
# Notice the backticks around hostname
root# cexec --pipe :1 'ping -c1 `hostname`'
# Notice the single quote around the ping cmd
root# tmp=`hostname` && cexec --pipe :1 ping -c1 $tmp
thanks,
--tjn
PS A simple '/etc/hosts' should look something like the following,
where the headnode's `hostname` would return "headnode"
192.168.152.254 headnode.oscardomain headnode
192.168.152.1 oscarnode1.oscardomain oscarnode1
192.168.152.2 oscarnode2.oscardomain oscarnode2
127.0.0.1 localhost.localdomain localhost
160.91.160.55 sgrundy.csm.ornl.gov sgrundy
_________________________________________________________________________
Thomas Naughton [EMAIL PROTECTED]
Research Associate (865) 576-4184
On Thu, 24 Oct 2002, Hao Tran wrote:
> Jason,
>
> There is another line that read:
>
> 127.0.0.1 localhost.localdomain localhost
>
> I carefully moved it to the first line in the file and it still failed.
>
> Hao
>
> -----Original Message-----
> From: Jason B. [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 24, 2002 3:24 PM
> To: Hao Tran
> Cc: 'Thomas Naughton'; [EMAIL PROTECTED]; Jeremy Enos
> Subject: RE: [Oscar-users] PBS shell test failed
>
> Is there a line that says something like this:
> 127.0.0.1 localhost localhost.localdomain
>
> If not, add it and try again.
>
> Jason
>
>
> On Thu, 24 Oct 2002, Hao Tran wrote:
>
> > Hi Jason,
> >
> > My hostname has been set to hao.systranfederal.com before I installed
> OSCAR.
> > I looked at /etc/hosts and it contains 4 lines defining the hosts.
> > The first line contains the private net ip, then the domain, and alias
> etc.
> > The second line contains the static ip, then the domain name, and etc.
> > The 3rd and 4th contain the definition for the compute nodes.
> > I used the real domain name.
> > `hostname` return the value of hao.systranfederal.com
> >
> > Is there any thing else that I should check?
> > Thank you for your help,
> >
> > Hao
> >
> > -----Original Message-----
> > From: Jason B. [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, October 24, 2002 2:37 PM
> > To: Hao Tran
> > Cc: 'Thomas Naughton'; [EMAIL PROTECTED]; Jeremy Enos
> > Subject: RE: [Oscar-users] PBS shell test failed
> >
> > This should be due to a bad hostname (i.e localhost.localdomain). Look at
> >
> http://sourceforge.net/tracker/?group_id=9368&atid=109368&func=detail&aid=58
> > 7602
> >
> > Change hostname and get a new shell. Make sure hostname is set properly
> > (`hostname`) and try again.
> >
> > Jason
> >
> > On Thu, 24 Oct 2002, Hao Tran wrote:
> >
> > > Thanks Tom,
> > > Hi every one,
> > >
> > > The error file (shelltest.err) under /oscartst/OSCAR_test has the
> > following
> > > information:
> > >
> > > /opt/pbs/bin/pbsdsh: tm_init failed, rc = TM_ESYSTEM (17000)
> > >
> > > I would appreciate if you could point me to the right direction.
> > >
> > > Thanks,
> > >
> > > Hao Tran
> > >
> > > -----Original Message-----
> > > From: Thomas Naughton [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, October 24, 2002 1:58 PM
> > > To: Hao Tran
> > > Cc: [EMAIL PROTECTED]; Jeremy Enos
> > > Subject: Re: [Oscar-users] PBS shell test failed
> > >
> > > Hey,
> > >
> > > I spoke with Hao out-of-band about PBS setup and she's getting an error
> on
> > > a default install. Restarted servers, and all seemed ok, but it's
> getting
> > > an error code (when run by hand, she'll post in response to this email)
> > > for the "Simple Shell Test" job.
> > >
> > > I'm not sure what's up but figure the PBS folks can answer more
> > > efficiently than I.
> > >
> > > Hao is using OSCAR-1.4 and has done clean installs all around.
> > >
> > > --tjn
> > >
> > >
> _________________________________________________________________________
> > > Thomas Naughton
> [EMAIL PROTECTED]
> > > Research Associate (865) 576-4184
> > >
> > >
> > > On Wed, 23 Oct 2002, Hao Tran wrote:
> > >
> > > > Hi,
> > > >
> > > > I hope to get some help here. My PBS shell test failed and I have
> > already
> > > > checked to ensure that my host name is properly define before
> installing
> > > > OSCAR. Is there any thing else that I could do to fix this?
> > > >
> > > > Thanks,
> > > >
> > > > Hao
> > > >
> > >
> > >
> > > -------------------------------------------------------
> > > This sf.net email is sponsored by: Influence the future
> > > of Java(TM) technology. Join the Java Community
> > > Process(SM) (JCP(SM)) program now.
> > > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en
> > > _______________________________________________
> > > Oscar-users mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/oscar-users
> > >
> >
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: Influence the future
> of Java(TM) technology. Join the Java Community
> Process(SM) (JCP(SM)) program now.
> http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en
> _______________________________________________
> Oscar-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/oscar-users
>
-------------------------------------------------------
This sf.net email is sponsored by: Influence the future
of Java(TM) technology. Join the Java Community
Process(SM) (JCP(SM)) program now.
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
Oscar-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/oscar-users