Zentyal Forum, Linux Small Business Server
Zentyal Server => Installation and Upgrades => Topic started by: johnbrand on February 26, 2012, 08:41:44 pm
-
I can't login to the webinterface on zentyal 2.3. I installed the latest versions.
I added a new admin group and added a user to that. But this didn't work.
In the zentyal.log I read the following.
2012/02/26 20:23:20 WARN> Auth.pm:160 EBox::Auth::authen_cred - Failed login from: 192.168.2.23
2012/02/26 20:23:27 WARN> Auth.pm:160 EBox::Auth::authen_cred - Failed login from: 192.168.2.23
2012/02/26 20:23:36 WARN> Auth.pm:160 EBox::Auth::authen_cred - Failed login from: 192.168.2.23
2012/02/26 20:23:52 WARN> Auth.pm:160 EBox::Auth::authen_cred - Failed login from: 192.168.2.23
2012/02/26 20:24:05 WARN> Auth.pm:160 EBox::Auth::authen_cred - Failed login from: 192.168.2.23
I can't get it to work. Could somebody please help me.
--John
-
Could somebody please give me more information on solving my problem or tell me what information is missing in my question.
--John
-
Hello johnbrand,
Could you please make sure that your user is in the "admin" group ?
From a terminal:
sudo adduser johnbrand admin
Regarding the previous line;
- johnbrand is the username
- admin is the group
Best,
Marcus
-
Hi
Have what sounds like the same problem...
System is a new build...
installed a Ubuntu Server 11 via cd (ssh & DHCP server only options selected) then did a distribution upgrade to 12.04.
One user 'paul' (who is in the admin group), Set up fixed IP address and DHCP ranges., Installed xorg, openbox, and firefox.
Setup the 2.3 sources (also added the 2.2 extra) then did apt-get install zentyal (during install prompts to set up the password for mysql - used the same password as for 'paul')
Apache is up - can get to the Zentyal login page, but that's it. No users work.
Added a new user 'administrator' - (same password again) added them to the admin group no joy. Also tried setting the ebox user password to the same as the others and adding it to the admin group still nothing.
All the modules appear to be installed ok and running. I'm a bit lost - don't understand the authentication processes, so just trying all the logs at the moment looking for clues. Found the authentication errors mentioned above in the /var/log/zentyal/zentyal.log but nothing else.
Any advice appreciated.
Cheers
-
Follow up to previous post - I repeated my previous efforts over the weekend, and got 2.3 working eventually.
Only difference was a completely clean install of 12.04 B1 from a CD rather than installing 11.10 and the do-release-upgrade -d.
Everything else was exactly the same, same network set up, same users, same passwords etc - got to assume that there was something broken in the 11.10-12.04 Upgrade path?
Not a comprehensive answer, and a lot of starting from scratch - I am really interested in Zentyal functionality and 2.2 would do the job, but there's a hardware compatability issue with my test rig and pre 11.10 version of server, so only option is 2.3 (except for 2.2 in a VM on a >11.10 Server which I did also get working, but not sure if the memory/processor is man enough for that job)
-
Hi guys,
Probably the problem here is that Zentyal is not aware of the change you did in the user. You will need to restart Zentyal Administration GUI to get it working:
/etc/init.d/zentyal apache restart
Did it work for you?
Best regards,
-
Hey Exekias
Personally I did try try restarting apache2 also tried the whole zentyal restart
ie... service zentyal start - something like that that restarts all the zentyal modules including zentyal apache and they all came back ok.
This was a testbed with no data so I rebooted the server and same story, no issues, but no login.
The only thing I ever saw was a failure for user ebox to chroot, but that was when I forgot to sudo the service restart.
Also the user I used to install Zentyal 'paul' in my case was already admin prior to the install.
-
I added the user already and rebooted the server. This didn't fix the problem.
Will now reinstall the server and try everything again. The current version is installed from the latest ubuntu 12.04 (precise) version.
The main reason for me running zentyal 2.3 is that I also have hardware issues with the older version of ubuntu.
-
I reinstalled the server. It's a VM, so this doesn't take ages.
I still can't log in to the admin.
2012/03/05 16:26:15 WARN> Auth.pm:160 EBox::Auth::authen_cred - Failed login from: 192.168.2.210
Just to check. The admin group isn't there yet and you need to add it with.
"groupadd admin" and then add an user "useradd -G admin john".
When I check in what group the user is added I get the following.
root@fw1:~# groups john
john : john admin
I hope we can get this solved.
-
I solved the problem. In this version "/etc/security/zentyal.conf" look for a user in the sudo group. So add you user to the sudo group and you have access. Thanks everybody for helping to solve this problem.
-
Yes, there is no 'admin' group in Ubuntu Precise... but a group 'adm' does exist. The 'adm' group provides access to some logs and other system files.
The default /etc/sudoers file, however, refers to an 'admin' group (I believe this is a mistake), but also to a 'sudo' group (which does exist).
Group "sudo" seems to be the new way to go for users to be able to become root through sudo.
If anyone has more information, please comment on :).
-
Ok - I'm glad to see I'm not alone with this problem.
I've tried everything that's been suggested and it still doesn't let me get at the Zentyal dashboard - at all!
So far... I've tried the 32 and 64 bit versions of Zentyal 2.3 - in both VMware Fusion and Virtualbox. Both systems install fast and apparently correctly..... but as soon as it tries to start the dashboard, the message comes back 'Unable to connect' referring to the server at localhost.
Has anyone else got something that fixes the problem?
-
I've tried everything that's been suggested and it still doesn't let me get at the Zentyal dashboard - at all!
So far... I've tried the 32 and 64 bit versions of Zentyal 2.3 - in both VMware Fusion and Virtualbox. Both systems install fast and apparently correctly..... but as soon as it tries to start the dashboard, the message comes back 'Unable to connect' referring to the server at localhost.
Has anyone else got something that fixes the problem?
Hello!
I think that might well be a different story than what was discussed here. Could you please post your question into a new thread so we stay on topic and you have more chances to get proper responses? :).
-
if you are using Ubuntu 12.04
this will do the trick :
adduser youruser sudo
-
Thanks Box your suggestion did the trick for me.
-
people should also check that the permissions of /etc/{passwd|group|shadow} :
sudo chmod 644 /etc/passwd
sudo chmod 644 /etc/group
sudo chmod 640 /etc/shadow
some of the recent changes to filesharing will mess with these when uninstalling them
-
if the user is not there then create your user and assign it to sudo group
root@google:~# useradd awan
root@google:~# passwd awan
------ if the user already there
root@google:~# usermod -a -G sudo awan
root@google:~# passwd awan
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
<<---- quick solution, change 'awan' to your user. and then reload the page and try to login