James,
Would be great to know OS and SLURM version. For instance, on Centos 7/Debian 8/Ubuntu 16.04, you might be using systemctl status/start/restart slurmctld (head node) systemctl status/start/restart slurmd (worker nodes) instead? Cheers L. ------ The most dangerous phrase in the language is, "We've always done it this way." - Grace Hopper On 30 August 2016 at 16:47, James Andrew Venning <[email protected]> wrote: > Hi all, > I'm trying to set up a slurm system. I've been through the installation > instructions, but I'm getting stuck on launching the daemon. If I run, from > the slurm controller, > > scontrol ping > > it informs me: > > Slurmctld(primary/backup) at 130.56.254.79/(NULL) are DOWN/DOWN > > If I run it as sudo I get: > > Slurmctld(primary/backup) at 130.56.254.79/(NULL) are DOWN/DOWN > ***************************************** > ** RESTORE SLURMCTLD DAEMON TO SERVICE ** > ***************************************** > > I've tried: > > sudo /etc/init.d/slurm-llnl stop > sudo /etc/init.d/slurm-llnl startclean > > Which doesn't return an error, but when I run ps -el | grep slurm, it > returns nothing. > > I turned on logging by changing these lines in slurm.conf: > SlurmctldDebug=3 > SlurmctldLogFile=/home/ubuntu/slurmlog > > But the log file is never generated. > > Are you able to point me in the right direction? I've attached my > slurm.conf file if that's important. > > Thanks! > James > > #slurm.conf file generated by configurator easy.html. > # Put this file on all nodes of your cluster. > # See the slurm.conf man page for more information. > # > ControlMachine=130.56.254.79 > #ControlAddr= > # > #MailProg=/bin/mail > MpiDefault=none > #MpiParams=ports=#-# > ProctrackType=proctrack/pgid > ReturnToService=1 > SlurmctldPidFile=/var/run/slurmctld.pid > #SlurmctldPort=6817 > SlurmdPidFile=/var/run/slurmd.pid > #SlurmdPort=6818 > SlurmdSpoolDir=/var/spool/slurmd > SlurmUser=slurm > #SlurmdUser=root > StateSaveLocation=/var/spool/slurm > SwitchType=switch/none > TaskPlugin=task/none > # > # > # TIMERS > #KillWait=30 > #MinJobAge=300 > #SlurmctldTimeout=120 > #SlurmdTimeout=300 > # > # > # SCHEDULING > FastSchedule=1 > SchedulerType=sched/backfill > #SchedulerPort=7321 > SelectType=select/linear > # > # > # LOGGING AND ACCOUNTING > AccountingStorageType=accounting_storage/none > ClusterName=cluster > #JobAcctGatherFrequency=30 > JobAcctGatherType=jobacct_gather/none > SlurmctldDebug=3 > SlurmctldLogFile=/home/ubuntu/slurmlog > #SlurmdDebug=3 > #SlurmdLogFile= > # > # > # COMPUTE NODES > NodeName=node[0-2] CPUs=16 State=UNKNOWN > PartitionName=standard Nodes=node[0-2] Default=YES MaxTime=INFINITE > State=UP >
