Tanks a lot to all...
Finally i got the solution... my postgres working fine on server...
-
Regards,
Suresh Hosur
--
View this message in context:
Hi,
I have installed postgresql-9.0 on my CentOS 6.0 server in the directory
/usr/pgsql-9.0/.
Its data directory resides in /var/lib/pgsql/9.0/
unable to run $psql dbname command
when i run the commands its showing the error like:
[root@CentOS-60-32-minimal ~]# su - postgres
-bash-4.1$ psql
Hi devrim,
Thanks for the responce
when i run the command
rpm -qa | grep postgresql-9.0
Its not dispalying anything...
-
Regards,
Suresh Hosur
--
View this message in context:
Hello Devrim,
ya when i run its dispalying like
[root@CentOS-60-32-minimal lib]# rpm -qa | grep postgresql
postgresql90-docs-9.0.6-1PGDG.rhel6.i686
postgresql84-libs-8.4.9-1PGDG.rhel6.i686
postgresql90-libs-9.0.6-1PGDG.rhel6.i686
postgresql90-contrib-9.0.6-1PGDG.rhel6.i686
Hello John R Pierce,
When i run the
$su - postgres
#which psql
Its dispalying like:
[root@CentOS-60-32-minimal ]# su - postgres
-bash-4.1$ which psql
/usr/bin/psql
and for $ ldd $(which psql) command it displaying like
-bash-4.1$ ldd $(which psql)
linux-gate.so.1 =