#
Test connections to OpenSRF
Once you have installed and started OpenSRF, as the root user test your connection to OpenSRF with the srfsh utility and try to call the add method on the OpenSRF math service:
# as the root user:
/openils/bin/srfsh
srfsh# request opensrf.math add 2 2
Received Data: 4
------------------------------------
Request Completed Successfully
Request Time in seconds: 0.007519
------------------------------------
For other srfsh commands, type in help at the prompt.
#
Stop OpenSRF
After OpenSRF has started, you can stop it at any time by using the osrf_ctl.sh again. As the opensrf user, stop OpenSRF as follows:
# as the opensrf user:
osrf_ctl.sh -l -a stop_all