slurmctld needs to start after slurmdbd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
slurm-wlm (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The slurmctld daemon fails to start upon booting if the slurmdbd package is also installed. It seems that the order that services should come up are:
1. mysql
2. slurmdbd
3. slurmctld
4. slurmd
If slurmdbd does not start up before slurmctld, then slurmctld will fail with an error such as:
Feb 03 17:10:27 mycomputer slurmctld[1682]: slurmctld: error: mysql_real_connect failed: 2002 Can't connect to local MySQL server through socket '/var/run/
Feb 03 17:10:27 mycomputer slurmctld[1682]: slurmctld: fatal: You haven't inited this storage yet.
Feb 03 17:10:27 mycomputer systemd[1]: slurmctld.service: Main process exited, code=exited, status=1/FAILURE
Feb 03 17:10:27 mycomputer systemd[1]: slurmctld.service: Failed with result 'exit-code'.
A fix was suggested in AskUbuntu, which you can see here: https:/
Note that this bug report is probably a duplicate of https:/
ProblemType: Bug
DistroRelease: Ubuntu 23.10
Package: slurmctld 23.02.3-2ubuntu1 [modified: lib/systemd/
ProcVersionSign
Uname: Linux 6.5.0-15-generic x86_64
NonfreeKernelMo
ApportVersion: 2.27.0-0ubuntu5
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Mon Feb 5 11:51:10 2024
InstallationDate: Installed on 2022-12-05 (427 days ago)
InstallationMedia: Ubuntu 22.10 "Kinetic Kudu" - Release amd64 (20221020)
SourcePackage: slurm-wlm
UpgradeStatus: Upgraded to mantic on 2023-11-05 (92 days ago)