Public bug reported:

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.d/postgresql-8.3 start after every boot.

The following links on the system existed on the system at this time:
   /etc/rc0.d/K21postgresql-8.3
   /etc/rc1.d/K21postgresql-8.3
   /etc/rc2.d/S19postgresql-8.3
   /etc/rc3.d/S19postgresql-8.3
   /etc/rc4.d/S19postgresql-8.3
   /etc/rc5.d/S19postgresql-8.3
   /etc/rc6.d/K21postgresql-8.3


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.d/postgresql-8.3 ...
   /etc/rc0.d/K21postgresql-8.3
   /etc/rc1.d/K21postgresql-8.3
   /etc/rc2.d/S19postgresql-8.3
   /etc/rc3.d/S19postgresql-8.3
   /etc/rc4.d/S19postgresql-8.3
   /etc/rc5.d/S19postgresql-8.3
   /etc/rc6.d/K21postgresql-8.3
$ sudo update-rc.d postgresql-8.3 defaults
 Adding system startup for /etc/init.d/postgresql-8.3 ...
   /etc/rc0.d/K20postgresql-8.3 -> ../init.d/postgresql-8.3
   /etc/rc1.d/K20postgresql-8.3 -> ../init.d/postgresql-8.3
   /etc/rc6.d/K20postgresql-8.3 -> ../init.d/postgresql-8.3
   /etc/rc2.d/S20postgresql-8.3 -> ../init.d/postgresql-8.3
   /etc/rc3.d/S20postgresql-8.3 -> ../init.d/postgresql-8.3
   /etc/rc4.d/S20postgresql-8.3 -> ../init.d/postgresql-8.3
   /etc/rc5.d/S20postgresql-8.3 -> ../init.d/postgresql-8.3

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

** Affects: postgresql-8.3 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
postgresql-8.3 server does not start automatically
https://bugs.launchpad.net/bugs/387682
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to