From: | Donn Washburn <n5xwb(at)comcast(dot)net> |
---|---|
To: | PostgreSQL Novice elist <pgsql-novice(at)postgresql(dot)org> |
Subject: | Re: Getting started |
Date: | 2010-03-26 18:59:16 |
Message-ID: | 4BAD0404.6010205@comcast.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
After looking at /etc/init.d/postgresql there is no mention to initdb
other than under start) /usr/bin/initdb. The script is a openSuSE
script that only has things like start), stop) and status) which are
recognized.
It is not the one that likely comes with postgres.
As root -> /etc/init.d/postgresql start normally. It is rather short so
if you would like a copy I could send it to you.
On 03/25/2010 10:40 PM, Tom Lane wrote:
> Donn Washburn<n5xwb(at)comcast(dot)net> writes:
>> Works! but complains about root (su) or user donn -> Permission denied
>> So it is a permission problem.
>
> So try it as
> sudo /etc/init.d/postgresql initdb
> sudo /etc/init.d/postgresql start
>
> Generally, init.d scripts are expected to be run as root.
>
> regards, tom lane
>
--
73 de Donn Washburn
307 Savoy Street Email:" n5xwb(at)comcast(dot)net "
Sugar Land, TX 77478 LL# 1.281.242.3256
Ham Callsign N5XWB HAMs : " n5xwb(at)arrl(dot)net "
VoIP via Gizmo: bmw_87kbike / via Skype: n5xwbg
BMW MOA #: 4146 - Ambassador
" http://counter.li.org " #279316
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2010-03-26 19:29:20 | Re: Getting started |
Previous Message | Mladen Gogala | 2010-03-26 15:15:39 | Re: Table inheritance |