-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cockpit.socket crashes after attempt to access it over http/s port 9090 #21037
Comments
So cockpit.service failed because one of its dependencies failed. The most probable one is |
systemctl status cockpit-ws-user.service gives Back that the Service is still running after the failiure. The journalctl command gives back this: |
OK, it's not that then. Please check the others: |
They both failed. cockpit-wsinstance-http.socket failed with that: And cockpit-wsinstance-https-factory.socket with and sometimes there are these messages aswell: systemctl --failed shows that: |
OK -- sorry, none of this is the actual reason for the failure, this is all just follow-ups. Can you please do
then try to log in, and copy&paste the whole output of |
Oh, wait:
So it cannot resolve the This means that /etc/nsswitch.conf does not have |
/etc/nsswitch.conf has compat in the passwd: line. |
Right, and it needs @Nykseli @Lunarequest do you have an idea here? Does LEAP need an additional package dependency to ensure that nss-systemd is installed and enabled in nsswitch.conf? I.e. to ensure that services with |
This is a known issue and fix has been found for it [1] [2] Afaik, the fix is not yet pushed to Leap 15.6 CC: @SludgeGirl [1]: https://bugzilla.suse.com/show_bug.cgi?id=1230546 |
@Nykseli thanks -- FTR, this was changed in https://cockpit-project.org/blog/cockpit-317.html . It is intended that there are two separate system users |
Explain what happens
× cockpit.socket - Cockpit Web Service Socket
Loaded: loaded (/usr/lib/systemd/system/cockpit.socket; enabled; preset: disabled)
Active: failed (Result: trigger-limit-hit) since Tue 2024-09-24 15:33:43 CEST; 8s ago
Duration: 22.153s
Triggers: ● cockpit.service
Docs: man:cockpit-ws(8)
Listen: [::]:9090 (Stream)
Process: 27228 ExecStartPost=/usr/share/cockpit/motd/update-motd localhost (code=exited, status=0/SUCCESS)
Process: 27236 ExecStartPost=/bin/ln -snf active.motd /run/cockpit/motd (code=exited, status=0/SUCCESS)
Process: 27267 ExecStopPost=/bin/ln -snf inactive.motd /run/cockpit/motd (code=exited, status=0/SUCCESS)
CPU: 9ms
systemd[1]: Starting Cockpit Web Service Socket...
systemd[1]: Listening on Cockpit Web Service Socket.
systemd[1]: cockpit.socket: Trigger limit hit, refusing further activation.
systemd[1]: cockpit.socket: Failed with result 'trigger-limit-hit'.
Version of Cockpit
The one that opensuse leap 15.6 downloads automatically when you type zypper install cockpit on 23.09.2024
Where is the problem in Cockpit?
Networking
Server operating system
openSUSE
Server operating system version
Opensuse Leap 15.6
What browsers are you using?
Firefox
System log
The text was updated successfully, but these errors were encountered: