/ Zope / Apsis / Pound Mailing List / Archive / 2006 / 2006-08 / SERVER DOWN. PLEASE HELP NOW

[ << ] [ >> ]

[ Ubuntu-server and pound for redirecting / ... ] [ trailing slash issue (again?) / KOZMAN Balint ... ]

SERVER DOWN. PLEASE HELP NOW
beno <zope(at)2012.vi>
2006-08-07 13:33:38 [ FULL ]
Now that the weekend is over, would somebody please answer my posts? My 
server has been down since Thursday, and my clients aren't too happy. I 
thank you in advance for your help.

To keep this simple, I've done the following:

* Edited pound.cfg thus:
ListenHTTP
Address 0.0.0.0  # Is this address correct? How do I know?
 Port    80
 End
           Service
                TimeOut 30
                BackEnd
                    Address 127.0.0.1 # This address is from /etc/hosts. 
I've also tried 202.71.106.119, which is my permanently assigned IP. 
What is correct?
                    Port    8080
                End
            End
End
* Added the following mapping to VHM:
larimarmountain.com/larimarmountain.com
* Edited the index_html file thus:
<html><body>Hello, world!</body></html>

But when I surf to that URL I get a 503 error and this in 
/var/log/messages:
Aug  5 19:01:10 server167 pound: no back-end "GET / HTTP/1.1" from 
66.82.9.65

What gives?

Also, it appears to me now that:
* I don't need Apache at all if I'm only using Zope, because Pound 
reroutes the calls to Zope and Zope has its own server. If I have any 
sites outside of Zope, then I should use a "Service" block to reroute 
them to a different port and configure Apache2 to listen on that port.
* I redirect to Squid for caching purposes using a "Service" entry.
Correct?
TIA,
beno

Re: [Pound Mailing List] SERVER DOWN. PLEASE HELP NOW
Falk Brockerhoff <fb(at)smartterra.de>
2006-08-07 13:48:38 [ FULL ]
beno schrieb:
[...]

What is the ip address from your webserver? This is the one you should
configure with the address-tag. Can you open your website with lynx on
your cli? http://127.0.0.1:8080 for
example..

Regards,

Falk
Attachments:  
fb.vcf text/x-vcard 363 Bytes

Re: [Pound Mailing List] SERVER DOWN. PLEASE HELP NOW
Ondra Kudlik <kepi(at)orthank.net>
2006-08-07 13:52:48 [ FULL ]
Po, srp 07, 2006 ve 07:33:38 -0400, beno napsal:[...]
I'm not sure, there should be ip address of server. [...]
127.0.0.1 is address of localhost, so if your zope running on same
computer as pound - yes.[...]
is zope running on this port?[...]

Re: [Pound Mailing List] SERVER DOWN. PLEASE HELP NOW
beno <zope(at)2012.vi>
2006-08-07 14:06:24 [ FULL ]
Falk Brockerhoff wrote:[...]
Well, that really should have been obvious to me <:-) So here's the new 
pound.cfg:

ListenHTTP
  Address 0.0.0.0
  Port    80
  End
            Service
                 TimeOut 30
                 BackEnd
                     Address 202.71.106.119
                     Port    8080
                 End
             End
End

And that is the correct address in the "Service" block. But it still 
gives me these errors after a "pound restart" command:

Aug  7 11:59:37 server167 pound: unknown extra arguments (restart...)
Aug  7 12:00:20 server167 pound: no back-end "GET / HTTP/1.1" from 
66.82.9.65

So, obviously, I'm still missing something. Also, what about the first 
address? I tried changing it to the "correct" address (202...) but the 
same results.[...]
Dunno about them, but I'm working in my Zope using this address:
http://2012.vi:7080/manage
which I've always used.
TIA,
beno[...]

Re: [Pound Mailing List] SERVER DOWN. PLEASE HELP NOW
beno <zope(at)2012.vi>
2006-08-07 14:19:55 [ FULL ]
Ondra Kudlik wrote:[...][...]
In my last message, I forgot to mention that I have 3 instances of Zope:
7080
8080
9080
So, when I said I could go to this address:
http://2012.vi:7080/manage
I can. I can also go here:
http://web.vi:8080/manage
beno

