Skip to content

Instantly share code, notes, and snippets.

@BanzaiMan
Created July 9, 2013 21:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BanzaiMan/b916cd695e2b7dc31db4 to your computer and use it in GitHub Desktop.
Save BanzaiMan/b916cd695e2b7dc31db4 to your computer and use it in GitHub Desktop.
$ bx bin/rhc cartridge stop postgresql-8.4 -a kitchensink
Stopping postgresql-8.4 ... done
$ bx bin/rhc cartridge reload postgresql-8.4 -a kitchensink
Reloading postgresql-8.4 ... done
July 09 17:39:26 INFO oo_spawn running /sbin/runuser -s /bin/sh 51dc6c91414d4d2312000009 -c "exec /usr/bin/runcon 'unconfined_u:system_r:openshift_t:s0:c0,c502' /bin/sh -c \"set -e; /var/lib/openshift/51dc6c91414d4d2312000009/postgresql/bin/control stop\"": {:unsetenv_others=>true, :close_others=>true, :in=>"/dev/null", :chdir=>"/var/lib/openshift/51dc6c91414d4d2312000009/postgresql", :out=>#<IO:fd 12>, :err=>#<IO:fd 10>}
July 09 17:39:26 INFO oo_spawn buffer(11/) waiting for server to shut down....
July 09 17:39:27 INFO oo_spawn buffer(11/) done
July 09 17:39:27 INFO oo_spawn buffer(11/) server stopped
July 09 17:39:27 INFO oo_spawn buffer(11/) Postgres stopped
July 09 17:39:33 INFO oo_spawn running /sbin/runuser -s /bin/sh 51dc6c91414d4d2312000009 -c "exec /usr/bin/runcon 'unconfined_u:system_r:openshift_t:s0:c0,c502' /bin/sh -c \"set -e; /var/lib/openshift/51dc6c91414d4d2312000009/postgresql/bin/control force-reload\"": {:unsetenv_others=>true, :close_others=>true, :in=>"/dev/null", :chdir=>"/var/lib/openshift/51dc6c91414d4d2312000009/postgresql", :out=>#<IO:fd 12>, :err=>#<IO:fd 10>}
July 09 17:39:33 INFO oo_spawn buffer(11/) CLIENT_ERROR: 'reload' is valid only when the database is running
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment