Ok…so its the panel causing the issues. The service starts automatically on reboot(I’ve rebooted several times to validate). The panel will kill it but then it still thinks its enabled and running. No way to start it from the panel. all attempts to disable and enable fail.
sb2:~# systemctl status shellinabox.service
● shellinabox.service - Serve a login-terminal over http on port 4224.
Loaded: loaded (/etc/systemd/system/shellinabox.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2016-07-13 12:11:29 CDT; 9s ago
Process: 890 ExecStart=/usr/bin/shellinaboxd -q --disable-ssl -background=/var/run/shellinaboxd.pid -c /var/lib/shellinabox -p 4224 -u shellinabox -g shellinabox --user-css Normal:+/etc/shellinabox/op
Main PID: 910 (shellinaboxd)
CGroup: /system.slice/shellinabox.service
├─910 /usr/bin/shellinaboxd -q --disable-ssl -background=/var/run/shellinaboxd.pid -c /var/lib/shellinabox -p 4224 -u shellinabox -g shellinabox --user-css Normal:+/etc/shellinabox/options-en
└─911 /usr/bin/shellinaboxd -q --disable-ssl -background=/var/run/shellinaboxd.pid -c /var/lib/shellinabox -p 4224 -u shellinabox -g shellinabox --user-css Normal:+/etc/shellinabox/options-en
Disabling the service will kill the shellinabox but the service status in the panel still states enabled.
Service is dead:
b2:~# systemctl status shellinabox.service
● shellinabox.service - Serve a login-terminal over http on port 4224.
Loaded: loaded (/etc/systemd/system/shellinabox.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Wed 2016-07-13 12:17:34 CDT; 2min 20s ago
Process: 890 ExecStart=/usr/bin/shellinaboxd -q --disable-ssl -background=/var/run/shellinaboxd.pid -c /var/lib/shellinabox -p 4224 -u shellinabox -g shellinabox --user-css Normal:+/etc/shellinabox/op
Main PID: 910 (code=exited, status=0/SUCCESS)
Jul 13 12:11:28 sb2 systemd[1]: Starting Serve a login-terminal over http on port 4224....
Jul 13 12:11:29 sb2 systemd[1]: Started Serve a login-terminal over http on port 4224..
Jul 13 12:15:17 sb2 login[2710]: pam_unix(login:session): session opened for user jim by SHELLINABOX(uid=0)
Web link on the side is still there and produces:
Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Open the console up in a different window and it says the service is active and enabled:
systemctl still saids its dead.
b2:~# systemctl status shellinabox.service
● shellinabox.service - Serve a login-terminal over http on port 4224.
Loaded: loaded (/etc/systemd/system/shellinabox.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Wed 2016-07-13 12:17:34 CDT; 6min ago
Process: 890 ExecStart=/usr/bin/shellinaboxd -q --disable-ssl -background=/var/run/shellinaboxd.pid -c /var/lib/shellinabox -p 4224 -u shellinabox -g shellinabox --user-css Normal:+/etc/shellinabox/op
Main PID: 910 (code=exited, status=0/SUCCESS)
Jul 13 12:11:28 sb2 systemd[1]: Starting Serve a login-terminal over http on port 4224....
Jul 13 12:11:29 sb2 systemd[1]: Started Serve a login-terminal over http on port 4224..
Jul 13 12:15:17 sb2 login[2710]: pam_unix(login:session): session opened for user jim by SHELLINABOX(uid=0)
Oh, I should add that shellinabox does work on reboot and the link does work. I can ssh in on chrome and my certs are valid, etc.