Re: Getting started
От | Donn Washburn |
---|---|
Тема | Re: Getting started |
Дата | |
Msg-id | 4BAC2AA3.6010309@comcast.net обсуждение исходный текст |
Ответ на | Re: Getting started (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Getting started
|
Список | pgsql-novice |
This script is started by the boot process. Therefore, I would say that no permission issues would be the problem. Yes the script has under "start" /usr/bin/initdb # /usr/bin/initdb -D /var/lib/pgsql/data/ Works! but complains about root (su) or user donn -> Permission denied So it is a permission problem. On 03/25/2010 10:00 PM, Tom Lane wrote: > Donn Washburn<n5xwb@comcast.net> writes: >> I am new with Postgres. I am running openSuSE 11.3 Milestone 4 and >> their version of Postgresql-8.4 > >> rpm -qa | grep postg >> postgresql-libs-8.4.2-4.1.i586 >> postgresql-8.4.2-4.1.i586 >> postgresql-server-8.4.2-4.1.i586 >> postgresql-contrib-8.4.2-4.1.i586 > >> /etc/init.d/postresql start<-fails > > Fails how, exactly? (I assume you typed the script name correctly, > not as quoted above.) > > I'm not familiar with openSUSE's packaging, but in a lot of PG start > scripts you'd need to do "/etc/init.d/postgresql initdb" before you > could issue "start" the first time. I'd have expected the script to > tell you so pretty clearly if that were needed, though. > > Another possibility is that you are trying to run the start script > without being root, but hopefully that would give a clear permissions > error. > > Really we can't do much more than guess without seeing the exact > failure message. > > 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 по дате отправления: