FS#5297 - Postgres Startup Error

Attached to Project: Arch Linux
Opened by Jon Scully (soloport) - Sunday, 27 August 2006, 19:52 GMT
Last edited by Paul Mattal (paul) - Sunday, 30 December 2007, 17:59 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Paul Mattal (paul)
Architecture All
Severity Low
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Error Illustrated:
[root@localhost ~]# /etc/rc.d/postgresql start
:: Starting PostgreSQL [BUSY] could not change directory to "/root"
postmaster starting
[DONE]

The 'could not change directory to "/root"' error can be fixed by replacing 'su postgres' with 'su - postgres' everywhere in '/etc/rc.d/postgresql'.
This task depends upon

Closed by  Paul Mattal (paul)
Sunday, 30 December 2007, 17:59 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 8.2.5-2.
Comment by Nicola (drakkan) - Saturday, 20 October 2007, 07:28 GMT
This error is still present in 8.2.5, to solve simply change in /etc/rc.d/postgresql

the lines:

su postgres -c

in:

su - postgres -c

please apply,

thanks
drakkan
Comment by Allan McRae (Allan) - Sunday, 16 December 2007, 02:27 GMT
See fix in bug  FS#4435 

Loading...