Benutzer anlegen schlägt fehl [GELÖST]
-
- Posts: 9
- Joined: Wed 20. Oct 2021, 11:50
Benutzer anlegen schlägt fehl
Betriebssystem: Debian 11 (minimal)
Sobald ich neue Benutzerkonten anlege und mich bei diesen anmelde, so erfolgt die Meldung: "Ihr Account ist noch nicht vollständig eingerichtet - einige Funktionen stehen nur eingeschränkt zur Verfügung."
In den Logs steht nur folgendes: 2021-10-19 23:54:02 Fehler Failed to add system user ssssss. 127.0.0.1 Maintenance (update)
Gibt es eine Möglichkeit den Fehler zu beheben ohne Keyhelp Neuinstallation?
Bin für jede Hilfe dankbar!
Re: Benutzer anlegen schlägt fehl
traten bei der Installation Fehler auf, insbesondere beim Einrichten der Quota?
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
-
- Posts: 9
- Joined: Wed 20. Oct 2021, 11:50
Re: Benutzer anlegen schlägt fehl
Die Datei mit dem Installationsprotokoll liegt hier:
Code: Select all
/var/log/keyhelp/install.log
Schau auch mal zum Zeitpunkt des Useranlegens in "Protokolle" -> "Aufgabenbearbeitung | update.log"
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
-
- Posts: 9
- Joined: Wed 20. Oct 2021, 11:50
Re: Benutzer anlegen schlägt fehl
Code: Select all
================================================================================
Quota
================================================================================
exec | apt-get install -y quota quotatool
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
libnl-3-200 libnl-genl-3-200
Suggested packages:
libnet-ldap-perl rpcbind
The following NEW packages will be installed:
libnl-3-200 libnl-genl-3-200 quota quotatool
0 upgraded, 4 newly installed, 0 to remove and 17 not upgraded.
2 not fully installed or removed.
Need to get 365 kB of archives.
After this operation, 1754 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bullseye/main amd64 libnl-3-200 amd64 3.4.0-1+b1 [63.6 kB]
Get:2 http://deb.debian.org/debian bullseye/main amd64 libnl-genl-3-200 amd64 3.4.0-1+b1 [21.2 kB]
Get:3 http://deb.debian.org/debian bullseye/main amd64 quota amd64 4.06-1 [259 kB]
Get:4 http://deb.debian.org/debian bullseye/main amd64 quotatool amd64 1:1.6.2-5 [21.1 kB]
Preconfiguring packages ...
Fetched 365 kB in 0s (14.0 MB/s)
Selecting previously unselected package libnl-3-200:amd64.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 38251 files and directories currently installed.)
Preparing to unpack .../libnl-3-200_3.4.0-1+b1_amd64.deb ...
Unpacking libnl-3-200:amd64 (3.4.0-1+b1) ...
Selecting previously unselected package libnl-genl-3-200:amd64.
Preparing to unpack .../libnl-genl-3-200_3.4.0-1+b1_amd64.deb ...
Unpacking libnl-genl-3-200:amd64 (3.4.0-1+b1) ...
Selecting previously unselected package quota.
Preparing to unpack .../quota_4.06-1_amd64.deb ...
Unpacking quota (4.06-1) ...
Selecting previously unselected package quotatool.
Preparing to unpack .../quotatool_1%3a1.6.2-5_amd64.deb ...
Unpacking quotatool (1:1.6.2-5) ...
Setting up awstats (7.8-2) ...
Setting up quotatool (1:1.6.2-5) ...
Setting up libnet-xwhois-perl (0.90-4.1) ...
Setting up libnl-3-200:amd64 (3.4.0-1+b1) ...
Setting up libnl-genl-3-200:amd64 (3.4.0-1+b1) ...
Setting up quota (4.06-1) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for libc-bin (2.31-13) ...
exec | service quota stop
exec | cp /etc/fstab /etc/fstab-backup
exec | echo "/dev/simfs / simfs rw,relatime,usrquota,grpquota 0 1
proc /proc proc defaults 0 0
none /dev/pts devpts rw,gid=5,mode=620 0 0
none /run/shm tmpfs defaults 0 0" > "/etc/fstab"
exec | mount -o remount /
mount: /: permission denied.
Code: Select all
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ERROR DETECTED <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
[SKIPPED DUE PREVIOUS ERRORS] exec | rm -f /etc/cron.d/awstats
[SKIPPED DUE PREVIOUS ERRORS] exec | rm -f /etc/awstats/awstats.conf
================================================================================
Fail2ban
================================================================================
exec | apt-get install -y fail2ban
Reading package lists...
E: Couldn't make mmap of 35217870 bytes - DynamicMMap (12: Cannot allocate memory)
E: The package lists or status file could not be parsed or opened.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ERROR DETECTED <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
[SKIPPED DUE PREVIOUS ERRORS] files | fail2ban/jail.d/keyhelp.local => /etc/fail2ban/jail.d/keyhelp.local
[SKIPPED DUE PREVIOUS ERRORS] files | fail2ban/filter.d/keyhelp-phpmyadmin.conf => /etc/fail2ban/filter.d/keyhelp-phpmyadmin.conf
[SKIPPED DUE PREVIOUS ERRORS] exec | chown keyhelp:keyhelp /etc/fail2ban/jail.d/keyhelp.local
[SKIPPED DUE PREVIOUS ERRORS] exec | service fail2ban restart
================================================================================
Logrotate
================================================================================
exec | apt-get install -y logrotate
Reading package lists...
E: Couldn't make mmap of 35217870 bytes - DynamicMMap (12: Cannot allocate memory)
E: The package lists or status file could not be parsed or opened.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ERROR DETECTED <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
[SKIPPED DUE PREVIOUS ERRORS] files | logrotate/keyhelp => /etc/logrotate.d/keyhelp
[SKIPPED DUE PREVIOUS ERRORS] files | logrotate/logrotate.timer => /lib/systemd/system/logrotate.timer
[SKIPPED DUE PREVIOUS ERRORS] exec | systemctl daemon-reload
Code: Select all
====
[20-Oct-2021 12:01:01] INFO --> load tasks... 3 found
[20-Oct-2021 12:01:01] INFO --> task type IDs: 100, 500, 600
[20-Oct-2021 12:01:01] INFO --> add user "ddddd"
[20-Oct-2021 12:01:01] INFO --> perform useradd... okay
[20-Oct-2021 12:01:01] INFO --> setup user groups
[20-Oct-2021 12:01:01] INFO --> setup home directory
[20-Oct-2021 12:01:01] INFO --> setup /www/ content
[20-Oct-2021 12:01:01] INFO --> default index file created
[20-Oct-2021 12:01:01] WARN --> set quota for user "ddddd" to 1251328 Blocks... failed
[20-Oct-2021 12:01:01] WARN --> setquota: Mountpoint (or device) / not found or has no quota enabled.
[20-Oct-2021 12:01:01] WARN --> setquota: Not all specified mountpoints are using quota.
[20-Oct-2021 12:01:01] INFO --> Bind: writeConfig()
[20-Oct-2021 12:01:01] INFO --> Bind: checkDirectory()
[20-Oct-2021 12:01:01] INFO --> Bind: directory "/etc/bind/keyhelp_domains/" already exists
[20-Oct-2021 12:01:01] INFO --> Bind: 2 name servers found
[20-Oct-2021 12:01:01] INFO --> Bind: 2 ips found
-
- Posts: 9
- Joined: Wed 20. Oct 2021, 11:50
Re: Benutzer anlegen schlägt fehl
Wüsste so aber auch nicht wie ich das Quota Problem löse (ohne neuinstallation).
Re: Benutzer anlegen schlägt fehl
Auch mit einer Neuinstallation wird das Problem das Selbe sein, je nach eingesetzter Virtualisierung.
-> Es lassen sich aber hier im Forum dafür Lösungen finden, keine Sorge

Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
-
- Posts: 9
- Joined: Wed 20. Oct 2021, 11:50
Re: Benutzer anlegen schlägt fehl
Hatte damals schon einen Server bei Ihm und hatte dort auch keyHelp installiert. Da lief aber alles ohne Probleme.
https://www.delta-networks.de/
Re: Benutzer anlegen schlägt fehl
https://www.google.com/search?q=site%3A ... nt=gws-wiz
Das sollte dich zu zahlreichen Lösungen hier im Forum führen.
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Re: Benutzer anlegen schlägt fehl
Scheint wohl ein zu schmaler Server zu sein.ericxstruck wrote: ↑Wed 20. Oct 2021, 12:08
exec | apt-get install -y logrotate
Reading package lists...
E: Couldn't make mmap of 35217870 bytes - DynamicMMap (12: Cannot allocate memory)
E: The package lists or status file could not be parsed or opened.
-
- Posts: 9
- Joined: Wed 20. Oct 2021, 11:50
Re: Benutzer anlegen schlägt fehl
Erfüllt aber die Mindestanforderungen von 1GB RAM etcMLan wrote: ↑Wed 20. Oct 2021, 12:59Scheint wohl ein zu schmaler Server zu sein.ericxstruck wrote: ↑Wed 20. Oct 2021, 12:08
exec | apt-get install -y logrotate
Reading package lists...
E: Couldn't make mmap of 35217870 bytes - DynamicMMap (12: Cannot allocate memory)
E: The package lists or status file could not be parsed or opened.
Re: Benutzer anlegen schlägt fehl
aber vermutlich ohne swap spaceericxstruck wrote: ↑Wed 20. Oct 2021, 13:03Erfüllt aber die Mindestanforderungen von 1GB RAM etcMLan wrote: ↑Wed 20. Oct 2021, 12:59Scheint wohl ein zu schmaler Server zu sein.ericxstruck wrote: ↑Wed 20. Oct 2021, 12:08
exec | apt-get install -y logrotate
Reading package lists...
E: Couldn't make mmap of 35217870 bytes - DynamicMMap (12: Cannot allocate memory)
E: The package lists or status file could not be parsed or opened.

