problem in installing postgresql on ubuntu 9.04 node

Hi,

I did 'sudo apt-get install postgresql' on an ubuntu 9.04 node and it installed successfully. However, postgresql does not start up during server startup!

Running '/etc/init.d/posgtresql-8.3 status' returns immediately and does not output anything to the console.

I then created a 'data' dir and ran 'initdb' on that and from the command line was able to get postgresql running. But how to start it up by default when the server reboots! Am wary of messing with the postgresql start up script in /etc/init.d.

thanks,

mano

0 Replies

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct