messed var directory

Derek Broughton news at pointerstop.ca
Wed Jun 20 00:25:36 UTC 2007


Sven Richter wrote:

>> afaict, the biggest problem is /var/lib.  That's a hodgepodge of
>> different permissions.
> Yep, i needed my postgresql database today, starting it stopped
> with the following error message:
>  * Starting PostgreSQL 8.2 database server
> * could not change directory to "/var/lib/postgresql"
> pg_controldata: could not open
> file "/var/lib/postgresql/8.2/main/global/pg_control" for reading:
> Permission denied
> Error: Could not parse locale out of pg_controldata output
>                                                                                                   
> [fail]
> 
> 
> Any ideas what i could do about it?

Not about this specific app, but "dpkg -i /var/cache/apt/archives/*" should
fix anything that you still have the .deb files for.
-- 
derek





More information about the ubuntu-users mailing list