From: | Lamar Owen <lamar(dot)owen(at)wgcr(dot)org> |
---|---|
To: | "Tamir Halperin" <tamir(at)brobus(dot)net>, "alex b(dot)" <mailinglists1(at)gmx(dot)de>, "Frustrated Beginner" <nowweare(at)access4cheap(dot)com> |
Cc: | "Postgresql General" <pgsql-general(at)postgresql(dot)org>, "Jonas Hoge" <Schmass(at)gmx(dot)net> |
Subject: | Re: Newbie: problem Connecting to Server |
Date: | 2003-04-04 04:35:05 |
Message-ID: | 200304032335.05237.lamar.owen@wgcr.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Thursday 03 April 2003 23:12, Tamir Halperin wrote:
> Looks like no one has corrected you, alex, so, as it pertains to redhat, a
> user of which I am not, you may have directed Frustrated correctly.
> > you guys first have to create a POSTGRESQL USER, under which the
> > server will run...
> > ANYONE: please correct me, if I'm wrong!!!!! it is important, so I or
> > them won't mess up their systems..
Somehow I missed this the first time around....
With an RPM install of PostgreSQL (which RedHat Database is), please consult
README.rpm-dist (find it with 'rpm -ql postgresql |grep rpm').
The short of it:
The RPM install scripts handle the user creation. All one must do is (as
root): '/sbin/service postgresql start' to get an initdb done and postmaster
started. Then edit /var/lib/pgsql/data/pg_hba.conf to allow access to the
client IP address, and edit postgresql.conf (in the same directory) for
tcpip_socket to be true (if you are doing TCP/IP connections, that is).
To get postgresql started automatically at boot, do (assuming you want
postgresql to run in runlevels 3, 4, and 5): '/sbin/chkconfig --level 345
postgresql on'
List the currently valid runlevels with '/sbin/chkconfig --list postgresql'
If it complains about postgresql not be a known service, execute
'/sbin/chkconfig --add postgresql' -- if that doesn't work, check to see if
the postgresql-server RPM is installed ('rpm -qa|grep postgresql').
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11
From | Date | Subject | |
---|---|---|---|
Next Message | Lonni Friedman | 2003-04-04 04:45:17 | Re: unable to dump database, toast errors |
Previous Message | Tom Lane | 2003-04-04 04:32:34 | Re: unable to dump database, toast errors |