My Oracle Support Banner

OLVM: Status of "cockpit.socket" Shows Failed With Message "/run/cockpit/active.motd: No such file or directory" (Doc ID 2623854.1)

Last updated on MARCH 05, 2020

Applies to:

Linux OS - Version Oracle Linux 7.6 with Unbreakable Enterprise Kernel [4.14.35] and later
Linux x86-64

Symptoms

Status of cockpit.socket shows below failure message even though it is active and listening on the designated port.

# systemctl status cockpit.socket
● cockpit.socket - Cockpit Web Service Socket
Loaded: loaded (/usr/lib/systemd/system/cockpit.socket; enabled; vendor
preset: disabled)
Active: active (listening) since Mon 2019-07-01 17:25:29 EDT; 3min 5s ago
Docs: man:cockpit-ws(8)
Listen: [::]:9090 (Stream)
Process: 9295 ExecStartPost=/bin/ln -snf active.motd /run/cockpit/motd
(code=exited, status=1/FAILURE)
Process: 9287 ExecStartPost=/usr/share/cockpit/motd/update-motd localhost
(code=exited, status=1/FAILURE)
Tasks: 0
Jul 01 17:25:29 <hostname> systemd[1]: Starting Cockpit Web Service
Socket.
Jul 01 17:25:29 <hostname> update-motd[9287]:
/usr/share/cockpit/motd/update-motd: line 24: /run/cockpit/active.motd: No
such file or directory
Jul 01 17:25:29 <hostname> ln[9295]: /bin/ln: failed to create symbolic
link '/run/cockpit/motd¿: No such file or directory
Jul 01 17:25:29 <hostname> systemd[1]: Listening on Cockpit Web Service
Socket.

 

Changes

No changes.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.