virturalmin webmin dose not respond

Posted by Miranda on Server Fault See other posts from Server Fault or by Miranda
Published on 2012-09-27T06:49:08Z Indexed on 2012/10/11 3:40 UTC
Read the original article Hit count: 428

Filed under:
|
|
|
|

I have installed Virtualmin on a CentOS remote server, but it dose not seem to work

https://115.146.95.118:10000/

at least the Webmin page dose not work. I have opened those ports

http
ALLOW 80:80 from 0.0.0.0/0
ALLOW 443:443 from 0.0.0.0/0
ssh
ALLOW 22:22 from 0.0.0.0/0
virtualmin
ALLOW 20000:20000 from 0.0.0.0/0
ALLOW 10000:10009 from 0.0.0.0/0

And restarting Webmin dose not solve it:

/etc/rc.d/init.d/webmin restart
Stopping Webmin server in /usr/libexec/webmin
Starting Webmin server in /usr/libexec/webmin

And I have tried to use Amazon EC2 this time, still couldn't get it to work.

http://ec2-67-202-21-21.compute-1.amazonaws.com:10000/

[ec2-user@ip-10-118-239-13 ~]$ netstat -an | grep :10000
tcp        0      0 0.0.0.0:10000               0.0.0.0:*                   LISTEN
udp        0      0 0.0.0.0:10000               0.0.0.0:*

[ec2-user@ip-10-118-239-13 ~]$ sudo iptables -L -n
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
ACCEPT     udp  --  0.0.0.0/0            0.0.0.0/0            udp dpt:20
ACCEPT     udp  --  0.0.0.0/0            0.0.0.0/0            udp dpt:21
ACCEPT     udp  --  0.0.0.0/0            0.0.0.0/0            udp dpt:53
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:20000
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:10000
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:443
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:80
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:993
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:143
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:995
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:110
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:20
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:21
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:53
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:587
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:25
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:22

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Since I need more than 10 reputation to post image, you can find the screenshots of the security group setting at the Webmin Support Forum.

I have tried:

sudo iptables -A INPUT -p tcp -m tcp --dport 10000 -j ACCEPT

It did not change anything.


[ec2-user@ip-10-118-239-13 ~]$ sudo yum install openssl perl-Net-SSLeay perl-Crypt-SSLeay
Loaded plugins: fastestmirror, priorities, security, update-motd
Loading mirror speeds from cached hostfile
 * amzn-main: packages.us-east-1.amazonaws.com
 * amzn-updates: packages.us-east-1.amazonaws.com
amzn-main                                                                                                                                                                                               | 2.1 kB     00:00     
amzn-updates                                                                                                                                                                                            | 2.3 kB     00:00     
Setting up Install Process
Package openssl-1.0.0j-1.43.amzn1.i686 already installed and latest version
Package perl-Net-SSLeay-1.35-9.4.amzn1.i686 already installed and latest version
Package perl-Crypt-SSLeay-0.57-16.4.amzn1.i686 already installed and latest version
Nothing to do
[ec2-user@ip-10-118-239-13 ~]$ nano /etc/webmin/miniserv.conf


  GNU nano 2.0.9                                                        File: /etc/webmin/miniserv.conf                                                                                                                        

port=10000
root=/usr/libexec/webmin
mimetypes=/usr/libexec/webmin/mime.types
addtype_cgi=internal/cgi
realm=Webmin Server
logfile=/var/webmin/miniserv.log
errorlog=/var/webmin/miniserv.error
pidfile=/var/webmin/miniserv.pid
logtime=168
ppath=
ssl=1
env_WEBMIN_CONFIG=/etc/webmin
env_WEBMIN_VAR=/var/webmin
atboot=1
logout=/etc/webmin/logout-flag
listen=10000
denyfile=\.pl$
log=1
blockhost_failures=5
blockhost_time=60
syslog=1
session=1
server=MiniServ/1.585
userfile=/etc/webmin/miniserv.users
keyfile=/etc/webmin/miniserv.pem
passwd_file=/etc/shadow
passwd_uindex=0
passwd_pindex=1
passwd_cindex=2
passwd_mindex=4
passwd_mode=0
preroot=virtual-server-theme
passdelay=1
sessiononly=/virtual-server/remote.cgi
preload=
mobile_preroot=virtual-server-mobile
mobile_prefixes=m. mobile.
anonymous=/virtualmin-mailman/unauthenticated=anonymous
ssl_cipher_list=ECDHE-RSA-AES256-SHA384:AES256-SHA256:AES256-SHA256:RC4:HIGH:MEDIUM:+TLSv1:!MD5:!SSLv2:+SSLv3:!ADH:!aNULL:!eNULL:!NULL:!DH:!ADH:!EDH:!AESGCM

© Server Fault or respective owner

Related posts about linux

Related posts about amazon-ec2