You need to check all directories permissions:
ls -ld /usr
ls -ld /usr/local
ls -ld /usr/local/etc
similarly, you need to check all permissions to all subdirs where
slurm.conf is located. Just execute
ls -la /usr/local/etc | grep "slurm.conf" and follow the link.




2015-05-14 17:39 GMT+03:00 Jorge Góis <[email protected]>:

>  Hi Jared,  gives me permission denied:  "cat: /usr/local/etc/slurm.conf:
> Permission denied"
>
> But I have set the chmod 777 to the file for test and don't works because
> I have symbolic link to this files.
>
>
> Problem resolve, bests,
>   Jorge Góis
>
>
>
> 2015-05-14 15:26 GMT+01:00 Jared David Baker <[email protected]>:
>
>>  What are the permission on the Slurm configuration file? Looks as if
>> root is the only user who can read it. Simple test:
>>
>>
>>
>>       $ cat /usr/local/etc/slurm.conf
>>
>>
>>
>> -Jared
>>
>>
>>
>> *From:* Jorge Góis [mailto:[email protected]]
>> *Sent:* Thursday, May 14, 2015 4:21 AM
>> *To:* slurm-dev
>> *Subject:* [slurm-dev] Try to using slurm with other user account
>>
>>
>>
>> Hi guys, I'm start to add user to my cluster, first create a user in all
>> nodes with de same uid, next add to de slurmdbd "*sacctmgr add user
>> jorge defaultaccount=root adminlevel=Admin*".
>>
>> But when access to the user I created earlier and try submit a job
>> "sbatch script.sh" or try using someone of slurm tools (e.g: squeue,
>> sinfo), the system return this error message:
>>
>> "*error: s_p_parse_file: unable to status file
>> /usr/local/etc/slurm.conf: Permission denied, retrying in 1sec up to 60sec*
>> "
>>
>> Someone have idea what is the solution for this problem?
>>
>>
>>
>> Bests,
>>   Jorge Góis
>>
>>
>>
>
>

Reply via email to