Comments (12)
hard to read in the ticket here is the trace in txt file !
usermintrace.txt
from usermin.
Webmin and Usermin usually never crash really. Although, it can be killed by kernel (OOM). Try checking this out, e.g.:
dmesg -T | grep -i 'kill'
from usermin.
oh yes good idea i had not look there but i just reviewed all the kernel and syslog of the server and there is not any ooem or other messages.
the usermin log show only this when i click on it:
==> /var/usermin/miniserv.error <==
[30/Jan/2023:17:45:34 +0100] Shutting down
best regards,
Ghislain.
from usermin.
That indicates it was told to shut down. Quite different from a "crash".
from usermin.
yes the strace show the same but the very same thing work on the previous version and here each click makes it shutdown for no reason.
i dont know what i can do more to debug this :(
from usermin.
What is the output of systemctl restart usermin
and then systemctl status usermin
?
Also, check what is getting printed to /var/usermin/miniserv.error
after running those commands.
from usermin.
its a sysv system here it is:
VSGUEST:root@:[~]: /etc/init.d/usermin restart
Stopping Usermin server in /usr/share/usermin
/etc/usermin/.stop-init: 10: kill: No such process
Starting Usermin server in /usr/share/usermin
VSGUEST:root@:[~]: /etc/init.d/usermin restart
Stopping Usermin server in /usr/share/usermin
Starting Usermin server in /usr/share/usermin
VSGUEST:root@:[~]:
resulting logs:
[30/Jan/2023:18:33:10 +0100] miniserv.pl started
[30/Jan/2023:18:33:10 +0100] Using MD5 module Digest::MD5
[30/Jan/2023:18:33:10 +0100] Using SHA512 module Crypt::SHA
[30/Jan/2023:18:33:10 +0100] PAM authentication enabled
[30/Jan/2023:18:33:13 +0100] Shutting down
[30/Jan/2023:18:33:16 +0100] miniserv.pl started
[30/Jan/2023:18:33:16 +0100] Using MD5 module Digest::MD5
[30/Jan/2023:18:33:16 +0100] Using SHA512 module Crypt::SHA
[30/Jan/2023:18:33:16 +0100] PAM authentication enabled
VSGUEST:root@:[~]: facter os
{
architecture => "amd64",
distro => {
codename => "buster",
description => "Debian GNU/Linux 10 (buster)",
id => "Debian",
release => {
full => "10.13",
major => "10",
minor => "13"
}
},
family => "Debian",
hardware => "x86_64",
name => "Debian",
release => {
full => "10.13",
major => "10",
minor => "13"
},
selinux => {
enabled => false
}
}
VSGUEST:root@:[~]: dpkg -l usermin-webmail
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===============-============-============-================================================================
ii usermin-webmail 1.861 all web-based user account administration interface for Unix systems
from usermin.
I thought that Debian 10 is always a systemd
system .. why not sticking with systemd
anyway?
It is not clear what is happening with Usermin but you will have to debug it. Start from looking into available resources (memory and disk space/quota).
By the way, what about Webmin? Does it get killed too?
from usermin.
no webmin/virtualmin are fine.
connecting directly from usermin with the user login/pass works. This is when i come from virtualmin that usermin is shutdown.
from usermin.
I can reproduce that issue (Jan 7 Virtualmin install / Usermin 1.861). Actually I had been experiencing its side effects without realizing the cause.
Steps to reproduce:
- Edit Users -> Click on a user
- Click "Login to Usermin"
- A new webpage will open, but with an "Unable to connect" error
- Refreshing that page once or twice brings up Usermin
Usermin log:
[03/Apr/2023:12:28:52 +0000] PAM authentication enabled
[03/Apr/2023:12:28:52 +0000] Using SHA512 module Crypt::SHA
[03/Apr/2023:12:28:52 +0000] Using MD5 module Digest::MD5
[03/Apr/2023:12:28:52 +0000] miniserv.pl started
[03/Apr/2023:12:28:48 +0000] Shutting down
Syslog:
Apr 3 12:28:52 mars systemd[1]: Started Usermin server daemon.
Apr 3 12:28:52 mars systemd[1]: usermin.service: Can't open PID file /var/usermin/miniserv.pid (yet?) after start: Operation not permitted
Apr 3 12:28:50 mars systemd[1]: Starting Usermin server daemon...
Apr 3 12:28:50 mars systemd[1]: usermin.service: Consumed 2.312s CPU time.
Apr 3 12:28:50 mars systemd[1]: Stopped Usermin server daemon.
Apr 3 12:28:50 mars systemd[1]: usermin.service: Scheduled restart job, restart counter is at 4.
Apr 3 12:28:48 mars systemd[1]: usermin.service: Consumed 2.312s CPU time.
Apr 3 12:28:48 mars systemd[1]: usermin.service: Failed with result 'signal'.
Apr 3 12:28:48 mars systemd[1]: usermin.service: Main process exited, code=killed, status=10/USR1
from usermin.
Confirmed.
The reason why this happens is because when setting a new session for the user, Usermin is getting killed and automatically restarted only in 3 seconds (by systemd
). I will look into this problem deeper.
Thanks for reporting this.
from usermin.
This issue will be fixed in the next Webmin release.
from usermin.
Related Issues (20)
- menu on left side will not stay opened on iPad HOT 3
- RHEL9: unable to install usermin via webmin's repo (setup-repos.sh)
- Feature request: Apply filters by selection HOT 2
- Question: html tags visible in Usermin filter list? HOT 1
- resetting usermin theme to global default causes errors and inability to log in HOT 1
- Mailbox Folder message list view Subject Encoding bug. HOT 28
- Feature Request: Reverse/Undo "Mark as spam and delete". HOT 5
- Feature Request: Enable end to end email encryption using OpenPGP. HOT 22
- feature request for caldav/carddav
- Refresh button at top of Mailbox Message List doesn't work. HOT 14
- Usermin fails to start after updating to 1.860 HOT 4
- [feature] roundcube support? HOT 1
- usermin cannot change user real name HOT 9
- [email protected] HOT 1
- Return to mailbox button goes under certain circumstances to page 1 instead of the current page HOT 3
- Usermin's spf and dkim flagging of emails could be enhanced HOT 15
- Feature request: Add a page selector to Usermin messages list HOT 3
- Mark as/Report spam in Usermin seems not to function correctly HOT 2
- HTML emails get Usermin styling. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from usermin.