[ZODB-Dev] Error starting simplest ZEO instance

Jim Carroll jimpy at oublic.org
Sun Aug 12 15:01:11 EDT 2007


Hi I'm having trouble getting my web server started.  It's 
starting ZEO, but zeo never completes the startup process.  
The zdctl.py is wating forever for a runzeo which fails 
instantly with error code 2. 

Im running ZODB 3.3.1 on Python 2.4 on Ubuntu. 

I've tried a stand-alone startup to see what's going on 
and it tells me:

root at turbo:~/tmp# zdctl.py -p "runzeo.py -a 9999 -f Data.fs" start
Error: invalid value for -m '18': invalid literal for int(): 18
For help, use /usr/bin/zdrun.py -h
. . . . . . . . . . . . . . . . . . . . . . . . . 
. . . .  (continues forever)


I stepped through runzeo (and zdctl) with pdb, and figured 
out that it's actually running: 

/usr/bin/python /usr/bin/zdrun.py -S schema.xml -b 10 
 -s zdsock -u www -x 0,2 runzeo.py -a 9999 -f Data.fs -t 10 -m 18

the 18 that it's complaining about really is a valid int.

If I remove that parameter I get: 

root at turbo:~/tmp# /usr/bin/python /usr/bin/zdrun.py -S schema.xml 
-b 10 -s zdsock -u www -x 0,2 runzeo.py -a 9999 -f Data.fs -t 10 


But I never get the messages that tell me that it's starting up correctly.

How can I get zdrun to accept -m 18 happly?

Thanks,
-Jim



More information about the ZODB-Dev mailing list