Gentoo Archives: gentoo-user

From: Joseph <syscon780@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ERROR: postgresql - exceeded maxAllocatedDescs "/usr/share/zoneinfo"
Date: Mon, 15 Sep 2014 15:00:51
Message-Id: 20140915150103.GH13628@syscon7
In Reply to: [gentoo-user] ERROR: postgresql - exceeded maxAllocatedDescs "/usr/share/zoneinfo" by Joseph
1 On 09/15/14 08:48, Joseph wrote:
2 >After upgrade when I try to start postgresql-9.1 I get an error:
3 >
4 >* Starting PostgreSQL ...
5 > * start-stop-daemon: did not create a valid pid in `/var/lib/postgresql/9.1/data/postmaster.pid'
6 > * Check the log for a possible explanation of the above error.
7 > * /var/lib/postgresql/9.1/data/postmaster.log [ !! ]
8 > * ERROR: postgresql-9.1 failed to start
9 >
10 >tail /var/lib/postgresql/9.1/data/postmaster.log
11 >LOG: database system is shut down
12 >FATAL: exceeded maxAllocatedDescs (16) while trying to open directory "/usr/share/zoneinfo"
13 >FATAL: exceeded maxAllocatedDescs (16) while trying to open directory "/usr/share/zoneinfo"
14
15 In /usr/share/zoneinfo/ I had a link:
16 lrwxrwxrwx 1 root root 1 Sep 12 19:16 posix -> .
17
18 Removing this directory allow me to start postgresql but I can not access my database:
19
20 On my working system the "posix" is not a link it is a directory with the same information (I think as /usr/share/zoneinfo/
21
22 --
23 Joseph