8 posts / 0 new
Last post
#1 Thu, 05/14/2009 - 02:45
duncanbbd

broke webmin

Hi, I was trying to an NTP Server and seemed to do that OK.

tried changing the timezone from EuropeGuernsey to Europe/London and got an error: Failed to save timezone: Webmin Server did not write new PID to file.

tried stopping and starting from /etc/rc.d/init.d/webmin

but still no access to webmin.
I guess the process has died and I need to get it restarted, any ideas ?

thanks

CENTOS 5 and Virtualmin Pro

Thu, 05/14/2009 - 02:58
duncanbbd

webmin is not starting. (I can tell when trying to stop it as it then says 'no such process')

where would I find an error message about why it i snot starting ?
the system has more than adequate memory.

Thu, 05/14/2009 - 03:02 (Reply to #2)
duncanbbd

ok, found error log in /var/webmin/miniserv.error

says that Port 10000 is already in use. so I guess I need to find out how to stop that port so it can be reused.

rebooting would help I guess :o)

Thu, 05/14/2009 - 04:54 (Reply to #3)
andreychek

Rebooting would solve it. You can also sway a fly by chasing it down with a Buick :-)

What I might recommend is using "kill" to stop Webmin, and then relaunch it.

To do that, log into the command line over SSH, and type:

ps auxw | grep miniserv | grep webmin

From there, use the kill command to kill that process, give it a few seconds, and then restart Webmin with:

/etc/init.d/webmin start

Let us know how that works!
-Eric

Thu, 05/14/2009 - 04:59 (Reply to #4)
andreychek

Oh, I killed my amusing joke with a typo! Doh!

Anyhow, good detective work on your part, you figured out the hard part. Learning to troubleshoot is the tough part of being a sysadmin, you'll have the syntax for all these tasks picked up in no-time :-)
-Eric

Thu, 05/14/2009 - 05:08 (Reply to #5)
duncanbbd

thanks Eric,

of course, I remember that commands to check and kill a process :o)
that did the trick !

Thu, 05/14/2009 - 05:23 (Reply to #6)
andreychek

Super!

Now, I'm curious, are you able to set the timezone properly at this point?
-Eric

Thu, 05/14/2009 - 05:29 (Reply to #7)
duncanbbd

had not thought about checking it again :o)

anyway, went back and it was already set to Europe/London.
set it back to Europe/Guernsey - was OK
set it back to Europe/London - was OK

so all seems OK, don't know why the problem.
thanks for your help.

Topic locked