Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Novice > Re: Configurati...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 9 Topic 3095 of 3255
Post > Topic >>

Re: Configuration on CentOS 4.6

by brucejhyatt@[EMAIL PROTECTED] (Bruce Hyatt) Apr 28, 2008 at 06:21 PM

--- Phillip Smith <phillip.smith@[EMAIL PROTECTED]
> wrote:

> > For example, there's no pg_hba.config and there's no
> directory /pgsql/data
> anywhere to put one in.
> 
> You need to run initdb which will generate those files with
> default content.
> 
> I'm not sure where CentOS / RedHat puts them by default (I
> compile from
> source) but at a guess:
> /usr/local/postgres/bin/initdb -D /path/to/database/files/
> databasename
> 
> Run that as the postgres user.
> /path/to/database/files/ is where you want to put the files.
> It does not
> need to exist already as initdb will create it. Depends how
> CentOS / RedHat
> have setup the package, but it would possible default to
> /usr/local/postgres/data/ I think.

Thanks very much. That worked.

I was trying to use createdb and getting the message "user
doesn't exist." Previously when I installed postgresql, I also
compiled it from source and had no problem creating a db and
getting it running. For some reason, trying to step in in the
middle of the process got me hung up

Sincerely,
Bruce


     
____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now. 
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

-- 
Sent via pgsql-novice mailing list (pgsql-novice@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-novice
 




 9 Posts in Topic:
Configuration on CentOS 4.6
brucejhyatt@[EMAIL PROTEC  2008-04-28 16:56:35 
Re: Configuration on CentOS 4.6
phillip.smith@[EMAIL PROT  2008-04-29 10:29:20 
Re: Configuration on CentOS 4.6
brucejhyatt@[EMAIL PROTEC  2008-04-28 18:21:41 
Re: Configuration on CentOS 4.6
phillip.smith@[EMAIL PROT  2008-04-29 11:32:51 
Re: Configuration on CentOS 4.6
devrim@[EMAIL PROTECTED]   2008-05-01 10:02:01 
Re: Configuration on CentOS 4.6
phillip.smith@[EMAIL PROT  2008-05-02 09:32:25 
Re: Configuration on CentOS 4.6
ahodgson@[EMAIL PROTECTED  2008-04-29 08:31:52 
Re: Configuration on CentOS 4.6
brucejhyatt@[EMAIL PROTEC  2008-04-29 13:12:09 
Re: Configuration on CentOS 4.6
devrim@[EMAIL PROTECTED]   2008-05-01 10:01:02 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Oct 12 14:30:58 CDT 2008.