Hi,
Anyone successfully started systemd service on RHEL7? I failed like following: [root@cnlnx03 system]# systemctl start slurmctld Job for slurmctld.service failed. See 'systemctl status slurmctld.service' and 'journalctl -xn' for details. [root@cnlnx03 system]# systemctl status slurmctld.service slurmctld.service - Slurm controller daemon Loaded: loaded (/usr/lib/systemd/system/slurmctld.service; enabled) Active: failed (Result: timeout) since Tue 2015-03-24 22:22:46 CST; 4min 32s ago Mar 24 22:21:05 cnlnx03 slurmctld[20561]: init_requeue_policy: kill_invalid_depend is set to 0 Mar 24 22:21:05 cnlnx03 slurmctld[20561]: Recovered state of 0 reservations Mar 24 22:21:05 cnlnx03 slurmctld[20561]: read_slurm_conf: backup_controller not specified. Mar 24 22:21:05 cnlnx03 slurmctld[20561]: Running as primary controller Mar 24 22:22:05 cnlnx03 slurmctld[20561]: SchedulerParameters=default_queue_depth=100,max_rpc_cnt=0,max_sched_tim...pth=0 Mar 24 22:22:45 cnlnx03 systemd[1]: slurmctld.service operation timed out. Terminating. Mar 24 22:22:45 cnlnx03 slurmctld[20561]: Terminate signal (SIGINT or SIGTERM) received Mar 24 22:22:45 cnlnx03 slurmctld[20561]: Saving all slurm state Mar 24 22:22:46 cnlnx03 systemd[1]: Failed to start Slurm controller daemon. Mar 24 22:22:46 cnlnx03 systemd[1]: Unit slurmctld.service entered failed state. Hint: Some lines were ellipsized, use -l to show in full. [root@cnlnx03 system]# journalctl -xn -- Logs begin at Wed 2015-03-11 17:23:37 CST, end at Tue 2015-03-24 22:25:02 CST. -- Mar 24 22:22:45 cnlnx03 systemd[1]: slurmctld.service operation timed out. Terminating. Mar 24 22:22:45 cnlnx03 slurmctld[20561]: Terminate signal (SIGINT or SIGTERM) received Mar 24 22:22:45 cnlnx03 slurmctld[20561]: Saving all slurm state Mar 24 22:22:46 cnlnx03 slurmctld[20561]: layouts: all layouts are now unloaded. Mar 24 22:22:46 cnlnx03 systemd[1]: Failed to start Slurm controller daemon. -- Subject: Unit slurmctld.service has failed -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit slurmctld.service has failed. -- -- The result is failed. Mar 24 22:22:46 cnlnx03 systemd[1]: Unit slurmctld.service entered failed state. Mar 24 22:25:02 cnlnx03 systemd[1]: Created slice user-992.slice. -- Subject: Unit user-992.slice has finished start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit user-992.slice has finished starting up. -- -- The start-up result is done. Mar 24 22:25:02 cnlnx03 systemd[1]: Starting Session 10841 of user pcp. -- Subject: Unit session-10841.scope has begun with start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit session-10841.scope has begun starting up. Mar 24 22:25:02 cnlnx03 systemd[1]: Started Session 10841 of user pcp. -- Subject: Unit session-10841.scope has finished start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit session-10841.scope has finished starting up. -- -- The start-up result is done. Mar 24 22:25:02 cnlnx03 CROND[20654]: (pcp) CMD ( /usr/libexec/pcp/bin/pmlogger_check -C) But I do successfully start init.d service. Thanks. Fred
