Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: Users

Zope3 on Ubuntu 64

 

 

Zope users RSS feed   Index | Next | Previous | View Threaded


tarkawebfoot at charter

Oct 17, 2009, 4:28 PM

Post #1 of 5 (1915 views)
Permalink
Zope3 on Ubuntu 64

I've installed Zope3 on a 64 bit Ubuntu platform and all seems well.

I've run mkzopeinstance and the instance directory is there and looks
ok.

However, when I try to start the instance, it says [fail] for the
zserver instance and there are no entries in the z3.log file. The
default instance chosen was 9673, not 8080. I wonder if that's saying
it's not finding an available port. But I've port scanned the machine
and both 9673 and 8080 are open.

Any ideas what to try next? How do I enable more logging output?

Thanx in advance,

Brian
_______________________________________________
Zope maillist - Zope [at] zope
https://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope-dev )


lists at zopyx

Oct 17, 2009, 9:33 PM

Post #2 of 5 (1793 views)
Permalink
Re: Zope3 on Ubuntu 64 [In reply to]

Am 18.10.09 01:28, schrieb Brian Myers:
> I've installed Zope3 on a 64 bit Ubuntu platform and all seems well.
>
> I've run mkzopeinstance and the instance directory is there and looks
> ok.
>
> However, when I try to start the instance, it says [fail] for the
> zserver instance and there are no entries in the z3.log file. The
> default instance chosen was 9673, not 8080. I wonder if that's saying
> it's not finding an available port. But I've port scanned the machine
> and both 9673 and 8080 are open.
>
> Any ideas what to try next? How do I enable more logging output?
>
> Thanx in advance,
You should definitely see the port number on the *console* when starting
Zope 2 or Zope 3 in the foreground.

-aj
Attachments: lists.vcf (0.31 KB)


tarkawebfoot at charter

Oct 18, 2009, 12:48 AM

Post #3 of 5 (1793 views)
Permalink
Re: Zope3 on Ubuntu 64 [In reply to]

When I run sudo /etc/init.d/zope3 start

I get the following:
* Zope3: starting main_instance instance [OK]

z3.log has not been updated, and the instance has not started. I do
notice that the old entries in the z3.log file do list the port and it
is 9673. But going to http://<machine's ip>:9673 finds no server, and
port scanning the machine does not find 9673 (or 8080) open. The ps
command shows no zope or python related process running.

On Oct 17, 2009, at 9:33 PM, Andreas Jung wrote:

> Am 18.10.09 01:28, schrieb Brian Myers:
>> I've installed Zope3 on a 64 bit Ubuntu platform and all seems well.
>>
>> I've run mkzopeinstance and the instance directory is there and looks
>> ok.
>>
>> However, when I try to start the instance, it says [fail] for the
>> zserver instance and there are no entries in the z3.log file. The
>> default instance chosen was 9673, not 8080. I wonder if that's saying
>> it's not finding an available port. But I've port scanned the machine
>> and both 9673 and 8080 are open.
>>
>> Any ideas what to try next? How do I enable more logging output?
>>
>> Thanx in advance,
> You should definitely see the port number on the *console* when
> starting
> Zope 2 or Zope 3 in the foreground.
>
> -aj
> <lists.vcf>

_______________________________________________
Zope maillist - Zope [at] zope
https://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope-dev )


robert at redcor

Oct 18, 2009, 1:12 AM

Post #4 of 5 (1785 views)
Permalink
Re: Zope3 on Ubuntu 64 [In reply to]

Brian Myers schrieb:
> I've installed Zope3 on a 64 bit Ubuntu platform and all seems well.
>
> I've run mkzopeinstance and the instance directory is there and looks
> ok.
>
> However, when I try to start the instance, it says [fail] for the
> zserver instance and there are no entries in the z3.log file. The
> default instance chosen was 9673, not 8080. I wonder if that's saying
> it's not finding an available port. But I've port scanned the machine
> and both 9673 and 8080 are open.
>
> Any ideas what to try next? How do I enable more logging output?
>
> Thanx in advance,
>
> Brian
> _______________________________________________
> Zope maillist - Zope [at] zope
> https://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> https://mail.zope.org/mailman/listinfo/zope-announce
> https://mail.zope.org/mailman/listinfo/zope-dev )
>
>
I assume that you use a zope installer that has come with ubuntu.

if this is the case, I advise that you install zope anew from a buildout.
this is very easy and gives you much more control about where things are
installed and what version of the diverse packages to use.

I have not used buildout for "naked" zope myself but always in together with
plone (however there should be no real difference).
you will find instructions how to install zope/plone from scratch on www.plone.org

the steps are:
- (voluntary but recommend) install your "own" python (as root)
- install easy_install for "your" python (as root)
- install ZopeSkel with easy_install -U ZopeSkel (as root)
- create a buildout anywhere (as a standard user) using paster
paster --help will explain what to do


robert

_______________________________________________
Zope maillist - Zope [at] zope
https://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope-dev )


tseaver at palladion

Oct 19, 2009, 6:12 AM

Post #5 of 5 (1771 views)
Permalink
Re: Zope3 on Ubuntu 64 [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Brian Myers wrote:
> When I run sudo /etc/init.d/zope3 start
>
> I get the following:
> * Zope3: starting main_instance instance [OK]
>
> z3.log has not been updated, and the instance has not started. I do
> notice that the old entries in the z3.log file do list the port and it
> is 9673. But going to http://<machine's ip>:9673 finds no server, and
> port scanning the machine does not find 9673 (or 8080) open. The ps
> command shows no zope or python related process running.

The init.d script must be pointing to your instance's 'zopectl', and it
runs it in "daemon" mode, with no console output. Can you run that
directly in the foreground? E.g.:

/path/to/zope/instance/bin/zopectl fg

That should show you whatever error is keeping your instance from starting.


Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver [at] palladion
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkrcZcEACgkQ+gerLs4ltQ6YKACZAfDQ/xwVu0tnd+bj7LcifGt8
1sgAoK8AviXe+Xo7tk9Y1Aa4Vbiv6ZZU
=+pVX
-----END PGP SIGNATURE-----

_______________________________________________
Zope maillist - Zope [at] zope
https://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
https://mail.zope.org/mailman/listinfo/zope-announce
https://mail.zope.org/mailman/listinfo/zope-dev )

Zope users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.