[LON-CAPA-admin] loncontrol from script

Jon Hall jdh65 at bellsouth.net
Wed Jul 31 21:41:36 EDT 2013


If I ssh into my LC server, and run:

	service loncontrol start

or:

	service loncontrol stop

or:

	service loncontrol restart

all works as expected.



If, from my computer, I enter (or run a script with this command):

	ssh root at myserver.org "service loncontrol stop"

the LC service stops exactly as expected, and the command exits normally.



If, instead, from my computer I enter (or run a script with these commands):

	ssh root at myserver.org "service loncontrol start"

or: 

	ssh root at myserver.org "service loncontrol restart"

loncontrol starts or restarts the LC, but the command does not exit, forcing me to manually terminate the command.


Is this correct behavior? Or is there something that I am missing to get the command/script to exit properly?

Thanks!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.lon-capa.org/pipermail/lon-capa-admin/attachments/20130731/9a9dc8ca/attachment.html>


More information about the LON-CAPA-admin mailing list