Hello, yes, you need to configure the SlurmDBD daemon:
https://slurm.schedmd.com/slurmdbd.html https://slurm.schedmd.com/slurmdbd.conf.html Accounting setup (enforcing limits for example) requires the database, but some additional steps are also required to get the whole system working. Systemd service is not starting because the configuration file is missing: ConditionPathExists=/etc/slurm/slurmdbd.conf Kind regards, -- Kamil Wilczek [https://keys.openpgp.org/] [D415917E84B8DA5A60E853B6E676ED061316B69B]
On Tue, Mar 04, 2025 at 01:03:00AM +0000, Steven Jones via slurm-users wrote: I am trying to add slurmdbd to my first attempt of slurmctld. I have mariadb 10.11 running and permissions set. MariaDB [(none)]> CREATE DATABASE slurm_acct_db; Query OK, 1 row affected (0.000 sec) MariaDB [(none)]> show databases; +--------------------+ | Database | +--------------------+ | information_schema | | slurm_acct_db | +--------------------+ Following the setup at, https://slurm.schedmd.com/accounting.html#mysql-configuration When I try to start slurmdbd it fails. [root@vuwunicoslurmd3 ~]# systemctl status slurmdbd ? slurmdbd.service - Slurm DBD accounting daemon Loaded: loaded (/usr/lib/systemd/system/slurmdbd.service; disabled; preset: disabled) Active: inactive (dead) [root@vuwunicoslurmd3 ~]# systemctl enable --now slurmdbd Created symlink /etc/systemd/system/multi-user.target.wants/slurmdbd.service ? /usr/lib/systemd/system/slurmdbd.service. [root@vuwunicoslurmd3 ~]# systemctl status slurmdbd ? slurmdbd.service - Slurm DBD accounting daemon Loaded: loaded (/usr/lib/systemd/system/slurmdbd.service; enabled; preset: disabled) Active: inactive (dead) Condition: start condition failed at Tue 2025-03-04 00:54:38 UTC; 1s ago ?? ConditionPathExists=/etc/slurm/slurmdbd.conf was not met Mar 04 00:54:38 vuwunicoslurmd3.ods.vuw.ac.nz systemd[1]: Slurm DBD accounting daemon was skipped because of an unmet co> [root@vuwunicoslurmd3 ~]# So there seems to be a hole in the guide. Some config is needed? regards Steven
-- slurm-users mailing list -- slurm-users@lists.schedmd.com To unsubscribe send an email to slurm-users-le...@lists.schedmd.com
-- slurm-users mailing list -- slurm-users@lists.schedmd.com To unsubscribe send an email to slurm-users-le...@lists.schedmd.com