[slurm-users] Issue running slurm commands as normal account but work as root.

74 views
Skip to first unread message

Kent L. Hanson via slurm-users

unread,
Feb 4, 2025, 3:35:25 PMFeb 4
to slurm...@schedmd.com

Hello all!

I have an odd question.

On my headnode, also my login nodes, I can ping my outside network and inside network using any DNS name I choose. It is dual homed. When I run squeue, sinfo, or any slurm command as my regular account I get the below error. I can run srun, squeue, sinfo, or any slurm command and it works as expected. Does anyone know what is going on? I feel like this is a permissions issue on something.

 

On the compute nodes I have no problem running slurm commands as my regular account or root. Everything works well on my compute nodes.

 

Error:

[user.name@headnode ~]$ squeue

squeue: error: resolve_ctls_from_dns_srv: res_nsearch error: Hostname lookup failure

squeue: error: fetch_config: DNS SRV lookup failed

squeue: error: _establish_config_source: failed to fetch config

squeue: fatal: Could not establish a configuration source

 

Thanks!

 

Kent Hanson

Laura Hild via slurm-users

unread,
Feb 5, 2025, 4:25:59 PMFeb 5
to Kent L. Hanson, slurm...@schedmd.com
Is your regular user unable to read the slurm.conf? How is the cluster set up to get the hostname of the Slurm controller?


--
slurm-users mailing list -- slurm...@lists.schedmd.com
To unsubscribe send an email to slurm-us...@lists.schedmd.com

Kent L. Hanson via slurm-users

unread,
Feb 5, 2025, 5:30:59 PMFeb 5
to Laura Hild, slurm...@schedmd.com
I did find the error. It was a missing x permission on a folder.

From: Laura Hild <l...@jlab.org>
Sent: Wednesday, February 5, 2025 2:23:58 PM
To: Kent L. Hanson <Kent....@inl.gov>
Cc: 'slurm...@schedmd.com' <slurm...@schedmd.com>
Subject: Re: Issue running slurm commands as normal account but work as root.
 
Reply all
Reply to author
Forward
0 new messages