[Setup] Zope 2.8.7 won't start - *stumped*

Russell Michell R.Michell at gns.cri.nz
Fri Aug 4 01:13:40 UTC 2006


>Do you mean you punched a hole in the box's firewall?
Yes. 

port 8080 wasn't available to anyone other than users browsing on *that 
particular machine*.

I had the I.T. dept open up 8080 to our internal LAN (for it  is only 
people within the company who will be using Plone) and it worked.

Zope *was* running just like the output of ps -x | grep zope had 
truthfully told me. But as a user accessing the box from another location 
- I just wasn't allowed to see it. 

I am now and I am happy.

Thank you all very much for your input :-)
Russ


--
Russell Michell - GeoNet Web Developer

www.geonet.org.nz / www.gns.cri.nz
r.michell at gns.cri.nz
+64 (0)4 570 4761
+64 (0)21 134 2459

GNS Science
1 Fairway Drive
Avalon
Wellington
New Zealand

PO Box 30-368
Lower Hutt
New Zealand




setup-request at lists.plone.org
Sent by: setup-bounces at lists.plone.org
04/08/2006 12:45
Please respond to setup

 
        To:     setup at lists.plone.org
        cc: 
        Subject:        Setup Digest, Vol 10, Issue 7


Send Setup mailing list submissions to
                 setup at lists.plone.org

To subscribe or unsubscribe via the World Wide Web, visit
                 http://lists.plone.org/mailman/listinfo/setup
or, via email, send a message with subject or body 'help' to
                 setup-request at lists.plone.org

You can reach the person managing the list at
                 setup-owner at lists.plone.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Setup digest..."


Today's Topics:

   1. Re: Cant upgrade my previous websites to Plone 2.5 (Philip Kilner)
   2. Re: Cant upgrade my previous websites to Plone 2.5 (Nick Davis)
   3. Re: Mail Settings (Rene Pijlman)
   4. Re: how to test if user is administrator (was: short
      question) (Rene Pijlman)
   5. Re: no /opt/Plone directory after install (Kamal Gill)
   6. Re: Zope 2.8.7 won't start - *stumped* (Wes James)
   7. Re: Zope 2.8.7 won't start - *stumped* (KE Liew)
   8. Re: Zope 2.8.7 won't start - *stumped* (Russell Michell)
   9. Re: Zope 2.8.7 won't start - *stumped* (Wes James)
  10. Re: how to test if user is administrator (was: short
      question) (Rene Pijlman)


----------------------------------------------------------------------

Message: 1
Date: Thu, 03 Aug 2006 17:31:23 +0100
From: Philip Kilner <phil at xfr.co.uk>
Subject: Re: [Setup] Cant upgrade my previous websites to Plone 2.5
To: chuck at smtl.co.uk
Cc: setup at lists.plone.org
Message-ID: <44D224DB.5030800 at xfr.co.uk>
Content-Type: text/plain; charset=ISO-8859-1

Hi Chuck,

Chuck Amadi Systems Administrator wrote:
> So what can I do these websites are currently running live on my old
> server and I need to transfer them to my new server that I am
> configuring.
> 

Create a staging setup at the same versions as your production server.

Import your .zexp's here, then upgrade that installation, or create a
data.fs that you can move to the new installation.

> I assumed the upgrade would take into account depreiated Products but
> create new ones to help zope/plone users upgrade accordingly.
> 

A .zexp import may not (never does, for me) import where
zope/plone/products versions do not match - the upgrade is your next
issue, but first you need to get past (or work around) the import problem.


-- 

Regards,

PhilK

"Human language continually changes, innit."
- Stephen Juan



------------------------------

Message: 2
Date: Thu, 03 Aug 2006 17:35:22 +0100
From: Nick Davis <nd51 at le.ac.uk>
Subject: [Setup] Re: Cant upgrade my previous websites to Plone 2.5
To: setup at lists.plone.org
Message-ID: <eat8kb$f1a$1 at sea.gmane.org>
Content-Type: text/plain; charset=us-ascii; format=flowed

Chuck Amadi Systems Administrator wrote:
> 

To learn more about migration, you might need to read this 
http://plone.org/documentation/migration/2.1.

(It applies to 2.5 also).

