Starting and stopping pacd

The LDAP authorization daemon runs as the pacd process. You can restart the LDAP authorization daemon without interrupting Caching Proxy by using scripts that are provided. Run the pacd script as follows:

Note:
It is possible for the pacd process to continue to run after the caching proxy server is shut down by using the stopsrc -ibmproxy command on AIX systems or the ibmproxy -stop command on HP-UX, Linux and Solaris systems. The pacd process can be safely shut down by using the kill command as follows:
kill -15 pacd_process_ID

On HP-UX: The PAC-LDAP plug-in and pacd may not load all their dependent shared libraries at runtime. Before using them, ensure that the system variables are set as follows

SHLIB_PATH=/usr/lib:/usr/IBMldap/lib
PATH=/usr/IBMldap/bin:$PATH
PATH=/usr/IBMldap/bin  
/usr/IBMldap/

is the default installation path for the LDAP client on HP-UX. Please adjust PATH and SHLIB_PATH accordingly if the LDAP client is installed in a different location. Without setting these variables, the following errors may occur:

On Linux: For SUSE Linux Enterprise Server 9, the ldd pacd may report that the libldap.so is not found. To work around this problem, create the following symbolic:

ln -s /usr/lib/libldap.so.19  /usr/lib/libldap.so

On AIX: When starting pacd with IBM Tivoli Directory Server 5.2, the PAC-LDAP module may be unable to load resulting in the following error:

exec(): 0509-036 Cannot load program /usr/sbin/pacd because of the following errors: 
        0509-022 Cannot load module /usr/lib/libpacman.a. 
        0509-150 Dependent module libldap.a could not be loaded. 
        0509-022 Cannot load module libldap.a.

To work around this problem, create the following symbolic:

ln -s /usr/lib/libibmldap.a /usr/lib/libldap.a

Note:
After configuring Caching Proxy to use LDAP authentication, it will show the following error:
Could not extract a value for: Uid, return code:3
This error will be displayed even when the LDAP authentication is functioning correctly and can be disregarded.