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

Re: BUG #4435: pg_ctl start doesn't detach when run via SSH

From: Steve Clark <sclark(at)netwolves(dot)com>
To: Hal Black <black(at)ieee(dot)org>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4435: pg_ctl start doesn't detach when run via SSH
Date: 2008-09-23 17:54:07
Message-ID: 48D92D3F.9030405@netwolves.com (view raw or flat)
Thread:
Lists: pgsql-bugs
Hal Black wrote:
> The following bug has been logged online:
> 
> Bug reference:      4435
> Logged by:          Hal Black
> Email address:      black(at)ieee(dot)org
> PostgreSQL version: 8.3.3
> Operating system:   Ubuntu Hardy 8.04.1 LTS
> Description:        pg_ctl start doesn't detach when run via SSH
> Details: 
> 
> When I run "pg_ctl start" via SSH, the database service starts, but it never
> returns control to the shell.  If I run the same command from an interactive
> shell, it works as expected.
> 
> This is with or without the -w option.  Here's an example commandline.
> 
> ssh root(at)example(dot)com "su -c '/home/appuser/local/bin/pg_ctl start -w -s -D
> /home/appuser/postgresql_data' postgres"
> 
> This problem exists both when installed from source and when using the
> postgresql installed via the debian package manager (of course using a
> different path to the pg_ctl binary)
> 
try using ssh -t ...


In response to

Responses

pgsql-bugs by date

Next:From: Hal BlackDate: 2008-09-23 19:33:36
Subject: Re: BUG #4435: pg_ctl start doesn't detach when run via SSH
Previous:From: Hal BlackDate: 2008-09-23 17:30:24
Subject: BUG #4435: pg_ctl start doesn't detach when run via SSH

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