[torqueusers] question about "qsub: Bad UID for job execution...."
nt_mahmood at yahoo.com
Fri May 20 11:22:07 MDT 2011
>So effectively, srv1 is not present on that 127.0.0.1
>line. That's correct: it shouldn't be (IMHO)!
>You could compound the error by adding localhost to /etc/hosts.equiv, or
>adding it to submit_hosts in qmgr, and then your qsub would probably work.
>But it would still be the wrong thing to do, IMHO!
I confused. What is correct and what is not correct?
// Naderan *Mahmood;
----- Original Message -----
From: Lawrence Lowe <L.S.Lowe at bham.ac.uk>
To: Mahmood Naderan <nt_mahmood at yahoo.com>; Torque Users Mailing List <torqueusers at supercluster.org>
Sent: Friday, May 20, 2011 1:30 PM
Subject: Re: [torqueusers] question about "qsub: Bad UID for job execution...."
Hiya, presumably with the comma, "localhost,srv1" is treated by the
resolver as a server name! According to my man hosts, only whitespace can
separate strings. So effectively, srv1 is not present on that 127.0.0.1
line. That's correct: it shouldn't be (IMHO)!
As far as I know, the 127.0.0.1 entry in an /etc/hosts file should just
contain localhost localhost.localdomain, plus nowadays you also see
localhost4 localhost4.localdomain4 . If you install a linux O/S on a
networked machine, that's what you get, in my experience. It should not
contain the external DNS name of the machine.
You could compound the error by adding localhost to /etc/hosts.equiv, or
adding it to submit_hosts in qmgr, and then your qsub would probably work.
But it would still be the wrong thing to do, IMHO!
Tel: 0121 414 4621 Fax: 0121 414 6709 Email: L.S.Lowe at bham.ac.uk
On Thu, 19 May 2011, Mahmood Naderan wrote:
> The entries in /etc/hosts looks like this:
> mahmood at srv1:~$ cat /etc/hosts
> 127.0.0.1 localhost localhost,srv1
> 184.108.40.206 srv
> 1192.168.1.2 client1
> 192.168.1.3 client2
> and toruqe works fine and I can submit via qsub without any problem.
> However if I change the first line of /etc/hosts and remove the ','
> 127.0.0.1 localhost srv1
> by running the qsub I get this error:
> qsub: Bad UID for job execution MSG=ruserok failed validating mahmood/mahmood from localhost
> What is the difference between ',' and ' ' ?
> I want to write the fully qualified domain name and I see in every guide, forum and ... that the correct entry should be:
> 127.0.0.1 localhost srv1.myisp.com srv1
> So I wonder why torque require the ',' ? Does anybody know?
> // Naderan *Mahmood;
> torqueusers mailing list
> torqueusers at supercluster.org
More information about the torqueusers