package postgresql fail

Thomas Lange lange at informatik.Uni-Koeln.DE
Wed Sep 6 16:44:24 CEST 2006


>>>>> On Wed, 6 Sep 2006 15:58:00 +0200, markus.witt at arz.co.at said:

    > All i see in log files is that the start of postgres get fail (ok it's 
    > dosn't matter)
This is not a bug, it's a feature of FAI (an other installers).
FAI does not allow to start daemons inside the chroot during
installation. Therefore we faked the start-stop-daemon program. IMO
that's the reason why postgresql can't be set up properly.

Now you have two option:

Force postresql to start its daemon maybe by executing the original
start-stop-daemon command inside the nfsroot (its:
/sbin/start-stop-daemon.distrib).

Write a rc2.d startup script that is run once during the first boot
and do all the postgres initialsation there. Normall those script do
rm -f $0 at the end, so it will only be executed once.
/files/etc/rc2.d/S99fai-setup/FAISERVER is an example for this.

-- 
regards Thomas



More information about the linux-fai mailing list