Re: [Pound Mailing List] SERVER DOWN. PLEASE HELP NOW
Falk Brockerhoff <fb(at)smartterra.de>
2006-08-07 14:37:49 [ FULL ]
beno schrieb:
[...]

It seems that you didn't restart pound probably, so your changes didn't
find a way to pound...

Can you view your Website with a normal browser? What URL do you use?

Regards,

Falk
Attachments:  
fb.vcf text/x-vcard 363 Bytes

Re: [Pound Mailing List] SERVER DOWN. PLEASE HELP NOW
Jeffrey Brown <jbrown(at)camsys.com>
2006-08-07 14:46:58 [ FULL ]
> * Edited pound.cfg thus:[...]


I vaguely recall trying 0.0.0.0 myself and it not working.  You should use the
IP address of the server.
 
--jeff
Attachments:  
text.html text/html 407 Bytes

Re: [Pound Mailing List] SERVER DOWN. PLEASE HELP NOW
beno <zope(at)2012.vi>
2006-08-07 14:48:07 [ FULL ]
Falk Brockerhoff wrote:[...][...][...]
No, I did in fact restart pound!

server167# pound restart
server167# ps wax |fgrep pound
34272  ??  Is     0:00.00 pound
34273  ??  I     21:00.33 pound
Aug  7 12:45:51 server167 pound: unknown extra arguments (restart...)
Aug  7 12:46:05 server167 pound: no back-end "GET / HTTP/1.1" from 
71.101.202.19
Aug  7 12:46:06 server167 pound: no back-end "GET /favicon.ico HTTP/1.1" 
from 71.101.202.19
Aug  7 12:46:09 server167 pound: no back-end "GET / HTTP/1.1" from 
71.101.202.19
Aug  7 12:46:10 server167 pound: no back-end "GET /favicon.ico HTTP/1.1" 
from 71.101.202.19
Aug  7 12:46:17 server167 pound: no back-end "GET / HTTP/1.1" from 
66.82.9.44
Aug  7 12:46:52 server167 pound: no back-end "GET / HTTP/1.1" from 
72.49.227.144
[...]
No, and that is the problem![...]

http://larimarmountian.com
is the one I'm testing. I've entered this into the VHM mapping:
larimarmountain.com/larimarmountain.com
(the latter being the name of the dir in Zope listening on 8080)
TIA,
beno

Re: [Pound Mailing List] SERVER DOWN. PLEASE HELP NOW
Jeffrey Brown <jbrown(at)camsys.com>
2006-08-07 14:50:31 [ FULL ]
Let me clarify that - you should use the IP assigned to the server and NOT the
public IP used for NAT...if you are using NAT and a DMZ


--jeff



-----Jeffrey Brown <jbrown(at)camsys.com> wrote: -----


To: pound(at)apsis.ch
From: Jeffrey Brown <jbrown(at)camsys.com>
Date: 08/07/2006 08:46AM
Subject: Re: [Pound Mailing List] SERVER DOWN. PLEASE HELP NOW
[...]


I vaguely recall trying 0.0.0.0 myself and it not working.  You should use the
IP address of the server.

--jeff
[...]
Attachments:  
text.html text/html 1313 Bytes

RE: [Pound Mailing List] SERVER DOWN. PLEASE HELP NOW
<F.Alcala-Soler(at)iaea.org>
2006-08-07 14:58:52 [ FULL ]
Hi beno,
[...]

It seems that your configuration has one "End" statement too many. Could
you try to remove the first "End" statement and give it a go again?

Regards,

 Curro

This email message is intended only for the use of the named recipient.
Information contained in this email message and its attachments may be
privileged, confidential and protected from disclosure. If you are not the
intended recipient, please do not read, copy, use or disclose this
communication to others. Also please notify the sender by replying to this
message and then delete it from your system.

Re: [Pound Mailing List] SERVER DOWN. PLEASE HELP NOW
beno <zope(at)2012.vi>
2006-08-07 15:02:20 [ FULL ]
Jeffrey Brown wrote:[...]
I kinda figured that this morning in the midst of our communications and 
did that a while back, but it's still not working:

