Hi Sue, > I am having problems getting the brick_ctl.sh script to work. When I > issue the command it asked for the password for opensrf on the drones > and then says it cannot find osrf_ctl.sh. I put the PERL5Lib and PATH > at the beginning of .bashrc file on the drones. I have the /openils on > a NFS share from the brick head to the drones. I am running Evergreen > 2_1_beta and Opensrf 2_0.Any idea what else I am missing?
For the opensrf password issue, you can take these steps (as opensrf on the head/master server): ssh-keygen # follow the prompts and choose not to have a passphrase ssh-copy-id <drone IP/hostname> # substituting each actual drone IP/hostname without brackets As for the other issue, brick_ctl.sh has this line: DRONE_BASE=". /etc/profile && osrf_ctl.sh -d $OSRF_PID_DIR -c $OSRF_CONFIG"; which means that it will ignore opensrf's .bashrc and source /etc/profile instead, which means you should be able to add the PERL5LIB and PATH lines to /etc/profile on each drone, or you could modify brick_ctl.sh to not source /etc/profile (by removing ". /etc/profile &&" from the DRONE_BASE line). There may be a recommended way to do this from Bill or one of the other developers, but those are my techniques. ;-) Hope that's helpful! Chris Chris Sharp PINES Program Manager Georgia Public Library Service 1800 Century Place, Suite 150 Atlanta, Georgia 30345 (404) 235-7147 [email protected] http://pines.georgialibraries.org/
