Skip to content

Instantly share code, notes, and snippets.

@CharlieSu
Created August 4, 2011 16:50
Show Gist options
  • Save CharlieSu/221392084895b5f01e32 to your computer and use it in GitHub Desktop.
Save CharlieSu/221392084895b5f01e32 to your computer and use it in GitHub Desktop.
csullivan-emr@domU-12-31-39-09-9C-C9:/etc/init$ sudo /etc/init.d/couchdb stop
* Stopping database server couchdb [ OK ]
csullivan-emr@domU-12-31-39-09-9C-C9:/etc/init$ ps auxww | grep -i couchdb
couchdb 8659 0.0 0.0 1856 612 ? S 16:48 0:00 /bin/sh -e /usr/bin/couchdb -a \"/etc/couchdb/default.ini\" -a \"/etc/couchdb/local.ini\" -b -r 5 -p /var/run/couchdb/couchdb.pid -o /dev/null -e /dev/null -R
couchdb 8698 0.0 0.0 1856 372 ? S 16:48 0:00 /bin/sh -e /usr/bin/couchdb -a \"/etc/couchdb/default.ini\" -a \"/etc/couchdb/local.ini\" -b -r 5 -p /var/run/couchdb/couchdb.pid -o /dev/null -e /dev/null -R
couchdb 8699 0.3 0.4 33040 7928 ? S 16:48 0:00 /usr/lib/erlang/erts-5.7.4/bin/beam -Bd -K true -- -root /usr/lib/erlang -progname erl -- -home /var/lib/couchdb -- -noshell -noinput -smp auto -sasl errlog_type error -pa /usr/lib/couchdb/erlang/lib/couch-0.10.0/ebin /usr/lib/couchdb/erlang/lib/mochiweb-r97/ebin /usr/lib/couchdb/erlang/lib/ibrowse-1.5.2/ebin /usr/lib/couchdb/erlang/lib/erlang-oauth/ebin -eval application:load(ibrowse) -eval application:load(oauth) -eval application:load(crypto) -eval application:load(couch) -eval crypto:start() -eval ssl:start() -eval ibrowse:start() -eval couch_server:start([ "/etc/couchdb/default.ini", "/etc/couchdb/local.ini", "/etc/couchdb/default.ini", "/etc/couchdb/local.ini"]), receive done -> done end. -pidfile /var/run/couchdb/couchdb.pid -heart
couchdb 8703 0.0 0.0 1644 456 ? Ss 16:48 0:00 heart -pid 8699 -ht 11
2001 8907 0.0 0.0 3348 856 pts/0 S+ 16:49 0:00 grep -i couchdb
csullivan-emr@domU-12-31-39-09-9C-C9:/etc/init$ sudo -i
root@domU-12-31-39-09-9C-C9:~# /etc/init.d/couchdb stop
* Stopping database server couchdb cd: 88: can't cd to /root
[ OK ]
root@domU-12-31-39-09-9C-C9:~# ps auxww | grep -i couch
couchdb 8659 0.0 0.0 1856 612 ? S 16:48 0:00 /bin/sh -e /usr/bin/couchdb -a \"/etc/couchdb/default.ini\" -a \"/etc/couchdb/local.ini\" -b -r 5 -p /var/run/couchdb/couchdb.pid -o /dev/null -e /dev/null -R
couchdb 8698 0.0 0.0 1856 372 ? S 16:48 0:00 /bin/sh -e /usr/bin/couchdb -a \"/etc/couchdb/default.ini\" -a \"/etc/couchdb/local.ini\" -b -r 5 -p /var/run/couchdb/couchdb.pid -o /dev/null -e /dev/null -R
couchdb 8699 0.3 0.4 33040 7928 ? S 16:48 0:00 /usr/lib/erlang/erts-5.7.4/bin/beam -Bd -K true -- -root /usr/lib/erlang -progname erl -- -home /var/lib/couchdb -- -noshell -noinput -smp auto -sasl errlog_type error -pa /usr/lib/couchdb/erlang/lib/couch-0.10.0/ebin /usr/lib/couchdb/erlang/lib/mochiweb-r97/ebin /usr/lib/couchdb/erlang/lib/ibrowse-1.5.2/ebin /usr/lib/couchdb/erlang/lib/erlang-oauth/ebin -eval application:load(ibrowse) -eval application:load(oauth) -eval application:load(crypto) -eval application:load(couch) -eval crypto:start() -eval ssl:start() -eval ibrowse:start() -eval couch_server:start([ "/etc/couchdb/default.ini", "/etc/couchdb/local.ini", "/etc/couchdb/default.ini", "/etc/couchdb/local.ini"]), receive done -> done end. -pidfile /var/run/couchdb/couchdb.pid -heart
couchdb 8703 0.0 0.0 1644 456 ? Ss 16:48 0:00 heart -pid 8699 -ht 11
root 8968 0.0 0.0 3348 864 pts/0 S+ 16:49 0:00 grep --color=auto -i couch
root@domU-12-31-39-09-9C-C9:~# service couchdb stop
* Stopping database server couchdb [ OK ]
root@domU-12-31-39-09-9C-C9:~# ps auxww | grep -i couch
couchdb 8659 0.0 0.0 1856 612 ? S 16:48 0:00 /bin/sh -e /usr/bin/couchdb -a \"/etc/couchdb/default.ini\" -a \"/etc/couchdb/local.ini\" -b -r 5 -p /var/run/couchdb/couchdb.pid -o /dev/null -e /dev/null -R
couchdb 8698 0.0 0.0 1856 372 ? S 16:48 0:00 /bin/sh -e /usr/bin/couchdb -a \"/etc/couchdb/default.ini\" -a \"/etc/couchdb/local.ini\" -b -r 5 -p /var/run/couchdb/couchdb.pid -o /dev/null -e /dev/null -R
couchdb 8699 0.2 0.4 33040 7928 ? S 16:48 0:00 /usr/lib/erlang/erts-5.7.4/bin/beam -Bd -K true -- -root /usr/lib/erlang -progname erl -- -home /var/lib/couchdb -- -noshell -noinput -smp auto -sasl errlog_type error -pa /usr/lib/couchdb/erlang/lib/couch-0.10.0/ebin /usr/lib/couchdb/erlang/lib/mochiweb-r97/ebin /usr/lib/couchdb/erlang/lib/ibrowse-1.5.2/ebin /usr/lib/couchdb/erlang/lib/erlang-oauth/ebin -eval application:load(ibrowse) -eval application:load(oauth) -eval application:load(crypto) -eval application:load(couch) -eval crypto:start() -eval ssl:start() -eval ibrowse:start() -eval couch_server:start([ "/etc/couchdb/default.ini", "/etc/couchdb/local.ini", "/etc/couchdb/default.ini", "/etc/couchdb/local.ini"]), receive done -> done end. -pidfile /var/run/couchdb/couchdb.pid -heart
couchdb 8703 0.0 0.0 1644 456 ? Ss 16:48 0:00 heart -pid 8699 -ht 11
root 9020 0.0 0.0 3348 860 pts/0 S+ 16:50 0:00 grep --color=auto -i couch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment