Modify

Ticket #3595 (closed defect: worksforme)

Opened 18 months ago

Last modified 17 months ago

Users module fails to load...

Reported by: expertgeeks@… Owned by: cperez@…
Milestone: 2.2.X Component: users
Severity: blocker Keywords:
Cc:

Description

Cannot edit users, module fails to load & suggests I submit a ticket. zentyal log of attempt to open 'users' follows;

2011/12/13 18:52:33 ERROR> Base.pm:358 EBox::CGI::Base::ANON - Software caused connection abort at /usr/share/perl5/HTML/Mason/Request.pm line 127.

Stack:

usr/share/perl5/HTML/Mason/Request.pm:127 usr/share/perl5/HTML/Mason/Request.pm:525

2011/12/13 19:17:18 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: events 2011/12/13 19:17:29 INFO> EventDaemon?.pm:307 EBox::EventDaemon::_loadModules - EBox::Event::Watcher::EBackup loaded from registeredEvents 2011/12/13 19:17:30 INFO> EventDaemon?.pm:307 EBox::EventDaemon::_loadModules - EBox::Event::Dispatcher::Log loaded from registeredDispatchers 2011/12/13 19:36:05 ERROR> Ldap.pm:1103 EBox::Ldap::safeConnect - Couldn't connect to LDAP server ldapi://%2fvar%2frun%2fslapd%2fldapi, retrying 2011/12/13 19:36:07 ERROR> Sudo.pm:213 EBox::Sudo::_rootError - root command start 'ebox.slapd' failed. Error output: start: Job is already running: ebox.slapd

Command output: . Exit value: 1

Attachments

Change History

comment:1 Changed 18 months ago by expertgeeks@…

This started to occur shortly after upgrading to the latest Users module (i.e. 2.2.5)

comment:2 Changed 18 months ago by jacalvo@…

  • Milestone set to 2.2.X

comment:3 Changed 18 months ago by cperez@…

  • Status changed from new to assigned

Hi,

Can you take a loot at /var/log/syslog and search for slapd messages? They may throw some light on this. Please paste any useful message you find.

Best regards

comment:4 Changed 18 months ago by expertgeeks@…

ok, I'm getting a repeated error that the LDAP database cannot be found, looping until zentyal gives up..

