This is interesting:

sudo -u postgres /usr/lib/postgresql/8.3/bin/initdb  -D /var/lib/postgresql  -U 
postgres -W
postgres (PostgreSQL) 8.3.7
fgets failure: Bad file descriptor
The program "postgres" is needed by initdb but was not found in the

Can you please do

  strace -o /tmp/strace -vfs 1024 /usr/lib/postgresql/8.3/bin/initdb  -D
/tmp/test -W

You should still get the error with this (but without touching system
files). Please copy&paste the output of this command, and attach
/tmp/strace.

Thanks!

-- 
The program "postgres" is needed by initdb but was not found in the same 
directory as "/usr/lib/postgresql/8.3/bin/initdb".
https://bugs.launchpad.net/bugs/361002
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to