Page 1 of 1

Corrupt userman database after UPS failure

Posted: Fri Nov 02, 2007 7:25 pm
by alex_rhys-hurn
Hey folks.

I am in deep with this one so urgent help appreciated.

My ups failed the other day on a unit in Sudan. The router rebooted a number of times, and now the userman database is corrupt.

Its a PC platform device.

I couldnt even log in to the userman gui via web. No error, just hung page. Hotspot customers can log in if they were mac auth, but not if via hotspot captive portal. They get a radius error.

I upgraded to 2.9.48 and that seems to have fixed the usermanager interface, but not anything else.

The command /tool user-manager database rebuild gives this error

Rebuilding user-manager database
failed to vacuum: unable to open database file

The log file is full of stuff...

I am losig business, so help aprreciated on how I can fix this dbase.



Re: Corrupt userman database after UPS failure

Posted: Mon Nov 05, 2007 10:51 am
by kvan64
I hope you have made backups of your userman's database. I would just rebuild userman manually from scratch and load the backup. It should only take minutes. If you didn't make backups. I got no idea, sorry. Just know how you are feeling right now. Happened to me be4.
Good luck getting help!