PDA

View Full Version : Can't get in webmin


Eliteskills
2004-07-24, 12:23 PM
I just setup the my sendmail feature and when trying to add a users account to webmin users I selected that the user be able to access the sendmail features and webmin users configuration. I clicked save, and it never loaded. Now I can't load webmin at all.


I searched google and it said just to clear the certificates. I deleted all certificates, coookies, and temp. internet files and it won't let me in. I tried to login through SSH with root and admin but it doesn't seem like it's enabled. I used the default user to login but it won't let me in the webmin folder to try to kill the process and restart it. It seems like the address is found but it never really loads.


Besides rebooting, anyone else have ideas on how to fix it?

Eliteskills
2004-07-24, 12:35 PM
Ok, I got root access. Anyone know how to reset webmin?

miniserv.error miniserv.pid sessiondb.pag
miniserv.log sessiondb.dir webmin.log

kill miniserv doesn't work... I'm new to linux.

Eliteskills
2004-07-24, 12:51 PM
/etc/webmin/stop
says no process to kill

/etc/webmin/start
seems to try to run it

still no results...

wknopes
2004-07-24, 15:04 PM
I've never seen the problem you're describing but I'll show you how to kill and restart webmin. You need to kill a process by it's process ID:

# ps -ef

and look for the line with the process running. You want the number in the second colum which is the process ID. I'll use 632 for this example. Next you:

# kill 632

Check the processes again to make sure it's gone. If after killing it once or twice, it's still running, try:

# kill -9 632

But use this as a last resort since this stops process cold but doesn't do any of the cleanup and can leave open entries for your deleted process in the process table, memory, etc.

Then try running:

# /etc/init.d/webmin start
or
# /etc/webmin/start

Don't know if this will solve the problem since I'm not sure what you did to webmin but this will at least get webmin restarted without rebooting the server.

Eliteskills
2004-07-24, 15:37 PM
It worked =). I appreciate your help.