[slurm-dev] Private Key File?

3 views
Skip to first unread message

James Board

unread,
Mar 11, 2014, 10:03:53 AM3/11/14
to slurm-dev

I'm trying to start SLURM on the cluster. In my slurm.conf file, I have this defined

JobCredentialPrivateKey=/usr/local/slurm/etc/slurm.key

When I try to start the SLURM daemons I get this errors:

> slurmctld -c -vvvv -D
slurmctld: error: Can not open data encryption key file (/usr/local/slurm/etc/slurm.key)
slurmctld: fatal: slurm_cred_creator_ctx_create (/usr/local/slurm/etc/slurm.key): No error

At first, the file /usr/local/slurm/etc/slurm.key didn't exist, so I then created in empty file in it's place and got the above error message.

What is the proper way to create this file, or solve this error message?

Ludovic Prevost

unread,
Mar 11, 2014, 11:45:13 AM3/11/14
to slurm-dev
Hi,

You need to create a SSL key :

openssl genrsa -out /usr/local/etc/slurm.key 1024
openssl rsa -in /usr/local/etc/slurm.key -pubout -out /usr/local/etc/slurm.cert

Best Regards,
Ludovic PREVOST.

-----Message d'origine-----
De : James Board [mailto:jpbo...@yahoo.com]
Envoyé : mardi 11 mars 2014 15:04
À : slurm-dev
Objet : [slurm-dev] Private Key File?
Click https://www.mailcontrol.com/sr/a9l5jeqdTK!GX2PQPOmvUsPk3Ki21lNCorO8YCQpYUypKzZ6qz9P58ckAW3l9!ztppZRL!hTyVhSWoTyPktGDA== to report this email as spam.
Reply all
Reply to author
Forward
0 new messages