Forum OpenACS Q&A: Re: Request Error: Server startup failed
(assuming this is on a solaris box)
run ldd /usr/local/aolserver/bin/nspostgres.so and take a look at the output. if there's a line that says libpq.so.2 => (file not found) then this is your problem -
that error message means that when the dynamic loader is loading nspostgres.so it can't find the required libpq.so.2 - this would be because /usr/local/pgsql/lib is neither in the compiled-in RPATH or the environment LD_LIBRARY_PATH...
the solutions are to recompile nspostgres.so with LD_OPTIONS='-R/usr/local/pgsql/lib' set in your environment (this fixes your nspostgres.so so that it knows where to find it's dependancies) or alternatively to use your existing binary but make sure that /usr/local/pgsql/lib is included in the aolserver's LD_LIBRARY_PATH environment variable...