Operating System - Linux
1820260 Members
2947 Online
109622 Solutions
New Discussion юеВ

Re: Webmin - can't access

 
Mark Gouveia
New Member

Webmin - can't access

I am fairly new to linux but have had no problems till now and am impressed. I have my linux server up and running with redhat 7.1 and all my services working ok (i.e. FTP, apache).

Recently I installed webmin. I can connect when I am using the server, however when I goto a local computer on the network I can't. I have tried several different port address settings (ranging from 1000 to 10000) to no avail. I am guessing a firewall setting is denying that port address. But my host.deny/host.accept files are blank. Is there some file I need to edit to allow a port address?

Thanks for the help in advance, Mark.
8 REPLIES 8
Nils Hoppe
New Member

Re: Webmin - can't access

hi.

1) make sure it's not a network problem. see if you can ping your redhat host from elsewhere on the network;

2) check whether webmin is actually started at boot time.

3) execute "/etc/webmin/stop ; /etc/webmin/start" (as root, without the inverted commata).

4) make sure there is a message confirming that webmin has been started ("Starting Webmin server in /usr/libexec/webmin")

If it still doesn't work we'll have to think again. If you can get to your apache ftp etc from the network (i.e. not from localhost) there is a problem which you can possibly fix by editing /etc/services (it's fairly self-explanatory).

have to do some work!

kind regards.
nils.
"Two things seem infinite: the universe and human stupidity. I am not entirely sure about the universe though." - Albert Einstein
Jerome Fenal_1
Valued Contributor

Re: Webmin - can't access

Did you enable tcpwrapper access to it ?

Try put ALL:ALL in /etc/hosts.allow to check it.
If it works, restrict access for further use.

Regards,

Jerome
Bienvenue chez moi
Mark Gouveia
New Member

Re: Webmin - can't access

In response to Nils:

1. Can ping
2. Yes, webmin starts at boot time
3. Tried restarting webmin
4. Got a message confirming webmin is running

5. Tried editing /etc/services and adding a port number for webmin. However it did not help.


In response to Jerome:

1. Added ALL:ALL in etc/hosts.allow (was blank). However it did not help.


Thank you both for the answers, but still not working. Is there a file that denies certain port numbers?


Mark Gouveia
New Member

Re: Webmin - can't access

Finally just gave up and reinstalled Redhat 7.1 with no Firewall settings selected. That did it, webmin works great. I still can't see any changes to my configuration files, but as long as it works.
Jeffrey S. Sims
Trusted Contributor

Re: Webmin - can't access

I guess there is no point answering now, but for future reference, /etc/sysconfig/ipchains can filter incoming and outgoing packets from specific hosts and ports.

Glad you got it working, next time you can check /etc/sysconfig/ipchains or /etc/rc.d/rc.local (some people put filtering rules there).

someone_4
Honored Contributor

Re: Webmin - can't access

Hi
I had a problem where I was trying
localhost:1000
Why dont you try the ip address instead of local host.
192.168.10.XX:1000

Richard
IT Response
Esteemed Contributor

Re: Webmin - can't access

Along with the suggestion of typing the ip address rather than "localhost," make sure that under the "No proxy for..." field of the proxy settings in your browser that you have your local network entered into the field.
This will keep your browser from trying to go through the proxy server when trying to access other machines on your local network.
Dustin Wiseman
New Member

Re: Webmin - can't access

I've been having the exact same problem. I followed Jeffrey's advice and changed my /etc/sysconfig/ipchains file. I added the line "-A input -s 0/0 -d 0/0 10000 -p tcp -y -j ACCEPT", then reloaded these rules with the ipchains startup script and whalla. I plan to modify this a little for security, but this let me into it from my workstation.

Thanks for the suggestions everyone!!!
Keep trying, you'll get it.