Dec 14 13:16:23 zenu init: ebox.slapd main process ended, respawning Dec 14 13:16:23 zenu slapd[4360]: @(#) $OpenLDAP: slapd 2.4.21 (Nov 14 2011 20:35:32) $#012#011buildd@vernadsky:/build/buildd/openldap-2.4.21/debian/build/servers/slapd Dec 14 13:16:23 zenu slapd[4360]: bdb(dc=zenu): PANIC: fatal region error detected; run recovery Dec 14 13:16:23 zenu slapd[4360]: hdb_db_open: database "dc=zenu" cannot be opened, err -30974. Restore from backup! Dec 14 13:16:23 zenu slapd[4360]: bdb(dc=zenu): txn_checkpoint interface requires an environment configured for the transaction subsystem Dec 14 13:16:23 zenu slapd[4360]: bdb_db_close: database "dc=zenu": txn_checkpoint failed: Invalid argument (22). Dec 14 13:16:23 zenu slapd[4360]: backend_startup_one (type=hdb, suffix="dc=zenu"): bi_db_open failed! (-30974) Dec 14 13:16:23 zenu slapd[4360]: bdb_db_close: database "dc=zenu": alock_close failed Dec 14 13:16:23 zenu slapd[4360]: slapd stopped. Dec 14 13:16:23 zenu init: ebox.slapd main process (4360) terminated with status 1 Dec 14 13:16:23 zenu init: ebox.slapd main process ended, respawning

Dec 14 13:16:26 zenu init: ebox.slapd main process ended, respawning Dec 14 13:16:26 zenu slapd[4402]: @(#) $OpenLDAP: slapd 2.4.21 (Nov 14 2011 20:35:32) $#012#011buildd@vernadsky:/build/buildd/openldap-2.4.21/debian/build/servers/slapd Dec 14 13:16:26 zenu slapd[4402]: bdb(dc=zenu): PANIC: fatal region error detected; run recovery Dec 14 13:16:26 zenu slapd[4402]: hdb_db_open: database "dc=zenu" cannot be opened, err -30974. Restore from backup! Dec 14 13:16:26 zenu slapd[4402]: bdb(dc=zenu): txn_checkpoint interface requires an environment configured for the transaction subsystem Dec 14 13:16:26 zenu slapd[4402]: bdb_db_close: database "dc=zenu": txn_checkpoint failed: Invalid argument (22). Dec 14 13:16:26 zenu slapd[4402]: backend_startup_one (type=hdb, suffix="dc=zenu"): bi_db_open failed! (-30974) Dec 14 13:16:26 zenu slapd[4402]: bdb_db_close: database "dc=zenu": alock_close failed Dec 14 13:16:26 zenu slapd[4402]: slapd stopped. Dec 14 13:16:26 zenu init: ebox.slapd main process (4402) terminated with status 1 Dec 14 13:16:26 zenu init: ebox.slapd main process ended, respawning Dec 14 13:16:27 zenu slapd[4408]: @(#) $OpenLDAP: slapd 2.4.21 (Nov 14 2011 20:35:32) $#012#011buildd@vernadsky:/build/buildd/openldap-2.4.21/debian/build/servers/slapd Dec 14 13:16:27 zenu slapd[4408]: bdb(dc=zenu): PANIC: fatal region error detected; run recovery Dec 14 13:16:27 zenu slapd[4408]: hdb_db_open: database "dc=zenu" cannot be opened, err -30974. Restore from backup! Dec 14 13:16:27 zenu slapd[4408]: bdb(dc=zenu): txn_checkpoint interface requires an environment configured for the transaction subsystem Dec 14 13:16:27 zenu slapd[4408]: bdb_db_close: database "dc=zenu": txn_checkpoint failed: Invalid argument (22). Dec 14 13:16:27 zenu slapd[4408]: backend_startup_one (type=hdb, suffix="dc=zenu"): bi_db_open failed! (-30974) Dec 14 13:16:27 zenu slapd[4408]: bdb_db_close: database "dc=zenu": alock_close failed Dec 14 13:16:27 zenu slapd[4408]: slapd stopped. Dec 14 13:16:27 zenu init: ebox.slapd main process (4408) terminated with status 1 Dec 14 13:16:27 zenu init: ebox.slapd respawning too fast, stopped Dec 14 13:17:02 zenu CRON[4411]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) Dec 14 13:17:22 zenu acpid: client connected from 4666[104:110] Dec 14 13:17:22 zenu acpid: 1 client rule loaded Dec 14 13:17:35 zenu kernel: [ 418.686302] hrtimer: interrupt took 12107017 ns Dec 14 13:17:50 zenu ntpd[3184]: synchronized to LOCAL(0), stratum 13 Dec 14 13:17:50 zenu ntpd[3184]: kernel time sync status change 2001 Dec 14 13:18:01 zenu init: ebox.event-daemon main process (2961) killed by TERM signal Dec 14 13:18:53 zenu ntpd[3184]: synchronized to 69.164.222.108, stratum 2 Dec 14 13:20:01 zenu CRON[4837]: (root) CMD (/usr/share/zentyal-users/slave-sync)

comment:5 Changed 18 months ago by expertgeeks@…

samba module is also now predictably reporting errors when trying to restart the service and at start-up. Following is from the syslog. >>

Dec 14 16:24:08 zenu init: ebox.slapd main process ended, respawning

Dec 14 16:24:08 zenu slapd[6865]: @(#) $OpenLDAP: slapd 2.4.21 (Nov 14 2011 20:35:32) $#012#011buildd@vernadsky:/build/buildd/openldap-2.4.21/debian/build/servers/slapd

Dec 14 16:24:08 zenu slapd[6865]: bdb(dc=zenu): PANIC: fatal region error detected; run recovery

Dec 14 16:24:08 zenu slapd[6865]: hdb_db_open: database "dc=zenu" cannot be opened, err -30974. Restore from backup!

Dec 14 16:24:08 zenu slapd[6865]: bdb(dc=zenu): txn_checkpoint interface requires an environment configured for the transaction subsystem

Dec 14 16:24:08 zenu slapd[6865]: bdb_db_close: database "dc=zenu": txn_checkpoint failed: Invalid argument (22).

Dec 14 16:24:08 zenu slapd[6865]: backend_startup_one (type=hdb, suffix="dc=zenu"): bi_db_open failed! (-30974)

Dec 14 16:24:08 zenu slapd[6865]: bdb_db_close: database "dc=zenu": alock_close failed

Dec 14 16:24:08 zenu slapd[6865]: slapd stopped.

Dec 14 16:24:08 zenu init: ebox.slapd main process (6865) terminated with status 1

Dec 14 16:24:08 zenu init: ebox.slapd main process ended, respawning

Dec 14 16:24:09 zenu slapd[6871]: @(#) $OpenLDAP: slapd 2.4.21 (Nov 14 2011 20:35:32) $#012#011buildd@vernadsky:/build/buildd/openldap-2.4.21/debian/build/servers/slapd

Dec 14 16:24:09 zenu slapd[6871]: bdb(dc=zenu): PANIC: fatal region error detected; run recovery

Dec 14 16:24:09 zenu slapd[6871]: hdb_db_open: database "dc=zenu" cannot be opened, err -30974. Restore from backup!

Dec 14 16:24:09 zenu slapd[6871]: bdb(dc=zenu): txn_checkpoint interface requires an environment configured for the transaction subsystem

Dec 14 16:24:09 zenu slapd[6871]: bdb_db_close: database "dc=zenu": txn_checkpoint failed: Invalid argument (22).

Dec 14 16:24:09 zenu slapd[6871]: backend_startup_one (type=hdb, suffix="dc=zenu"): bi_db_open failed! (-30974)

Dec 14 16:24:09 zenu slapd[6871]: bdb_db_close: database "dc=zenu": alock_close failed

Dec 14 16:24:09 zenu slapd[6871]: slapd stopped.

Dec 14 16:24:09 zenu init: ebox.slapd main process (6871) terminated with status 1

Dec 14 16:24:09 zenu init: ebox.slapd respawning too fast, stopped

Dec 14 16:24:48 zenu ntpd[3187]: synchronized to 85.254.217.235, stratum 2

Dec 14 16:25:01 zenu CRON[6875]: (root) CMD (/usr/share/zentyal-users/slave-sync)

Dec 14 16:25:22 zenu kernel: [ 783.874879] ebox-firewall drop IN=eth0 OUT= MAC=01:00:5e:00:00:fb:00:16:e6:88:97:86:08:00 SRC=10.0.0.99 DST=224.0.0.251 LEN=73 TOS=0x00 PREC=0x00 TTL=255 ID=0 DF PROTO=UDP SPT=5353 DPT=5353 LEN=53 MARK=0x1

Dec 14 16:25:23 zenu kernel: [ 784.876014] ebox-firewall drop IN=eth0 OUT= MAC=01:00:5e:00:00:fb:00:16:e6:88:97:86:08:00 SRC=10.0.0.99 DST=224.0.0.251 LEN=73 TOS=0x00 PREC=0x00 TTL=255 ID=0 DF PROTO=UDP SPT=5353 DPT=5353 LEN=53 MARK=0x1

Dec 14 16:25:25 zenu kernel: [ 786.878913] ebox-firewall drop IN=eth0 OUT= MAC=01:00:5e:00:00:fb:00:16:e6:88:97:86:08:00 SRC=10.0.0.99 DST=224.0.0.251 LEN=73 TOS=0x00 PREC=0x00 TTL=255 ID=0 DF PROTO=UDP SPT=5353 DPT=5353 LEN=53 MARK=0x1

Dec 14 16:25:29 zenu kernel: [ 790.882585] ebox-firewall drop IN=eth0 OUT= MAC=01:00:5e:00:00:fb:00:16:e6:88:97:86:08:00 SRC=10.0.0.99 DST=224.0.0.251 LEN=73 TOS=0x00 PREC=0x00 TTL=255 ID=0 DF PROTO=UDP SPT=5353 DPT=5353 LEN=53 MARK=0x1

Dec 14 16:26:58 zenu ntpd[3187]: synchronized to 213.251.153.35, stratum 2

comment:6 Changed 17 months ago by cperez@…

Is this the same server than #3608? your slapd database seems corrupted

comment:7 Changed 17 months ago by jamor@…

  • Status changed from assigned to closed
  • Resolution set to worksforme

Sorry, we need a answer to last cperez's question to continue with the issue. I close it, please reopen if you could give us more feedback.

Best regards,

Javier

comment:8 Changed 17 months ago by expertgeeks

Hi, sorry I forgot to update this ticket.. this is a different machine to #3608.

This one is a VM. I have kept the corrupt snapshot if you want anything from it, but I recovered by removing & re-installing the users & groups modules. This ticket can be closed. Thanks.

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.