Yeah you should have changed  the option in postgresql.conf file of you
data directory.
#port = 5432 
port = 80



> Now when I changed the postgresql port to 80... in postgresql.conf...
> and /etc/services... when I restart the postmaster it is not starting
> thought the startup script shows postmaster started...

Check out the postgresql init script. All the error messages goes to
/dev/null so
you wont know the real error message.
Try to run the command manually without redirecting to /dev/null.

su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl  -D $PGDATA -p
/usr/bin/postmaster -o '-p ${PGPORT}' start  > /dev/null 2>&1" <
/dev/null

from my redhat 9 postgresql init script. Use whatever is there in yours
and check the error if any.



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to