Skip site navigation (1) Skip section navigation (2)

Re: boot on Debian with /etc/init.d/rc ...

From: Raimon Fernandez <coder(at)montx(dot)com>
To: salman <salmanb(at)quietcaresystems(dot)com>
Cc: PostgreSQL List - Novice <pgsql-novice(at)postgresql(dot)org>
Subject: Re: boot on Debian with /etc/init.d/rc ...
Date: 2009-01-30 17:19:46
Message-ID: 0BC324EF-C2A3-4958-A187-AE1444581053@montx.com (view raw or flat)
Thread:
Lists: pgsql-novice
On 30/01/2009, at 17:52, salman wrote:

> Raimon Fernandez wrote:
>> Hello,
>>
>> After some months of Postgre on OS X, amb trying to install a  
>> complete package of Ruby On Rails with PostgreSQL, Capistrano, git,  
>> etc. etc. on a Debian linux.
>>
>> I've installed PostgreSQL from source, and executed the commands to  
>> install the start-up script:
>>
>> $ cp contrib/start-scripts/linux /etc/init.d/postgresql
>> $ update-rc.d postgresql defaults
>>
>> on boot time, I'm getting a Permission denied:
>>
>> /etc/init.d/rc: line 78: /etc/rc2.d/S20postgresql : Permission denied
>>
>>
>> even If I execute this line as a root I'm getting the permission  
>> denied:
>>
>> /etc/init.d/postgresql start
>>
>>
>> I can start the database logged as the postgre user and executing:
>>
>> /usr/local/pgsql/bin/postgres -D /usr/local/pgsql/data
>>
>> my postgres user is postgres user, all with the default values.
>>
>> here is the file, in case someone can view any error ...
>>
>> thanks in advance,
>>
>> r.
>
> You probably need to grant it executable permissions. chmod +x /etc/ 
> init.d/postgresql should do the trick.

thanks salman, that did the trick .....

r.


In response to

Responses

pgsql-novice by date

Next:From: Rodrigo E. De León PlicetDate: 2009-01-31 00:24:34
Subject: Re: REALLY stupid question
Previous:From: salmanDate: 2009-01-30 16:52:58
Subject: Re: boot on Debian with /etc/init.d/rc ...

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group