You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Faisal Abid <fa...@g-unix.com> on 2009/03/30 18:42:07 UTC

CouchDB closes with SSH

I managed to install CouchDB , and start it via ssh, when im still in  
the ssh session couchdb runs fine, but as soon as i close terminal,  
and go to the url of couchbdb , it doesn't work, the process dies when  
i close terminal. Is there a way to let it run all the time ?

Thanks,
Faisal
----------------------
Faisal Abid
CEO/Software Engineer : AndSpot,Inc.
Home Phone: 416 283 8769
Cell Phone: 905 962 6069
http://www.g-unix.com
http://www.andspot.com
http://www.andspot.com/blog



Re: CouchDB closes with SSH

Posted by Faisal Abid <fa...@g-unix.com>.
Cool thanks. Works like a charm.

On 30-Mar-09, at 10:42 PM, kowsik wrote:

> With '-b' you get proper logs, daemonization and disconnect from the
> tty's. Typically on *nix systems, nohup is used when the output from
> the process (stdout/stderr) is not of interestt. I think one another
> user mentioned screen which is also another way.
>
> I would highly recommend the '-b' option since there are other couchdb
> options to check the background process status, you get to follow the
> couch.log that's output, etc.
>
> Try couchdb -h to see the other options.
>
> K.
>
> On Mon, Mar 30, 2009 at 7:29 PM, Faisal Abid <fa...@g-unix.com>  
> wrote:
>> Hey thanks, before i tried nohup couchdb  , what are hte pro's and  
>> cons to
>> this?
>>
>> Thanks,
>> Faisal
>> On 30-Mar-09, at 5:47 PM, Noah Slater wrote:
>>
>>> On Mon, Mar 30, 2009 at 02:24:27PM -0700, kowsik wrote:
>>>>
>>>> couchdb -b (run as background process)
>>>
>>> Alternately, check the README for using CouchDB as a daemon process.
>>>
>>> --
>>> Noah Slater, http://tumbolia.org/nslater
>>
>> ----------------------
>> Faisal Abid
>> CEO/Software Engineer : AndSpot,Inc.
>> Home Phone: 416 283 8769
>> Cell Phone: 905 962 6069
>> http://www.g-unix.com
>> http://www.andspot.com
>> http://www.andspot.com/blog
>>
>>
>>

----------------------
Faisal Abid
CEO/Software Engineer : AndSpot,Inc.
Home Phone: 416 283 8769
Cell Phone: 905 962 6069
http://www.g-unix.com
http://www.andspot.com
http://www.andspot.com/blog



Re: CouchDB closes with SSH

Posted by kowsik <ko...@gmail.com>.
With '-b' you get proper logs, daemonization and disconnect from the
tty's. Typically on *nix systems, nohup is used when the output from
the process (stdout/stderr) is not of interestt. I think one another
user mentioned screen which is also another way.

I would highly recommend the '-b' option since there are other couchdb
options to check the background process status, you get to follow the
couch.log that's output, etc.

Try couchdb -h to see the other options.

K.

On Mon, Mar 30, 2009 at 7:29 PM, Faisal Abid <fa...@g-unix.com> wrote:
> Hey thanks, before i tried nohup couchdb  , what are hte pro's and cons to
> this?
>
> Thanks,
> Faisal
> On 30-Mar-09, at 5:47 PM, Noah Slater wrote:
>
>> On Mon, Mar 30, 2009 at 02:24:27PM -0700, kowsik wrote:
>>>
>>> couchdb -b (run as background process)
>>
>> Alternately, check the README for using CouchDB as a daemon process.
>>
>> --
>> Noah Slater, http://tumbolia.org/nslater
>
> ----------------------
> Faisal Abid
> CEO/Software Engineer : AndSpot,Inc.
> Home Phone: 416 283 8769
> Cell Phone: 905 962 6069
> http://www.g-unix.com
> http://www.andspot.com
> http://www.andspot.com/blog
>
>
>

Re: CouchDB closes with SSH

Posted by Faisal Abid <fa...@g-unix.com>.
Hey thanks, before i tried nohup couchdb  , what are hte pro's and  
cons to this?

Thanks,
Faisal
On 30-Mar-09, at 5:47 PM, Noah Slater wrote:

> On Mon, Mar 30, 2009 at 02:24:27PM -0700, kowsik wrote:
>> couchdb -b (run as background process)
>
> Alternately, check the README for using CouchDB as a daemon process.
>
> -- 
> Noah Slater, http://tumbolia.org/nslater

----------------------
Faisal Abid
CEO/Software Engineer : AndSpot,Inc.
Home Phone: 416 283 8769
Cell Phone: 905 962 6069
http://www.g-unix.com
http://www.andspot.com
http://www.andspot.com/blog



Re: CouchDB closes with SSH

Posted by Noah Slater <ns...@apache.org>.
On Mon, Mar 30, 2009 at 02:24:27PM -0700, kowsik wrote:
> couchdb -b (run as background process)

Alternately, check the README for using CouchDB as a daemon process.

-- 
Noah Slater, http://tumbolia.org/nslater

Re: CouchDB closes with SSH

Posted by Michael McDaniel <co...@autosys.us>.
 Or, if you really want it in the foreground and are using Linux
 or Unix,  you could use screen and then detach the session before
 you log off of the remote system.

 Into your fave search engine, enter


      screen detach 


~M
     



On Mon, Mar 30, 2009 at 02:24:27PM -0700, kowsik wrote:
> couchdb -b (run as background process)
> 
> K.
> 
> On Mon, Mar 30, 2009 at 9:42 AM, Faisal Abid <fa...@g-unix.com> wrote:
> > I managed to install CouchDB , and start it via ssh, when im still in the
> > ssh session couchdb runs fine, but as soon as i close terminal, and go to
> > the url of couchbdb , it doesn't work, the process dies when i close
> > terminal. Is there a way to let it run all the time ?
> >
> > Thanks,
> > Faisal
> > ----------------------
> > Faisal Abid
> > CEO/Software Engineer : AndSpot,Inc.
> > Home Phone: 416 283 8769
> > Cell Phone: 905 962 6069
> > http://www.g-unix.com
> > http://www.andspot.com
> > http://www.andspot.com/blog
> >
> >
> >

-- 
Michael McDaniel
Portland, Oregon, USA
http://trip.autosys.us
http://autosys.us
http://mmcdaniel.com/erlview


Re: CouchDB closes with SSH

Posted by kowsik <ko...@gmail.com>.
couchdb -b (run as background process)

K.

On Mon, Mar 30, 2009 at 9:42 AM, Faisal Abid <fa...@g-unix.com> wrote:
> I managed to install CouchDB , and start it via ssh, when im still in the
> ssh session couchdb runs fine, but as soon as i close terminal, and go to
> the url of couchbdb , it doesn't work, the process dies when i close
> terminal. Is there a way to let it run all the time ?
>
> Thanks,
> Faisal
> ----------------------
> Faisal Abid
> CEO/Software Engineer : AndSpot,Inc.
> Home Phone: 416 283 8769
> Cell Phone: 905 962 6069
> http://www.g-unix.com
> http://www.andspot.com
> http://www.andspot.com/blog
>
>
>