First, thanks for great software (and service) - it worked for
me until I broke it! =)
I'll get directly to my reason for emailing:
Issue
-------
When trying to resolve my URL, I get:
The service is not available. Please try again later.
On proxy box, /var/log/httpd-error.log: [warn] (49) Can't assign
requested address: connect to listener on 192.168.0.160:8080
Cause of Issue
-----------------
Being a noob, I thought an SSH issue was caused by Pound, which
my friend installed.
I don't normally work near the proxy box, so I thought I could
disable Pound, fix SSH, and then SSH in to re-enable Pound
later.
SSH it seems is fine regardless of proxy, and now I can't find
my note of the command I used to disable Pound, so that I may
reverse this.
I tried standard poundctl commands, but even poundctl isn't
working.
I've searched this mailing list, learnt a lot from posts, and
googled the subject, but no luck.
Server Setup
----------------
FreeBSD 6.2
Pound is in jail.
Jail is started as per normal at boot.
rc.conf in jail has pound_enable="YES".
Pound doesn't start.
---------------- my pound.conf --------------------------
User "xxx"
Group "xxx"
ListenHTTP
Address 192.168.0.161
Port 80
LogLevel 2
# Virtual Host xxxxx.com
#
Service
HeadRequire "Host: .* xxxxx.com/home.*"
BackEnd
Address 192.168.0.160
Port 8080
End
End
End
--------------- end of pound.conf ------------------------
Tests/Logs
--------------
After boot:
ps auwx | grep pound - shows nothing.
After forcing Pound to start:
/usr/jails/proxy.xxxxx.com/usr/local/sbin/pound -f
/usr/jails/proxy.xxxxx.com/usr/local/etc/pound.conf
ps auwx | grep pound - shows:
xxx 940 0.0 1.3 2804 2476 ?? Is 11:42AM 0:00.00
/usr/jails...
xxx 941 0.0 1.4 3572 2680 ?? I 11:42AM 0:37.58
/usr/jails...
According to posts I've read, 2 processes is normal.
Please correct me if I'm wrong.
poundctl: Once Pound is running as per above, I try to run
poundctl without args, but it only gives me help information - I
don't get status of any Listeners, Services, BackEnds -
anything.
pound.sock Some posts refered to pound.sock, which I thought
I may have to reference in using poundctl, but a search of my
server doesn't find this file, and I didn't find anything useful
in the 4 results Google returns for 'FreeBSD pound.sock'. Nor
could I find what its alternative on FreeBSD is.
Questions
------------
1. Before I fix Pound to start at boot, is there a way I can
enable listening to get rid of the 'This service is not
available error...'?
2. Concomitantly, if I fix this error, will Pound magically
start at boot again?
3. If I need to reinstall Pound, other than copying pound.conf,
what else may I need to copy or note to reinstall without
breaking the original install?
Eg any install dir prefixes, SSL stuff, etc noted elsewhere?
My friend who installed Pounds isn't available to help at this
time, and I don't want to create more server problems.
Many thanks and sorry for the long post - I just wanted to avoid
a stretched out number of posts in reply to the obvious
questions.
Send me any questions re info I may have missed - I should be
able to answer back pretty quickly.
Once again, thanks for great software - it's quite elegant,
especially the config file layout - easy for a noob like me.
Thanks
---------------------------------------------
Free POP3 Email from www.Gawab.com
Sign up NOW and get your account (at)gawab.com!!
|