Can't start Webmin

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Can't start Webmin

Postby janpihlgren » Jul 31st, '17, 15:50

After update webmin from 1.730 to 1.820 I can't access/open webmin in Firefox.
Used commando: https://localhost:10000
Result: Firefox couldn't connect to server localhost:10000

Where can I open the port?
User avatar
janpihlgren
 
Posts: 294
Joined: Mar 30th, '11, 12:23
Location: Marsta, Sweden

Re: Can't start Webmin

Postby doktor5000 » Jul 31st, '17, 18:29

Are you sure the webserver is actually running ?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18056
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Can't start Webmin

Postby janpihlgren » Aug 1st, '17, 05:13

When I look in MCC, System it says that webmin is started.
User avatar
janpihlgren
 
Posts: 294
Joined: Mar 30th, '11, 12:23
Location: Marsta, Sweden

Re: Can't start Webmin

Postby doktor5000 » Aug 1st, '17, 19:00

Can you please post the output as root of
Code: Select all
netstat -anop|grep :10000
systemctl status webmin -al -n100
iptables -L
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18056
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Can't start Webmin

Postby janpihlgren » Aug 1st, '17, 23:26

Here is the answer:
Code: Select all
[jan@Humlan ~]$ su
Lösenord:
[root@Humlan jan]# netstat -anop|grep :10000
[root@Humlan jan]#

.....

[root@Humlan jan]# systemctl status webmin -al -n100

