Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 393655 - dev-db/postgresql-server-9.1.2 - /etc/init.d/postgresql-9.1: pg_ctl: could not start server
Summary: dev-db/postgresql-server-9.1.2 - /etc/init.d/postgresql-9.1: pg_ctl: could no...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-08 18:04 UTC by Kilburn Abrahams
Modified: 2011-12-09 19:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kilburn Abrahams 2011-12-08 18:04:14 UTC
EBox ~ # /etc/init.d/postgresql-9.1 start
 * Use of the opts variable is deprecated and will be
 * removed in the future.
 * Please use extra_commands or extra_started_commands.
 * Starting PostgreSQL ...
pg_ctl: could not start server
Examine the log output.
 * Check the PostgreSQL 9.1 log for a detailed explanation of the above error.                                                      [ !! ]
 * ERROR: postgresql-9.1 failed to start

Dec  9 04:45:11 EBox /etc/init.d/postgresql-9.1[17080]: Check the PostgreSQL 9.1 log for a detailed explanation of the above error.
Dec  9 04:45:11 EBox /etc/init.d/postgresql-9.1[17056]: ERROR: postgresql-9.1 failed to start
Dec  9 04:47:56 EBox /etc/init.d/postgresql-9.1[17100]: Use of the opts variable is deprecated and will be
Dec  9 04:47:56 EBox /etc/init.d/postgresql-9.1[17101]: removed in the future.
Dec  9 04:47:56 EBox /etc/init.d/postgresql-9.1[17102]: Please use extra_commands or extra_started_commands.
Dec  9 04:47:56 EBox su[17105]: Successful su for postgres by root
Dec  9 04:47:56 EBox su[17105]: + /dev/pts/0 root:postgres
Dec  9 04:47:56 EBox su[17105]: pam_unix(su:session): session opened for user postgres by root(uid=0)
Dec  9 04:47:56 EBox su[17105]: pam_unix(su:session): session closed for user postgres
Dec  9 04:47:56 EBox su[17107]: Successful su for postgres by root
Dec  9 04:47:56 EBox su[17107]: + /dev/pts/0 root:postgres
Dec  9 04:47:56 EBox su[17107]: pam_unix(su:session): session opened for user postgres by root(uid=0)
Dec  9 04:47:56 EBox su[17107]: pam_unix(su:session): session closed for user postgres
Dec  9 04:47:56 EBox su[17109]: Successful su for postgres by root
Dec  9 04:47:56 EBox su[17109]: + /dev/pts/0 root:postgres
Dec  9 04:47:56 EBox su[17109]: pam_unix(su:session): session opened for user postgres by root(uid=0)
Dec  9 04:47:56 EBox su[17109]: pam_unix(su:session): session closed for user postgres
Dec  9 04:47:56 EBox su[17112]: Successful su for postgres by root
Dec  9 04:47:56 EBox su[17112]: + /dev/pts/0 root:postgres



Reproducible: Always
Comment 1 Dan Goodliffe 2011-12-09 03:20:39 UTC
I have this problem too... it appears to be trying to create runtime info in /run/postgresql, it used to be in /var/run/postgresql. The former does not exist and so it fails. You can manually create it, but it's on tmpfs, it'll disappear on reboot. I'm not sure what's changed here and haven't yet had chance to dig into it. I was going to drop a mkdir into the init.d script as a short term work around.
Comment 2 Aaron W. Swenson gentoo-dev 2011-12-09 04:52:07 UTC
You need to update the initscript.
Comment 3 Chris Mayo 2011-12-09 19:05:19 UTC
I think the ebuild is still pointing to the old init scripts.

Couldn't reopen this one so created bug 394171.