Re: [slurm-users] [EXT] Re: slurmdbd does not work

2021-12-03 Thread Giuseppe G. A. Celano
I have installed almost all of the possible packages, but that file doesn't show up: libdbd-mariadb-perl/focal,now 1.11-3ubuntu2 amd64 [installed] libmariadb-dev-compat/unknown,now 1:10.4.22+maria~focal amd64 [installed] libmariadb-dev/unknown,now 1:10.4.22+maria~focal amd64 [installed]

Re: [slurm-users] [EXT] Re: slurmdbd does not work

2021-12-03 Thread Sean Crosby
Try installing the libmariadb-dev-compat package and trying the configure/make again. It provides "libmysqlclient.so", whereas libmariadb-dev provides "libmariadb.so" From: slurm-users on behalf of Giuseppe G. A. Celano Sent: Saturday, 4 December 2021 11:40

Re: [slurm-users] [EXT] Re: slurmdbd does not work

2021-12-03 Thread Paul Edmon
I would check that you have MariaDB-shared installed too on the host you build on prior to your build.  The changed the way the packaging is done in MariaDB and Slurm needs to detect the files in MariaDB-shared to actually trigger the configure to build the mysql libs. -Paul Edmon- On

Re: [slurm-users] [EXT] Re: slurmdbd does not work

2021-12-03 Thread Giuseppe G. A. Celano
10.4.22 On Sat, Dec 4, 2021 at 1:35 AM Brian Andrus wrote: > Which version of Mariadb are you using? > > Brian Andrus > On 12/3/2021 4:20 PM, Giuseppe G. A. Celano wrote: > > After installation of libmariadb-dev, I have reinstalled the entire slurm > with ./configure + options, make, and make

Re: [slurm-users] [EXT] Re: slurmdbd does not work

2021-12-03 Thread Brian Andrus
Which version of Mariadb are you using? Brian Andrus On 12/3/2021 4:20 PM, Giuseppe G. A. Celano wrote: After installation of libmariadb-dev, I have reinstalled the entire slurm with ./configure + options, make, and make install. Still, accounting_storage_mysql.so is missing. On Sat, Dec

Re: [slurm-users] [EXT] Re: slurmdbd does not work

2021-12-03 Thread Giuseppe G. A. Celano
After installation of libmariadb-dev, I have reinstalled the entire slurm with ./configure + options, make, and make install. Still, accounting_storage_mysql.so is missing. On Sat, Dec 4, 2021 at 12:24 AM Sean Crosby wrote: > Did you run > > ./configure (with any other options you normally

Re: [slurm-users] [EXT] Re: slurmdbd does not work

2021-12-03 Thread Sean Crosby
Did you run ./configure (with any other options you normally use) make make install on your DBD server after you installed the mariadb-devel package? From: slurm-users on behalf of Giuseppe G. A. Celano Sent: Saturday, 4 December 2021 10:07 To: Slurm User

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

Re: [slurm-users] initscript poll timeout @ 10000 msec :: what slurm conf var?

2021-12-03 Thread Adrian Sevcenco
On 03.12.2021 16:31, Adrian Sevcenco wrote: Hi! I have a rather long init script in job_container and while i tried to raise various timeouts i still get: [2021-12-03T16:22:08.070] error: run_command: initscript poll timeout @ 1 msec [2021-12-03T16:22:08.080] error: _create_ns: init

Re: [slurm-users] TimeLimit parameter

2021-12-03 Thread Brian Andrus
With regards to the lua scripting, yes, you can modify a job and set the time limit to something if it is not appropriate. Treydock has one that does exactly that (among other things) at https://gist.github.com/treydock/b964c5599fd057b0aa6a#file-job_submit-lua You will have to distill the

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

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

[slurm-users] initscript poll timeout @ 10000 msec :: what slurm conf var?

2021-12-03 Thread Adrian Sevcenco
Hi! I have a rather long init script in job_container and while i tried to raise various timeouts i still get: [2021-12-03T16:22:08.070] error: run_command: initscript poll timeout @ 1 msec [2021-12-03T16:22:08.080] error: _create_ns: init script: /etc/slurm/cvmfs_makeshared.sh failed

[slurm-users] Slurmrestd error on slurmdb request

2021-12-03 Thread Philippe Noel
Hello, I'm trying to send request to my slurmrestd server to get all jobs: $ curl localhost:6820/slurmdb/v0.0.36/jobs --header "X-SLURM-USER-NAME: slurm" --header "X-SLURM-USER-TOKEN: e...sM" -i HTTP/1.1 200 OK Content-Length: 430 Content-Type: application/json { "meta": { "plugin": {

Re: [slurm-users] TimeLimit parameter

2021-12-03 Thread Gestió Servidors
Hi, Answering between lines... > Hi; > > The EnforcePartLimits parameter in slurm.conf, should be set to ALL or ANY > to enforce time limit for partition. > > Regards. > > Ahmet M. I have not configured "EnforcePartLimits" in my slurm.conf file, so I suppose that my SLURM is

Re: [slurm-users] slurmstepd: error: Too many levels of symbolic links

2021-12-03 Thread Bjørn-Helge Mevik
Adrian Sevcenco writes: > On 01.12.2021 10:25, Bjørn-Helge Mevik wrote: > >> In the end we had to give up >> using automount, and implement a manual procedure that mounts/umounts >> the needed nfs areas. > > Thanks a lot for info! manual as in "script" or as in "systemd.mount service"? Script.