There's a lot of things you might assume it does automatically, but 
unfortunately it doesn't....

-- 
Nick Davis
Web Application Developer
University of Leicester
http://www2.le.ac.uk
http://ebulletin.le.ac.uk




------------------------------

Message: 3
Date: Thu, 03 Aug 2006 18:37:19 +0200
From: Rene Pijlman <rene at lab.applinet.nl>
Subject: Re: [Setup] Mail Settings
To: setup at lists.plone.org
Message-ID: <af94d2t67n0fed488q91f1hha52rphppeg at 4ax.com>
Content-Type: text/plain; charset=us-ascii

Hadrian Cawthorne:
>I try it with a personal email account (outside my organization)  and 
>I get this:
>Unable to send mail: (7, 'getaddrinfo failed')
>-- I understand this to be a firewall issue

Perhaps. Talk to your mail, DNS and firewall admins. Plone can't
help you with this :-)

-- 
Rene Pijlman
http://www.applinet.nl/
 



------------------------------

Message: 4
Date: Thu, 03 Aug 2006 19:03:49 +0200
From: Rene Pijlman <rene at lab.applinet.nl>
Subject: Re: [Setup] how to test if user is administrator (was: short
                 question)
To: setup at lists.plone.org
Message-ID: <qq94d2d6b2s1df20lq00m9vvk15ih165kd at 4ax.com>
Content-Type: text/plain; charset=ISO-8859-1

Flávio Romão:
>i'm developing a web portal with portal and i would like to know if there 
is
>a function similar to 'isAnon' (that returns true if the user is 
anonymus),
>but that returns true is the user is a portal administrator. thanks!

The idiom is:

    member.has_role('Manager')

'member' is defined in
./CMFPlone/skins/plone_templates/global_defines.pt

This checks for the role, not group membership (but normally
your administrator group has the manager role).

You should ask yourself why you're checking for the role, rather
than a particular permission for the acion you're guarding.

Please use a real subject next time.

-- 
Rene Pijlman
http://www.applinet.nl/
 



------------------------------

Message: 5
Date: Thu, 03 Aug 2006 11:30:01 -0700
From: Kamal Gill <ksgill at mac.com>
Subject: Re: [Setup] no /opt/Plone directory after install
To: splone at redpumas.com
Cc: setup at lists.plone.org
Message-ID: <2678286.1154629801322.JavaMail.ksgill at mac.com>
Content-Type: text/plain; charset=ISO-8859-1

Hi Steve,

(please stay on the list)

Glad to hear that it worked.  The install script detects the presence of 
an existing folder at /opt/Plone-2.5 rather than /opt per se.  If the 
/opt/Plone-2.5 folder is detected the install will fail before the 
compilation steps are reached.

-Kamal

On Thursday, August 03, 2006, at 00:55AM, <splone at redpumas.com> wrote:

>> Hi Steve,
>>
>> Does the CentOS box have gcc, g++, and make? As the installer
>> compiles everything from source, missing a critical dependency will
>> cause the install to fail.
>>
>> My apologies on the misleading status report--future versions of the
>> install script should handle error reporting more gracefully.
>>
>> -Kamal
>
>HI Kamal,
>
>Yes I a have all those.
>Now it has installed, I haven't tested yet as should be on way to work 
;-)
>
>Problem was the /opt directory already existed when I installed Zimbra
>(www.zimbra.com)
>
>So I did
>mv /opt /opt2
>so the /opt dir didnt exist. Now it seems to have compiled ok.
>
>Perhaps the install script wont install into an /opt dir which already
>exists with another sub directory?
>
>Great script though, saves alot of time.
>Regards
>Steve
>
>
>



------------------------------

Message: 6
Date: Thu, 3 Aug 2006 13:11:40 -0600
From: "Wes James" <comptekki at gmail.com>
Subject: Re: [Setup] Zope 2.8.7 won't start - *stumped*
To: setup at lists.plone.org
Message-ID:
 <533df7fa0608031211u3e2767a7k2f9eeeb9019121fe at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

On 8/2/06, Russell Michell <R.Michell at gns.cri.nz> wrote:
> Hi folks,
>
> I'm having problems with starting Zope itself:
>
> I've installed Zope 2.8.7 on RH Linux with Python 2.3.5 behind Apache
> 2.2.2, but just can't start it. I have installed and attempted to start
> Zope as a non-root user but inside of a dir that my user does has full
> privileges. It's also a dir that is an Apache Virtual Host.
>
> Following the guide in docs/INSTALL.txt
>
> #> ./configure --prefix=/path/to/zope/<DIR>
> --with-python=/usr/local/python/bin/python
> #> make
> #> make install
> #> /path/to/zope/bin/mkzopeinstance.py
> #> Directory: </PATH/TO/DESIRED/DIR/WITH/PRIVILEGES>
> #> username <USERNAME>
> #> password <PASSWORD>
> #> password again <PASSWORD>
> #> /path/to/zope/bin/<DIR>/bin/runzope
>
> It's at this last stage that the command prompt just hangs. I have left 
it
> for 5 minutes, tried to connect to vhost.mydomain.net:8080/manage via
> Firefox which then hangs and says 'The Connection Has Timed Out'.
>
> And if I start Zope using:
>
> #> /path/to/zope/bin/<DIR>/bin/zopectl start
>
> It *seems* to start. And running ps x | grep zope shows two zope
> processes, yet when I try to connect to vhost.mydomain.net:8080/manage
> again - Firefox hangs again and again then says 'The Connection Has 
Timed
> Out'.
>
> There is nothing in the apache event_log, or the Apache event_log for 
this
> sub-domain, nothing in Zope's Z2.log and no errors in Zope's event.log
> other than a single entry: WARNING ZODB.FileStorage Ignoring index for
> /path/to/zope/bin/<DIR>/var/Data.fs.
>
> I feel as though I've covered all the bases, and the only niggly feeling 
I
> have is that Zope needs to be installed as root but run as another user.
>
> Can anyone help me out here? I'm fully stuck!
>
> Many thanks for reading.
> Russ


Do you even see zop running?

#ps -aux|grep Zope

Do you have any other services running on port 8080?

Go in to your "zope intance"/etc and edit the zope.conf file and
change the 8080 to something else (? 8100 for instance if it is not
being used)

now run

zope-instance/bin/zopectl start

If these things are not working:

run python -V to make sure you have the python you think you are using.

check for any rogue zopes that might be running with ps -aux|grep Zope
and kill -9 any /path-to-python /instances.

rename or delete your current instance and mkzopeinstance again as the
non-root user.  You may need to create a folder like /opt/plone and
chown user /opt/plone and make your instance into that: i.e.

as root

mkdir /opt/plone
chown plone /opt/plone

as plone user

/zope/bin/mkzopeinstance.py'

Directory: /opt/plone

username:...
password:....

start instance as user plone

/opt/plone/bin/zopectl start

you should get:

. daemon process started, pid=number

ps -aux|grep Zope

you should see 2 python processes.

browse to http://host:8080

you should get popup to log in with the username and password you 
provided.

Still doesn't work?

let us know.....

wj



------------------------------

Message: 7
Date: Thu, 3 Aug 2006 22:32:05 +0200
From: "KE Liew" <ke.liew at gmail.com>
Subject: Re: [Setup] Zope 2.8.7 won't start - *stumped*
To: "Russell Michell" <R.Michell at gns.cri.nz>
Cc: setup at lists.plone.org
Message-ID:
 <f0e429340608031332l56b107efg382a0b10c276d26f at mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed

Sounds like a misconfiguration of zope.conf. It can be anything in
zope.conf, so check it thoroughly.


Regards,

Kwang