ListenHTTP
  Address 202.71.106.119
  Port    80
  End
            Service
                 TimeOut 30
                 BackEnd
                     Address 202.71.106.119
                     Port    8080
                 End
             End
End

Furthermore, the error messages in the log say the problem is the 
"back-end", not the front.
Thanks,
beno

Re: [Pound Mailing List] SERVER DOWN. PLEASE HELP NOW
Falk Brockerhoff <fb(at)smartterra.de>
2006-08-07 15:03:39 [ FULL ]
beno schrieb:[...]

Sure? I don't know this message, but maybe pound restarted correctly and
this is a warning only about a not-known argument, but I'm not sure.
[...]

[...][...]

Then you should fix this problem before using pound...

Regards,

Falk
Attachments:  
fb.vcf text/x-vcard 363 Bytes

Re: [Pound Mailing List] SERVER DOWN. PLEASE HELP NOW
beno <zope(at)2012.vi>
2006-08-07 15:03:49 [ FULL ]
Jeffrey Brown wrote:[...]
Your clarification is unclear <grin> because I don't understand your 
terminology. The IP address I'm using is the one I can surf to. Should I 
inquire of my server farm some other IP?
TIA,
beno

Re: [Pound Mailing List] SERVER DOWN. PLEASE HELP NOW
beno <zope(at)2012.vi>
2006-08-07 15:13:10 [ FULL ]
F.Alcala-Soler(at)iaea.org wrote:[...]
Made a lot of sense, but still no cigar:

Aug  7 13:10:51 server167 pound: starting...
Aug  7 13:10:53 server167 pound: unknown extra arguments (restart...)
Aug  7 13:11:04 server167 pound: no back-end "GET / HTTP/1.1" from 
69.19.14.41
Aug  7 13:11:31 server167 pound: no back-end "GET /robots.txt HTTP/1.0" 
from 72.30.103.13
Aug  7 13:11:32 server167 pound: no back-end "GET /Links/Furniture.pt 
HTTP/1.0" from 72.30.226.220

You did mean this, right?

ListenHTTP
  Address 0.0.0.0
  Port    80
            Service
                 TimeOut 30
                 BackEnd
                     Address 202.71.106.119
                     Port    8080
                 End
             End
End

TIA,
beno

Re: [Pound Mailing List] SERVER DOWN. PLEASE HELP NOW
beno <zope(at)2012.vi>
2006-08-07 15:23:54 [ FULL ]
Falk Brockerhoff wrote:
>>> Can you view your Website with a normal browser? 
>>>       [...][...]
Don't know what you mean by that. Here's the short history of what happened.
* I had a programmer working for me from Belarus that one day 
disappeared. For all I know he died.
* I needed to do some work in Apache that led me to the conclusion I 
should upgrade from 1.3.3 to 2.2.3.
* Apache crashed.
* Since I didn't know how the programmer configured Apache 1.3.3, I 
haven't been able to get it up again.
* In my explorations, I discovered Pound/Squid and realized that was a 
better solution for my Zope-only server than Apache

Shouldn't I be able to pull up sites without Apache? Shouldn't I be able 
to do it with Pound/Zope?
TIA,
beno

RE: [Pound Mailing List] SERVER DOWN. PLEASE HELP NOW
<F.Alcala-Soler(at)iaea.org>
2006-08-07 15:54:14 [ FULL ]
Hi beno,
[...]

Yes with regard to the "End" statement, but I'd still add the correct IP
address for the first "Address" statement:

ListenHTTP
  Address 202.71.106.119
  Port    80
            Service
                 TimeOut 30
                 BackEnd
                     Address 202.71.106.119
                     Port    8080
                 End
            End
End

Regards,

 Curro

This email message is intended only for the use of the named recipient.
Information contained in this email message and its attachments may be
privileged, confidential and protected from disclosure. If you are not the
intended recipient, please do not read, copy, use or disclose this
communication to others. Also please notify the sender by replying to this
message and then delete it from your system.

