Running CentOS7, webmin suddenly stopped working after an update a few days ago. Can someone please help me debug?!
[root@admin /]# /etc/init.d/webmin start
[root@admin /]# /etc/init.d/webmin status
Webmin is stopped
[root@admin /]# /etc/init.d/webmin restart
Stopping Webmin server in /usr/libexec/webmin
cat: /var/webmin/miniserv.pid: No such file or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec … or kill -l [sigspec]
Starting Webmin server in /usr/libexec/webmin
Failed to open SSL key /home/s65/ssl.key at /usr/libexec/webmin/miniserv.pl line 4416.
[root@admin /]# /etc/init.d/webmin status
Webmin is stopped
Not really - that account was imported during a test migration which was aborted. That cert was never actually on this server and actually the whole s65 account was deleted recently. The home directory doesnt exist and the user is gone but the SSL reference remains?!
How can I remove this reference to the ssl cert without webmin tho?! Thanks for the help Eric!
Note that to be able to edit the miniserv.conf file (or any file in /etc/), you’d need to ensure you’re logged in as the root user… or that your user is using “sudo”. Without that, the user wouldn’t have permissions to make changes to that file.