LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Problem on starting webmin and usermin (https://www.linuxquestions.org/questions/linux-server-73/problem-on-starting-webmin-and-usermin-604417/)

satimis 12-04-2007 09:04 AM

Problem on starting webmin and usermin
 
Hi folks,

Ubuntu 7.04 server amd64 (Host OS)
VMWare
CentOS 5 (Guest OS)


Webmin and Usermin are running on Ubuntu. I can't start Webmin and Usermin on Firefox by running;

https://localhost:10000
https://localhost:20000

I must run;
https://domain.com:10000
https://domain.com:20000

to start them.


On console
$ sudo /etc/init.d/webmin restart
Code:

Password:
Stopping Webmin server in /usr/share/webmin
Starting Webmin server in /usr/share/webmin

Webmin doesn't start


$ sudo /etc/init.d/usermin restart
Code:

Stopping Usermin server in /usr/share/usermin
Starting Usermin server in /usr/share/usermin

Usermin doesn't start


Please help. TIA


satimis

camorri 12-04-2007 10:02 AM

Two things come to mind, first of all do you have webmind running? From a konsole, verify it is there with the command 'ps aux | grep webmind' ( without the quotes ).

Second, do you have an entry in your /etc/hosts file for 'localhost 127.0.0.1' ? If not add it, and retry.

satimis 12-04-2007 10:53 AM

Quote:

Originally Posted by camorri (Post 2979870)
Two things come to mind, first of all do you have webmind running? From a konsole, verify it is there with the command 'ps aux | grep webmind' ( without the quotes ).

Thanks for your advice.


$ ps aux | grep webmin
Code:

root      5270  0.0  0.2  61348  9672 ?        Ss  Dec04  0:00 /usr/bin/perl /usr/share/webmin/miniserv.pl /etc/webmin/miniserv.conf
satimis  5846  0.0  0.0  5028  836 pts/0    S+  00:55  0:00 grep webmin

$ ps aux | grep usermin
Code:

root      5674  0.0  0.2  51764  8196 ?        Ss  Dec04  0:00 /usr/bin/perl /usr/share/usermin/miniserv.pl /etc/usermin/miniserv.conf
satimis  5848  0.0  0.0  5024  828 pts/0    S+  00:56  0:00 grep usermin


Quote:

Second, do you have an entry in your /etc/hosts file for 'localhost 127.0.0.1' ? If not add it, and retry.
$ cat /etc/hosts | grep localhost
Code:

127.0.0.1      localhost.localdomain  localhost
::1    ip6-localhost ip6-loopback


satimis

camorri 12-04-2007 12:51 PM

Those two items look good to me. I did some poking around, and in on the Webmin config you can set up IP access controls. If 127.0.0.1 is not in the list of allowed IP addresses, you would be allowed to connect with other IP's. So you domain name would be another IP.

If you can connect, have a look to see if 127.0.0.1 is an allowed IP address. If that doesn't fix it, I'm at a loss.

satimis 12-04-2007 08:49 PM

Quote:

Originally Posted by camorri (Post 2980057)
Those two items look good to me. I did some poking around, and in on the Webmin config you can set up IP access controls. If 127.0.0.1 is not in the list of allowed IP addresses, you would be allowed to connect with other IP's. So you domain name would be another IP.

If you can connect, have a look to see if 127.0.0.1 is an allowed IP address. If that doesn't fix it, I'm at a loss.

Hi camorri,


Thanks for your advice. The problem comes on iptables!!!


After running;

$ sudo iptables -F


both;
https://localhost:10000
https://localhost:20000

are working now.


Any advise howto disable modules on Usermin only allowing users changing password, languages, etc.


TIA


B.R.
satimis


All times are GMT -5. The time now is 06:58 AM.