Re: [Pound Mailing List] SERVER DOWN. PLEASE HELP NOW
Falk Brockerhoff <fb(at)smartterra.de>
2006-08-07 15:55:22 [ FULL ]
beno schrieb:
[...]

Pound is NOT a webserver. Pound can deliver content from foreign
webservers only. So the first thing to test if each webnode works for
itself... If you get the right content when pointing your webbrowser
directly to the ip-address and port to each of your webnodes, then you
can begin to debug pound. But first, check your webnodes..
[...]

Regards,

Falk
Attachments:  
fb.vcf text/x-vcard 363 Bytes

Re: [Pound Mailing List] SERVER DOWN. PLEASE HELP NOW
Ondra Kudlik <kepi(at)orthank.net>
2006-08-07 15:57:35 [ FULL ]
Please, attach output from commands:

ifconfig

netstat -tapn | grep 8080

So we can help you...

Po, srp 07, 2006 ve 09:02:20 -0400, beno napsal:[...]

What if you use http://202.71.106.119:8080 from lynx or
links at
computer when pound runs? Do you receive page you want from
frontend??

Kepi

Re: [Pound Mailing List] SERVER DOWN. PLEASE HELP NOW
Stefan Lambrev <stefan.lambrev(at)sun-fish.com>
2006-08-07 15:58:04 [ FULL ]
Hi all,

Never tested pound 2.x but pound 1.x does not support start restart and 
so on arguments.
So what I simply can see here is that pound is down :)

Aug  7 16:49:19 stefan pound: starting...
Aug  7 16:49:19 stefan pound: unknown extra arguments (start...)
Aug  7 16:49:28 stefan su: cheffo to root on /dev/ttyp5
Aug  7 16:49:39 stefan pound: starting...
Aug  7 16:49:39 stefan pound: unknown extra arguments (stop...)

[16:49]root(at)stefan:~# ps xa |grep pound
58398  p5  S+     0:00.01 grep pound
[16:49]root(at)stefan:~#

As I'm using few instances of pound on one server I made few scripts to 
start/stop pound.

#!/bin/sh
pidfile=/var/run/pound-app.pid
cmd=/usr/local/sbin/pound
conf=/usr/local/etc/pound/app_apache_balancer/pound_app.cfg

start()
{
        $cmd -f $conf -p $pidfile
}

stop ()
{
        pid=`cat $pidfile`
        kill -TERM $pid
}

restart ()
{
        stop
        sleep 2
        start
}

case $1 in
        "start"   ) start;;
        "stop"    ) stop;;
        "restart" ) restart;;
        *         ) echo "Usage: pound-app.sh <stop|start|restart>";;
esac

Reading your log file I can see that pound is starting while still 
running so I'm 100% sure you didn't restart it.
To do this try: kill -TERM  `cat /var/run/pound.pid` or just "ps xa 
|grep pound" to catch the process id and kill it by hand
then start pound again.

beno wrote:[...][...][...][...]

Re: [Pound Mailing List] SERVER DOWN. PLEASE HELP NOW
beno <zope(at)2012.vi>
2006-08-07 16:40:15 [ FULL ]
Falk Brockerhoff wrote:[...][...][...]
Yes, but Zope IS a web server!! For example, I can still pull up 
addresses directly using the correct port:
http://web.vi:8080/larimarmountain.com/en-us/product_page
comes up just fine.[...]
I presume the above is a qualified test, if I understand you correctly?[...]
Well, I think we're there. The problem, as another writer pointed out, 
appears to be with getting pound to restart...
Thanks,
beno

RE: [Pound Mailing List] SERVER DOWN. PLEASE HELP NOW
<F.Alcala-Soler(at)iaea.org>
2006-08-07 16:42:16 [ FULL ]
Hi Kepi,
[...]

It seems that beno's backend is working. If you access it as

	http://202.71.106.119:8080

you get an HTML page with this content:

	Zope 
	Welcome to Web.vi

If you access it as 

	http://larimarmountain.com:8080/

you get a redirect to

	http://larimarmountain.com:8080/s/c/x/j/en-us/index.pt

which I suppose is the virtual host's page beno would like to see.

