/ Zope / Apsis / Pound Mailing List / Archive / 2007 / 2007-12 / PSS on Can't Get Pound Up

[ << ] [ >> ]

[ PS on Cant Get Pound Up / "Victor ... ] [ One Last Bug... / "Victor Subervi" ... ]

PSS on Can't Get Pound Up
"Victor Subervi" <victorsubervi(at)gmail.com>
2007-12-19 20:42:41 [ FULL ]
Never mind. I re-edited pound.cfg from this:

ListenHTTP
    Address 202.157.176.193
    Port    80
    Service
        # HeadRequire "Host: .*www.larimarmountain.com.*"
        BackEnd
            Address 202.157.176.193
            Port    8080
        End
    End
End


to this


ListenHTTP
    Address 202.157.176.193
    Port    80
    Service
        HeadRequire "Host: .*www.larimarmountain.com.*"
        BackEnd
            Address 202.157.176.193
            Port    8080
        End
    End
End


(Took out the comment.) And now it works. I had tried options, with and
without the comment, when pound wouldn't start. Now it starts and everything
works. Go figure ;)
Thanks all,
Victor
Attachments:  
text.html text/html 1737 Bytes

RE: [Pound Mailing List] Can't Get Pound Up
"Jacob Anderson" <jwa(at)beyond-ordinary.com>
2007-12-19 20:58:40 [ FULL ]
Hi Victor,

nslookup larmiarmountain.com -> nonexistent domain

Is pound running on the same machine as zope?

The original config you posted make me think so. If SO, then your IP for
zope is 127.0.0.1, not 1.2.3.4 (the IP of your pound server).
[...]

Re: [Pound Mailing List] Can't Get Pound Up
Michael Toth <pound.mtoth(at)queldor.net>
2007-12-19 21:02:59 [ FULL ]
Well, I would suggest that you restart pound  (make sure it is not 
running before you try and start it again) .. I would like to know what 
the message log says when you start pound
Can we assume that your pound config is really the following.


ListenHTTP
    Address 202.157.176.193
    Port    80
    Service
        # HeadRequire "Host: .*www.example.com.*"
        # Note: I tried the above line as well, no go
        BackEnd
            Address 202.157.176.193
            Port    8080
        End
    End
End

PS: you telnet command should be like  '# telnet 202.157.176.193 8080 '
and I do not even see the domain larmiarmountain.com as being registered.


