Re: [slurm-users] slurmdbd does not work

2021-12-03 Thread Giuseppe G. A. Celano
The problem is the lack of /usr/lib/slurm/accounting_storage_mysql.so I have installed many mariadb-related packages, but that file is not created by slurm after installation: is there a point in the documentation where the installation procedure for the database is made explicit? On Fri, Dec 3

Re: [slurm-users] slurmdbd does not work

2021-12-03 Thread Brian Andrus
You will need to also reinstall/restart slurmdbd with the updated binary. Look in the slurmdbd logs to see what is happening there. I suspect it had errors updating/creating the database and tables. If you have no data in it yet, you can just DROP the database and restart slurmdbd. Brian Andr

Re: [slurm-users] slurmdbd does not work

2021-12-03 Thread Giuseppe G. A. Celano
Thanks for the answer, Brian. I now added --with-mysql_config=/etc/mysql/my.cnf, but the problem is still there and now also slurmctld does not work, with the error: [2021-12-03T15:36:41.018] accounting_storage/slurmdbd: clusteracct_storage_p_register_ctld: Registering slurmctld at port 6817 with

Re: [slurm-users] slurmdbd does not work

2021-12-02 Thread Brian Andrus
Your slurm needs built with the support. If you have mysql-devel installed it should pick it up, otherwise you can specify the location with --with-mysql when you configure/build slurm Brian Andrus On 12/2/2021 12:40 PM, Giuseppe G. A. Celano wrote: Hi everyone, I am having trouble getting

[slurm-users] slurmdbd does not work

2021-12-02 Thread Giuseppe G. A. Celano
Hi everyone, I am having trouble getting *slurmdbd* to work. This is the error I get: *error: Couldn't find the specified plugin name for accounting_storage/mysql looking at all fileserror: cannot find accounting_storage plugin for accounting_storage/mysqlerror: cannot create accounting_storag