For the Web Agent to operate with an Apache web server running Linux, you have to compile the server. Compiling is required because the Agent code uses pthreads (a library of POSIX-compliant thread routines), but the Apache server on the Linux platform does not, by default.
If you do not compile with the lpthread option, the Apache server starts up, but then hangs and does not handle any requests. The Apache server on Linux cannot initialize a module which uses pthreads due to issues with Linux's dynamic loader.
To compile Apache on Linux for the Web Agent
LIBS=-lpthread
export LIBS
configure --enable-module=so --prefix=your_install_target_directory
make
make install
Copyright © 2010 CA. All rights reserved. | Email CA about this topic |