postgresql-8.3 server does not start automatically
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
postgresql-8.3 (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: postgresql-8.3
I use Kubunutu 9.04.
After installation I installed postgresql-8.3 using apt-get install. I discovered that postgresql was not started automatically, I had to do a manual /etc/init.
The following links on the system existed on the system at this time:
/etc/
/etc/
/etc/
/etc/
/etc/
/etc/
/etc/
I solved the problem by doing `sudo update-rc.d -f postgresql-8.3 remove' followed by `sudo update-rc.d postgresql-8.3 defaults'
The output is here:
$ sudo update-rc.d -f postgresql-8.3 remove
Removing any system startup links for /etc/init.
/etc/
/etc/
/etc/
/etc/
/etc/
/etc/
/etc/
$ sudo update-rc.d postgresql-8.3 defaults
Adding system startup for /etc/init.
/etc/
/etc/
/etc/
/etc/
/etc/
/etc/
/etc/
I find it a bit strange that the links removed, that is the links created during pacakge installation, are not the same as re-created by the command `sudo update-rc.d postgresql-8.3 defaults' They have different sequence numbers.
Jarl
That's because postgresql itself creates the link priority as 19, whereas your manual invocation uses "defaults" which equals to 20. However, this by and large shouldn't make a difference. With the S19 links in place, can you please do a boot without "splash" (remove "splash" in the grub menu after pressing "e") and check if you see any output from the postgresql init.d script? Please also attach /var/log/ postgresql/ postgresql- 8.3-main. log after such a start (without invoking it manually).