Forum OpenACS Development: Re: Database error

Collapse
2: Re: Database error (response to 1)
Posted by Orzenil Silva Junior on
Iuri,

Take a look at /var/run/postgresql directory and see if Unix domain socket file .s.PGSQL.5432 is there. If not, try /tmp. Maybe a symlink could resolve this issue (ln -s /tmp/.s.PGSQL.5432 /var/run/postgresql/)

Anyway, it seems nspostgres was compiled with another postgresql version instead this running version you describe. See that aolserver could not locate unix domain socket file from nspostgres driver info at service startup.

Try compile nspostgres again and be sure you are running it against your running aolserver and postgresql version.

Collapse
3: Re: Database error (response to 2)
Posted by Iuri Sampaio on
Orzenil,

Under /var/runpostgresql is .s.PGSQL.5440
because the server's listening postgres on port 5440.

I re-installed aolserver4-nspostgres and It seems the error is fixed.

Thanks a lot.