On 8/3/06, Russell Michell <R.Michell at gns.cri.nz> wrote:
> Hi folks,
>
> I'm having problems with starting Zope itself:
>
> I've installed Zope 2.8.7 on RH Linux with Python 2.3.5 behind Apache
> 2.2.2, but just can't start it. I have installed and attempted to start
> Zope as a non-root user but inside of a dir that my user does has full
> privileges. It's also a dir that is an Apache Virtual Host.
>
> Following the guide in docs/INSTALL.txt
>
> #> ./configure --prefix=/path/to/zope/<DIR>
> --with-python=/usr/local/python/bin/python
> #> make
> #> make install
> #> /path/to/zope/bin/mkzopeinstance.py
> #> Directory: </PATH/TO/DESIRED/DIR/WITH/PRIVILEGES>
> #> username <USERNAME>
> #> password <PASSWORD>
> #> password again <PASSWORD>
> #> /path/to/zope/bin/<DIR>/bin/runzope
>
> It's at this last stage that the command prompt just hangs. I have left 
it
> for 5 minutes, tried to connect to vhost.mydomain.net:8080/manage via
> Firefox which then hangs and says 'The Connection Has Timed Out'.
>
> And if I start Zope using:
>
> #> /path/to/zope/bin/<DIR>/bin/zopectl start
>
> It *seems* to start. And running ps x | grep zope shows two zope
> processes, yet when I try to connect to vhost.mydomain.net:8080/manage
> again - Firefox hangs again and again then says 'The Connection Has 
Timed
> Out'.
>
> There is nothing in the apache event_log, or the Apache event_log for 
this
> sub-domain, nothing in Zope's Z2.log and no errors in Zope's event.log
> other than a single entry: WARNING ZODB.FileStorage Ignoring index for
> /path/to/zope/bin/<DIR>/var/Data.fs.
>
> I feel as though I've covered all the bases, and the only niggly feeling 
I
> have is that Zope needs to be installed as root but run as another user.
>
> Can anyone help me out here? I'm fully stuck!
>
> Many thanks for reading.
> Russ
>
>
>
>
> --
> Russell Michell - GeoNet Web Developer
>
> www.geonet.org.nz / www.gns.cri.nz
> r.michell at gns.cri.nz
> +64 (0)4 570 4761
> +64 (0)21 134 2459
>
> GNS Science
> 1 Fairway Drive
> Avalon
> Wellington
> New Zealand
>
> PO Box 30-368
> Lower Hutt
> New Zealand
>
> _______________________________________________
> Setup mailing list
> Setup at lists.plone.org
> http://lists.plone.org/mailman/listinfo/setup
>



------------------------------

Message: 8
Date: Fri, 4 Aug 2006 08:54:38 +1200
From: "Russell Michell" <R.Michell at gns.cri.nz>
Subject: Re: [Setup] Zope 2.8.7 won't start - *stumped*
To: setup at lists.plone.org
Message-ID:
 <OF6B395ED8.DED03295-ONCC2571BF.00724EE2-CC2571BF.0072DD2D at gns.cri.nz>
Content-Type: text/plain; charset="us-ascii"

>Sounds like a misconfiguration of zope.conf. It can be anything in
>zope.conf, so check it thoroughly.
If that were the case then that's a bug, as it's straight out of the 2.8.7 

box!

No, I mentioned this to a collegaue. The first thing he suggested turned 
out to be the solution: port 8080 hadn't been enabled on the machine! I 
had it enabled and voila!

I found out the hard way that a good test is to see if you can see the 
Zope welcome screen using a browser on the machine Zope runs on (Lynx or 
x-forwarded GUI browser). If it works there and not elsewhere (as in my 
case) it's something unique to that machine and the first thing to check 
should be: "is the required port open?"

As my colleague said: If the process is running it's generaly a good 
indicator that the app is running too!

I hope someone else finds this useful and thanks to all the replies.

Cheers,
Russ


--
Russell Michell - GeoNet Web Developer

www.geonet.org.nz / www.gns.cri.nz
r.michell at gns.cri.nz
+64 (0)4 570 4761
+64 (0)21 134 2459

GNS Science
1 Fairway Drive
Avalon
Wellington
New Zealand

PO Box 30-368
Lower Hutt
New Zealand




"KE Liew" <ke.liew at gmail.com>
04/08/2006 08:32

 
        To:     "Russell Michell" <R.Michell at gns.cri.nz>
        cc:     setup at lists.plone.org
        Subject:        Re: [Setup] Zope 2.8.7 won't start - *stumped*


Sounds like a misconfiguration of zope.conf. It can be anything in
zope.conf, so check it thoroughly.


Regards,

Kwang

