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 2 of 9 Topic 3095 of 3323
Post > Topic >>

Re: Configuration on CentOS 4.6

by phillip.smith@[EMAIL PROTECTED] ("Phillip Smith") Apr 29, 2008 at 10:29 AM

> 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.


THINK BEFORE YOU PRINT - Save paper if you don't really need to print this

*******************Confidentiality and Privilege Notice*******************

The material contained in this message is privileged and confidential to
the addressee.  If you are not the addressee indicated in this message or
responsible for delivery of the message to such person, you may not copy
or deliver this message to anyone, and you should destroy it and kindly
notify the sender by reply email.

Information in this message that does not relate to the official business
of Weatherbeeta must be treated as neither given nor endorsed by
Weatherbee=
ta.
Weatherbeeta, its employees, contractors or associates shall not be liable
for direct, indirect or consequential loss arising from transmission of
this
message or any attachments
e-mail.

--=20
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 Fri Dec 5 5:26:29 CST 2008.