> Set and export the PGDATA variable in the rc script to the data> dirrectory path and try again.
Thanks it worked.
- Gergely