Hi Torben,
what does echo $LD_LIBRARY_PATH
return? It should have /usr/local/pgsql/lib
in it. This is usually set in the .bash_profile
file in postgres's home directory.
Since, I've been installing and reinstalling frequently while working on the install guide, i've made some sparse notes on how to wipe an openacs4 pg installation. These are rough and very debian-specific, but if people think this is valuable, i'll put it together into a more formal document:
Stop any aolserver instances:
inittab:
- clearing out entries from
/etc/inittab
- run
/sbin/init q
to re-read /etc/inittab
killall -9 nsd
to kill any running servers
daemontools
- stop daemontools -
/etc/init.d/daemontools stop
killall -9 nsd
to kill any running servers
Stop postgresql
/etc/init.d/postgresql stop
update-rc.d -f postgresql remove
(chkconfig for RH)
Remove vacuumdb from crontab (crontab -e
)
Get rid of nsadmin and postgres users and files
deluser --remove-all-files nsadmin
deluser --remove-all-files postgres
Get rid of web group
groupdel web
Get rid of extra files:
rm -r /usr/local/pgsql
(relkov.so from OpenFTS still in there)
rm /etc/init.d/postgresql
rm -r /usr/local/aolserver /web /usr/lib/tcl8.3/nsfts-0.1
rm -r /usr/local/bin/restart-aolserver /usr/local/bin/svgroup /usr/local/src/root /usr/local/src/postgresql
rm -r /service/
get rid of daemontools:
apt-get --purge remove daemontools