I have installed postgresql-8.2.6 in /usr/local/postgresql/ directory.
I have also created the data dictionary in /var/lib/pgsql/data directory using following commands:
/usr/local/postgresql/bin/initdb -D /var/lib/pgsql/data/
The owner of my var/lib/pgsql/data directory is globus and owner of usr/local/postgresql/bin/initdb is root
I have also edited the following files in /var/lib/pgsql/data/postgresql.conf by adding listen_addresses='*' and
/var/lib/pgsql/data/pg_hba.conf by adding
host rftDatabase "globus" "140.221.8.31" 255.255.255.255 md5
Now when I am trying to run /etc/init.d/postgresql restart : It gives me following error:
Stopping postgresql service: [FAILED]
Starting postgresql service: [FAILED]
Can anybody help??
Thanks in advance
Arpit