Skip to content

Instantly share code, notes, and snippets.

@nelsnelson
Created September 2, 2014 17:46
Show Gist options
  • Save nelsnelson/74b9fb3432bb78439927 to your computer and use it in GitHub Desktop.
Save nelsnelson/74b9fb3432bb78439927 to your computer and use it in GitHub Desktop.
root@nelsnelson-haproxy-test-1409629728:~# pgrep -fl ssh
root@nelsnelson-haproxy-test-1409629728:~# env
SHELL=/bin/bash
TERM=linux
HUSHLOGIN=FALSE
USER=root
MAIL=/var/mail/root
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PWD=/root
SHLVL=1
HOME=/root
LOGNAME=root
_=/usr/bin/env
root@nelsnelson-haproxy-test-1409629728:~# which bash
/bin/bash
root@nelsnelson-haproxy-test-1409629728:~# bash
bash: no job control in this shell
root@nelsnelson-haproxy-test-1409629728:~# exit
exit
root@nelsnelson-haproxy-test-1409629728:~# pgrep -fl dropbear
1424 /usr/sbin/dropbear -d /etc/dropbear/dropbear_dss_host_key -r /etc/dropbear/dropbear_rsa_host_key -p 22 -W 65536
root@nelsnelson-haproxy-test-1409629728:~# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 48 data bytes
^C
The system is going down for reboot NOW!aproxy-test-1409629728 (pts/0) (Tue S
INIT: Switching to runlevel: 6
INIT: Sending processes the TERM signal
INIT: Sending processes the KILL signal:~#
[info] Using makefile-style concurrent boot in runlevel 6.
Error: argument 'stop' not supported
Stopping Dropbear SSH server: dropbear.
Error: argument 'stop' not supported
Error: argument 'stop' not supported
Error: argument 'stop' not supported
Stopping network management services: snmpd snmptrapd.
[info] Saving the system clock.
hwclock: Cannot access the Hardware Clock via any known method.
hwclock: Use the --debug option to see the details of our search for an access method.
[ ok ] Stopping haproxy: haproxy.
[ ok ] Asking all remaining processes to terminate...done.
[ ok ] All processes ended within 1 seconds...done.
[ ok ] Deconfiguring network interfaces...done.
[ ok ] Deactivating swap...done.
mount: permission denied
[info] Will now restart.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment