1 |
On Monday, June 09, 2014 10:12:25 PM Joseph wrote: |
2 |
> On 06/09/14 22:08, Joseph wrote: |
3 |
> >After upgrade when I try to start postgresql I get error: |
4 |
> > |
5 |
> >/etc/init.d/postgresql-9.1 start |
6 |
> > |
7 |
> > * Starting PostgreSQL ... |
8 |
> > * start-stop-daemon: did not create a valid pid in |
9 |
> > `/var/lib/postgresql/9.1/data/postmaster.pid' * Check the log for a |
10 |
> > possible explanation of the above error. |
11 |
> > * /var/lib/postgresql/9.1/data/postmaster.log |
12 |
> > |
13 |
> > [> |
14 |
> >!! ] |
15 |
> > |
16 |
> > * ERROR: postgresql-9.1 failed to start |
17 |
> > |
18 |
> >What is is looking for? |
19 |
> |
20 |
> more information from: |
21 |
> /var/lib/postgresql/9.1/data/postmaster.log |
22 |
> |
23 |
> LOG: database system was shut down at 2014-06-08 09:05:33 MDT |
24 |
> LOG: database system is ready to accept connections |
25 |
> LOG: autovacuum launcher started |
26 |
> WARNING: pgstat wait timeout |
27 |
> WARNING: pgstat wait timeout |
28 |
> LOG: received smart shutdown request |
29 |
> LOG: autovacuum launcher shutting down |
30 |
> LOG: shutting down |
31 |
> LOG: database system is shut down |
32 |
> FATAL: exceeded maxAllocatedDescs (16) while trying to open directory |
33 |
> "/usr/share/zoneinfo" FATAL: exceeded maxAllocatedDescs (16) while trying |
34 |
> to open directory "/usr/share/zoneinfo" FATAL: exceeded maxAllocatedDescs |
35 |
> (16) while trying to open directory "/usr/share/zoneinfo" FATAL: exceeded |
36 |
> maxAllocatedDescs (16) while trying to open directory "/usr/share/zoneinfo" |
37 |
|
38 |
|
39 |
Joseph, |
40 |
|
41 |
Known issue. |
42 |
It is unclear if the issue is with PostgeSQL or timezone data or how Gentoo |
43 |
packages it. |
44 |
|
45 |
See bug: |
46 |
https://bugs.gentoo.org/show_bug.cgi?id=486556 |
47 |
|
48 |
I see 3 possible solutions: |
49 |
1) Upgrade to PostgreSQL 9.2 |
50 |
2) Downgrade timezone-data to: sys-libs/timezone-data-2013c |
51 |
3) manually delete the problematic symlink: /usr/share/zoneinfo/posix |
52 |
|
53 |
I have NOT tested any of these options myself. It is up to you to test this on |
54 |
your system. |
55 |
I think options 1 or 2 have the least amount of risk. |
56 |
|
57 |
-- |
58 |
Joost |