Re: Getting started

From: Donn Washburn <n5xwb(at)comcast(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL Novice elist <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Getting started
Date: 2010-03-26 03:31:47
Message-ID: 4BAC2AA3.6010309@comcast.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)comcast(dot)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(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

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2010-03-26 03:40:55 Re: Getting started
Previous Message Tom Lane 2010-03-26 03:00:58 Re: Getting started