[slurm-users] Ignore state file recover error at first starting of slurmctld

1,279 views
Skip to first unread message

김종록

unread,
Nov 17, 2022, 12:13:49 AM11/17/22
to slurm...@lists.schedmd.com

Hello Everyone,

 

When I started slurmctld for the first time, the following error message is displayed.

 

...

slurmctld: error: Could not open node state file /var/spool/slurm/ctld/node_state: No such file or directory

slurmctld: error: NOTE: Trying backup state save file. Information may be lost!

slurmctld: No node state file (/var/spool/slurm/ctld/node_state.old) to recover

slurmctld: error: Could not open job state file /var/spool/slurm/ctld/job_state: No such file or directory

slurmctld: error: NOTE: Trying backup state save file. Jobs may be lost!

slurmctld: No job state file (/var/spool/slurm/ctld/job_state.old) to recover

slurmctld: select/cons_tres: part_data_create_array: select/cons_tres: preparing for 1 partitions

slurmctld: error: Could not open reservation state file /var/spool/slurm/ctld/resv_state: No such file or directory

slurmctld: error: NOTE: Trying backup state save file. Reservations may be lost

slurmctld: No reservation state file (/var/spool/slurm/ctld/resv_state.old) to recover

slurmctld: error: Could not open trigger state file /var/spool/slurm/ctld/trigger_state: No such file or directory

slurmctld: error: NOTE: Trying backup state save file. Triggers may be lost!

slurmctld: No trigger state file (/var/spool/slurm/ctld/trigger_state.old) to recover

...

 

This is because there is no state file.

I exited slurmctld, a state file will be created.

So no error message will be output at restarting.

I don't want to see the error message from first starting of slurmctld, is there any way?

There was an error even if I gave the -c (clear) and -i (ignore) options of slurmctld.

I created a state file using touch command before start, but a similar error message is displayed as an invalid argument.

 

 

Ole Holm Nielsen

unread,
Nov 17, 2022, 8:44:15 AM11/17/22
to slurm...@lists.schedmd.com
How did you configure Slurm? Check this in your slurm.conf file:

$ scontrol show config | grep StateSaveLocation
StateSaveLocation = /var/spool/slurmctld

You seem to have defined this incorrectly: /var/spool/slurm/ctld

/Ole


On 16-11-2022 23:13, 김종록 wrote:
> When I started
> slurmctld for the first time, the following error message is displayed.
>
> ...
>
> slurmctld: error: Could not open node state file /var/spool/slurm/ctld/node_state: No such file or directory
>
> slurmctld: error: NOTE: Trying backup state save file. Information may be lost!
...

Reply all
Reply to author
Forward
0 new messages