Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sinfo not found although it exists #25

Open
zimmerrol opened this issue Apr 14, 2023 · 3 comments
Open

sinfo not found although it exists #25

zimmerrol opened this issue Apr 14, 2023 · 3 comments

Comments

@zimmerrol
Copy link

When running scom I get the following error message:
ERROR: Failed to run sinfo command, check your scom.conf and set the correct paths there.

The config file (as recognized and printed by scom) looks like this:
INFO: Configuration: &config.ConfigContainer{Prefix:"/usr/bin", Binpaths:map[string]string{"sacct":"/usr/bin/sacct", "sacctmgr":"/usr/bin/sacctmgr", "sbatch":"/usr/bin/sbatch", "scancel":"/usr/bin/scancel", "scontrol":"/usr/bin/scontrol", "sinfo":"/usr/bin/sinfo", "squeue":"/usr/bin/squeue", "sstat":"/usr/bin/sstat"}, Tick:0x3, JobHist:config.ConfigJobHistContainer{Starttime:"now-7days", Endtime:"", Timeout:0x1e}, TemplateDirs:[]string{"/etc/scom/templates"}}

Interestingly, path in the config for the sinfo command (i.e., /usr/bin/sinfo) is valid and points to the sinfo binary. Thus, I don't understand what causes this error message. I'm using slurm 20.11.9.

@hehaoyu1023
Copy link

me too

@hehaoyu1023
Copy link

Version=22.05.8

@kjrstory
Copy link

kjrstory commented Aug 1, 2023

Slurm Commander should be capable of Json-output .
And saact command needs Slurmdbd daemons.
You can check this with the following command:

sacct --json

If you receive an error message when running this command, scom cannot work properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants