[Freeipa-users] Error Starting IPA after crash

Christian Hernandez christianh at 4over.com
Wed Jan 30 23:46:35 UTC 2013


Rich,

Correct, running 6.3

[root at ipa1.gln.4over.com db]# ps -ef|grep slapd
dirsrv    4899     1  7 14:25 ?        00:05:34 /usr/sbin/ns-slapd -D
/etc/dirsrv/slapd-4OVER-COM -i /var/run/dirsrv/slapd-4OVER-COM.pid -w
/var/run/dirsrv/slapd-4OVER-COM.startpid
root     30545  3522  0 15:41 pts/1    00:00:00 grep slapd

The output of the ls command is HUGE with...here is a suppresed output

[root at ipa1.gln.4over.com db]# ls -al /var/lib/dirsrv/slapd-4OVER-COM/db/ |
head -25
total 1465384
drwxrwx--- 3 dirsrv dirsrv    73728 Jan 30 15:44 .
drwxrwx--- 6 dirsrv dirsrv     4096 Jan 14 16:52 ..
-rw------- 1 dirsrv dirsrv    24576 Jan 30 15:42 __db.001
-rw------- 1 dirsrv dirsrv  1728512 Jan 30 15:44 __db.002
-rw------- 1 dirsrv dirsrv 10002432 Jan 30 15:44 __db.003
-rw------- 1 dirsrv dirsrv  1081344 Jan 30 15:44 __db.004
-rw------- 1 dirsrv dirsrv  8126464 Jan 30 15:44 __db.005
-rw------- 1 dirsrv dirsrv    90112 Jan 30 15:44 __db.006
-rw------- 1 dirsrv dirsrv       49 Jan 30 15:42 DBVERSION
-rw------- 1 dirsrv dirsrv 10485760 Jan 30 15:43 log.0000309284
-rw------- 1 dirsrv dirsrv 10485760 Jan 30 15:43 log.0000309285
-rw------- 1 dirsrv dirsrv 10485760 Jan 30 15:43 log.0000309286
-rw------- 1 dirsrv dirsrv 10485760 Jan 30 15:43 log.0000309287
-rw------- 1 dirsrv dirsrv 10485760 Jan 30 15:43 log.0000309288
-rw------- 1 dirsrv dirsrv 10485760 Jan 30 15:43 log.0000309289
-rw------- 1 dirsrv dirsrv 10485760 Jan 30 15:43 log.0000309290
-rw------- 1 dirsrv dirsrv 10485760 Jan 30 15:43 log.0000309291
-rw------- 1 dirsrv dirsrv 10485760 Jan 30 15:43 log.0000309292
-rw------- 1 dirsrv dirsrv 10485760 Jan 30 15:43 log.0000309293
-rw------- 1 dirsrv dirsrv 10485760 Jan 30 15:43 log.0000309294
-rw------- 1 dirsrv dirsrv 10485760 Jan 30 15:43 log.0000309295
-rw------- 1 dirsrv dirsrv 10485760 Jan 30 15:43 log.0000309296
-rw------- 1 dirsrv dirsrv 10485760 Jan 30 15:43 log.0000309297
-rw------- 1 dirsrv dirsrv 10485760 Jan 30 15:43 log.0000309298


I increased the "timeout" in the /etc/init.d/dirsrv to about 60000 to see
if it will try and recover.

Is there hope to recover this? Or should I just re-install the server and
make it a replica (this used to be my "master" i.e. it was the first IPA
server installed in our 3 server setup)?

Thank you,

Christian Hernandez
1225 Los Angeles Street
Glendale, CA 91204
Phone: 877-782-2737 ext. 4566
Fax: 818-265-3152
christianh at 4over.com <mailto:christianh at 4over.com>
www.4over.com <http://www.4over.com>


On Wed, Jan 30, 2013 at 3:36 PM, Rich Megginson <rmeggins at redhat.com> wrote:

>  On 01/30/2013 03:41 PM, Christian Hernandez wrote:
>
>   Hello,
>
> I had a crash due to full disks. I cleared the offending directory
> (backups and such).
>
>  But I cannot start IPA. I drilled it down to the DirSrv not starting.
>
>  Isolating the error I tried just starting the dirsrv
>
>  service dirsrv start
>
>  But I'm seeing this in the logs....
>
>
> [30/Jan/2013:13:51:40 -0800] - 389-Directory/1.2.10.2 B2012.194.51
> starting up
> [30/Jan/2013:13:51:40 -0800] - Detected Disorderly Shutdown last time
> Directory Server was running, recovering database.
> [30/Jan/2013:14:06:06 -0800] - Unable to start slapd because it is already
> running as process 1543
> [30/Jan/2013:14:06:06 -0800] - Shutting down due to possible conflicts
> with other slapd processes
> [30/Jan/2013:14:08:15 -0800] - Unable to start slapd because it is already
> running as process 1543
> [30/Jan/2013:14:08:15 -0800] - Shutting down due to possible conflicts
> with other slapd processes
> [30/Jan/2013:14:14:05 -0800] - 389-Directory/1.2.10.2 B2012.194.51
> starting up
> [30/Jan/2013:14:14:05 -0800] - Detected Disorderly Shutdown last time
> Directory Server was running, recovering database.
> [30/Jan/2013:14:14:05 -0800] - libdb: unable to join the environment
>
>  I have a replica that is running; so the "heat" is off - but is there
> any way to get this started?
>
>
> I'm assuming you are running on EL6.3?
>
> ps -ef|grep slapd
>
> ls -al /var/lib/dirsrv/slapd-INST/db
>
>
> Thank you,
>
> Christian Hernandez
>
>
> _______________________________________________
> Freeipa-users mailing listFreeipa-users at redhat.comhttps://www.redhat.com/mailman/listinfo/freeipa-users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-users/attachments/20130130/9d0e2d2b/attachment.htm>


More information about the Freeipa-users mailing list