I think the problem is in the Pound configuration and the way it is
being restarted.

Regards,

 Curro

This email message is intended only for the use of the named recipient.
Information contained in this email message and its attachments may be
privileged, confidential and protected from disclosure. If you are not the
intended recipient, please do not read, copy, use or disclose this
communication to others. Also please notify the sender by replying to this
message and then delete it from your system.

Re: [Pound Mailing List] SERVER DOWN. PLEASE HELP NOW
beno <zope(at)2012.vi>
2006-08-07 16:42:23 [ FULL ]
Ondra Kudlik wrote:[...]
vr0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 202.71.106.119 netmask 0xffffffe0 broadcast 202.71.106.127
        inet6 fe80::2e0:4cff:fee1:4ffb%vr0 prefixlen 64 scopeid 0x1
        ether 00:e0:4c:e1:4f:fb
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
[...]
server167# netstat -tapn | grep 8080
netstat: n: unknown or uninstrumented protocol

Thanks,
beno

Re: [Pound Mailing List] SERVER DOWN. PLEASE HELP NOW
Falk Brockerhoff <fb(at)smartterra.de>
2006-08-07 16:52:14 [ FULL ]
beno schrieb:
[...]

Ok, I don't know anythin about Zope, so I perhaps misunterstand you.
[...]

Yes, I think so. I can open your posted URL in my browser and get some
content. So the webserver is running fine.

I looked up the domain web.vi which points to the ip address 202.71.106.119.

I copied some snippets from my working pound-config and modified it to
fit your needs:

ListenHTTP
        Address 0.0.0.0
        Port 80
End

Service
        BackEnd
                Address 202.71.106.119
                Port 8080
        End
End

Now it should work if you point your domains to the ip-address of the
server running pound on it...
[...]

Regards,

Falk
Attachments:  
fb.vcf text/x-vcard 363 Bytes

Re: [Pound Mailing List] SERVER DOWN. PLEASE HELP NOW
beno <zope(at)2012.vi>
2006-08-07 17:04:48 [ FULL ]
Falk Brockerhoff wrote:[...]
What is meant by 'Address 0.0.0.0'?
The problem appears to be that I can't get pound started now! Another 
writer wrote and I responded thus:
[...]
vr0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
       inet 202.71.106.119 netmask 0xffffffe0 broadcast 202.71.106.127
       inet6 fe80::2e0:4cff:fee1:4ffb%vr0 prefixlen 64 scopeid 0x1
       ether 00:e0:4c:e1:4f:fb
       media: Ethernet autoselect (100baseTX <full-duplex>)
       status: active
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
       inet 127.0.0.1 netmask 0xff000000
       inet6 ::1 prefixlen 128
       inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
[...]
server167# netstat -tapn | grep 8080
netstat: n: unknown or uninstrumented protocol

I don't know how this can help, but if it does, please let me know. Or, 
was one of those inet addresses what Ondra was looking for?
TIA,
beno

Re: [Pound Mailing List] SERVER DOWN. PLEASE HELP NOW
Stefan Lambrev <stefan.lambrev(at)sun-fish.com>
2006-08-07 17:21:58 [ FULL ]
HI all

beno wrote:

-cut-[...]
1 IP put it here this IP.

So with this configuration you will have pound that listen on 127.0.0.1 
and 202.71.106.119 port 80
You can also increase the log level and to send log file again to see 
why pound do not want start.[...][...][...][...][...]

Re: [Pound Mailing List] SERVER DOWN. PLEASE HELP NOW
Ondra Kudlik <kepi(at)orthank.net>
2006-08-07 17:22:59 [ FULL ]
Po, srp 07, 2006 ve 11:04:48 -0400, beno napsal:[...]
Here should be Address 202.71.106.119[...]
maybe you should set this to 127.0.0.1 it depends on if you are able
to go to address http://127.0.0.1:8080/
from links and get same
result as on once you tried...[...]

Re: [Pound Mailing List] SERVER DOWN. PLEASE HELP NOW
Stefan Lambrev <stefan.lambrev(at)sun-fish.com>
2006-08-07 17:24:13 [ FULL ]
Hi.

