Re: Getting started
| От | Donn Washburn |
|---|---|
| Тема | Re: Getting started |
| Дата | |
| Msg-id | 4BAD0404.6010205@comcast.net обсуждение исходный текст |
| Ответ на | Re: Getting started (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Getting started
|
| Список | 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@comcast.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@comcast.net "
Sugar Land, TX 77478 LL# 1.281.242.3256
Ham Callsign N5XWB HAMs : " n5xwb@arrl.net "
VoIP via Gizmo: bmw_87kbike / via Skype: n5xwbg
BMW MOA #: 4146 - Ambassador
" http://counter.li.org " #279316
В списке pgsql-novice по дате отправления: