Forum OpenACS Q&A: Re: Unable to install openacs-5.9.0b2

Collapse
Posted by Benjamin Brink on
S.O.:

The first error looks oddly familiar to me. Two other possibilities are:

1. A permissions issue. This is a common issue when building the system instead of using an installation script.

Be sure that permissions are consistent:

chgrp -R ${ns_group} ${ns_install_dir}
chmod -R g+w ${ns_install_dir}

chown -R ${oacs_user}:${oacs_group} ${oacs_dir}
chmod -R g+w ${oacs_dir}

# use the values for your system in place of the variables above.

2. When naviserver is started, OpenACS assumes environment variables are set based on a linux based OS.

Without certain environment variables set, some OpenACS setup data are not loaded. It is possible that obscure DB loading errors result from this omission.

With OpenACS on FreeBSD, naviserver startup scripts include the following in order to bring the user environment in parallel with a linux setup:

# For freebsd systems
ulimit -n 1024

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib:/usr/local/ns/lib

OpenBSD may need to include these similarly.

cheers,

bbb