Sorry for the delay, was trying to fix it but still not working.
The node is always down. The master machine is also the compute machine. It's a single server that i use for that. 1 node and 12 cpus.
ControlMachine=linuxcluster
AuthType=auth/munge
CryptoType=crypto/munge
MailProg=/usr/bin/mail
MpiDefault=none
PluginDir=/usr/local/lib/slurm
ProctrackType=proctrack/cgroup
ReturnToService=1
SlurmctldPidFile=/var/run/slurmctld.pid
SlurmctldPort=6817
SlurmdPidFile=/var/run/slurmd.pid
SlurmdPort=6818
SlurmdSpoolDir=/var/spool/slurm/d
SlurmUser=slurm
StateSaveLocation=/var/spool/slurm/ctld
SwitchType=switch/none
TaskPlugin=task/none
InactiveLimit=0
KillWait=30
MinJobAge=300
SlurmctldTimeout=120
SlurmdTimeout=300
Waittime=0
FastSchedule=1
SchedulerType=sched/backfill
AccountingStorageHost=linuxcluster
AccountingStorageType=accounting_storage/slurmdbd
AccountingStorageUser=slurm
AccountingStoreJobComment=YES
ClusterName=linuxcluster
JobCompType=jobcomp/none
JobCompUser=slurm
JobAcctGatherFrequency=30
JobAcctGatherType=jobacct_gather/cgroup
SlurmctldDebug=5
SlurmctldLogFile=/var/log/slurm/slurmctrl.log
SlurmdDebug=5
SelectType=select/cons_res
SelectTypeParameters=CR_CPU
NodeName=linuxcluster CPUs=12
PartitionName=testq Nodes=linuxclusterDefault=YES MaxTime=INFINITE State=UP
[2017-11-30T09:24:28.025] debug: Log file re-opened
[2017-11-30T09:24:28.025] debug: sched: slurmctld starting
[2017-11-30T09:24:28.025] slurmctld version 17.11.0 started on cluster linuxcluster
[2017-11-30T09:24:28.026] Munge cryptographic signature plugin loaded
[2017-11-30T09:24:28.026] Consumable Resources (CR) Node Selection plugin loaded with argument 1
[2017-11-30T09:24:28.026] preempt/none loaded
[2017-11-30T09:24:28.026] debug: Checkpoint plugin loaded: checkpoint/none
[2017-11-30T09:24:28.026] debug: AcctGatherEnergy NONE plugin loaded
[2017-11-30T09:24:28.026] debug: AcctGatherProfile NONE plugin loaded
[2017-11-30T09:24:28.026] debug: AcctGatherInterconnect NONE plugin loaded
[2017-11-30T09:24:28.026] debug: AcctGatherFilesystem NONE plugin loaded
[2017-11-30T09:24:28.026] debug: Job accounting gather cgroup plugin loaded
[2017-11-30T09:24:28.026] ExtSensors NONE plugin loaded
[2017-11-30T09:24:28.026] debug: switch NONE plugin loaded
[2017-11-30T09:24:28.026] debug: power_save module disabled, SuspendTime < 0
[2017-11-30T09:24:28.026] debug: No backup controller to shutdown
[2017-11-30T09:24:28.026] Accounting storage SLURMDBD plugin loaded with AuthInfo=(null)
[2017-11-30T09:24:28.027] debug: Munge authentication plugin loaded
[2017-11-30T09:24:28.030] debug: slurmdbd: Sent PersistInit msg
[2017-11-30T09:24:28.030] slurmdbd: recovered 0 pending RPCs
[2017-11-30T09:24:28.429] debug: Reading slurm.conf file: /usr/local/etc/slurm.conf
[2017-11-30T09:24:28.430] layouts: no layout to initialize
[2017-11-30T09:24:28.430] topology NONE plugin loaded
[2017-11-30T09:24:28.430] debug: No DownNodes
[2017-11-30T09:24:28.435] debug: Log file re-opened
[2017-11-30T09:24:28.435] sched: Backfill scheduler plugin loaded
[2017-11-30T09:24:28.435] route default plugin loaded
[2017-11-30T09:24:28.435] layouts: loading entities/relations information
[2017-11-30T09:24:28.435] debug: layouts: 1/1 nodes in hash table, rc=0
[2017-11-30T09:24:28.435] debug: layouts: loading stage 1
[2017-11-30T09:24:28.435] debug: layouts: loading stage 1.1 (restore state)
[2017-11-30T09:24:28.435] debug: layouts: loading stage 2
[2017-11-30T09:24:28.435] debug: layouts: loading stage 3
[2017-11-30T09:24:28.435] Recovered state of 1 nodes
[2017-11-30T09:24:28.435] Down nodes: linuxcluster
[2017-11-30T09:24:28.435] Recovered JobID=15 State=0x4 NodeCnt=0 Assoc=6
[2017-11-30T09:24:28.435] Recovered information about 1 jobs
[2017-11-30T09:24:28.435] cons_res: select_p_node_init
[2017-11-30T09:24:28.436] cons_res: preparing for 1 partitions
[2017-11-30T09:24:28.436] debug: Updating partition uid access list
[2017-11-30T09:24:28.436] Recovered state of 0 reservations
[2017-11-30T09:24:28.436] State of 0 triggers recovered
[2017-11-30T09:24:28.436] _preserve_plugins: backup_controller not specified
[2017-11-30T09:24:28.436] cons_res: select_p_reconfigure
[2017-11-30T09:24:28.436] cons_res: select_p_node_init
[2017-11-30T09:24:28.436] cons_res: preparing for 1 partitions
[2017-11-30T09:24:28.436] Running as primary controller
[2017-11-30T09:24:28.436] debug: No BackupController, not launching heartbeat.
[2017-11-30T09:24:28.436] Registering slurmctld at port 6817 with slurmdbd.
[2017-11-30T09:24:28.677] debug: No feds to retrieve from state
[2017-11-30T09:24:28.757] debug: Priority BASIC plugin loaded
[2017-11-30T09:24:28.758] No parameter for mcs plugin, default values set
[2017-11-30T09:24:28.758] mcs: MCSParameters = (null). ondemand set.
[2017-11-30T09:24:28.758] debug: mcs none plugin loaded
[2017-11-30T09:24:28.758] debug: power_save mode not enabled
[2017-11-30T09:24:31.761] debug: Spawning registration agent for linuxcluster1 hosts
[2017-11-30T09:24:41.764] agent/is_node_resp: node:linuxcluster RPC:REQUEST_NODE_REGISTRATION_STATUS : Communication connection failure
[2017-11-30T09:24:58.435] debug: backfill: beginning
[2017-11-30T09:24:58.435] debug: backfill: no jobs to backfill
[2017-11-30T09:25:28.435] debug: backfill: beginning
[2017-11-30T09:25:28.436] debug: backfill: no jobs to backfill
[2017-11-30T09:25:28.830] SchedulerParameters=default_queue_depth=100,max_rpc_cnt=0,max_sched_time=2,partition_job_depth=0,sched_max_job_sta
rt=0,sched_min_interval=2
[2017-11-30T09:25:28.830] debug: sched: Running job scheduler
[2017-11-30T09:25:58.436] debug: backfill: beginning
[2017-11-30T09:25:58.436] debug: backfill: no jobs to backfill