DbdPort in slurmdbd.conf must be equal to AccountingStoragePort in
slurm.conf.
david@prometeo ~/clusters/1403/linux/etc>grep DbdPort slurmdbd.conf
DbdPort=14100
david@prometeo ~/clusters/1403/linux/etc>grep AccountingStoragePort
slurm.conf
AccountingStoragePort=14100
On 04/25/2014 12:59 AM, Lucas St wrote:
Hi Forum
Im installing slurm to make some test in my lab.
I have a newly installed centos 6.5, with slurm-14-0, mysql and munge.
The munge and mysql daemons are running, and also slurmd and slurmdbd.
The problem comes when I execute the next command
sacctmgr add cluster mycluster
getting this messages
sacctmgr: Accounting storage SLURMDBD plugin loaded with AuthInfo=(null)
sacctmgr: debug2: _slurm_connect failed: Connection refused
sacctmgr: debug2: Error connecting slurm stream socket at 127.0.0.1:6819
<http://127.0.0.1:6819>: Connection refused
sacctmgr: debug: slurmdbd: slurm_open_msg_conn to master:6819:
Connection refused
sacctmgr: error: Problem talking to the database: Connection refused
Can somebody tell me why im getting this error.
thanks
Thanks in advance
------------------------------------------------------------
This is the slurmdbd.conf file:
#
# Example slurmdbd.conf file.
#
# See the slurmdbd.conf man page for more information.
#
# Archive info
#ArchiveJobs=yes
#ArchiveDir="/tmp"
#ArchiveSteps=yes
#ArchiveScript=
#JobPurge=12
#StepPurge=1
#
# Authentication info
AuthType=auth/munge
AuthInfo=/var/run/munge/munge.socket.2
#
# slurmDBD info
DbdAddr=localhost
DbdHost=localhost
#DbdPort=7031
SlurmUser=slurm
#MessageTimeout=300
DebugLevel=4
#DefaultQOS=normal,standby
LogFile=/var/log/slurm/slurmdbd.log
PidFile=/var/run/slurmdbd.pid
#PluginDir=/usr/lib/slurm
#PrivateData=accounts,users,usage,jobs
#TrackWCKey=yes
#
# Database info
StorageType=accounting_storage/mysql
#StorageHost=localhost
#StoragePort=1234
StoragePass=slurm_pass
StorageUser=slurm
StorageLoc=slurm_acct_db
--
Thanks,
/David/Bigagli
www.schedmd.com