Zentyal Forum, Linux Small Business Server

Zentyal Server => Installation and Upgrades => Topic started by: federicososa on November 16, 2023, 04:09:54 pm

Title: i cant login on Web Interface -
Post by: federicososa on November 16, 2023, 04:09:54 pm
Hi everyone,

im trying to login in the web interface, but it keeps saying that the password is incorrect - yeap i check it many times - i can login with the password in the desktop, ssh and as sudo but i can login on the website.
according to the zentyal.log

2023/11/16 15:55:14 DEBUG> PAM.pm:65 Authen::Simple::PAM::check - Failed to authenticate user 'hereMyUsername' using service 'zentyal'. Reason: 'Authentication failure'
2023/11/16 15:55:14 WARN> Auth.pm:277 EBox::Middleware::Auth::_login - Failed login from: 192.168.25.74

Can somebody give a hint? i tried already to make a new user, and give it the rights like the original ZentyalAdmin but still no success..

Thanks!


Title: Re: i cant login on Web Interface -
Post by: turalyon on November 20, 2023, 10:49:41 am
That is weird. Did you try to set (temporarily) a simple password without any special characters to the local administrator like zentyal2023?

Also, did you check the configuration file /etc/passwd ? Did you restart the webadmin module?

Code: [Select]

sudo zs webadmin restart

sudo zs webadmin status


Finally, you might try again to create another local administrator as follows and login to the Zentyal GUI:

Code: [Select]

sudo useradd -m -d /home/zenadmin -G sudo -s /bin/bash zenadmin

sudo passwd zenadmin




“This world is ours, and by the Holy Light we will keep it safe, now and forever".
Title: Re: i cant login on Web Interface -
Post by: federicososa on December 04, 2023, 09:56:43 am
Hi Thanks for the Reply.

yeap, i created an user named johnDoe and gave him all rights and still no chance to get in.
Title: Re: i cant login on Web Interface -
Post by: turalyon on December 04, 2023, 10:53:40 am
You must debug the issue by analyzing the following log files:

- /var/log/zentyal/zentyal.log
- /var/log/syslog
- /var/log/auth.log
- /var/log/zentyal/access.log
- /var/log/zentyal/error.log
- /var/log/nginx/error.log

Also, I recommend you to enable the debug module as follows:

1. Edit the parameter debug in the log file /etc/zentyal/zentyal.conf
2. Restart the webadmin module to apply the changes.

Finally, did you confirm that the services that manage the webadmin are running?

Code: [Select]
sudo systemctl status zentyal.webadmin-nginx zentyal.webadmin-uwsgi



This world is ours, and by the Holy Light, we will keep it safe, now and forever.