Hi,
I am trying to configure load balancing per
http://195.132.26.24/howto.load-balancing.html.
Here are the relevant parts from my httpd.conf:
ApJServLogFile logs/mod_jserv.log
ApJServShmfile logs/jserv_shm
With the above configuration, mod_jserv does in fact create a new file
"jserv_shm" in the "logs" directory. For me (RH 5.2, Secure Web Server
2.0), that is /var/log/httpd.
However, in file mod_jserv.log, I get a line such as:
(EMERGENCY) jserv_mmap: can't open /usr/local/apache/var/jserv_shm errno=2
Looking at the source, I can see that .../src/c/jserv.h contains:
#define JSERV_SHMFILE_DEFAULT "/usr/local/apache/var/jserv_shm"
which is obviously where the above filename is coming from. But why is it
trying to look here? Shouldn't it be looking for the ApJServShmfile file?
My suspicion is that there is some place in the code where it's failing to
make the "switch" from the default configuration file.
Also, the logs/jserv_shm is not human readable (contains mostly $$$$$$$$$).
>From the document above, I don't think this is what is intended.
I searched in the FAQ, the mail lists, and the bug database but could not
find a reference to this.
Thanks.
Jorge Bracer
----------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]