Re: Postgresql And Redhat Enterprise 3

From: Christian Armeanu <chris(at)vote4ad(dot)com>
To: Remi <remi(at)internetworker(dot)net>, pgsql-novice(at)postgresql(dot)org
Subject: Re: Postgresql And Redhat Enterprise 3
Date: 2004-02-02 21:30:31
Message-ID: 401EC177.1000206@vote4ad.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Well, as you say yourself, you need to provide the file postgres in
/etc/init.d/.
Make sure it is executable ( chmod 755 /etc/init.d/postgres ) and this
should be it. There's no magic behind this ;-)

Chris

Remi wrote:

>Hello,
>
>I've installed redhat enterprise 3 on a system to use as a db server.
>Manually I can install and run postgresql 7.3 (the one on the extras
>CD). The problem is when you try to add postgres as a service, it
>might add it, but it will not start it. To do this, we got a
>postgresql script, placed it in the init.d folder with all the other
>service shell scripts, and then went into services, add service, and
>typed postgres. The specific error received is:
>
>env: /etc/init.d/postgres no directory or file found
>
>Is there some environment variable that needs to be set in some file
>somewhere. I read a lot of documentation online, and modified whatever
>files that people mentioned, but maybe I'm missing something?
>
>Just to clarify, the server pgsql components are installed. I've done
>several fresh installs with all kinds of options either selected or
>de-selected. For example, I've installed all client, and server
>components at one point.
>
>What baffles me as well is that on Redhat 9.0 it sets up postgres for
>you on an install, and automatically adds, and configures it under
>services so that it auto starts postgres on a server reboot.
>
>Any help is appreciated. Thanks.
>
>---------------------------(end of broadcast)---------------------------
>TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
>
>

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Lynn.Tilby 2004-02-02 22:23:09 Fwd: Lots of nan's
Previous Message Josh Berkus 2004-02-02 21:22:21 Re: Inserting a Null date.