You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Justin Conover <ju...@gmail.com> on 2005/05/31 20:15:03 UTC

[users@httpd] envvars and siteminder 5qmr7

Were I work, my group supports/installs apache, but we don't have
access to write to /usr/bin/envvars, and we have sudo access to fire
off httpd, which by the way to config files are in
/tools/http/<servername>/conf/httpd.conf 
With a start script that looks like this:

DIRN=`dirname $0`
BASE=`basename $0`

if [[ ! ${WORKDIR} = ${DIRN} ]]; then
WORKDIR=`pwd`
  cd ${WORKDIR}
fi


SMADM=$(pwd)/smEnv.sh
APACHECTL=/usr/sbin/apachectl
CONF_FILE=$(pwd)/conf/httpd.conf

if [[ -f ${SMADM} ]]; then
   . ${SMADM}
fi

sudo ${APACHECTL} -f ${CONF_FILE} -k start

if [[ -n ${WORKDIR} ]]; then
  cd ${WORKDIR}
fi


The smEnv.sh looks like this:

 for siteminder
NETE_WA_PATH=/tools/5qmr7/smwa/webagent/bin
NETE_WA_ROOT=/tools/5qmr7/smwa/webagent
PATH=/tools/5qmr7/smwa/webagent/bin:$PATH
LD_LIBRARY_PATH=/tools/5qmr7/smwa/webagent/lib
export NETE_WA_PATH
export NETE_WA_ROOT
export PATH
export LD_LIBRARY_PATH



The error I end up with is

Syntax error on line 190 of /tools/httpd/dvmk0023-Z5S-Secure/conf/httpd.conf:
Cannot load /tools/5qmr7/smwa/webagent/lib/libmod_sm20.so into server:
libbtunicode.so: cannot open shared object file: No such file or
directory

This is line 190


### SiteMinder Loadmodules
LoadModule sm_module /tools/5qmr7/smwa/webagent/lib/libmod_sm20.so

**NOTE*** if I add the stuff from smWA.sh to /usr/bin/envvars 
EVERYTHING starts up and is fine, you ask what the problem is?  The
SA's don't want us writing to something in /usr/bin

Anyone know a solution?

TIA

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org