Not able to access Webmin remotely for awhile

this is another log file.
try
/var/webmin/webmin.log

PS.
check /etc/webmin/miniserv.conf for a line allow=xxx.xxx.xxx.xxx just in case there a IP only allowed.
if so delete the line and restart webmin

also view the output from

service saslauthd status

may have some clues

No allow line in miniserve.conf. And webmin.log is empty.

No idea, maybe compare you miniserve.conf to your working machines to see if there something that maybe different. Weird the log file is empty.

I did. They were identical. I even copied from the working one directly to the broken one to see if I missed anything.

That service wasn’t found.

Is the service running on your working server ?

Just checked. Not found there either.

I’m at a loss … can you log into usermin ?
are you seeing any auth problems in other logs ? e.g mail.log ?
what is the output from

cat auth.log |grep webmin

Hello. I have exactly same problem, also 2 weeks ago, and i try all you try.
All services and websites works. Anly can not access webmin/usermin.
I have Ubuntu 22.04.2 but problem exactly same.

One time, i have succesfully logined to webmin, after:

  1. upgrading kernel to 5.19 from 5.15
  2. run command grub-update
    After reboot login to webmin was sucesfull. And all works stable 1 weeks (but i did not reboot). Today i decided to try reboot, and problem return.
    I try all i can, no any new ideas, and yes it startet 2 weeks ago. I think it is bug.

For me helps to reinstall ubuntu kernel and update grub, all work again. Also i downgraded Authentic theme to version 20.21

My apologies: Removed to avoid confusion…

saslauthd has nothing to do with Webmin.

Kernel and grub have nothing to do with Webmin.

Websites have nothing to do with Webmin (they do not share a web server, either can work without the other).

This thread is wild, y’all. Let’s focus on Webmin, not on everything other than Webmin.

  1. Is Webmin running? systemctl status webmin
  2. Is Webmin listening on the port you think it is? netstat -ltnp |grep ':10000' (replace 10000 with whatever port you believe you have configured Webmin to listen on)

If both of those are true, is the Webmin web server responding?

wget localhost:10000

This will download an index.html. It’ll be an error (telling you to connect via SSL). But it proves Webmin is responding, at least locally.

If all of that looks good, it’s probably a firewall or network problem.

One other common cause of “sometimes works, sometimes doesn’t” is the OOM killer.

Check your kernel log (dmesg for the current boot) for out of memory errors.

Would have helped if you came to elaborate on this a couple days ago, don’t you think?

The time I spend in the forum is unpaid time. I’m doing the best I can with the free time I have available.

You’re a Pro subscriber, so you can also send a PM to @staff , which gets prioritized in our queue (though it’s also private, so only the handful of people in the company and one of our moderators can see it, usually forum does a good job solving problems, too). I looked at this thread when it first started and it started off good, then it went off the rails. Sorry, I didn’t see that things weren’t going in a useful direction until today.

Here’s the 3 tests requested:

webmin.service - Webmin server daemon
Loaded: loaded (/lib/systemd/system/webmin.service; enabled; vendor preset>
Active: active (running) since Thu 2023-05-04 16:30:51 +07; 1 day 14h ago
Process: 2673442 ExecStart=/usr/share/webmin/miniserv.pl /etc/webmin/minise>
Main PID: 2673456 (miniserv.pl)
Tasks: 1 (limit: 36010)
Memory: 46.3M
CGroup: /system.slice/webmin.service
└─2673456 /usr/bin/perl /usr/share/webmin/miniserv.pl /etc/webmin/>

May 04 16:30:49 systemd[1]: Starting Webmin server daemon…
May 04 16:30:49 perl[2673442]: pam_unix(webmin:auth): authenticati>
May 04 16:30:51 webmin[2673442]: Webmin starting
May 04 16:30:51 systemd[1]: Started Webmin server daemon.

root@k9sports:/# netstat -ltnp |grep ‘:10000’
tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN 2673456/perl

root@:/# wget localhost:10000
–2023-05-06 06:42:11-- http://localhost:10000/
Resolving localhost (localhost)… 127.0.0.1, ::1
Connecting to localhost (localhost)|127.0.0.1|:10000… connected.
HTTP request sent, awaiting response… 200 Document follows
Length: unspecified [text/html]
Saving to: ‘index.html’

index.html [ <=> ] 4.80K --.-KB/s in 0.002s

2023-05-06 06:42:12 (3.11 MB/s) - ‘index.html’ saved [4918]

Firewall is disabled. Network is working for everything but Webmin. Even with the more obscure ports. Webmin ports have been changed to various ports for testing.

Thanks!