Re: [Zope] zdsock
John Poltorak wrote: Zope itself works fine when started via runzope, so what is the problem in trying to provide an alternate socket name? zdctl is supposed to accept an alternative socket name:- -s/--socket-name SOCKET -- Unix socket name for client (default zdsock) Unfortunately, I can't figure out any way to make use of this option. Why do you care about this? AGAIK, this is only to do with those weird unix file-like socket things, and shouldn't be worried about if you're using a normal tcp socket as you should be ;-) cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] zdsock
On Tue, Dec 06, 2005 at 09:51:12AM +, Chris Withers wrote: John Poltorak wrote: Zope itself works fine when started via runzope, so what is the problem in trying to provide an alternate socket name? zdctl is supposed to accept an alternative socket name:- -s/--socket-name SOCKET -- Unix socket name for client (default zdsock) Unfortunately, I can't figure out any way to make use of this option. Why do you care about this? AGAIK, this is only to do with those weird unix file-like socket things, and shouldn't be worried about if you're using a normal tcp socket as you should be ;-) According to the docs it should be possible to specify an alternate socket name. I am unable to use the name 'zdsock' so would like to configure Zope to use a user specific socket name. Either it is possible or it isn't. So far no one has told me how I can use what are supposed to be existing features. I've even found a sample.conf which contains this runner # Harmless example program sleep 100 # Repeat the defaults backoff-limit 10 daemonTrue forever True socket-name zdsock exit-codes0,2 # user has no default umask 022 directory . default-to-interactive True hang-around False /runner but no one seems to know how/where this is can be used. What is the point in having features if no one knows how to use them? cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk -- John ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] zdsock
John Poltorak wrote: Because 'zdsock' is not an acceptable name. I am running on OS/2 and the path name must start with '\\socket\\'. Oooo, ow, that's gonna hurt... Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] zdsock
On Mon, Dec 05, 2005 at 08:50:30AM +, Chris Withers wrote: John Poltorak wrote: Because 'zdsock' is not an acceptable name. I am running on OS/2 and the path name must start with '\\socket\\'. Oooo, ow, that's gonna hurt... Zope itself works fine when started via runzope, so what is the problem in trying to provide an alternate socket name? zdctl is supposed to accept an alternative socket name:- -s/--socket-name SOCKET -- Unix socket name for client (default zdsock) Unfortunately, I can't figure out any way to make use of this option. Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk -- John ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] zdsock
How do I override the default name of zdsock for the socket used by Zope? I see socket-name defined in Zope/lib/python/zdaemon/sample.conf but have no idea what this sample.conf is used for. -- John ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] zdsock
--On 4. Dezember 2005 08:36:06 + John Poltorak [EMAIL PROTECTED] wrote: How do I override the default name of zdsock for the socket used by Zope? I see socket-name defined in Zope/lib/python/zdaemon/sample.conf but have no idea what this sample.conf is used for. Likely by including the file into your zope.conf. -aj pgpmMReOIXCJj.pgp Description: PGP signature ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] zdsock
On Sun, Dec 04, 2005 at 09:51:22AM +0100, Andreas Jung wrote: --On 4. Dezember 2005 08:36:06 + John Poltorak [EMAIL PROTECTED] wrote: How do I override the default name of zdsock for the socket used by Zope? I see socket-name defined in Zope/lib/python/zdaemon/sample.conf but have no idea what this sample.conf is used for. Likely by including the file into your zope.conf. I haven't found any documentation for zope.conf anywhere and have no idea if runner is an acceptable keyword. At the top of sample.conf it says # Sample config file for zdctl.py and zdrun.py (which share a schema). This sounds like something other than zope.conf. -aj -- John ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] zdsock
At the top of sample.conf it says # Sample config file for zdctl.py and zdrun.py (which share a schema). This sounds like something other than zope.conf. Is there a real need for you to touch the configuration. Also as very advanced Zope user I've never had the need to touch this configuration for any reason. So what are your reasons? -aj pgpyFgtYZyCND.pgp Description: PGP signature ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] zdsock
On Sun, Dec 04, 2005 at 11:13:29AM +0100, Andreas Jung wrote: At the top of sample.conf it says # Sample config file for zdctl.py and zdrun.py (which share a schema). This sounds like something other than zope.conf. Is there a real need for you to touch the configuration. Also as very advanced Zope user I've never had the need to touch this configuration for any reason. So what are your reasons? I need to change the name of the socket. -aj -- John ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] zdsock
On Sun, Dec 04, 2005 at 11:32:15AM +0100, Andreas Jung wrote: WHY? Because 'zdsock' is not an acceptable name. I am running on OS/2 and the path name must start with '\\socket\\'. --On 4. Dezember 2005 10:26:03 + John Poltorak [EMAIL PROTECTED] wrote: On Sun, Dec 04, 2005 at 11:13:29AM +0100, Andreas Jung wrote: At the top of sample.conf it says # Sample config file for zdctl.py and zdrun.py (which share a schema). This sounds like something other than zope.conf. Is there a real need for you to touch the configuration. Also as very advanced Zope user I've never had the need to touch this configuration for any reason. So what are your reasons? I need to change the name of the socket. -aj -- John -- John ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] zdsock
--On 4. Dezember 2005 10:47:43 + John Poltorak [EMAIL PROTECTED] wrote: On Sun, Dec 04, 2005 at 11:32:15AM +0100, Andreas Jung wrote: WHY? Because 'zdsock' is not an acceptable name. I pass. OS/2 is ancient and also no longer supported by IBM. -aj pgpLAZaOsAd7N.pgp Description: PGP signature ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )