Skip to content

sinfo not found although it exists #25

Description

@zimmerrol

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions