Modify

Ticket #2204 (closed defect: fixed)

Opened 3 years ago

Last modified 6 months ago

sudo: on installation

Reported by: commi1993@… Owned by: jacalvo@…
Milestone: 3.0.X Component: base
Severity: major Keywords:
Cc:

Description

Hi!

OS: Ubuntu 10.04.1

I've installed Zentyal from the zentyal/2.0 ppa..

apt-get clean apt-get update apt-get dist-upgrade (no updates) apt-get install zentyal

........

Setting up ebox (2.0) ... /var/lib/dpkg/info/ebox.config: line 143: [: -ge: unary operator expected Adding group `ebox' (GID 117) ... Done. Warning: The home dir /var/lib/ebox/ you specified already exists. Adding system user `ebox' (UID 108) ... Adding new user ebox' (UID 108) with group ebox' ... The home directory /var/lib/ebox/' already exists. Not copying from /etc/skel'. adduser: Warning: The home directory `/var/lib/ebox/' does not belong to the user you are currently creating. Adding user ebox' to group adm' ... Adding user ebox to group adm Done. sudo: sudo: sudo: /usr/bin/sudo -p sudo: /var/lib/ebox/tmp/vtZQufmc7g.cmd 2> /var/lib/ebox/tmp/stderr raised the following sudo error: Sorry, try again.

Sorry, try again.

Sorry, try again.

sudo: 3 incorrect password attempts

Some ideas?

Attachments

zentyal.tiff Download (57.3 KB) - added by commi1993@… 3 years ago.
Screenshot of this error

Change History

comment:1 Changed 3 years ago by commi1993@…

Installation hangs now...

Ctrl+C doesnt help.., i can type in something...

/usr/bin/sudo -p sudo: /var/lib/ebox/tmp/vtZQufmc7g.cmd 2> /var/lib/ebox/tmp/stderr raised the following sudo error: Sorry, try again.

Sorry, try again.

Sorry, try again.

sudo: 3 incorrect password attempts

bla hello ajksdjkdajd asdas

comment:2 Changed 3 years ago by commi1993@…

ended ssh session, now dpkg is busy...

E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable) E: Unable to lock the download directory

The installation hangs on this point.

comment:3 Changed 3 years ago by commi1993@…

I've made a reboot, but to di this i have to kill an running process (some ebox .cmd file) - now system is rebootet and some ebox services are running.

Apache is not running with fresh rebooted system.

comment:4 Changed 3 years ago by jsoriano@…

I cannot reproduce this failure, did you upgraded from a previous ebox installation?

comment:5 Changed 3 years ago by commi1993@…

No, completely new, manual installation

Changed 3 years ago by commi1993@…

Screenshot of this error

comment:6 Changed 3 years ago by anonymous

I can confirm the same behavior on a manual installation on an existing Ubuntu 10.04 system. The install hung like commi1993 explained above, after a reboot I attempted to run the install again in which it reported dpkg was interrupted and I needed to run dpkg --configure -a to correct the issue.

sysadmin@zentyal:~$ sudo dpkg --configure -a Processing triggers for libc-bin ... ldconfig deferred processing now taking place Setting up ebox (2.0) ... sudo: sudo: sudo: /usr/bin/sudo -p sudo: /var/lib/ebox/tmp/kbdO6bU20X.cmd 2> /var/lib/ebox/tmp/stderr raised the following sudo error: Sorry, try again.

Sorry, try again.

Sorry, try again.

sudo: 3 incorrect password attempts

Granted trying to repair a broken installation is not ideally a supported way to install I thought it would be worth a try.

comment:7 follow-up: ↓ 8 Changed 3 years ago by alejandro.escobar@…

  • Status changed from new to closed
  • Resolution set to fixed

Probably you are using modified ubuntu server image, xen vm, etc..

You must add this line at the botton of the /etc/sudoers file:

#includedir /etc/sudoers.d

Thx Zentyal IRC channel ;)

comment:8 in reply to: ↑ 7 Changed 3 years ago by anonymous

Replying to alejandro.escobar@aitire.es:

Probably you are using modified ubuntu server image, xen vm, etc..

You must add this line at the botton of the /etc/sudoers file:

#includedir /etc/sudoers.d

Thx Zentyal IRC channel ;)

Confirmed that this resolves the issue :) Thank you!

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.