Re: [Zope] Zope3 on Ubuntu 64

2009-10-19 Thread Tres Seaver
-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://: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  tsea...@palladion.com
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@zope.org
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 )


Re: [Zope] Zope3 on Ubuntu 64

2009-10-18 Thread robert rottermann
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@zope.org
> 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@zope.org
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 )


Re: [Zope] Zope3 on Ubuntu 64

2009-10-18 Thread Brian Myers
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://: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
> 

___
Zope maillist  -  Zope@zope.org
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 )


Re: [Zope] Zope3 on Ubuntu 64

2009-10-17 Thread Andreas Jung
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
<>___
Zope maillist  -  Zope@zope.org
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] Zope3 on Ubuntu 64

2009-10-17 Thread 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,

Brian
___
Zope maillist  -  Zope@zope.org
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 )