Hi Janet,

This question should really have something to do with Linux *and* Java
to be in this mailing list.

You may want to try one of the Postgresql mailing lists.  See
http://postgresql.org/lists/mailing-list.html.  Or your question may
already be answered in one of the online FAQ's or docs at
http://postgresql.org.

Hope this helps,
Jim
--

Janet wrote:
> 
> Hello!
> 
> I'm totally new to Linux. And I have troubles using the DBMS PostgreSQL.
> 
> I installed Redhat 6.0 and find there is postgresql already installed on my
> computer.
> Running the following command I get:
> ////////////////////////////////////////////////////
> $rpm -ql postgresql
> /etc/rc.d/init.d/postgresql
> /usr/bin/cleardbdir
> /usr/bin/createdb
> /usr/bin/createuser
> /usr/bin/destroydb
> /usr/bin/destroyuser
> /usr/bin/initdb
> /usr/bin/initlocation
> /usr/bin/pg_passwd
> /usr/bin/pg_version
> /usr/bin/postgres
> /usr/bin/postmaster
> /usr/doc/postgresql-6.4.2
> .....
> (All the /usr/doc entried are omitted here since they are too many)
> ......
> /var/lib/pgsql
> ///////////////////////////////////////////
> 
> I thought it's ok to start the postgresql server, so I run the following
> command but it complains:
> (the command was found in the "/etc/rc.d/init.d/postgresql" file)
> //////////////////////////////////////////////
> $postmaster -i -D/var/lib/pgsql
> /usr/bin/postmaster does not find the database system.  Expected to find it
> in the PGDATA directory "/var/lib/pgsql", but unable to open file with
> pathname "/var/lib/pgsql/base/template1/pg_class".
> 
> No data directory -- can't proceed.
> ////////////////////////////////////////////
> 
> I read the installation instruction of the PostgreSQL but it teaches you how
> to install from the beginning and expect you to use the file
> "postgresql-v6.4.tar.gz", which I haven't got on my computer.
> 
> So do I need to download one to re-install the PostgreSQL? Or how can I
> solve my problem? What's in the earth wrong?
> 
> Any suggestion or hints are appreciated greatly!
> 
> With my best regard:
> Janet
> 
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to