[Zope] New Install

Chris McDonough chrism@zope.com
05 Nov 2002 11:42:21 -0500


Don't change the z2.py file.  It will get you in trouble. ;-)

Instead, use the switches specified in z2.py (-D, -W, -X, etc.) as
arguments to the "start" script.

Remove the -D switch inside the start script to prevent Zope from
remaining attached to the console.

- C


On Tue, 2002-11-05 at 11:24, Timothy Burt wrote:
> 
> I noticed this anomoly also...
> 
> I thought that zope was supposed to run as a daemon?
> 
> On my Redhat system as well (zope 2.6.0 on RH 7.3) the process never forks 
> to the background.
> 
> I have specified:
> 
> # Use a daemon process
> USE_DAEMON = 1
> 
> But when I start zope, the process waits on the terminal (appears to 
> hang).
> 
> I did notice that my ./start file has a -D parameter.  I don't recall if I 
> put it there.  Could this param be causing zope not to background?
> 
> As a workaround, I put a "nohup ....  &" into the ./start file.  That 
> works.
> 
> On 4 Nov 2002, Chris McDonough wrote:
> 
> > Try visiting port 8080 of the machine it's on via a browser.  It appears
> > to be starting fine.
> > 
> > On Mon, 2002-11-04 at 12:35, Bill Etheredge wrote:
> > > I have installed the latest version (2.6.0) on a Linux Red Hat 8.0
> > > system.  This is a new install, not an upgrade.
> > > 
> > > When I attempt to start Zope, I get the following response:
> > > 
> > > 		 [betheredge@LINUXTX10 zope260]$ ./start
> > > 		------
> > > 		2002-11-04T11:28:48 INFO(0) zdaemon Started subprocess:
> > > pid 15682
> > > 		------
> > > 		2002-11-04T11:29:02 INFO(0) ZODB Opening database for
> > > mounting: '143845552_1036429220.299444
> > > 		'
> > > 		------
> > > 		2002-11-04T11:29:02 INFO(0) ZODB Mounted database
> > > '143845552_1036429220.299444' at /temp_fol
> > > 		der
> > > 		------
> > > 		2002-11-04T11:29:03 INFO(0) ZServer HTTP server started
> > > at Mon Nov  4 11:29:03 2002
> > > 		        Hostname: LINUXTX10
> > > 		        Port: 8080
> > > 		------
> > > 		2002-11-04T11:29:03 INFO(0) ZServer FTP server started
> > > at Mon Nov  4 11:29:03 2002
> > > 		        Hostname: LINUXTX10
> > > 		        Port: 8021
> > > 		------
> > > 		2002-11-04T11:29:03 INFO(0) ZServer PCGI Server started
> > > at Mon Nov  4 11:29:03 2002
> > > 		        Unix socket:
> > > /usr/local/zope/zope260/var/pcgi.soc
> > > 
> > > Nothing happens after this last entry is displayed.  If I do a ps on the
> > > process for the daemon, this is what displays
> > > 
> > > 		[betheredge@LINUXTX10 betheredge]$ ps e 15682
> > > 		  PID TTY      STAT   TIME COMMAND
> > > 		15682 pts/1    S      0:09
> > > /usr/local/zope/zope260/bin/python /usr/local/zope/zope
> > > 		[betheredge@LINUXTX10 betheredge]$
> > > 
> > > It does not appear that Zope is starting up fully.  I cannot get to it
> > > via a browser.  Any suggestions of where to go from here since I see no
> > > error messages or obvious problems?
> > > 
> > > Thanks,
> > > Bill Etheredge
> > > The Mesa Group
> > > Florida Branch
> > > 4309 Salisbury Road, Suite B
> > > Jacksonville, FL 32216
> > > (904) 332-4550 Extension 17
> > > http://www.mesa-grp.com
> > > 
> > > 
> > 
> > 
> > 
> > _______________________________________________
> > Zope maillist  -  Zope@zope.org
> > http://lists.zope.org/mailman/listinfo/zope
> > **   No cross posts or HTML encoding!  **
> > (Related lists - 
> >  http://lists.zope.org/mailman/listinfo/zope-announce
> >  http://lists.zope.org/mailman/listinfo/zope-dev )
> > 
> 
> -- 
> --------------------
> Timothy Burt
> General Manager
> Arbor Group LLC
> Los Angeles, Calif. USA
>