[Freedombox-discuss] pam-abl: BDB0060 PANIC: fatal region error detected; run recovery

Sunil Mohan Adapa sunil at medhas.org
Mon May 1 16:37:05 UTC 2017


On 05/01/2017 12:16 AM, DJ wrote:
> Hello,
> 
> Perhaps someone here can help me here. I can only log into my FBX
> using ssh with a public key, since password authentication
> consistently times out.
> 
> Moreover, when logged in I cannot run commands as sudo. I get the 
> following error after several seconds: "pam-abl: BDB0060 PANIC:
> fatal region error detected; run recovery"
> 
> I found this bug report, which may be relevant: 
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=819199
> 
>> I have ended up in a situation where the pam_abl database is
>> corrupt.  I assume this is after unclean shutdowns due to power
>> outages etc. The results of this is that Apache start print the
>> following error message in its error log: "BDB0060 PANIC: fatal
>> region error detected; run recovery".  The log keeps growing and
>> leads to all disk space being used up.  Several services then fail
>> to start and the box is no longer accessible.
>> 
>> The work around was to remove the pam-abl databases from
>> /var/lib/abl/*.
> 
> However, removing pam-abl databases is not possible for me, since I 
> cannot run any commands as superuser.
> 
> Unfortunately, I do not have local access to the FBX.
> 
> Any suggestions for how to solve this problem?
> 

Before I knew about BDB's ACID capabilities, I thought that it is
susceptible to corruption.  I now think it is unlikely for BDB to get
corrupted through interruptions such as power outages, process crashes etc.

That said, I actually can't think of a simple way out of your situation.
 As worst case option, insert the SD card of your FreedomBox in a
GNU/Linux machine and remove the /var/lib/abl/* files.  If your
FreedomBox is on a regular machine, boot into rescue mode and delete the
files.

If the BDB database is corrupt I would suspect that your disk has
developed errors.  Check the disk for bad sectors just to be sure.

-- 
Sunil

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/freedombox-discuss/attachments/20170501/aafcd5b3/attachment.sig>


More information about the Freedombox-discuss mailing list