● webmin.service - LSB: Start or stop the Webmin server
   Loaded: loaded (/etc/rc.d/init.d/webmin; generated; vendor preset: enabled)
   Active: active (exited) since ons 2017-08-02 01:08:21 CEST; 1h 52min left
     Docs: man:systemd-sysv-generator(8)
  Process: 17167 ExecStart=/etc/rc.d/init.d/webmin start (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/webmin.service

aug 02 01:08:13 Humlan.localdomain systemd[1]: Starting LSB: Start or stop the Webmin server...
aug 02 01:08:14 Humlan.localdomain perl[17171]: pam_unix(webmin:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=  user=root
aug 02 01:08:16 Humlan.localdomain webmin[17171]: Webmin starting
aug 02 01:08:21 Humlan.localdomain systemd[1]: Started LSB: Start or stop the Webmin server.
~

.....

[root@Humlan jan]# iptables -L
Chain INPUT (policy DROP)
target     prot opt source               destination         
Ifw        all  --  anywhere             anywhere           
wlp0s29u1u8u7_in  all  --  anywhere             anywhere           
vboxnet0_in  all  --  anywhere             anywhere           
wlp3s0_in  all  --  anywhere             anywhere           
ppp0_in    all  --  anywhere             anywhere           
enp0s25_in  all  --  anywhere             anywhere           
enp22s0u1_in  all  --  anywhere             anywhere           
ACCEPT     all  --  anywhere             anywhere           
Reject     all  --  anywhere             anywhere           
LOG        all  --  anywhere             anywhere             LOG level info prefix "Shorewall:INPUT:REJECT:"
reject     all  --  anywhere             anywhere            [goto]

Chain FORWARD (policy DROP)
target     prot opt source               destination         
wlp0s29u1u8u7_fwd  all  --  anywhere             anywhere           
vboxnet0_fwd  all  --  anywhere             anywhere           
wlp3s0_fwd  all  --  anywhere             anywhere           
ppp0_fwd   all  --  anywhere             anywhere           
enp0s25_fwd  all  --  anywhere             anywhere           
enp22s0u1_fwd  all  --  anywhere             anywhere           
Reject     all  --  anywhere             anywhere           
LOG        all  --  anywhere             anywhere             LOG level info prefix "Shorewall:FORWARD:REJECT:"
reject     all  --  anywhere             anywhere            [goto]

Chain OUTPUT (policy DROP)
target     prot opt source               destination         
wlp0s29u1u8u7_out  all  --  anywhere             anywhere           
vboxnet0_out  all  --  anywhere             anywhere           
wlp3s0_out  all  --  anywhere             anywhere           
ppp0_out   all  --  anywhere             anywhere           
enp0s25_out  all  --  anywhere             anywhere           
enp22s0u1_out  all  --  anywhere             anywhere           
ACCEPT     all  --  anywhere             anywhere           
Reject     all  --  anywhere             anywhere           
LOG        all  --  anywhere             anywhere             LOG level info prefix "Shorewall:OUTPUT:REJECT:"
reject     all  --  anywhere             anywhere            [goto]

Chain Broadcast (2 references)
target     prot opt source               destination         
DROP       all  --  anywhere             anywhere             ADDRTYPE match dst-type BROADCAST
DROP       all  --  anywhere             anywhere             ADDRTYPE match dst-type MULTICAST
DROP       all  --  anywhere             anywhere             ADDRTYPE match dst-type ANYCAST

Chain Drop (1 references)
target     prot opt source               destination         
           all  --  anywhere             anywhere           
ACCEPT     icmp --  anywhere             anywhere             icmp fragmentation-needed /* Needed ICMP types */
ACCEPT     icmp --  anywhere             anywhere             icmp time-exceeded /* Needed ICMP types */
Broadcast  all  --  anywhere             anywhere           
DROP       all  --  anywhere             anywhere             ctstate INVALID
DROP       udp  --  anywhere             anywhere             multiport dports epmap,microsoft-ds /* SMB */
DROP       udp  --  anywhere             anywhere             udp dpts:netbios-ns:netbios-ssn /* SMB */
DROP       udp  --  anywhere             anywhere             udp spt:netbios-ns dpts:1024:65535 /* SMB */
DROP       tcp  --  anywhere             anywhere             multiport dports epmap,netbios-ssn,microsoft-ds /* SMB */
DROP       udp  --  anywhere             anywhere             udp dpt:ssdp /* UPnP */
DROP       tcp  --  anywhere             anywhere             tcp flags:!FIN,SYN,RST,ACK/SYN
DROP       udp  --  anywhere             anywhere             udp spt:domain /* Late DNS Replies */

Chain Ifw (1 references)
target     prot opt source               destination         
RETURN     all  --  anywhere             anywhere             match-set ifw_wl src
DROP       all  --  anywhere             anywhere             match-set ifw_bl src
IFWLOG     all  --  anywhere             anywhere             ctstate INVALID,NEWpsd weight-threshold: 10 delay-threshold: 10000 lo-ports-weight: 2 hi-ports-weight: 1 IFWLOG prefix 'SCAN'
IFWLOG     tcp  --  anywhere             anywhere             ctstate NEW tcp dpt:httpIFWLOG prefix 'NEW'
IFWLOG     tcp  --  anywhere             anywhere             ctstate NEW tcp dpt:httpsIFWLOG prefix 'NEW'
IFWLOG     tcp  --  anywhere             anywhere             ctstate NEW tcp dpt:sshIFWLOG prefix 'NEW'
IFWLOG     tcp  --  anywhere             anywhere             ctstate NEW tcp dpt:ndmpIFWLOG prefix 'NEW'
IFWLOG     udp  --  anywhere             anywhere             ctstate NEW udp dpt:ndmpIFWLOG prefix 'NEW'

Chain Reject (3 references)
target     prot opt source               destination         
           all  --  anywhere             anywhere           
ACCEPT     icmp --  anywhere             anywhere             icmp fragmentation-needed /* Needed ICMP types */
ACCEPT     icmp --  anywhere             anywhere             icmp time-exceeded /* Needed ICMP types */
Broadcast  all  --  anywhere             anywhere           
DROP       all  --  anywhere             anywhere             ctstate INVALID
reject     udp  --  anywhere             anywhere            [goto]  multiport dports epmap,microsoft-ds /* SMB */
reject     udp  --  anywhere             anywhere            [goto]  udp dpts:netbios-ns:netbios-ssn /* SMB */
reject     udp  --  anywhere             anywhere            [goto]  udp spt:netbios-ns dpts:1024:65535 /* SMB */
reject     tcp  --  anywhere             anywhere            [goto]  multiport dports epmap,netbios-ssn,microsoft-ds /* SMB */
DROP       udp  --  anywhere             anywhere             udp dpt:ssdp /* UPnP */
DROP       tcp  --  anywhere             anywhere             tcp flags:!FIN,SYN,RST,ACK/SYN
DROP       udp  --  anywhere             anywhere             udp spt:domain /* Late DNS Replies */

Chain dynamic (12 references)
target     prot opt source               destination         

Chain enp0s25_fwd (1 references)
target     prot opt source               destination         
sfilter    all  --  anywhere             anywhere            [goto]
dynamic    all  --  anywhere             anywhere             ctstate INVALID,NEW,UNTRACKED
tcpflags   tcp  --  anywhere             anywhere           
net_frwd   all  --  anywhere             anywhere           

Chain enp0s25_in (1 references)
target     prot opt source               destination         
dynamic    all  --  anywhere             anywhere             ctstate INVALID,NEW,UNTRACKED
tcpflags   tcp  --  anywhere             anywhere           
net-fw     all  --  anywhere             anywhere           

Chain enp0s25_out (1 references)
target     prot opt source               destination         
fw-net     all  --  anywhere             anywhere           

Chain enp22s0u1_fwd (1 references)
target     prot opt source               destination         
sfilter    all  --  anywhere             anywhere            [goto]
dynamic    all  --  anywhere             anywhere             ctstate INVALID,NEW,UNTRACKED
tcpflags   tcp  --  anywhere             anywhere           
net_frwd   all  --  anywhere             anywhere           

Chain enp22s0u1_in (1 references)
target     prot opt source               destination         
dynamic    all  --  anywhere             anywhere             ctstate INVALID,NEW,UNTRACKED
tcpflags   tcp  --  anywhere             anywhere           
net-fw     all  --  anywhere             anywhere           

Chain enp22s0u1_out (1 references)
target     prot opt source               destination         
fw-net     all  --  anywhere             anywhere           

Chain fw-net (6 references)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere             ctstate RELATED,ESTABLISHED
ACCEPT     all  --  anywhere             anywhere           

Chain logdrop (0 references)
target     prot opt source               destination         
DROP       all  --  anywhere             anywhere           

Chain logflags (7 references)
target     prot opt source               destination         
LOG        all  --  anywhere             anywhere             LOG level info ip-options prefix "Shorewall:logflags:DROP:"
DROP       all  --  anywhere             anywhere           

Chain logreject (0 references)
target     prot opt source               destination         
reject     all  --  anywhere             anywhere           

Chain net-fw (6 references)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere             ctstate RELATED,ESTABLISHED
ACCEPT     udp  --  anywhere             anywhere             udp dpt:ndmp
ACCEPT     tcp  --  anywhere             anywhere             multiport dports http,https,ssh,ndmp
Drop       all  --  anywhere             anywhere           
LOG        all  --  anywhere             anywhere             LOG level info prefix "Shorewall:net-fw:DROP:"
DROP       all  --  anywhere             anywhere           

Chain net_frwd (6 references)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere           
ACCEPT     all  --  anywhere             anywhere           
ACCEPT     all  --  anywhere             anywhere           
ACCEPT     all  --  anywhere             anywhere           
ACCEPT     all  --  anywhere             anywhere           
ACCEPT     all  --  anywhere             anywhere           

Chain ppp0_fwd (1 references)
target     prot opt source               destination         
sfilter    all  --  anywhere             anywhere            [goto]
dynamic    all  --  anywhere             anywhere             ctstate INVALID,NEW,UNTRACKED
tcpflags   tcp  --  anywhere             anywhere           
net_frwd   all  --  anywhere             anywhere           

Chain ppp0_in (1 references)
target     prot opt source               destination         
dynamic    all  --  anywhere             anywhere             ctstate INVALID,NEW,UNTRACKED
tcpflags   tcp  --  anywhere             anywhere           
net-fw     all  --  anywhere             anywhere           

Chain ppp0_out (1 references)
target     prot opt source               destination         
fw-net     all  --  anywhere             anywhere           

Chain reject (8 references)
target     prot opt source               destination         
DROP       all  --  anywhere             anywhere             ADDRTYPE match src-type BROADCAST
DROP       all  --  base-address.mcast.net/4  anywhere           
DROP       igmp --  anywhere             anywhere           
REJECT     tcp  --  anywhere             anywhere             reject-with tcp-reset
REJECT     udp  --  anywhere             anywhere             reject-with icmp-port-unreachable
REJECT     icmp --  anywhere             anywhere             reject-with icmp-host-unreachable
REJECT     all  --  anywhere             anywhere             reject-with icmp-host-prohibited

Chain sfilter (6 references)
target     prot opt source               destination         
LOG        all  --  anywhere             anywhere             LOG level info prefix "Shorewall:sfilter:DROP:"
DROP       all  --  anywhere             anywhere           

Chain sha-lh-2287d710b50e1ddedddb (0 references)
target     prot opt source               destination         

Chain sha-rh-abf4ca7ae9e13ce0adb9 (0 references)
target     prot opt source               destination         

Chain shorewall (0 references)
target     prot opt source               destination         
           all  --  anywhere             anywhere             recent: SET name: %CURRENTTIME side: source mask: 255.255.255.255

Chain tcpflags (12 references)
target     prot opt source               destination         
logflags   tcp  --  anywhere             anywhere            [goto]  tcp flags:FIN,SYN,RST,PSH,ACK,URG/FIN,PSH,URG
logflags   tcp  --  anywhere             anywhere            [goto]  tcp flags:FIN,SYN,RST,PSH,ACK,URG/NONE
logflags   tcp  --  anywhere             anywhere            [goto]  tcp flags:SYN,RST/SYN,RST
logflags   tcp  --  anywhere             anywhere            [goto]  tcp flags:FIN,RST/FIN,RST
logflags   tcp  --  anywhere             anywhere            [goto]  tcp flags:FIN,SYN/FIN,SYN
logflags   tcp  --  anywhere             anywhere            [goto]  tcp flags:FIN,PSH,ACK/FIN,PSH
logflags   tcp  --  anywhere             anywhere            [goto]  tcp spt:0 flags:FIN,SYN,RST,ACK/SYN

Chain vboxnet0_fwd (1 references)
target     prot opt source               destination         
sfilter    all  --  anywhere             anywhere            [goto]
dynamic    all  --  anywhere             anywhere             ctstate INVALID,NEW,UNTRACKED
tcpflags   tcp  --  anywhere             anywhere           
net_frwd   all  --  anywhere             anywhere           

Chain vboxnet0_in (1 references)
target     prot opt source               destination         
dynamic    all  --  anywhere             anywhere             ctstate INVALID,NEW,UNTRACKED
tcpflags   tcp  --  anywhere             anywhere           
net-fw     all  --  anywhere             anywhere           

Chain vboxnet0_out (1 references)
target     prot opt source               destination         
fw-net     all  --  anywhere             anywhere           

Chain wlp0s29u1u8u7_fwd (1 references)
target     prot opt source               destination         
sfilter    all  --  anywhere             anywhere            [goto]
dynamic    all  --  anywhere             anywhere             ctstate INVALID,NEW,UNTRACKED
tcpflags   tcp  --  anywhere             anywhere           
net_frwd   all  --  anywhere             anywhere           

Chain wlp0s29u1u8u7_in (1 references)
target     prot opt source               destination         
dynamic    all  --  anywhere             anywhere             ctstate INVALID,NEW,UNTRACKED
tcpflags   tcp  --  anywhere             anywhere           
net-fw     all  --  anywhere             anywhere           

Chain wlp0s29u1u8u7_out (1 references)
target     prot opt source               destination         
fw-net     all  --  anywhere             anywhere           

Chain wlp3s0_fwd (1 references)
target     prot opt source               destination         
sfilter    all  --  anywhere             anywhere            [goto]
dynamic    all  --  anywhere             anywhere             ctstate INVALID,NEW,UNTRACKED
tcpflags   tcp  --  anywhere             anywhere           
net_frwd   all  --  anywhere             anywhere           

Chain wlp3s0_in (1 references)
target     prot opt source               destination         
dynamic    all  --  anywhere             anywhere             ctstate INVALID,NEW,UNTRACKED
tcpflags   tcp  --  anywhere             anywhere           
net-fw     all  --  anywhere             anywhere           

Chain wlp3s0_out (1 references)
target     prot opt source               destination         
fw-net     all  --  anywhere             anywhere           
[root@Humlan jan]#

.....

User avatar
janpihlgren
 
Posts: 294
Joined: Mar 30th, '11, 12:23
Location: Marsta, Sweden

Re: Can't start Webmin

Postby doktor5000 » Aug 1st, '17, 23:47

Well neither webmin nor anything else is listening on port 10000 as you can see. Can you please show the output of
Code: Select all
lsof -i | grep -i webmin
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18056
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Can't start Webmin

Postby janpihlgren » Aug 2nd, '17, 05:51

But how can I get webmin listen on port 10000?
As I wrote above when looking in MCC/System it tell me that webmin is running.

The documentation says that I have to use command:
https://localhost:10000
to access webmin
User avatar
janpihlgren
 
Posts: 294
Joined: Mar 30th, '11, 12:23
Location: Marsta, Sweden


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest