X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 9DFD39DCA15 for ; Sat, 18 Feb 2006 02:45:33 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 74407-03 for ; Sat, 18 Feb 2006 02:45:33 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.204]) by postgresql.org (Postfix) with ESMTP id 4CC039DC80E for ; Sat, 18 Feb 2006 02:45:31 -0400 (AST) Received: by zproxy.gmail.com with SMTP id l1so552432nzf for ; Fri, 17 Feb 2006 22:45:31 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=HTkUn1YAdkZlcap2qyPeZts+g/J+/2xn6R9hwQ+L/uI0hBZuWagvPnI/g4eML4iT2u1Eb4o4NGSJYYASHzwkR2+AwdZFjLY/XIN9Z+kC3xZMDfPUma3f3Ojm/v0uwItJn4KPFMgLsUjO4gcDuXAbFHXrER06mAwclBnZ2Ddwgew= Received: by 10.64.199.7 with SMTP id w7mr1433036qbf; Fri, 17 Feb 2006 22:45:31 -0800 (PST) Received: by 10.65.186.10 with HTTP; Fri, 17 Feb 2006 22:45:31 -0800 (PST) Message-ID: <4348e4e40602172245t7c80107o@mail.gmail.com> Date: Sat, 18 Feb 2006 01:45:31 -0500 From: "=?ISO-8859-1?Q?Fran=E7ois?=" To: "Tom Lane" Subject: Re: Unrecognized service: 8.1.3 on Fedora Core 3 Cc: pgsql-admin@postgresql.org In-Reply-To: <16150.1140243637@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2209_537260.1140245131756" References: <4348e4e40602171840k2c6ee17cj@mail.gmail.com> <16150.1140243637@sss.pgh.pa.us> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.501 required=5 tests=[AWL=0.500, HTML_MESSAGE=0.001] X-Spam-Score: 0.501 X-Spam-Level: X-Archive-Number: 200602/225 X-Sequence-Number: 20646 ------=_Part_2209_537260.1140245131756 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Thank you Tom, To the point, fast, and accurate... Much appreciated. Regards, Francois 2006/2/18, Tom Lane : > > "=3D?ISO-8859-1?Q?Fran=3DE7ois?=3D" writes: > > if I try at the command line to start the service: > >> service postgresql start > > I get: > >> unrecognized service > > Looking at the Fedora "service" script, it seems to want the target file > to not only exist but be executable: > > if [ -x "${SERVICEDIR}/${SERVICE}" ]; then > env -i LANG=3D$LANG PATH=3D$PATH TERM=3D$TERM "${SERVICEDIR}/${SERVICE= }" > ${OPTIONS} > else > echo $"${SERVICE}: unrecognized service" >&2 > exit 1 > fi > > So I'm thinking you forgot to set execute permission on the > postgresql init file. > > Having said that ... why don't you use the RPM distribution? > It contains a vastly more modern init script than this thing > from contrib. > > regards, tom lane > ------=_Part_2209_537260.1140245131756 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Thank you Tom,

To the point, fast, and accurate...  Much apprec= iated.

Regards,

Francois

2006/2/18, Tom Lane <tgl@sss.pg= h.pa.us >:
&= quot;=3D?ISO-8859-1?Q?Fran=3DE7ois?=3D" < francois.x.hetu@gmail.com> writes:
> if I try at the command l= ine to start the service:
>> service postgresql start
> I ge= t:
>> unrecognized service

Looking at the Fedora "serv= ice" script, it seems to want the target file
to not only exist but be executable:

if [ -x "${SERVICEDIR}= /${SERVICE}" ]; then
   env -i LANG=3D$LANG PATH=3D$PATH = TERM=3D$TERM "${SERVICEDIR}/${SERVICE}" ${OPTIONS}
else
&nb= sp;  echo $"${SERVICE}: unrecognized service" >&2
   exit 1
fi

So I'm thinking you forgot to set exec= ute permission on the
postgresql init file.

Having said that ... = why don't you use the RPM distribution?
It contains a vastly more modern= init script than this thing
from contrib.

        &n= bsp;            = ;   regards, tom lane

------=_Part_2209_537260.1140245131756--