[...][...]
or nestat -tna|grep 8080[...][...]

Re: [Pound Mailing List] SERVER DOWN. PLEASE HELP NOW
beno <zope(at)2012.vi>
2006-08-07 17:41:23 [ FULL ]
Stefan Lambrev wrote:[...]
I see I need to set LogLevel to 2, but I don't see where to set this 
variable. Please tell me.
TIA,
beno

Re: [Pound Mailing List] SERVER DOWN. PLEASE HELP NOW
Ted Dunning <tdunning(at)veoh.com>
2006-08-07 17:46:24 [ FULL ]
Pound and Zope are a fine combination for building a web-site.

You are probably going to need somebody to help you with their hands on the
keyboard.  An email support list is a weak tool in your situation.

On 8/7/06 6:23 AM, "beno" <zope(at)2012.vi> wrote:

[...]

Re: [Pound Mailing List] SERVER DOWN. PLEASE HELP NOW
Falk Brockerhoff <fb(at)smartterra.de>
2006-08-07 17:47:39 [ FULL ]
beno schrieb:
[...]

What's about the pound.cfg-file?

User            "www"
Group           "www"
LogLevel        2
Alive           5

ListenHTTP
        Address 0.0.0.0
        Port 80
End

...
[...]

Regards,

Falk
Attachments:  
fb.vcf text/x-vcard 363 Bytes

Re: [Pound Mailing List] SERVER DOWN. PLEASE HELP NOW
beno <zope(at)2012.vi>
2006-08-07 17:56:18 [ FULL ]
Stefan Lambrev wrote:[...]
tcp4       0      0  *.9021                 *.*                    LISTEN
tcp4       0      0  *.9080                 *.*                    LISTEN
tcp4       0      0  *.3128                 *.*                    LISTEN
tcp4       0      0  *.7021                 *.*                    LISTEN
tcp4       0      0  *.7080                 *.*                    LISTEN
tcp4       0      0  *.21                   *.*                    LISTEN
tcp4       0      0  *.8021                 *.*                    LISTEN
tcp4       0      0  *.8080                 *.*                    LISTEN
tcp4       0      0  *.3306                 *.*                    LISTEN
tcp4       0      0  *.993                  *.*                    LISTEN
tcp6       0      0  *.993                  *.*                    LISTEN
tcp4       0      0  *.143                  *.*                    LISTEN
tcp6       0      0  *.143                  *.*                    LISTEN
tcp4       0      0  *.22                   *.*                    LISTEN
tcp6       0      0  *.22                   *.*                    LISTEN
tcp4       0      0  *.25                   *.*                    LISTEN
tcp4       0      0  *.110                  *.*                    LISTEN
tcp6       0      0  ::1.953                *.*                    LISTEN
tcp4       0      0  127.0.0.1.953          *.*                    LISTEN
tcp4       0      0  127.0.0.1.53           *.*                    LISTEN
[...]
tcp4       0      0  202.71.106.119.8080    67.143.135.132.2229    
ESTABLISHED
tcp4       0      0  *.8080                 *.*                    LISTEN

Re: [Pound Mailing List] SERVER DOWN. PLEASE HELP NOW
beno <zope(at)2012.vi>
2006-08-07 18:12:51 [ FULL ]
Falk Brockerhoff wrote:[...]
Did that, then changed the level to 4, but still no luck:

Aug  7 16:08:28 server167 pound: starting...
Aug  7 16:08:31 server167 pound: unknown extra arguments (start...)
Aug  7 16:10:43 server167 pound: starting...
Aug  7 16:10:46 server167 pound: unknown extra arguments (start...)
server167# ps xa|grep pound
65026  p0  RV     0:00.00 grep pound (csh)

Re: [Pound Mailing List] SERVER DOWN. PLEASE HELP NOW
Falk Brockerhoff <fb(at)smartterra.de>
2006-08-07 18:17:55 [ FULL ]
beno schrieb:
[...]

What is this? How are you starting pound?

Regards,

Falk
Attachments:  
fb.vcf text/x-vcard 363 Bytes

MailBoxer