Forum OpenACS Q&A: postgres driver error under root?

Hi!
I got this error when I try to run openacs under root (port 80 or
whaterver):

Warning: modload: failed to load '/home/
aol32/bin/postgres.so': 'libpq.so.2: cannot load shared object file:
No such file or directory'

the extrange thing is that when I try to run the same service under
other port (e.g. 8000) as nsadmin user I have no problems, it works
well,

any suggestions?

Collapse
Posted by Antonio Laterza on
Rocael: what's the command you are using?
I'm using:

/home/aol32/bin/nsd76 -t /home/aol32/configfile.tcl

Also I'm using aolserver+ad12, redhat7.1, postgresql 7.1.2 pgdriver 2.0

Thanks

Collapse
Posted by Antonio Laterza on
login as root and run:
/home/aol32/bin/nsd76 -u nsadmin -g web -t /home/aol32/configfile.tcl
Thank you Antonio,
I forgot to put that the command that I've been using also has the -u nsadmin -g nsadmin flags, but it didn't work anyway, then I tried with the -g web and it worked! I don't know what happen but now is working... =)