-
- Posts: 9
- Joined: Wed 20. Oct 2021, 11:50
Re: Benutzer anlegen schlägt fehl
/vz/private/176 / simfs rw,relatime,usrquota,grpquota 0 1
hinzufügen.
Installation läuft zwar durch nur die QUOTA spuckt bei Installation einen Fehler aus.
Re: Benutzer anlegen schlägt fehl
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
-
- Posts: 9
- Joined: Wed 20. Oct 2021, 11:50
Re: Benutzer anlegen schlägt fehl
Code: Select all
MTPT=$(mount | grep /dev/ploop | awk '{print $1}'); echo $MTPT " / simfs rw,relatime,usrquota,grpquota 0 1" >> /etc/fstab; echo "proc /proc proc defaults 0 0" >> /etc/fstab
Log: Danach hat er wohl aber weiterhin den selben Fehler.
Code: Select all
================================================================================
Quota
================================================================================
exec | apt-get install -y quota quotatool
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
libnl-3-200 libnl-genl-3-200 libtirpc-common libtirpc3
Suggested packages:
libnet-ldap-perl rpcbind
The following NEW packages will be installed:
libnl-3-200 libnl-genl-3-200 libtirpc-common libtirpc3 quota quotatool
0 upgraded, 6 newly installed, 0 to remove and 46 not upgraded.
Need to get 540 kB of archives.
After this operation, 2,160 kB of additional disk space will be used.
Get:1 http://ftp.debian.org/debian buster/main amd64 libnl-3-200 amd64 3.4.0-1 [63.0 kB]
Get:2 http://ftp.debian.org/debian buster/main amd64 libnl-genl-3-200 amd64 3.4.0-1 [21.0 kB]
Get:3 http://ftp.debian.org/debian buster/main amd64 libtirpc-common all 1.1.4-0.4 [16.7 kB]
Get:4 http://ftp.debian.org/debian buster/main amd64 libtirpc3 amd64 1.1.4-0.4 [93.5 kB]
Get:5 http://ftp.debian.org/debian buster/main amd64 quota amd64 4.04-2+deb10u1 [325 kB]
Get:6 http://ftp.debian.org/debian buster/main amd64 quotatool amd64 1:1.6.2-5 [21.1 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 540 kB in 0s (23.0 MB/s)
Selecting previously unselected package libnl-3-200:amd64.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 30507 files and directories currently installed.)
Preparing to unpack .../0-libnl-3-200_3.4.0-1_amd64.deb ...
Unpacking libnl-3-200:amd64 (3.4.0-1) ...
Selecting previously unselected package libnl-genl-3-200:amd64.
Preparing to unpack .../1-libnl-genl-3-200_3.4.0-1_amd64.deb ...
Unpacking libnl-genl-3-200:amd64 (3.4.0-1) ...
Selecting previously unselected package libtirpc-common.
Preparing to unpack .../2-libtirpc-common_1.1.4-0.4_all.deb ...
Unpacking libtirpc-common (1.1.4-0.4) ...
Selecting previously unselected package libtirpc3:amd64.
Preparing to unpack .../3-libtirpc3_1.1.4-0.4_amd64.deb ...
Unpacking libtirpc3:amd64 (1.1.4-0.4) ...
Selecting previously unselected package quota.
Preparing to unpack .../4-quota_4.04-2+deb10u1_amd64.deb ...
Unpacking quota (4.04-2+deb10u1) ...
Selecting previously unselected package quotatool.
Preparing to unpack .../5-quotatool_1%3a1.6.2-5_amd64.deb ...
Unpacking quotatool (1:1.6.2-5) ...
Setting up libtirpc-common (1.1.4-0.4) ...
Setting up quotatool (1:1.6.2-5) ...
Setting up libnl-3-200:amd64 (3.4.0-1) ...
Setting up libtirpc3:amd64 (1.1.4-0.4) ...
Setting up libnl-genl-3-200:amd64 (3.4.0-1) ...
Setting up quota (4.04-2+deb10u1) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
Processing triggers for systemd (241-5) ...
Processing triggers for libc-bin (2.28-10) ...
exec | service quota stop
exec | cp /etc/fstab /etc/fstab-backup
exec | echo "proc /proc proc defaults 0 0
none /dev/pts devpts rw,gid=5,mode=620 0 0
none /run/shm tmpfs defaults 0 0
/dev/ploop13457p1 / simfs rw,relatime,usrquota,grpquota 0 1
proc /proc proc defaults 0 0" > "/etc/fstab"
exec | mount -o remount /
mount: /: permission denied.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ERROR DETECTED <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
[SKIPPED DUE PREVIOUS ERRORS] exec | quotacheck -avmug
[SKIPPED DUE PREVIOUS ERRORS] exec | service quota start