hi, i've just typed ip address inside allowed ip login, in webmin configuration and "resolve hostname" and after that i'm not more able to login. i connect to https://ipaddress:10000/ as usual but now firefox is just waiting and waiting... nothing happens... This is miniserv.conf error: [code:1] Error: Failed to find IP address for 'matrix' restarting miniserv [25/May/2009:03:36:45 +0200] Restarting Failed to bind to port 10000 : Address already in use Could not listen on any ports at /usr/share/webmin/miniserv.pl line 447. Error: Webmin server did not write new PID file Failed to bind to port 10000 : Address already in use Could not listen on any ports at /usr/share/webmin/miniserv.pl line 447. Failed to bind to port 10000 : Address already in use Could not listen on any ports at /usr/share/webmin/miniserv.pl line 447. Failed to bind to port 10000 : Address already in use Could not listen on any ports at /usr/share/webmin/miniserv.pl line 447. Failed to bind to port 10000 : Address already in use Could not listen on any ports at /usr/share/webmin/miniserv.pl line 447.
[/code:1] if i do: /etc/webmin/stop appears: line 4: kill: (20660) - No such process
i've tried killall minserv.pl, but nothing what can i do? URGENT, THANKS...
neorf<br><br>Post edited by: neorf, at: 2009/05/24 17:45
Howdy,
You can fix that by logging in over SSH, and manually editing the /etc/webmin/miniserv.conf file.
If what you enter into the "allow ip login" field was a dynamic IP or hostname, if it changes, it doesn't matter that you chose "always resolve" -- you'd have to be using something like a dyndns hostname which would always resolve to your current IP address.
In any case, in the miniserv.conf file, look for a line beginning with "allow". You can either comment it out, or add in the correct IP address or hostname.
Once you change that, restart Webmin (/etc/init.d/webmin restart), and give it another shot!
-Eric
if i try to stop webmin i get:
/etc/webmin/stop: line 4: kill: (20660) - No such process
It sounds like Webmin may not be running at the moment -- try starting it:
/etc/init.d/webmin start
done,it seems to go but i get in minserv.error:
[code:1]Failed to bind to port 10000 : Address already in use
Could not listen on any ports at /usr/share/webmin/miniserv.pl line 447.
[/code:1]
Could i try to restart server?
It sounds like it got out of sync. You may need to manually kill it, then start it back up.
To kill it, run:
ps auxw | grep miniserv | grep webmin
Then run a kill on the process returned by the above.
After you kill the process, then try launching Webmin again:
/etc/init.d/webmin start
ok, now all is ok.
i just found PID with_ ps aus | less, befere i read your answer :S
and i killed process then:
/etc/webmin/start
/etc/usermin/start
now all is ok.
Thanks
neorf