Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-27-2004, 01:49 PM   #1
Registered: Nov 2003
Posts: 55

Rep: Reputation: 15
Installing PostgreSQL DBMS

Hi! i have RedHat Linux 8,
i want to be able to use PostgresSQL on my pc.
i added the packages for database servers from my RedHat CDs.
now when i write: rpm -qa | grep postgres i get

when i want to create a database, i get a message like:

createdb: could not connect to database template1: could not connect to server:
No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?

how can i make postgresql correctly installed in order to use psql?

thank you for your time and help!!


Last edited by Hady; 04-27-2004 at 02:05 PM.
Old 04-28-2004, 06:44 AM   #2
Registered: Jul 2003
Location: netherlands
Distribution: debian
Posts: 403

Rep: Reputation: 30
you must create the template databases. for creating databases, the postgres client first need to connect to a template. you can create those with the "initdb" program in the postgres bin dir, by default /usr/local/pgsql/bin, but maybe redhat installes it elsewhere. more details on setting up postgres are in the INSTALL file, I recommend to read that one first! should be in /usr/local/pgsql/.

.-=~ iluvatar ~=-.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
problems with SQLITE DBMS leochen Linux - Software 0 05-20-2004 09:51 PM
Postgres DBMS??! Hady Linux - Newbie 4 04-27-2004 04:19 PM
installing and running postgresql or MySql Whatshisface Linux - Software 3 02-23-2004 12:29 AM
which DBMS to learn rvijay17 Linux - General 11 03-17-2003 03:38 PM
can't installing Postgresql importboy03 Linux - Software 6 02-13-2003 03:21 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:44 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration