Tiago_Prado
(TIAGO DE OLIVEIRA PRADO)
May 16, 2022, 6:49pm
1
NethServer Version: 7.9.2009
Module: samba audit
When I click on samba audit, only the last modification made by each domain user is shown. How to show everything the user has done?
If I try to click on “Advanced search”, the following error is shown: “Nethgui:
404 - Language not found 1377519247”.
How to solve this problem? I’m from Brazil, but I put to install the nethserver in English.
mrmarkuz
(Markus Neuberger)
May 16, 2022, 11:19pm
2
Hi and welcome to NethServer Community,
is the old server manager installed? You can check by executing
rpm -qa nethserver-httpd-admin\*
Is the relevant service running?
systemctl status httpd-admin -l
1 Like
Tiago_Prado
(TIAGO DE OLIVEIRA PRADO)
May 17, 2022, 12:57pm
3
Yes, it is installed, only when I enter “Reports-> samba audit” that the error occurs, in “Reports → Graphs” it works normally.
rpm -qa nethserver-httpd-admin*
nethserver-httpd-admin-2.7.0-1.ns7.noarch
nethserver-httpd-admin-service-2.7.0-1.ns7.noarch
systemctl status httpd-admin -l
● httpd-admin.service - Server Manager UI httpd instance
Loaded: loaded (/usr/lib/systemd/system/httpd-admin.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2022-05-16 15:03:18 -03; 18h ago
Docs: https://github.com/NethServer/nethserver-httpd-admin
Main PID: 10541 (httpd)
CGroup: /system.slice/httpd-admin.service
├─10541 /usr/sbin/httpd -f /etc/httpd/admin-conf/httpd.conf -c MaxConnectionsPerChild 12 -DFOREGROUND
├─12450 /usr/sbin/httpd -f /etc/httpd/admin-conf/httpd.conf -c MaxConnectionsPerChild 12 -DFOREGROUND
├─12851 /usr/sbin/httpd -f /etc/httpd/admin-conf/httpd.conf -c MaxConnectionsPerChild 12 -DFOREGROUND
├─13002 /usr/sbin/httpd -f /etc/httpd/admin-conf/httpd.conf -c MaxConnectionsPerChild 12 -DFOREGROUND
├─13093 /usr/sbin/httpd -f /etc/httpd/admin-conf/httpd.conf -c MaxConnectionsPerChild 12 -DFOREGROUND
├─13096 /usr/sbin/httpd -f /etc/httpd/admin-conf/httpd.conf -c MaxConnectionsPerChild 12 -DFOREGROUND
├─13097 /usr/sbin/httpd -f /etc/httpd/admin-conf/httpd.conf -c MaxConnectionsPerChild 12 -DFOREGROUND
├─13315 /usr/sbin/httpd -f /etc/httpd/admin-conf/httpd.conf -c MaxConnectionsPerChild 12 -DFOREGROUND
├─13503 /usr/sbin/httpd -f /etc/httpd/admin-conf/httpd.conf -c MaxConnectionsPerChild 12 -DFOREGROUND
├─13571 /usr/sbin/httpd -f /etc/httpd/admin-conf/httpd.conf -c MaxConnectionsPerChild 12 -DFOREGROUND
└─13647 /usr/sbin/httpd -f /etc/httpd/admin-conf/httpd.conf -c MaxConnectionsPerChild 12 -DFOREGROUND
May 16 15:38:31 nethserver.juquery.lab sudo[2929]: srvmgr : TTY=unknown ; PWD=/usr/share/nethesis/nethserver-manager ; USER=root ; COMMAND=/sbin/e-smith/validate logfile /var/log/smbaudit.log
May 16 15:38:31 nethserver.juquery.lab sudo[2934]: srvmgr : TTY=unknown ; PWD=/usr/share/nethesis/nethserver-manager ; USER=root ; COMMAND=/sbin/e-smith/logviewer -o 20154 /var/log/smbaudit.log
May 16 15:38:37 nethserver.juquery.lab sudo[2943]: srvmgr : TTY=unknown ; PWD=/usr/share/nethesis/nethserver-manager ; USER=root ; COMMAND=/sbin/e-smith/validate logfile /var/log/smbaudit.log
May 16 15:38:37 nethserver.juquery.lab sudo[2948]: srvmgr : TTY=unknown ; PWD=/usr/share/nethesis/nethserver-manager ; USER=root ; COMMAND=/sbin/e-smith/logviewer -o 20154 /var/log/smbaudit.log
May 16 15:38:43 nethserver.juquery.lab sudo[2957]: srvmgr : TTY=unknown ; PWD=/usr/share/nethesis/nethserver-manager ; USER=root ; COMMAND=/sbin/e-smith/validate logfile /var/log/smbaudit.log
May 16 15:38:43 nethserver.juquery.lab sudo[2962]: srvmgr : TTY=unknown ; PWD=/usr/share/nethesis/nethserver-manager ; USER=root ; COMMAND=/sbin/e-smith/logviewer -o 20154 /var/log/smbaudit.log
May 16 15:38:49 nethserver.juquery.lab sudo[2971]: srvmgr : TTY=unknown ; PWD=/usr/share/nethesis/nethserver-manager ; USER=root ; COMMAND=/sbin/e-smith/validate logfile /var/log/smbaudit.log
May 16 15:38:49 nethserver.juquery.lab sudo[2976]: srvmgr : TTY=unknown ; PWD=/usr/share/nethesis/nethserver-manager ; USER=root ; COMMAND=/sbin/e-smith/logviewer -o 20154 /var/log/smbaudit.log
May 16 15:38:54 nethserver.juquery.lab sudo[2984]: srvmgr : TTY=unknown ; PWD=/usr/share/nethesis/nethserver-manager ; USER=root ; COMMAND=/sbin/e-smith/validate logfile /var/log/smbaudit.log
May 16 15:38:54 nethserver.juquery.lab sudo[2988]: srvmgr : TTY=unknown ; PWD=/usr/share/nethesis/nethserver-manager ; USER=root ; COMMAND=/sbin/e-smith/logviewer -o 20154 /var/log/smbaudit.log
mrmarkuz
(Markus Neuberger)
May 17, 2022, 6:14pm
4
I can reproduce the issue when I enter a wrong alias as path.
Is the alias correct? You may also check /etc/httpd/conf.d/smbaudit.conf
for the right alias.
[root@testserver2 ~]# config show smb
smb=service
AuditAlias=5e2db672688fbcdea02b57aa0446cbfeb569d8ff
...
Does it work to browse to https://<yournethserver>/<alias>
?
Maybe it helps to restart the httpd admin service:
systemctl restart httpd-admin
Tiago_Prado
(TIAGO DE OLIVEIRA PRADO)
May 18, 2022, 12:36pm
5
The alias is correct
smb=service
AuditAlias=3697152612b29147e384e066f8ca8777114c9877
AuditLogRead=disabled
DeadTime=10080
HomeAdmStatus=disable
https://192.168.1.227:980/3697152612b29147e384e066f8ca8777114c9877
I tried access like this too
https://192.168.1.227:980/SambaAudit
The error is the same:
“Nethgui:
404 - Language not found 1377519247”
dnutan
(Marc)
May 18, 2022, 4:42pm
6
What is the language used in:
cockpit?
old server manager?
is the portuguese (Brazil) language pack for the old server manager installed?
Language of the web browser? (if old server manager language pack is missing, can you switch to or try with a web browser in english?)
I think by installing a language pack for the old server manager that matches your web browser language will solve it.
Regards
1 Like
Tiago_Prado
(TIAGO DE OLIVEIRA PRADO)
May 18, 2022, 6:57pm
7
Old server manager is installed, also the Portuguese language pack was installed.
I uninstalled the portuguese language pack and it started to work.
Thanks
2 Likes