● iscsid.service - Open-iSCSI
Loaded: loaded (/usr/lib/systemd/system/iscsid.service; disabled; vendor preset: disabled)
Active: failed (Result: resources) since Thu 2023-03-09 17:41:03 CST; 1s ago
Docs: man:iscsid(8)
man:iscsiadm(8)
Process: 7038 ExecStart=/usr/sbin/iscsid (code=exited, status=0/SUCCESS)
Mar 09 17:41:03 fcslprac04 systemd[1]: Starting Open-iSCSI...
Mar 09 17:41:03 fcslprac04 iscsid[7038]: iSCSI logger with pid=7040 started!
Mar 09 17:41:03 fcslprac04 systemd[1]: Failed to read PID from file /var/run/iscsid.pid: Invalid argument
Mar 09 17:41:03 fcslprac04 iscsid[7040]: iSCSI daemon with pid=7041 started!
Mar 09 17:41:03 fcslprac04 iscsid[7040]: can not create NETLINK_ISCSI socket
Mar 09 17:41:03 fcslprac04 systemd[1]: iscsid.service never wrote its PID file. Failing.
Mar 09 17:41:03 fcslprac04 systemd[1]: Failed to start Open-iSCSI.
Mar 09 17:41:03 fcslprac04 systemd[1]: Unit iscsid.service entered failed state.
Mar 09 17:41:03 fcslprac04 systemd[1]: iscsid.service failed.
执行:# depmod -a
重新启动:
systemctl restart iscsid
systemctl status iscsid
查看结果:
● iscsid.service - Open-iSCSI
Loaded: loaded (/usr/lib/systemd/system/iscsid.service; disabled; vendor preset: disabled)
Active: active (running) since Thu 2023-03-09 17:50:14 CST; 5s ago
Docs: man:iscsid(8)
man:iscsiadm(8)
Process: 9100 ExecStart=/usr/sbin/iscsid (code=exited, status=0/SUCCESS)
Main PID: 9103 (iscsid)
CGroup: /system.slice/iscsid.service
├─9102 /usr/sbin/iscsid
└─9103 /usr/sbin/iscsid
Mar 09 17:50:14 fcslprac04 systemd[1]: Starting Open-iSCSI...
Mar 09 17:50:14 fcslprac04 iscsid[9100]: iSCSI logger with pid=9102 started!
Mar 09 17:50:14 fcslprac04 systemd[1]: Failed to read PID from file /var/run/iscsid.pid: Invalid argument
Mar 09 17:50:14 fcslprac04 systemd[1]: Started Open-iSCSI.
Mar 09 17:50:15 fcslprac04 iscsid[9102]: iSCSI daemon with pid=9103 started!