[Zope] Cannot connect to zope from zope server

Dylan Reinhardt zope@dylanreinhardt.com
26 Mar 2003 13:25:08 +0000


On Wed, 2003-03-26 at 20:06, Michael Long wrote:
> Hi all,
> 
> I have lost the ability to connect to zope from the server. I was logged
> in when I attempted to add a new folder I could not enter data in the
> input box. Upon clicking refresh I was told that I cannot connect to the
> server. I can connect from other machines so zope is alive. I went as
> far as rebooting the machine and get the same results. Where do I start
> to look to resolve this?
> 

The first thing I'd suspect is that one of your browsers is looking at a
cached version of the site.  Whether that means you're looking at a
false positive or a false negative needs to be established.

First thing I would do is verify Zope is up:
1. ps -aux   (look for Zope instance)
2. netstat -lp  (look for what's listening where)

Assuming Zope *is* running correctly, refresh the cache of the browser
that's reporting it down.  Do I read correctly that the browser having
problems is running on the *same box* as your server?  If not, perform a
tracert from that machine to your server to verify the connection.  If
so, are you connecting to localhost/127.0.0.1 or the server ip?  If the
latter, run a tracert anyway.  Give it a try with lynx or links.  Your
problem should reveal itself at some point.

If Zope isn't running, a look at the error log should give some
indication as to why not.  Feel free to post the last few log entries if
you can't tell what the problem is.

It's also possibille that a change you've made to Zope's start script
may only be taking effect now that you've restarted it.  I'd suspect
this if your remote connections are handled differently than your local
one... eg, direct vs. through httpd or by different vhost defs in httpd.

HTH,

Dyaln