On 8/3/06, Russell Michell <R.Michell at gns.cri.nz> wrote:
> Hi folks,
>
> I'm having problems with starting Zope itself:
>
> I've installed Zope 2.8.7 on RH Linux with Python 2.3.5 behind Apache
> 2.2.2, but just can't start it. I have installed and attempted to start
> Zope as a non-root user but inside of a dir that my user does has full
> privileges. It's also a dir that is an Apache Virtual Host.
>
> Following the guide in docs/INSTALL.txt
>
> #> ./configure --prefix=/path/to/zope/<DIR>
> --with-python=/usr/local/python/bin/python
> #> make
> #> make install
> #> /path/to/zope/bin/mkzopeinstance.py
> #> Directory: </PATH/TO/DESIRED/DIR/WITH/PRIVILEGES>
> #> username <USERNAME>
> #> password <PASSWORD>
> #> password again <PASSWORD>
> #> /path/to/zope/bin/<DIR>/bin/runzope
>
> It's at this last stage that the command prompt just hangs. I have left 
it
> for 5 minutes, tried to connect to vhost.mydomain.net:8080/manage via
> Firefox which then hangs and says 'The Connection Has Timed Out'.
>
> And if I start Zope using:
>
> #> /path/to/zope/bin/<DIR>/bin/zopectl start
>
> It *seems* to start. And running ps x | grep zope shows two zope
> processes, yet when I try to connect to vhost.mydomain.net:8080/manage
> again - Firefox hangs again and again then says 'The Connection Has 
Timed
> Out'.
>
> There is nothing in the apache event_log, or the Apache event_log for 
this
> sub-domain, nothing in Zope's Z2.log and no errors in Zope's event.log
> other than a single entry: WARNING ZODB.FileStorage Ignoring index for
> /path/to/zope/bin/<DIR>/var/Data.fs.
>
> I feel as though I've covered all the bases, and the only niggly feeling 

I
> have is that Zope needs to be installed as root but run as another user.
>
> Can anyone help me out here? I'm fully stuck!
>
> Many thanks for reading.
> Russ
>
>
>
>
> --
> Russell Michell - GeoNet Web Developer
>
> www.geonet.org.nz / www.gns.cri.nz
> r.michell at gns.cri.nz
> +64 (0)4 570 4761
> +64 (0)21 134 2459
>
> GNS Science
> 1 Fairway Drive
> Avalon
> Wellington
> New Zealand
>
> PO Box 30-368
> Lower Hutt
> New Zealand
>
> _______________________________________________
> Setup mailing list
> Setup at lists.plone.org
> http://lists.plone.org/mailman/listinfo/setup
>






------------------------------

Message: 9
Date: Thu, 3 Aug 2006 16:35:39 -0600
From: "Wes James" <comptekki at gmail.com>
Subject: Re: [Setup] Zope 2.8.7 won't start - *stumped*
To: setup at lists.plone.org
Message-ID:
 <533df7fa0608031535l11cbf689i3b2555fd02c486c8 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

On 8/3/06, Russell Michell <R.Michell at gns.cri.nz> wrote:
> >Sounds like a misconfiguration of zope.conf. It can be anything in
> >zope.conf, so check it thoroughly.
> If that were the case then that's a bug, as it's straight out of the 
2.8.7
> box!
>
> No, I mentioned this to a collegaue. The first thing he suggested turned
> out to be the solution: port 8080 hadn't been enabled on the machine! I
> had it enabled and voila!

Do you mean you punched a hole in the box's firewall?

wj



------------------------------

Message: 10
Date: Fri, 04 Aug 2006 02:40:21 +0200
From: Rene Pijlman <rene at lab.applinet.nl>
Subject: Re: [Setup] how to test if user is administrator (was: short
                 question)
To: setup at lists.plone.org
Message-ID: <jp55d2pcjaqcnq9kgcaoh3p0od6ku235bt at 4ax.com>
Content-Type: text/plain; charset=us-ascii

Rene Pijlman:
>The idiom is: member.has_role('Manager')

Problem solved (confirmed off-list).

-- 
Rene Pijlman
http://www.applinet.nl/
 



------------------------------

_______________________________________________
Setup mailing list
Setup at lists.plone.org
http://lists.plone.org/mailman/listinfo/setup


End of Setup Digest, Vol 10, Issue 7
************************************







More information about the Setup mailing list