"Shahid Butt" <Shahid.Butt@xxxxxxxxxx> writes: > I am using PostgreSQL 7.4.7 and Red Hat Enterprise Linux 4. > I want to start the Postgres Postmaster automatically when the server > boots up. If you're using an RPM distribution then you shouldn't need to muck with rc.local. The startup files are there, you just have to enable them. sudo /sbin/service postgresql start sudo /sbin/chkconfig postgresql on regards, tom lane