Hallo Arnaud,
zu früh gefreut:
Mmh, ich melde ich mich zum Aufruf des Setup an der Schulkonsole mit root an. Dann erhalte ich folgende Fehlermeldung:
This page isn’t working
10.0.0.1 didn’t send any data.
ERR_EMPTY_RESPONSE
In den Logs findet sich unter /var/log/ajenti/ajenti.log folgender Eintrag
2023-12-06 17:12:54,122 INFO : 10.0.0.10 - - [2023-12-06 17:12:54] "GET /api/
core/tasks/request-update HTTP/1.1" 401 142 0.001067
2023-12-06 17:13:02,999 INFO : Opening a session for user root
2023-12-06 17:13:02,999 INFO : Opening a new worker gate for session 2, clien
t 10.0.0.10
2023-12-06 17:13:03,004 INFO : 10.0.0.10 - - [2023-12-06 17:13:03] "POST /api
/core/auth HTTP/1.1" 200 347 0.561288
2023-12-06 17:13:03,006 INFO : New worker "session 2" PID 1780, EUID 0, EGID
0
2023-12-06 17:13:03,006 INFO : Authenticating session as root
2023-12-06 17:13:03,007 WARNING : /var/lib/samba/private/sam.ldb not found, is l
inuxmuster installed ?
2023-12-06 17:13:03,235 INFO : 10.0.0.10 - - [2023-12-06 17:13:03] "GET / HTTP/1.1" 200 - 0.000525
2023-12-06 17:22:45,729 INFO : Process 750 exiting normally
2023-12-06 17:22:56,689 INFO : Loading config from /etc/ajenti/config.yml
2023-12-06 17:22:56,694 INFO : Loading users from /etc/ajenti/users.yml
2023-12-06 17:22:56,694 INFO : Loading smtp config from /etc/ajenti/smtp.yml
2023-12-06 17:22:56,695 INFO : Loading tfa config from /etc/ajenti/tfa.yml
2023-12-06 17:22:56,695 INFO : Ajenti Core 2.2.7
2023-12-06 17:22:56,695 INFO : Master PID - 751
2023-12-06 17:22:56,695 INFO : Detected platform: debian / Ubuntu 22.04.3 LTS
2023-12-06 17:22:56,695 INFO : Python version: 3.10.12
2023-12-06 17:22:56,810 INFO : Discovered 36 plugins
2023-12-06 17:22:56,824 INFO : docker.__init__.py: docker loaded
2023-12-06 17:22:56,894 ERROR : Can not read realm and domain from smb.conf
2023-12-06 17:22:57,167 INFO : samba_dns.__init__.py: samba_dns loaded
2023-12-06 17:22:57,170 ERROR : [lmn_quotas]: plugin import failed: cannot import name 'samba_workgroup' from 'aj.plugins.lmn_common.api' (/usr/lib/linuxmuster-webui/plugins/lmn_common/api.py)
2023-12-06 17:22:57,170 ERROR : Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/aj/plugins.py", line 341, in load_all_from
self.__import_plugin_module(name, self[name])
File "/usr/local/lib/python3.10/dist-packages/aj/plugins.py", line 367, in __import_plugin_module
spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/linuxmuster-webui/plugins/lmn_quotas/__init__.py", line 2, in <module>
from .views import *
File "/usr/lib/linuxmuster-webui/plugins/lmn_quotas/views.py", line 13, in <module>
from aj.plugins.lmn_common.api import lmn_getSophomorixValue, samba_workgroup
ImportError: cannot import name 'samba_workgroup' from 'aj.plugins.lmn_common.api' (/usr/lib/linuxmuster-webui/plugins/lmn_common/api.py)
In dem o.g. Verzeichnis finden sich nur die Dateien:
root@server:/var/log/ajenti# ls -l /var/lib/samba/private/
msg.sock/ passdb.tdb
netlogon_creds_cli.tdb secrets.tdb
Hast Du eine Idee, …
LG
Chris