Share your knowledge at the LQ Wiki.
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 02-22-2006, 08:12 AM   #1
LQ Newbie
Registered: Feb 2006
Posts: 5

Rep: Reputation: 0
Postgresql is giving me a VERY BAD time, help very much needed

Hello everyone. I'm using a RedHat Enterprise Linux version 3 box. I have installed every package available related to postgresql, and so far, the programa appears to be installed on the machine.

I cannot get postmaster to run. When i execute:

postmaster -i

or any other options, with postmaster, i get the following response:

postmaster does not know where to find the database system data.
You must specify the directory that contains the database system
either by specifying the -D invocation option or by setting the
PGDATA environment variable.

But, if i try to create a new directory, say /home/demosapec/pgsql/data, and use the -D option to bind it there, it says it doesn't find the file PG_VERSION on that directory.

I have tried:
echo $PGDATA <- no response
locate PG_VERSION <- no response

I cannot run the postmaster as root, and i'd rather not to, if this is the only option.

Could anyone point me into a helpful direction. I am quite lost at the moment, i don't know what i did wrong, but this is just not working.

Thanks everybody in advance.
Old 02-22-2006, 08:30 AM   #2
LQ Newbie
Registered: Feb 2006
Posts: 5

Original Poster
Rep: Reputation: 0

I had to use initdb first to initialize the db. I leave this thread for everyone with same problems to read, but maybe forum admins decice to delete it. In any case, sorry for taking up space in the forum.


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
ATI Driver still giving bad FPS beatlestones Linux - Hardware 3 07-05-2005 11:37 AM
amaroK giving me a hard time stealthgate Linux - Software 1 05-11-2005 04:57 PM
Giving Up On Linux............Help Needed Mr_T_Fool Linux - General 12 07-17-2003 02:45 PM
Mplayer has been giving me a rough time AekaGSR Linux - Newbie 4 06-13-2003 07:19 PM
XFree86 giving me some really hard time Ztyx Linux - General 2 11-25-2002 09:35 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:57 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
Open Source Consulting | Domain Registration