Victor Subervi wrote:[...][...]
>>> But this is from sockstat:
>>>
>>>
>>> root pound 99968 4 tcp4 1.2.3.4:80 <http://1.2.3.4/> *:*
>>>
>>> root pound 99967 4 tcp4 1.2.3.4:80 <http://1.2.3.4/> *:*
>>>
>>> Interestingly, running a tail on /var/log/messages gave me this
(since
>>>       [...]
>>> manually inserted line):
>>>
>>> Dec 20 02:14:33 WE62 pound: no back-end "GET / HTTP/1.1" from
>>>       [...]
>>> Again. Whatever that "no back-end" means.
>>>
>>> netstat -n -a shows tcp4 in listen mode, which is pound again.
>>>
>>> The *only* thing listening to port 80 is pound. Also, port 8080 is
up
>>>       [...]
>>> Zope instance. I'm lost :(
>>> TIA,
>>> Victor
>>>
>>>
>>> On Dec 19, 2007 1:55 PM, Jacob Anderson
<jwa(at)beyond-ordinary.com> wrote:
>>>
>>>
>>>       
>>>> Hi Victor,
>>>>
>>>> Your /var/log/messages file should have something like this:
>>>>
>>>> [pound]  HTTP socket bind 1.2.3.4:80 <http://1.2.3.4/> <http://1.2.3.4/>:
>>>>         [...]
>>>> use - aborted
>>>>
>>>> If so, then you have a web server running in tandem with your
pound
>>>> server.
>>>> That's no good. Shut that guy off and try pound again.
>>>>
>>>> Pound will go up and sit idle with no connection escrowing
even when
>>>>         [...]
>>>> of
>>>> the BE servers are responding.
>>>>
>>>> In this case, though, it looks like pound can't get the server
socket
>>>>         [...]
>>>> port 80, so it can't handle your connection. Therefore, when
you
>>>>         [...]
>>>> your IE to your "pound server", you're actually hitting your
HTTP
>>>>         [...]
>>>> that is also running on that box.
>>>>
>>>> If you do a "netstat -n -a" do you see someone sitting on
"*:80" when
>>>> pound
>>>> is not running???
>>>>
>>>> -- Jake
>>>>
>>>>
>>>>
>>>>         
>>>>> -----Original Message-----
>>>>> From: Victor Subervi [mailto:victorsubervi(at)gmail.com]
>>>>> Sent: Wednesday, December 19, 2007 8:31 AM
>>>>> To: pound(at)apsis.ch
>>>>> Subject: Re: [Pound Mailing List] Can't Get Pound Up
>>>>>
>>>>> Okay. I tail /var/log/messages and get this:
>>>>> HTTP socket bind 1.2.3.4:80 <http://1.2.3.4/> <http://1.2.3.4/>:
>>>>>           [...]
>>>> aborted
>>>>
>>>>         
>>>>> This is strange. So I ps wax|grep pound and sure enough,
it's
>>>>> up! It wasn't before. I couldn't get it up before. Go
figure!
>>>>> However, when I try and hit a page, I get this error:
>>>>> The service is not available. Please try again later.
>>>>> Now, if it were being passed to :8080, Zope would throw a
>>>>> Zope error, which isn't happening. I'm lost. Ideas?
>>>>> TIA,
>>>>> Victor
>>>>>
>>>>> On Dec 19, 2007 11:46 AM, Dave Steinberg
<dave(at)redterror.net> wrote:
>>>>>
>>>>>
>>>>>           
>>>>>>> my pound.cfg:
>>>>>>>
>>>>>>> ListenHTTP
>>>>>>>     Address 1.2.3.4
>>>>>>>     Port    80
>>>>>>>     Service
>>>>>>>         # HeadRequire "Host: .*www.example.com.*"
>>>>>>>         # Note: I tried the above line as well, no
go
>>>>>>>         BackEnd
>>>>>>>             Address 1.2.3.4
>>>>>>>             Port    8080
>>>>>>>         End
>>>>>>>     End
>>>>>>> End
>>>>>>>
>>>>>>>               
>>>>>> <snip>
>>>>>>
>>>>>> Looks ok offhand.  Did you check syslog?
>>>>>>
>>>>>>
>>>>>>             
>>>>>>> Now, the last time I did this, the syntax was like
this:
>>>>>>>
>>>>>>> LogLevel     2
>>>>>>> ListenHTTP 1.2.3.4,80
>>>>>>> UrlGroup ".*"
>>>>>>> BackEnd 1.2.3.4,8080,1
>>>>>>> EndGroup
>>>>>>>
>>>>>>>               
>>>>>> That syntax may be for an older version of pound.  At
least its not
>>>>>> for any version I've used.
>>>>>>
>>>>>> Regards,
>>>>>> --
>>>>>> Dave Steinberg
>>>>>> http://www.geekisp.com/
>>>>>> http://www.steinbergcomputing.com/
>>>>>>
>>>>>> --
>>>>>> To unsubscribe send an email with subject unsubscribe
to
>>>>>>
>>>>>>             
>>>>> pound(at)apsis.ch.
>>>>>
>>>>>           
>>>>>> Please contact roseg(at)apsis.ch for questions.
>>>>>>
>>>>>>
>>>>>>             
>>>>> --
>>>>> To unsubscribe send an email with subject unsubscribe to
>>>>> pound(at)apsis.ch.
>>>>> Please contact roseg(at)apsis.ch for questions.
>>>>>
>>>>>
>>>>>           
>>>> --
>>>> To unsubscribe send an email with subject unsubscribe to
pound(at)apsis.ch
>>>>         [...]
>>>> Please contact roseg(at)apsis.ch for questions.
>>>>
>>>>
>>>>         
>>> --
>>> To unsubscribe send an email with subject unsubscribe to
pound(at)apsis.ch.
>>> Please contact roseg(at)apsis.ch for questions.
>>>
>>>       [...][...]

MailBoxer