Menu

#4780 Webmin will not start on Ubuntu 16.04

1.801
closed-fixed
nobody
None
5
2017-07-17
2016-06-26
Ken Sproule
No

This is the output from 'service webmin status'
● webmin.service - LSB: Start or stop the Webmin server
Loaded: loaded (/etc/init.d/webmin; bad; vendor preset: enabled)
Active: failed (Result: timeout) since Sun 2016-06-26 16:33:28 CDT; 34s ago
Docs: man:systemd-sysv-generator(8)
CGroup: /system.slice/webmin.service
├─13399 /usr/bin/perl /usr/share/webmin/miniserv.pl /etc/webmin/miniserv.c
├─13400 fingerprint-helper 4 5 webmin -d -user root dUmMy4 dUmMy5
├─18509 /usr/bin/perl /usr/share/webmin/miniserv.pl /etc/webmin/miniserv.c
└─18512 fingerprint-helper 4 5 webmin -d -user root dUmMy4 dUmMy5

Jun 26 16:28:28 kibmu2cw fingerprint-helper[18512]: Arg6: -user.
Jun 26 16:28:28 kibmu2cw fingerprint-helper[18512]: Arg7: root.
Jun 26 16:28:28 kibmu2cw fingerprint-helper[18512]: Arg8: dUmMy4.
Jun 26 16:28:28 kibmu2cw fingerprint-helper[18512]: Arg9: dUmMy5.
Jun 26 16:28:28 kibmu2cw fingerprint-helper[18512]: Have pipe_r 4 and pipe_w 5.
Jun 26 16:28:28 kibmu2cw fingerprint-helper[18512]: Have display=(null), XAUTHORITY=(
Jun 26 16:33:28 kibmu2cw systemd[1]: webmin.service: Start operation timed out. Termi
Jun 26 16:33:28 kibmu2cw systemd[1]: Failed to start LSB: Start or stop the Webmin se
Jun 26 16:33:28 kibmu2cw systemd[1]: webmin.service: Unit entered failed state.
Jun 26 16:33:28 kibmu2cw systemd[1]: webmin.service: Failed with result 'timeout'.

Discussion

  • Jamie Cameron

    Jamie Cameron - 2016-06-27

    Does anything get logged to /var/webmin/miniserv.error ?

     
  • Ken Sproule

    Ken Sproule - 2016-06-27

    No, in fact, there is no /var/webmin/miniserv.error file just a module.infos.cache file and a modules directory.

     
  • Jamie Cameron

    Jamie Cameron - 2016-06-27

    What if you try starting webmin with the command /etc/webmin/start ?

     
  • Ken Sproule

    Ken Sproule - 2016-06-27

    This is after /etc/webmin/start :
    also we did not get a /var/webmin/miniserv.error file


    service webmin status
    ● webmin.service - LSB: Start or stop the Webmin server
    Loaded: loaded (/etc/init.d/webmin; bad; vendor preset: enabled)
    Active: failed (Result: timeout) since Mon 2016-06-27 10:41:12 CDT; 20min ago
    Docs: man:systemd-sysv-generator(8)
    Process: 1799 ExecStart=/etc/init.d/webmin start (code=killed, signal=TERM)
    CGroup: /system.slice/webmin.service
    ├─1809 /usr/bin/perl /usr/share/webmin/miniserv.pl /etc/webmin/miniserv.co
    └─2012 fingerprint-helper 4 5 webmin -d -user root dUmMy4 dUmMy5

    Jun 27 10:36:12 kibmu2cw fingerprint-helper[2012]: Arg6: -user.
    Jun 27 10:36:12 kibmu2cw fingerprint-helper[2012]: Arg7: root.
    Jun 27 10:36:12 kibmu2cw fingerprint-helper[2012]: Arg8: dUmMy4.
    Jun 27 10:36:12 kibmu2cw fingerprint-helper[2012]: Arg9: dUmMy5.
    Jun 27 10:36:12 kibmu2cw fingerprint-helper[2012]: Have pipe_r 4 and pipe_w 5.
    Jun 27 10:36:12 kibmu2cw fingerprint-helper[2012]: Have display=(null), XAUTHORITY=(n
    Jun 27 10:41:12 kibmu2cw systemd[1]: webmin.service: Start operation timed out. Termi
    Jun 27 10:41:12 kibmu2cw systemd[1]: Failed to start LSB: Start or stop the Webmin se
    Jun 27 10:41:12 kibmu2cw systemd[1]: webmin.service: Unit entered failed state.
    Jun 27 10:41:12 kibmu2cw systemd[1]: webmin.service: Failed with result 'timeout'.

     
  • Jamie Cameron

    Jamie Cameron - 2016-06-29

    Does /etc/webmin/start output any error messages though?

     
  • Ken Sproule

    Ken Sproule - 2016-06-29

    No none at all it just hangs the prompt like below:
    ~#/etc/webmin/start
    Starting Webmin server in /usr/share/webmin

     
  • Jamie Cameron

    Jamie Cameron - 2016-06-30

    Is any other process using port 10000 on your system? If you can check with the command lsof -i tcp:10000

     
  • Ken Sproule

    Ken Sproule - 2016-06-30

    lsof -i tcp:10000 returns nothing. Port 10000 is open even in my firewall.

     
  • Jamie Cameron

    Jamie Cameron - 2016-06-30

    I'm out of ideas here, sorry ... nobody else has reported a problem like this before.

     
  • Ken Sproule

    Ken Sproule - 2016-06-30

    I might add that I have 2 machines. Both Lenovo W530's with the identical problem.

     
  • Jamie Cameron

    Jamie Cameron - 2016-07-01

    Any chance that I could login to one of these machines to see what's going wrong?

     
  • Ken Sproule

    Ken Sproule - 2016-07-01

    Jamie, I need to clear up a few things here before I can let that happen. I'll get back to you.

     
  • Telperien

    Telperien - 2017-02-25

    So you say nobody else has ran into this issue but I just installed webmin and I am having the same issue. Failed to start LSB: Start or stop the Webmin server. I checked nothing else is using port 10000 and it isn't blocked on firewall.

     
  • Telperien

    Telperien - 2017-02-25

    when I tried to start it got the same issue when checking status. When I tried using the restart command this is what happens.

    sudo /etc/init.d/webmin restart
    Stopping Webmin server in /usr/share/webmin
    cat: /var/webmin/miniserv.pid: No such file or directory
    /etc/webmin/stop: 4: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
    kill -l [exitstatus]
    Starting Webmin server in /usr/share/webmin
    Pre-loaded WebminCore
    Failed to open socket family 10 : Bad file descriptor at /usr/share/webmin/miniserv.pl line 542.

     
  • Jamie Cameron

    Jamie Cameron - 2017-02-25

    Do you have the full version of Perl installed there, or perhaps just some limited package?

     
  • Casey Jones

    Casey Jones - 2017-03-28

    I have the same issue too. Are there any solution to solve that problem ?

     
  • Jamie Cameron

    Jamie Cameron - 2017-03-28

    Try editing /etc/webmin/miniserv.conf and removing the line ipv6=1

     
  • BoBo

    BoBo - 2017-07-16

    Jamie, I've had the same issue, and this - ie. removing the ipv6=1 line - has fixed it.

    The issue came up right after installing webmin from the repository, it didn't even start the service (of course) just put the error messages into syslog.
    I was testing it on a Amazon Web Services EC2 micro instance with Ubuntu 16.04 where ipv6 was disabled.
    All is good with this fix now.

     
  • Jamie Cameron

    Jamie Cameron - 2017-07-17
    • status: open --> closed-fixed
     
  • Jamie Cameron

    Jamie Cameron - 2017-07-17

    Ok, I found the cause of this now - Webmin doesn't deal gracefully with the case where the system doesn't support IPv6. I will fix this in the next release.

     

Log in to post a comment.

MongoDB Logo MongoDB