Forum OpenACS Q&A: OpenACS installation error

Collapse
Posted by Mohammad Al-Ghazali on
I got problem with my openacs,this site's already up and running for quite some times,but a few days ago,my server got some problem and i need to reboot it,after it have been rebooted,then i can access my OpenACS site,i'm using Red Hat 9,with Postgres databases. The error can be shown as follows:
Collapse
Posted by Mohammad Al-Ghazali on
Correction to my statement earlier,I can't use my OpenACS site.Is there any problem with postgres,i've try to to restart the database using this command

[root root]# service postgresql restart

but nothing makes change in it
Collapse
Posted by anjali n on
Hi Mohammad,

Did you configure the database driver.See the AOLserver documentation
Even i got the same error.Try giving the following commands and then restart the AOLserver.

add database specific wrapper script and configure the postgres diver nspostgres

[root aolserver]# cd /usr/local/aolserver/bin
[root bin]# cp /var/tmp/openacs-5.2.0/packages/acs-core-docs/www/files/nsd-postgres.txt ./nsd-postgres
[root bin]# chmod 755 nsd-postgres

Collapse
Posted by Mohammad Al-Ghazali on
I've already configured that part,the aolserver is already up and running,but the error still occur
Collapse
Posted by anjali n on
Which documentation did you follow.

You can see similar error at
https://openacs.org/forums/message-view?message%5fid=390323

I think you haven't set the environmental variable properly

Collapse
Posted by Dave Bauer on
Stop AOLserver.

THen make sure PostgreSQL is running.

Then restart AOLserver.

This should fix it. It looks like AOLserver started up before PostgreSQL.

Collapse
Posted by Don Baccus on
I would add one step to Dave's suggestion:

1. stop AOLserver

2. start PostgreSQL

3. verify that you can connect to the database using PSQL

4. THEN restart AOLserver

Collapse
Posted by Mohammad Al-Ghazali on
I can't connect to the database using psql,so what's the problem here?
Collapse
Posted by Christof Spitz on
Are you sure your postgres daemon is up? (ps -A)