From a22c60d395b9865f386a3d38aa6f6ed7aec05d22 Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Mon, 16 Dec 2013 14:10:05 -0500 Subject: [PATCH] Update README to address Apache locking problem Because Apache is still running as the opensrf user, we need to change the ownership of the lock directory to enable Apache to write to it. Also cut over to the osrf_config script instead of the osrf_ctl.sh script to avoid deprecation warnings. Signed-off-by: Dan Scott --- docs/installation/server_installation.txt | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/docs/installation/server_installation.txt b/docs/installation/server_installation.txt index 708f909f79..290f3912ec 100644 --- a/docs/installation/server_installation.txt +++ b/docs/installation/server_installation.txt @@ -283,6 +283,14 @@ place. a2dissite default # OPTIONAL: disable the default site (the "It Works" page) a2ensite eg.conf ------------------------------------------------------------------------------ +8. (Ubuntu): As the *root* Linux account, enable Apache to write + to the lock directory; this is currently necessary because Apache + is running as the `opensrf` user: ++ +[source,bash] +------------------------------------------------------------------------------ +chown opensrf /var/lock/apache2 +------------------------------------------------------------------------------ Configure OpenSRF for the Evergreen application ----------------------------------------------- @@ -445,10 +453,10 @@ Net::Domain::hostfqdn() . "\n";'`, you should not use the `-l` flag. + [source, bash] ------------------------------------------------------------------------------ -osrf_ctl.sh -l -a start_all +osrf_control -l --start-all ------------------------------------------------------------------------------ + - ** If you receive the error message `bash: osrf_ctl.sh: command not found`, + ** If you receive the error message `bash: osrf_control: command not found`, then your environment variable `PATH` does not include the `/openils/bin` directory; this should have been set in the *opensrf* Linux account's `.bashrc` configuration file. To manually set the `PATH` variable, edit the -- 2.11.0