/ Zope / Apsis / Pound Mailing List / Archive / 2010 / 2010-04 / Error with simple config

[ << ] [ >> ]

[ Memory leaks in Pound 2.5? / "(private) ... ] [ How to make user stay on the Pound Load Balancer? ... ]

Error with simple config
Ravi Iyer <riyer(at)fx-concepts.com>
2010-04-20 17:58:32 [ FULL ]
I am migrating an existing setup.

The old one was -- v 1.8 2004/11/04 13:37:07
I am installing Version 2.4.4 on RHEL5 4.1.2-48

Here is my config file:

#/usr/local/etc/pound.cfg
User "nobody"
Group "nobody"
RootJail "/usr/share/pound"
LogLevel 5
ListenHTTP
        Address 192.168.10.240
        Port 80
        Service
                BackEnd
                        Address 10.10.2.120
                        Port    8080
                End
        End
End

With
$ lynx http://192.168.10.240/
I get -- Alert!: HTTP/1.0 503 Service Unavailable

But I am able to connect with
$ lynx http://10.10.2.120:8080/

In /var/adm/messages, I see
Apr 20 11:51:18 pound pound: (42064940) connect_nb: error after getsockopt:
Connection refused
Apr 20 11:51:18 pound pound: (42064940) backend 127.0.0.1:8000 connect:
Connection refused
Apr 20 11:51:18 pound pound: (42064940) connect_nb: error after getsockopt:
Connection refused
Apr 20 11:51:18 pound pound: (42064940) backend 127.0.0.1:8001 connect:
Connection refused
Apr 20 11:51:18 pound pound: (42064940) e503 no back-end "GET / HTTP/1.0" from
192.168.10.240

Ravi Iyer
FX Concepts, LLC


This e-mail may contain information that is confidential, privileged or
otherwise protected from disclosure. If you are not an intended recipient of
this e-mail, do not duplicate or redistribute it by any means. Please delete it
and any attachments and notify the sender that you have received it in error.
Unintended recipients are prohibited from taking action on the basis of
information in this e-mail.

E-mail messages may contain computer viruses or other defects, may not be
accurately replicated on other systems, or may be intercepted, deleted or
interfered with without the knowledge of the sender or the intended recipient.
If you are not comfortable with the risks associated with e-mail messages, you
may decide not to use e-mail to communicate with FX Concepts.

FX Concepts reserves the right, to the extent and under circumstances permitted
by applicable law, to retain, monitor and intercept e-mail messages to and from
its systems.

Re: [Pound Mailing List] Error with simple config
Dave Steinberg <dave(at)redterror.net>
2010-04-20 18:22:54 [ FULL ]
On 4/20/2010 11:58 AM, Ravi Iyer wrote:[...]

Is that your entire config?  Are you sure pound is actually using that 
config, and not some other default one?  The log lines seem to indicate 
its connecting to localhost, where you told it to connect to 10.10.2.120.

Regards,[...]

RE: [Pound Mailing List] Error with simple config
Ravi Iyer <riyer(at)fx-concepts.com>
2010-04-20 18:48:21 [ FULL ]
Thank you Dave.

I was modifying /usr/local/etc/pound.cfg as specified in the manpage, but it
was using /etc/pound.cfg which had been installed by default.

I have managed to get it working now.

Ravi Iyer
FX Concepts, LLC


-----Original Message-----
From: Dave Steinberg [mailto:dave(at)redterror.net] 
Sent: Tuesday, April 20, 2010 12:23 PM
To: pound(at)apsis.ch
Subject: Re: [Pound Mailing List] Error with simple config

On 4/20/2010 11:58 AM, Ravi Iyer wrote:[...]

Is that your entire config?  Are you sure pound is actually using that 
config, and not some other default one?  The log lines seem to indicate 
its connecting to localhost, where you told it to connect to 10.10.2.120.

Regards,[...]

MailBoxer