NethServer Version: 7.8.2003
Module: cockpit
I tried to restore a file from backup, but nethserver told me: " use new admin-console cockpit" or so.
But it is not possible to open cockpit-website at port 9090
I read many about this problem in this forum - but nothing solved my problem
Now that’s are the steps I’ve done:
- there is NO service at port 9090 (?)
systemctl status cockpit
● cockpit.service - Cockpit Web Service
Loaded: loaded (/usr/lib/systemd/system/cockpit.service; static; vendor preset: disabled)
Drop-In: /etc/systemd/system/cockpit.service.d
└─nethserver.conf
Active: inactive (dead)
Docs: man:cockpit-ws(8)
yum reinstall nethserver-cockpit cockpit cockpit-{bridge,storaged,system,ws}
systemctl restart cockpit*
systemctl status cockpit*
● cockpit.service - Cockpit Web Service
Loaded: loaded (/usr/lib/systemd/system/cockpit.service; static; vendor preset: disabled)
Drop-In: /etc/systemd/system/cockpit.service.d
└─nethserver.conf
Active: active (running) since Wed 2020-08-05 20:23:38 CEST; 5s ago
Docs: man:cockpit-ws(8)
Process: 6678 ExecStartPre=/usr/sbin/remotectl certificate --ensure --user=root --group=cockpit-ws --selinux-type=etc_t (code=exited, status=0/SUCCESS)
Main PID: 6681 (cockpit-ws)
CGroup: /system.slice/cockpit.service
└─6681 /usr/libexec/cockpit-ws
Aug 05 20:23:38 msrv.eds.lan systemd[1]: Starting Cockpit Web Service…
Aug 05 20:23:38 msrv.eds.lan remotectl[6678]: /usr/bin/chcon: can’t apply partial context to unlabeled file ‘/etc/cockpit/w…er.cert’
Aug 05 20:23:38 msrv.eds.lan remotectl[6678]: remotectl: couldn’t change SELinux type context ‘etc_t’ for certificate: /etc…code 1
Aug 05 20:23:38 msrv.eds.lan systemd[1]: Started Cockpit Web Service.
Aug 05 20:23:38 msrv.eds.lan cockpit-ws[6681]: Using certificate: /etc/cockpit/ws-certs.d/99-nethserver.cert
Hint: Some lines were ellipsized, use -l to show in full.
After that the same as before - timeout … https://IP:9090
What is wrong ?
How can I find the reason ?
Thanks for good tips ---- or a tip to restore on console a file, deleted ago 13 days in nextcloud !