Submitted by yngens on Mon, 01/21/2019 - 07:56
Webmin was down on one of our servers and attempt to restart it from CLI gave:
service webmin restart
Stopping Webmin server in /usr/libexec/webmin
/etc/webmin/stop: line 4: kill: (22801) - No such process
Starting Webmin server in /usr/libexec/webmin
Failed to open SSL key /home/somesite/ssl.key at /usr/libexec/webmin/miniserv.pl line 4434.
which was a surprise to see, because the website somesite.com had been deleted quite some time ago. Anyway, I had to open the /etc/webmin/miniserv.conf
file and delete the following lines:
ipkey_somesite.com,*.somesite.com=/home/somesite/ssl.key
ipcert_somesite.com,*.somesite.com=/home/somesite/ssl.cert
and then only Webmin came up.
Status:
Active
Comments
Submitted by yngens on Mon, 01/21/2019 - 07:56 Comment #1
Submitted by JamieCameron on Mon, 01/21/2019 - 13:42 Comment #2
I had a look at the code, and I found a situation in which this could happen - I'll fix it in the next Virtualmin release.
Submitted by IssueBot on Thu, 02/28/2019 - 09:07 Comment #3
Automatically closed - issue fixed for 2 weeks with no activity.
Submitted by kkallsen on Wed, 03/13/2019 - 10:47 Pro Licensee Comment #4
Guess what - -just happened to me.
I deleted a domain and virutamin crashed. When I try to webin restart it gives
sudo /etc/init.d/webmin restart Stopping Webmin server in /usr/share/webmin cat: /var/webmin/miniserv.pid: No such file or directory /etc/webmin/stop: 4: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or kill -l [exitstatus] Starting Webmin server in /usr/share/webmin Failed to open SSL key /home/new.idio.net/ssl.key at /usr/share/webmin/miniserv.pl line 4434.
Where is .conf file so I can turn off SSL temporarily? or is there a way to fix this error. new.idio.net is the domain I deleted.
Submitted by JamieCameron on Wed, 03/13/2019 - 21:48 Comment #5
The file is /etc/webmin/miniserv.conf
Submitted by yngens on Wed, 03/20/2019 - 14:17 Comment #6
kkallsen, read how I fixed the issue. And as I understand Jamie had fixed it on his end. But I wonder has the fix ever been released or is still pending, Jamie?
Submitted by JamieCameron on Sat, 03/23/2019 - 13:13 Comment #7
The fix should have been out for a while, assuming you're running the latest Virtualmin release (6.06) ?