Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can't run several instances of zope
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
lem
n00b
n00b


Joined: 20 Jun 2003
Posts: 11
Location: Paris

PostPosted: Fri Jun 27, 2003 4:54 pm    Post subject: can't run several instances of zope Reply with quote

I used zope-config to config 2 instances of zope.
I want zope-1 listen on port 80 and I want zope-2 listen on 8080.
I've modified /etc/conf.d/zope-x in order to :

Code:
 ZOPE-OPTS="-u zope -w port"


1st instance works fine.

there's a problem when I launch zope-2 :
/etc/init.d/zope-2 start is ok, but after a couple of second :

Code:
 /etc/init.d/zope-2 status
* status: started
* --> Zope is dead.

and that's true, zope-2 is really dead ! (zope-1 ok, thx for him ;)

Did I follow the right way to do it ?
Back to top
View user's profile Send private message
burmashave
Tux's lil' helper
Tux's lil' helper


Joined: 01 Dec 2002
Posts: 82

PostPosted: Fri Jun 27, 2003 5:32 pm    Post subject: Reply with quote

Have you tried using the "-P" option? Zope listens on several ports (web, ftp, webdav, etc.). I would guess that you are getting contention for these ports:

Code:
-P [ipaddress:]number

    Set the web, ftp and monitor port numbers simultaneously
    as offsets from the number.  The web port number will be number+80.
    The FTP port number will be number+21.  The monitor port number will
    be number+99.

    The number can be preeceeded by an ip address follwed by a colon
    to specify an address to listen on. This allows different servers
    to listen on different addresses.

    Multiple -P options can be provided to run multiple sets of servers.
Back to top
View user's profile Send private message
lem
n00b
n00b


Joined: 20 Jun 2003
Posts: 11
Location: Paris

PostPosted: Fri Jun 27, 2003 5:56 pm    Post subject: Reply with quote

:oops: I were trying to use the same ftp and monitor ports.
it's ok with "-p" option, thx
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum