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 00BD29DC806 for ; Sat, 18 Feb 2006 02:20:47 -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 68484-09 for ; Sat, 18 Feb 2006 02:20:40 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 109D89DC80E for ; Sat, 18 Feb 2006 02:20:38 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id k1I6Kbu1016151; Sat, 18 Feb 2006 01:20:37 -0500 (EST) To: "=?ISO-8859-1?Q?Fran=E7ois?=" cc: pgsql-admin@postgresql.org Subject: Re: Unrecognized service: 8.1.3 on Fedora Core 3 In-reply-to: <4348e4e40602171840k2c6ee17cj@mail.gmail.com> References: <4348e4e40602171840k2c6ee17cj@mail.gmail.com> Comments: In-reply-to "=?ISO-8859-1?Q?Fran=E7ois?=" message dated "Fri, 17 Feb 2006 21:40:31 -0500" Date: Sat, 18 Feb 2006 01:20:37 -0500 Message-ID: <16150.1140243637@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.11 required=5 tests=[AWL=0.110] X-Spam-Score: 0.11 X-Spam-Level: X-Archive-Number: 200602/224 X-Sequence-Number: 20645 "=?ISO-8859-1?Q?Fran=E7ois?=" 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