Welcome, Guest
Please Login or Register.    Lost Password?

postgres does not startup at system boot...
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: postgres does not startup at system boot...
#735
postgres does not startup at system boot... 12 Years, 8 Months ago Karma: 0
Hi all,

OS: Solaris 2.5.1
Go-Global Version: 2.1.2.681

Problem:
goglobalux fails to start at system boot. The following excerpts are from the gold.log and gdbi.log files after a system reboot.

info: executing '/usr/local/bin/app/postgresql/bin/pg_ctl -D /usr/local/bin/app/postgresql/data -o '-i -p 1502 -N 32 -B 65 ' start'
sh: /usr/local/bin/app/postgresql/bin/pg_ctl: cannot execute
info: returned exit code 256
info: attempting database connection 0
info: attempting database connection 1
info: attempting database connection 2
info: attempting database connection 3
.
.
.
.
info: attempting database connection 58
info: attempting database connection 59
start failed


[17 Mar 21:02:56 (I)] Log opened.
[17 Mar 21:02:56 (I)] startup: enabling default authentication methods
[17 Mar 21:02:56 (I)] startup: connecting to database
[17 Mar 21:02:56 (E)] Database connection failed, retrying:
[17 Mar 21:02:56 (E)] Database connection failed, retrying:
.
.
.
[17 Mar 21:03:01 (E)] Database connection failed, retrying:
[17 Mar 21:03:01 (E)] Database connection failed:
[17 Mar 21:03:01 (F)] startup: cannot open database
[17 Mar 21:03:01 (I)] Log closed.


When the system is up, I can login as root and execute "/etc/init.d/goglobalux start" and the gold and postmaster processes startup fine. Log files contain no errors. The "cannot execute" error above seems to indicate that a permissions problem exists, but "pg_ctl" is owned by user goglobal.

Any ideas?
kad
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
Moderators: troy, Andyl