pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: François <francois.x.hetu@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: Unrecognized service: 8.1.3 on Fedora Core 3
Date: Sat, 18 Feb 2006 01:45:31 -0500
Message-ID: <4348e4e40602172245t7c80107o@mail.gmail.com> (raw)
In-Reply-To: <16150.1140243637@sss.pgh.pa.us>
References: <4348e4e40602171840k2c6ee17cj@mail.gmail.com>
	<16150.1140243637@sss.pgh.pa.us>

Thank you Tom,

To the point, fast, and accurate...  Much appreciated.

Regards,

Francois

2006/2/18, Tom Lane <tgl@sss.pgh.pa.us>:
>
> "=?ISO-8859-1?Q?Fran=E7ois?=" <francois.x.hetu@gmail.com> 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=$LANG PATH=$PATH TERM=$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
>

view thread (3+ messages)

Message-ID: <4348e4e40602172245t7c80107o@mail.gmail.com>
Permalink:  ../4348e4e40602172245t7c80107o@mail.gmail.com/
Also on:    postgresql.org/message-id/4348e4e40602172245t7c80107o@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: francois.x.hetu@gmail.com, tgl@sss.pgh.pa.us
  Subject: Re: Unrecognized service: 8.1.3 on Fedora Core 3
  In-Reply-To: <4348e4e40602172245t7c80107o@mail.gmail.com>
  References: <4348e4e40602171840k2c6ee17cj@mail.gmail.com> <16150.1140243637@sss.pgh.pa.us> <4348e4e40602172245t7c80107o@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox