I'm using the FreeBSD 5.1 operating system. pound was included with the
standard included ports and packages distribution so after stumbling across it
on the CD, I decided to try it.
I've never had a ports or package in FreeBSD fail before, so I thought it would
be worth seeking advice from this mailing list.
Here is a summary of what happened right up to the trouble point:
1. I compiled and installed the pound port from the FreeBSD ports collection
successfully with no errors reported.
2. I typed man pound at the prompt and reviwed the online manual. I then tried
to execute pound and analyze the log file on my system. As expected, I noticed
that it didn't remain resident as a background process because it exited at
start up looking for a configuration file in /usr/local/etc called pound.cfg
3. I reviewed the documentation and created the following pound.cfg file
for my host which has an interface card connected to the Internet on address
a.b.c.d which has a web service process (the intented "BackEnd" for pound to
use) serving requests on any interface port 8080 that I wanted to try accessing
from the Internet on port 8070 via pound:
ListenHTTP a.b.c.d,8070
UrlGroup ".*"
BackEnd a.b.c.d,8080,1
EndGroup
4. I then try to access this website http://a.b.c.d:8070
but it fails with a connection broken message on the web browser and the
following entries are found in my /var/log file:
Sep 18 12:21:23 myhost kernel: pid 22068 (pound), uid 0: exited on signal 11
(core dumped)
Sep 18 12:21:23 myhost pound: MONITOR: worker exited on signal 11, restarting.
[...]
Why is the WORKER getting the segmentation error everytime it is called upon to
redirect the request from 8070 to 8080? The main pound process restarts a new
copy of WORKER everytime.
I would assume WORKER is getting an EXIT SIGNAL 11 because I made an error or
omission in the configuration file /usr/local/etc/pound.cfg but would have
thought that I would have been informed of a problem at program start up time.
I've made sure that http://a.b.c.d:8080 is an
available, living backend.
Any help would be appreciated, please.
Thank You
|