Error after i've added allowed ip!!!

8 posts / 0 new
Last post
#1 Sun, 05/24/2009 - 17:33
neorf

Error after i've added allowed ip!!!

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

Sun, 05/24/2009 - 17:46
andreychek

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 &quot;allow ip login&quot; field was a dynamic IP or hostname, if it changes, it doesn't matter that you chose &quot;always resolve&quot; -- 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 &quot;allow&quot;. 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

Sun, 05/24/2009 - 17:57 (Reply to #2)
neorf

if i try to stop webmin i get:
/etc/webmin/stop: line 4: kill: (20660) - No such process

Sun, 05/24/2009 - 17:58 (Reply to #3)
andreychek

It sounds like Webmin may not be running at the moment -- try starting it:

/etc/init.d/webmin start

Sun, 05/24/2009 - 18:00 (Reply to #4)
neorf

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]

Sun, 05/24/2009 - 18:01 (Reply to #5)
neorf

Could i try to restart server?

Sun, 05/24/2009 - 18:03 (Reply to #6)
andreychek

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

Sun, 05/24/2009 - 18:15 (Reply to #7)
neorf

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

Topic locked