Zope 2.10, MySQL and Python 2.5

2008-12-19 Thread Kristjan Sander
Dear All,

I am having trouble with using Zope 2.10 together with MySQL. I have
_mysql Python support library for Python 2.5 from some previous port but
Zope came with Python 2.4 and I do not have _mysql support for that. I
guess that there will not be a Zope 2.10 port with Python 2.5 support in
the near future because Zope 2.10 does not support Python 2.5 as they
say at http://www.zope.org/Products/Zope/2.10.7/Zope-2.10.7-released . I
tried to change Python used by Zope in Zope conf to Python 2.5 but it
resulted in dramatic traceback.

Has anybody solved this problem?

Thanks in advance,

Kristjan Sander
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


apache server, zope server cant access through webbrowser

2007-04-20 Thread dhaneshk k


HI all,

  I installed FreeBSD6.0 server in my  Intel P4 machine , and I installed 
apache-2.2 webserver through /usr/ports and when I tried to


start  my webserver  by /usr/local/sbin/apachectl   command ,
But when I pointing the url http://localhost in my mozillafirefox(Gnome2.18 
configured in this machine ) I am getting an error   refused the connection 
 The server may be busy Or may have a network connection problem   in mY 
browser window , but using this browser I can able to access all internet 
sites and search engines .



Second thing , I installed Zope29via /usr/ports/www/zope  and made all 
the instance dir and configuration for zope ,


 but here also same problem  when I started my zope instance by using the   
  ZopeInstance/bin/zopectl


start command the process is starting   ,
but when I point the URl
 http://localhost:8080

same error (refused the connection  The server may be busy Or may have a 
network connection problem   in My browser window )


I tried http://127.0.0.1:8080   same error

then tried http://192.168.31.25:8080 (same errorhere this is the ip of 
my machine )



At lastI  triedtelnet 127.0.0.1 8080 its not connecting

 but  the smtp port  i tried (telnet 127.0.0.1 25 ) its connecting


Can anybody help me to sove this issue please.

Thanks in Advance
dhanesh

_
Spice up your IM conversations. New, colorful and animated emoticons. Get 
chatting! http://server1.msn.co.in/SP05/emoticons/


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


apache server, zope server cant access through webbrowser

2007-04-20 Thread dhaneshk k


HI all,

  I installed FreeBSD6.0 server in my  Intel P4 machine , and I installed 
apache-2.2 webserver through /usr/ports and when I tried to


start  my webserver  by /usr/local/sbin/apachectl   command ,
But when I pointing the url http://localhost in my mozillafirefox(Gnome2.18 
configured in this machine ) I am getting an error   refused the connection 
 The server may be busy Or may have a network connection problem   in mY 
browser window , but using this browser I can able to access all internet 
sites and search engines .



Second thing , I installed Zope29via /usr/ports/www/zope  and made all 
the instance dir and configuration for zope ,


 but here also same problem  when I started my zope instance by using the   
  ZopeInstance/bin/zopectl


start command the process is starting   ,
but when I point the URl
 http://localhost:8080

same error (refused the connection  The server may be busy Or may have a 
network connection problem   in My browser window )


I tried http://127.0.0.1:8080   same error

then tried http://192.168.31.25:8080 (same errorhere this is the ip of 
my machine )



At lastI  triedtelnet 127.0.0.1 8080 its not connecting

 but  the smtp port  i tried (telnet 127.0.0.1 25 ) its connecting


Can anybody help me to sove this issue please.

Thanks in Advance
dhanesh

_
Sign in and get updated on all the action from Formula One 
http://content.msn.co.in/Sports/FormulaOne/Default


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


apache server, zope server cant access through webbrowser

2007-04-20 Thread dhaneshk k


HI all,

  I installed FreeBSD6.0 server in my  Intel P4 machine , and I installed 
apache-2.2 webserver through /usr/ports and when I tried to


start  my webserver  by /usr/local/sbin/apachectl   command ,
But when I pointing the url http://localhost in my mozillafirefox(Gnome2.18 
configured in this machine ) I am getting an error   refused the connection 
 The server may be busy Or may have a network connection problem   in mY 
browser window , but using this browser I can able to access all internet 
sites and search engines .



Second thing , I installed Zope29via /usr/ports/www/zope  and made all 
the instance dir and configuration for zope ,


 but here also same problem  when I started my zope instance by using the   
  ZopeInstance/bin/zopectl


start command the process is starting   ,
but when I point the URl
 http://localhost:8080

same error (refused the connection  The server may be busy Or may have a 
network connection problem   in My browser window )


I tried http://127.0.0.1:8080   same error

then tried http://192.168.31.25:8080 (same errorhere this is the ip of 
my machine )



At lastI  triedtelnet 127.0.0.1 8080 its not connecting

 but  the smtp port  i tried (telnet 127.0.0.1 25 ) its connecting


Can anybody help me to sove this issue please.

Thanks in Advance
dhanesh

_
Free  easy posting . Yello Classifieds. 
http://www.yello.in/home.php?utm_source=hotmailtagutm_medium=textlinkutm_content=inutm_campaign=april


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: apache server, zope server cant access through webbrowser

2007-04-20 Thread Beech Rintoul
On Thursday 19 April 2007, dhaneshk k said:
 HI all,

I installed FreeBSD6.0 server in my  Intel P4 machine , and I
 installed apache-2.2 webserver through /usr/ports and when I tried
 to

 start  my webserver  by /usr/local/sbin/apachectl   command ,
 But when I pointing the url http://localhost in my
 mozillafirefox(Gnome2.18 configured in this machine ) I am getting
 an error   refused the connection The server may be busy Or may
 have a network connection problem   in mY browser window , but
 using this browser I can able to access all internet sites and
 search engines .

Check /var/log/httpd-error.log for errors. Your webserver may not be 
started. Also check ps waux | grep httpd to see if you have any httpd 
processes running. 

Even minor config file errors will keep apache from starting.

Beech


 Second thing , I installed Zope29via /usr/ports/www/zope  and
 made all the instance dir and configuration for zope ,

   but here also same problem  when I started my zope instance by
 using the ZopeInstance/bin/zopectl

 start command the process is starting   ,
 but when I point the URl
   http://localhost:8080

 same error (refused the connection  The server may be busy Or may
 have a network connection problem   in My browser window )

 I tried http://127.0.0.1:8080   same error

 then tried http://192.168.31.25:8080 (same errorhere this is
 the ip of my machine )


 At lastI  triedtelnet 127.0.0.1 8080 its not connecting

   but  the smtp port  i tried (telnet 127.0.0.1 25 ) its connecting


 Can anybody help me to sove this issue please.

 Thanks in Advance
 dhanesh

 _
 Spice up your IM conversations. New, colorful and animated
 emoticons. Get chatting! http://server1.msn.co.in/SP05/emoticons/

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]



-- 
---
Beech Rintoul - Port Maintainer - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
\ / - NO HTML/RTF in e-mail   | http://www.freebsd.org
 X  - NO Word docs in e-mail | Latest Release:
/ \  - http://www.freebsd.org/releases/6.2R/announce.html
---



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: apache server, zope server cant access through webbrowser

2007-04-20 Thread Luke Jee

/usr/local/etc/rc.d/apache22 rcvar
be sure, apache22_enable=YES
if not,
echo apache22_enable=\YES\  /etc/rc.conf.local

then
apachectl start

run
sockstat -4l | grep ':80'
check http 80 port is listenning

Luke Jee


On Apr 20, 2007, at 3:08 PM, Beech Rintoul wrote:


On Thursday 19 April 2007, dhaneshk k said:

HI all,

   I installed FreeBSD6.0 server in my  Intel P4 machine , and I
installed apache-2.2 webserver through /usr/ports and when I tried
to

start  my webserver  by /usr/local/sbin/apachectl   command ,
But when I pointing the url http://localhost in my
mozillafirefox(Gnome2.18 configured in this machine ) I am getting
an error   refused the connection The server may be busy Or may
have a network connection problem   in mY browser window , but
using this browser I can able to access all internet sites and
search engines .


Check /var/log/httpd-error.log for errors. Your webserver may not be
started. Also check ps waux | grep httpd to see if you have any httpd
processes running.

Even minor config file errors will keep apache from starting.

Beech



Second thing , I installed Zope29via /usr/ports/www/zope  and
made all the instance dir and configuration for zope ,

  but here also same problem  when I started my zope instance by
using the ZopeInstance/bin/zopectl

start command the process is starting   ,
but when I point the URl
  http://localhost:8080

same error (refused the connection  The server may be busy Or may
have a network connection problem   in My browser window )

I tried http://127.0.0.1:8080   same error

then tried http://192.168.31.25:8080 (same errorhere this is
the ip of my machine )


At lastI  triedtelnet 127.0.0.1 8080 its not connecting

  but  the smtp port  i tried (telnet 127.0.0.1 25 ) its connecting


Can anybody help me to sove this issue please.

Thanks in Advance
dhanesh

_
Spice up your IM conversations. New, colorful and animated
emoticons. Get chatting! http://server1.msn.co.in/SP05/emoticons/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]




--  
-- 
-

Beech Rintoul - Port Maintainer - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
\ / - NO HTML/RTF in e-mail   | http://www.freebsd.org
 X  - NO Word docs in e-mail | Latest Release:
/ \  - http://www.freebsd.org/releases/6.2R/announce.html
-- 
-




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions- 
[EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: apache server, zope server cant access through webbrowser

2007-04-20 Thread Marc Rocque

Dhanesh,

You also may want to run nmap against your localhost to see that port
80 is serving.  Also start a tcpdump session to get a handle on how
packets are flowing for your port 80, 8080 requests.

Marc

On 4/20/07, Luke Jee [EMAIL PROTECTED] wrote:

/usr/local/etc/rc.d/apache22 rcvar
be sure, apache22_enable=YES
if not,
echo apache22_enable=\YES\  /etc/rc.conf.local

then
apachectl start

run
sockstat -4l | grep ':80'
check http 80 port is listenning

Luke Jee


On Apr 20, 2007, at 3:08 PM, Beech Rintoul wrote:

 On Thursday 19 April 2007, dhaneshk k said:
 HI all,

I installed FreeBSD6.0 server in my  Intel P4 machine , and I
 installed apache-2.2 webserver through /usr/ports and when I tried
 to

 start  my webserver  by /usr/local/sbin/apachectl   command ,
 But when I pointing the url http://localhost in my
 mozillafirefox(Gnome2.18 configured in this machine ) I am getting
 an error   refused the connection The server may be busy Or may
 have a network connection problem   in mY browser window , but
 using this browser I can able to access all internet sites and
 search engines .

 Check /var/log/httpd-error.log for errors. Your webserver may not be
 started. Also check ps waux | grep httpd to see if you have any httpd
 processes running.

 Even minor config file errors will keep apache from starting.

 Beech


 Second thing , I installed Zope29via /usr/ports/www/zope  and
 made all the instance dir and configuration for zope ,

   but here also same problem  when I started my zope instance by
 using the ZopeInstance/bin/zopectl

 start command the process is starting   ,
 but when I point the URl
   http://localhost:8080

 same error (refused the connection  The server may be busy Or may
 have a network connection problem   in My browser window )

 I tried http://127.0.0.1:8080   same error

 then tried http://192.168.31.25:8080 (same errorhere this is
 the ip of my machine )


 At lastI  triedtelnet 127.0.0.1 8080 its not connecting

   but  the smtp port  i tried (telnet 127.0.0.1 25 ) its connecting


 Can anybody help me to sove this issue please.

 Thanks in Advance
 dhanesh

 _
 Spice up your IM conversations. New, colorful and animated
 emoticons. Get chatting! http://server1.msn.co.in/SP05/emoticons/

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]



 --
 --
 -
 Beech Rintoul - Port Maintainer - [EMAIL PROTECTED]
 /\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
 \ / - NO HTML/RTF in e-mail   | http://www.freebsd.org
  X  - NO Word docs in e-mail | Latest Release:
 / \  - http://www.freebsd.org/releases/6.2R/announce.html
 --
 -



 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-
 [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: python 2.4.4, 1 vs 2.4.3, 1 - zope trouble - python version downgrade

2007-03-03 Thread Kirk Strauser
On Thursday 01 March 2007 08:54, Le Cocq Michel wrote:

   File /usr/local/www/Zope29/lib/python/zope/app/component/adapter.py,
 line 28, in ?
 class LocalSurrogate(zope.interface.adapter.Surrogate):
 AttributeError: 'module' object has no attribute 'Surrogate'
 rapace#

See if you have the py24-zopeInterface package installed.  It puts files 
with the same name as Zope modules in /usr/local/lib/python, and the real 
Zope imports those instead of its own modules.  I removed that package and my 
Zope instances immediately started working again.

BTW, if anyone can tell me a good reason why the Zope port does chmod 444 to 
all installed files, including the ones that *have* to be writable in log 
and var, I'd appreciate it.  I've been too lazy to file a bug so far, but 
every time I upgrade Zope I have to remember to reset those permissions.
-- 
Kirk Strauser


pgpURNL4plUxj.pgp
Description: PGP signature


python 2.4.4, 1 vs 2.4.3, 1 - zope trouble - python version downgrade

2007-03-01 Thread Le Cocq Michel
Yesterday I try to install a python module after a 'portsnap fetch
update', during the install python upgrade from version  2.4.3,1 to 2.4.4,1.

python-2.4.3,1   The meta-port for the stable version of Python interprete
vs
python-2.4.4,1   [...]

since these upgrade my zope (zope29-2.9.6) won't start anymore !

How can I come back to version python-2.4.3,1 ?

Michel

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: python 2.4.4, 1 vs 2.4.3, 1 - zope trouble - python version downgrade

2007-03-01 Thread Dan Busarow


On Thursday, March 1, 2007, at 04:15  AM, Le Cocq Michel wrote:


Yesterday I try to install a python module after a 'portsnap fetch
update', during the install python upgrade from version  2.4.3,1 to 
2.4.4,1.


python-2.4.3,1   The meta-port for the stable version of Python 
interprete

vs
python-2.4.4,1   [...]

since these upgrade my zope (zope29-2.9.6) won't start anymore !

How can I come back to version python-2.4.3,1 ?


Zope 2.9.6 runs just fine with python 2.4.4.  From my Control Panel

Zope Version (Zope 2.9.6-final, python 2.4.4, freebsd5)
Python Version 2.4.4 (#2, Feb 1 2007, 14:50:23) [GCC 3.4.2 [FreeBSD] 
20040728]

System Platform freebsd5

What is the error you see if you run bin/runzope manually?

Dan

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: python 2.4.4, 1 vs 2.4.3, 1 - zope trouble - python version downgrade

2007-03-01 Thread Le Cocq Michel
I just test on an other system after making a new instance et getting my
var and products folder, so it does not come from my zope instance, but
apparently my other system is unstable... sick...

for ex, when i launch zopctl:

rapace# ./zopectl
Traceback (most recent call last):
  File /usr/local/www/Zope29/lib/python/Zope2/Startup/zopectl.py, line
322, in ?
main()
  File /usr/local/www/Zope29/lib/python/Zope2/Startup/zopectl.py, line
280, in main
options.realize(args)
  File /usr/local/www/Zope29/lib/python/Zope2/Startup/zopectl.py, line
91, in realize
ZDOptions.realize(self, *args, **kw)
  File /usr/local/www/Zope29/lib/python/zdaemon/zdoptions.py, line
273, in realize
self.load_schema()
  File /usr/local/www/Zope29/lib/python/zdaemon/zdoptions.py, line
321, in load_schema
self.schema = ZConfig.loadSchema(self.schemafile)
  File /usr/local/www/Zope29/lib/python/ZConfig/loader.py, line 31, in
loadSchema
return SchemaLoader().loadURL(url)
  File /usr/local/www/Zope29/lib/python/ZConfig/loader.py, line 65, in
loadURL
return self.loadResource(r)
  File /usr/local/www/Zope29/lib/python/ZConfig/loader.py, line 159,
in loadResource
schema = ZConfig.schema.parseResource(resource, self)
  File /usr/local/www/Zope29/lib/python/ZConfig/schema.py, line 27, in
parseResource
xml.sax.parse(resource.file, parser)
  File /usr/local/lib/python2.4/xml/sax/__init__.py, line 33, in parse
parser.parse(source)
  File /usr/local/lib/python2.4/xml/sax/expatreader.py, line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
  File /usr/local/lib/python2.4/xml/sax/xmlreader.py, line 123, in parse
self.feed(buffer)
  File /usr/local/lib/python2.4/xml/sax/expatreader.py, line 207, in feed
self._parser.Parse(data, isFinal)
  File /usr/local/lib/python2.4/xml/sax/expatreader.py, line 300, in
start_element
self._cont_handler.startElement(name, AttributesImpl(attrs))
  File /usr/local/www/Zope29/lib/python/ZConfig/schema.py, line 99, in
startElement
getattr(self, start_ + name)(attrs)
  File /usr/local/www/Zope29/lib/python/ZConfig/schema.py, line 475,
in start_schema
keytype, valuetype, datatype = self.get_sect_typeinfo(attrs)
  File /usr/local/www/Zope29/lib/python/ZConfig/schema.py, line 201,
in get_sect_typeinfo
datatype = self.get_datatype(attrs, datatype, null, base)
  File /usr/local/www/Zope29/lib/python/ZConfig/schema.py, line 194,
in get_datatype
return self._registry.get(dtname)
  File /usr/local/www/Zope29/lib/python/ZConfig/datatypes.py, line
398, in get
t = self.search(name)
  File /usr/local/www/Zope29/lib/python/ZConfig/datatypes.py, line
423, in search
package = __import__(n, g, g, component)
  File /usr/local/www/Zope29/lib/python/Zope2/Startup/datatypes.py,
line 21, in ?
import OFS.Uninstalled
  File /usr/local/www/Zope29/lib/python/OFS/Uninstalled.py, line 20, in ?
import SimpleItem, Globals, Acquisition
  File /usr/local/www/Zope29/lib/python/OFS/SimpleItem.py, line 26, in ?
import AccessControl.Role, AccessControl.Owned, App.Common
  File /usr/local/www/Zope29/lib/python/AccessControl/__init__.py,
line 17, in ?
from Implementation import setImplementation
  File
/usr/local/www/Zope29/lib/python/AccessControl/Implementation.py, line
98, in ?
setImplementation(C)
  File
/usr/local/www/Zope29/lib/python/AccessControl/Implementation.py, line
51, in setImplementation
from AccessControl import ImplC as impl
  File /usr/local/www/Zope29/lib/python/AccessControl/ImplC.py, line
18, in ?
from cAccessControl import rolesForPermissionOn, \
  File
/usr/local/www/Zope29/lib/python/AccessControl/SimpleObjectPolicies.py,
line 82, in ?
from DocumentTemplate.DT_Util import TemplateDict
  File /usr/local/www/Zope29/lib/python/DocumentTemplate/__init__.py,
line 21, in ?
from DocumentTemplate import String, File, HTML, HTMLDefault, HTMLFile
  File
/usr/local/www/Zope29/lib/python/DocumentTemplate/DocumentTemplate.py,
line 112, in ?
from DT_String import String, File
  File /usr/local/www/Zope29/lib/python/DocumentTemplate/DT_String.py,
line 19, in ?
from DT_Util import ParseError, InstanceDict, TemplateDict,
render_blocks, str
  File /usr/local/www/Zope29/lib/python/DocumentTemplate/DT_Util.py,
line 67, in ?
from ZPublisher.TaintedString import TaintedString
  File /usr/local/www/Zope29/lib/python/ZPublisher/__init__.py, line
24, in ?
from Publish import publish_module, Retry
  File /usr/local/www/Zope29/lib/python/ZPublisher/Publish.py, line
24, in ?
from zope.app.publication.browser import setDefaultSkin
  File
/usr/local/www/Zope29/lib/python/zope/app/publication/browser.py, line
33, in ?
from zope.app.publication.http import BaseHTTPPublication
  File /usr/local/www/Zope29/lib/python/zope/app/publication/http.py,
line 27, in ?
from zope.app.publication.zopepublication import ZopePublication
  File
/usr/local/www/Zope29/lib/python/zope/app/publication/zopepublication.py,
line 46

Re: python 2.4.4, 1 vs 2.4.3, 1 - zope trouble - python version downgrade

2007-03-01 Thread Dan Busarow


On Mar 1, 2007, at 7:54 AM, Le Cocq Michel wrote:

I just test on an other system after making a new instance et  
getting my
var and products folder, so it does not come from my zope instance,  
but

apparently my other system is unstable... sick...

for ex, when i launch zopctl:

rapace# ./zopectl
Traceback (most recent call last):
  File /usr/local/www/Zope29/lib/python/Zope2/Startup/zopectl.py,  
line

322, in ?



[snip]



line 25, in ?
from zope.app.component.site import SiteManagementFolder
  File /usr/local/www/Zope29/lib/python/zope/app/component/site.py,
line 35, in ?
from zope.app.component import adapter
  File /usr/local/www/Zope29/lib/python/zope/app/component/ 
adapter.py,

line 28, in ?
class LocalSurrogate(zope.interface.adapter.Surrogate):
AttributeError: 'module' object has no attribute 'Surrogate'


No idea why you get something like that.  I'd try a fresh install.   
If you still have a problem hit the zope list and see if they can  
give you some guidance.


It's not the mix of python 2.4.4 and zope 2.9.6 in FreeBsd though.

Dan



Dan Busarow a écrit :


On Thursday, March 1, 2007, at 04:15  AM, Le Cocq Michel wrote:


Yesterday I try to install a python module after a 'portsnap fetch
update', during the install python upgrade from version  2.4.3,1 to
2.4.4,1.

python-2.4.3,1   The meta-port for the stable version of Python
interprete
vs
python-2.4.4,1   [...]

since these upgrade my zope (zope29-2.9.6) won't start anymore !

How can I come back to version python-2.4.3,1 ?


Zope 2.9.6 runs just fine with python 2.4.4.  From my Control Panel

Zope Version (Zope 2.9.6-final, python 2.4.4, freebsd5)
Python Version 2.4.4 (#2, Feb 1 2007, 14:50:23) [GCC 3.4.2 [FreeBSD]
20040728]
System Platform freebsd5

What is the error you see if you run bin/runzope manually?

Dan

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem w/ Zope Port

2006-11-30 Thread Rachel Florentine
- Original Message 
From: HAYASHI Yasushi [EMAIL PROTECTED]

 Hi, maintainer comes here.

 Do NOT make clean before make instance, please.

make install instance clean?
...or...
make install
make instance
make clean?

Also, where do I specify where I want the instance? I saw no opportunity to do 
that, just username and password.

 By the way, what kind of document will be necessary?

After make install stuff prints to screen advising one what to do next. That 
would be a good place, I think ;)
TIA,
Rachel







Check out the all-new Yahoo! Mail beta - Fire up a more powerful email and get 
things done faster.





 

Want to start your own business?
Learn how on Yahoo! Small Business.
http://smallbusiness.yahoo.com/r-index
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


XML transformation and processing with Zope -- or something better suggestions welcome

2006-08-25 Thread backyard
I have a client who wishes to automate their order
processing system for their online business. presently
they download reports from their business frontend and
upload them manually to their shipper.

Both systems can use XML and a precursory look at the
document tags suggests a simple XSLT transform should
be able to translate the tags fairly simply.

I was thinking of using Zope to setup a server that
will get the orders from the website, transform them,
and then upload them to the shipper. I built Zope3
last night and went to bed...

In the morning I tried to build the zope-xml*
pluggins. However they start building python 2.3.5-1,
despite python 2.4.x that was built for zope3. I'm
fairly certain I can't have more then one version of
python but maybe I'm mistaken. I didn't want to deal
with it when I woke up so I stopped the builds.

Just wondering if anyone has any familiarity with
Zope, its pitfalls and merits, or if there is an
easier way to do what I described above. My client
doesn't care about keeping a local copy of the orders
but I want to for error control and checking purposes.
I was going to use xmlcatmgr for this purpose. I would
setup two catalogs one for raw and processed orders.
At this point I care more about keeping each order
processing unit if you will in its own little
compartment, perhaps a simple db by date would be more
in order with XML as the content.

any kind of pointers would be appreciated as this is
my first real task building a system that does
something real...

-brian



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Zope 2.8.6 does not work any more

2006-05-03 Thread Olivier Nicole
Hi,

I just upgraded from zope port 2.8.4 to 2.8.6. Since then I cannot
access my zope sites anymore.

After few seconds Zope28 will die and I get the error messages:

[Wed May  3 13:21:27 2006] [error] [client 192.41.170.57] (61)Connection 
refused: FastCGI: failed to connect to server /web/csim/htdocs/zope28: 
connect() failed
[Wed May  3 13:21:27 2006] [error] [client 192.41.170.57] FastCGI: incomplete 
headers (0 bytes) received from server /web/csim/htdocs/zope28

That zope thing is certainly build around obscurity so I don't know
where to look at the problem. Any help would be highly appreciated.

TIA,

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: zope-3.2.0 and plone trouble

2006-03-30 Thread Gerhard Schmidt
On Thu, Mar 23, 2006 at 09:34:28AM +0100, Michel Le Cocq wrote:
 Hi, I just install zope-3.2.0 and made it working just well.
 
 Now I wanted to run plone on it so i go to /usr/portswww/plone and type 
 make install, and there, it install zope-2.7.8_1 and also python-2.3.5_1 
 (i already had python-2.4.2).  My ports list is up to date.
 
 I can't make plone working in zope 3.2 but it work under zope 2.7

Zope 2 and Zope3 are two different Products. Zope3 is a complete new 
implemantation and is not backwars compartible with Zope2 software. 
Actual Plone runes an Zope up to 2.9 (I Think. I have tested it on Zope 
2.8.2) 

Bye
Estartu


Gerhard Schmidt| Nick : estartu  IRC : Estartu  |
Fischbachweg 3 ||  PGP Public Key
86856 Hiltenfingen | EMail: [EMAIL PROTECTED]  |  on request 
Germany||  



pgpFYYiIEK8Kj.pgp
Description: PGP signature


zope-3.2.0 and plone trouble

2006-03-23 Thread Michel Le Cocq

Hi, I just install zope-3.2.0 and made it working just well.

Now I wanted to run plone on it so i go to /usr/portswww/plone and type 
make install, and there, it install zope-2.7.8_1 and also python-2.3.5_1 
(i already had python-2.4.2).  My ports list is up to date.


I can't make plone working in zope 3.2 but it work under zope 2.7

Does someone run plone under zope 3.2

--
Michel Le Cocq
Administrateur Reseau Laga-Lipn

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Effective user issue with zope

2005-03-19 Thread Madhusudan Singh
Hi

 I am setting up zope-2.7.5-final on a server (FreeBSD 5.3-RELEASE).
Installed python-2.3.5 from sources (not ports). After configuring and
compiling it correctly, I got an initial error on running runzope.
Following the exhortation I found on the following webpage :

http://mail.zope.org/pipermail/zope/2004-May/149695.html

 I created a new user (zopeuser), added it to group users, and tried to run
runzope as that user. I also changed the effective_user to zopeuser in
zope.conf. However, I now get the error :

 Traceback (most recent call last):
  File /usr/local/zope/lib/python/Zope/Startup/run.py, line 50, in ?
run()
  File /usr/local/zope/lib/python/Zope/Startup/run.py, line 19, in run
start_zope(opts.configroot)
  File /usr/local/zope/lib/python/Zope/Startup/__init__.py, line 52, in
start_zope
starter.startZope()
  File /usr/local/zope/lib/python/Zope/Startup/__init__.py, line 231, in
startZope
Zope.startup()
  File /usr/local/zope/lib/python/Zope/__init__.py, line 47, in startup
_startup()
  File /usr/local/zope/lib/python/Zope/App/startup.py, line 57, in startup
DB = configuration.dbtab.getDatabase('/', is_root=1)
  File /usr/local/zope/lib/python/DBTab/DBTab.py, line 96, in getDatabase
db = self._createDatabase(name, is_root)
  File /usr/local/zope/lib/python/DBTab/DBTab.py, line 113, in
_createDatabase
db = factory.open()
  File /usr/local/zope/lib/python/Zope/Startup/datatypes.py, line 172, in
open
DB = self.createDB()
  File /usr/local/zope/lib/python/Zope/Startup/datatypes.py, line 169, in
createDB
return ZODBDatabase.open(self)
  File /usr/local/zope/lib/python/ZODB/config.py, line 97, in open
return ZODB.DB(section.storage.open(),
  File /usr/local/zope/lib/python/ZODB/config.py, line 128, in open
quota=self.config.quota)
  File /usr/local/zope/lib/python/ZODB/FileStorage.py, line 227, in
__init__
self._lock_file = LockFile(file_name + '.lock')
  File /usr/local/zope/lib/python/ZODB/lock_file.py, line 60, in __init__
self._fp = open(path, 'w+')
IOError: [Errno 13] Permission denied:
'/usr/local/zope/instance/var/Data.fs.lock'

 I understand partially why this error is occuring - zopeuser does not have
write permissions in the instance directory. I wonder how is this issue
resolved - does one change the group ownership of the entire zope tree to a
new group (say zopeusers) and add zopeuser to that group, or what ?

Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Assistance with installing un-ported zope Products

2005-02-19 Thread Wayne Sierke
Is there anyone who might be able to offer assistance with the
installation of troublesome zope Products on a FreeBSD system? I've been
struggling with trying to get the CMFFeed Product installed and can't
get past the getnewsctl script failing. I'm guessing that other unported
zope Products might well have similar resistance to FreeBSD
assimilation.


Thanks,

Wayne


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Zope doesn't start on -STABLE

2004-12-05 Thread Peter Ulrich Kruppa
Hi,
zope-2.7.3 on
FreeBSD pukruppa.net 5.3-STABLE FreeBSD 5.3-STABLE #0: Fri Nov 26 17:44:37 CET 
2004 i386
doesn't start anymore. Doing
# /usr/local/etc/rc.d/zope.sh start
I receive
Starting Zope
   Instance /usr/local/zope - /usr/local/lib/python2.4/whrandom.py:38: 
DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
. daemon process started, pid=14050
and connection will be refused. I also did a 
# portupgrade -rf python
as suggested in /usr/ports/UPDATING 20041202 .

Any more ideas?
Thanks,
Uli.

+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: installing zope

2004-11-13 Thread Lee Harr
I have installed and run zope in the past with no errors. Now, with
2.7 in the ports zope installs fine but there seems to be a number of
shell variables that must be set, and it seems like there is something
missing.
[...]
Yes, it is quite a bit different now... and prepare yourself for
possible issues moving your old data to the new site also.
You need to create an instance first, using
/usr/local/www/Zope/mkzopeinstance.py
Each instance can have separate data, products,
configuration, etc.
zopectl will be created inside of the instance by that script.
Then you want to add to rc.conf:
zope_enable=YES
zope_instances=/usr/local/www/Zope/myfooinst/
I also had an issue of being locked out when I first brought
the new instance up.  If that happens to you, run zopectl and use
the adduser option -- just make sure that the instance is
not running at the time, as that will not work.
_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.com/

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


installing zope

2004-11-12 Thread David Banning
I have installed and run zope in the past with no errors. Now, with 
2.7 in the ports zope installs fine but there seems to be a number of 
shell variables that must be set, and it seems like there is something
missing. For instance, the zope.sh.sample that is supplied with zope
checks to see;

if [ -r ${instance}/etc/${name}.conf -a -x ${instance}/bin/zopectl ]; then
echo -nInstance ${instance} - 
${instance}/bin/zopectl $1
fi

but as far as I can see there is -no- zopectl anywhere in my box;

# locate zopectl
/usr/local/www/Zope/lib/python/Zope/Startup/zopectl.py
/usr/local/www/Zope/lib/python/Zope/Startup/zopectl.pyc
/usr/local/www/Zope/skel/bin/zopectl.in

I don't see any install notes in the ports directory either.

I have scanned google and looked on the Zope site.

Any pointers would be helpful.

-- 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: howto setup zope.sh (zope-2.7) ?

2004-06-06 Thread Khairil Yusof
On Sat, 2004-06-05 at 19:05 +0200, Peter Ulrich Kruppa wrote:

 Could someone help me with this? Perhaps I am messing up the 
 syntax somehow?
 
 My instancehome dir is /usr/local/etc/zope .

zope_enable=YES
zope_instances=/usr/local/etc/zope

Also make sure that you have copied zope.conf.sample to zope.conf and
modified it accordingly to point to your instance directory. If you have
any problems, see the last entry in your event.log in your the log
directory of your Zope instance.





___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


howto setup zope.sh (zope-2.7) ?

2004-06-05 Thread Peter Ulrich Kruppa
Hi!
I am trying to get zope-2.7 running.
So far I get it started manually by
# zopectl start
and can view the management screen in my browser.
Of course this should be done on boot-up via 
/local/etc/rc.d/zope.sh , but I can't work out howto.
As far, as I understand this script, all I have to do is to 
create a file /etc/rc.conf.local containing 2 variables
zope_enable= ...
zope_instance= ...

Could someone help me with this? Perhaps I am messing up the 
syntax somehow?

My instancehome dir is /usr/local/etc/zope .
Thanks,
Uli.
+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ufs2 file system and zope/zeo directorystorage q

2004-05-19 Thread Ken Gunderson
Howdy:

I'd have a Zope/Zeo site that I'd like to set up to use 
DirectoryStorage.  DirectoryStorage author states:


bushy

If you are using a filesystem that is inefficient with directories 
containing larger than a few hundred items. This is optimal for most 
conventional filesystems, such as ext2 on linux. In this format each 
object is given its own directory nested inside 8 levels of 
subdirectory. Each revision of an object has its own file in that 
directory.

chunky

If you are using a filesystem that is most efficient with directories 
containing tens of thousands of subdirectories, or hundreds of 
thousands of files. This is optimal for filesystems such as reiser3 or 
JFS on linux. In this format, one subdirectory is shared by up to 65000 
objects. That subdirectory is nested inside 4 levels of subdirectory.


I am unsure whether UFS2 would best utilize the chunky or busy 
options.  The 64 bit pointers allow for up to 65K subdirs w/in a dir, 
correct?  So the large number of subdirs under chunky format could be 
handled.  Dirhash and dirpref can deal can cope with large numbers of 
files per directory, correct.  But then doesn't UFS2 still use more 
linear model?  

Any insights from the filesystem gurus would be appreciated.  Please 
'cc, as I am not subscribed to questions.

TIA--

-- 
Best regards,

Ken Gunderson
GPG Key-- 9F5179FD

Freedom begins between the ears.  -- Edward Abbey
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Zope

2004-03-19 Thread Chad Gross

I ran ./start -u root and that is the only way it
works. If I use any other user it gives permission
denied errors in the browser (when accessing on port
8080 and 8080/manage) or the following output on the
command line (when accessing the normal website on
port 80 which apache is rewriting for):

--
2004-03-19T15:11:37 ERROR(200) DirectoryView Error
during prepareContents:
Traceback (innermost last):
  File
/usr/local/www/Zope/lib/python/Products/CMFCore/DirectoryView.py,
line 198, in getContents
  File
/usr/local/www/Zope/lib/python/Products/CMFCore/DirectoryView.py,
line 215, in prepareContents
  File
/usr/local/www/Zope/lib/python/Products/CMFCore/DirectoryView.py,
line 47, in _filtered_listdir
OSError: [Errno 2] No such file or directory:
'/usr/local/www/Zope/lib/python/lib/python/Products/CMFDefault/skins/Images'
--
2004-03-19T15:11:37 ERROR(200) DirectoryView Error
during prepareContents:
Traceback (innermost last):
  File
/usr/local/www/Zope/lib/python/Products/CMFCore/DirectoryView.py,
line 198, in getContents
  File
/usr/local/www/Zope/lib/python/Products/CMFCore/DirectoryView.py,
line 215, in prepareContents
  File
/usr/local/www/Zope/lib/python/Products/CMFCore/DirectoryView.py,
line 47, in _filtered_listdir
OSError: [Errno 2] No such file or directory:
'/usr/local/www/Zope/lib/python/lib/python/Products/CMFDefault/skins/control'
--
2004-03-19T15:11:37 ERROR(200) DirectoryView Error
during prepareContents:
Traceback (innermost last):
  File
/usr/local/www/Zope/lib/python/Products/CMFCore/DirectoryView.py,
line 198, in getContents
  File
/usr/local/www/Zope/lib/python/Products/CMFCore/DirectoryView.py,
line 215, in prepareContents
  File
/usr/local/www/Zope/lib/python/Products/CMFCore/DirectoryView.py,
line 47, in _filtered_listdir
OSError: [Errno 2] No such file or directory:
'/usr/local/www/Zope/lib/python/lib/python/Products/CMFDefault/skins/generic'
--
2004-03-19T15:11:37 ERROR(200) DirectoryView Error
during prepareContents:
Traceback (innermost last):
  File
/usr/local/www/Zope/lib/python/Products/CMFCore/DirectoryView.py,
line 198, in getContents
  File
/usr/local/www/Zope/lib/python/Products/CMFCore/DirectoryView.py,
line 215, in prepareContents
  File
/usr/local/www/Zope/lib/python/Products/CMFCore/DirectoryView.py,
line 47, in _filtered_listdir
OSError: [Errno 2] No such file or directory:
'/usr/local/www/Zope/lib/python/lib/python/Products/CMFDefault/skins/content'
--
2004-03-19T15:11:37 ERROR(200) DirectoryView Error
during prepareContents:
Traceback (innermost last):
  File
/usr/local/www/Zope/lib/python/Products/CMFCore/DirectoryView.py,
line 198, in getContents
  File
/usr/local/www/Zope/lib/python/Products/CMFCore/DirectoryView.py,
line 215, in prepareContents
  File
/usr/local/www/Zope/lib/python/Products/CMFCore/DirectoryView.py,
line 47, in _filtered_listdir
OSError: [Errno 2] No such file or directory:
'/usr/local/www/Zope/lib/python/lib/python/Products/CMFCalendar/skins/calendar'
--
2004-03-19T15:11:37 ERROR(200) DirectoryView Error
during prepareContents:
Traceback (innermost last):
  File
/usr/local/www/Zope/lib/python/Products/CMFCore/DirectoryView.py,
line 198, in getContents
  File
/usr/local/www/Zope/lib/python/Products/CMFCore/DirectoryView.py,
line 215, in prepareContents
  File
/usr/local/www/Zope/lib/python/Products/CMFCore/DirectoryView.py,
line 47, in _filtered_listdir
OSError: [Errno 2] No such file or directory:
'/usr/local/www/Zope/lib/python/lib/python/Products/CMFTopic/skins/topic'
--
2004-03-19T15:11:37 ERROR(200) DirectoryView Error
during prepareContents:
Traceback (innermost last):
  File
/usr/local/www/Zope/lib/python/Products/CMFCore/DirectoryView.py,
line 198, in getContents
  File
/usr/local/www/Zope/lib/python/Products/CMFCore/DirectoryView.py,
line 215, in prepareContents
  File
/usr/local/www/Zope/lib/python/Products/CMFCore/DirectoryView.py,
line 47, in _filtered_listdir
OSError: [Errno 2] No such file or directory:
'/usr/local/www/Zope/lib/python/lib/python/Products/CMFDefault/skins/zpt_control'
--
2004-03-19T15:11:37 ERROR(200) DirectoryView Error
during prepareContents:
Traceback (innermost last):
  File
/usr/local/www/Zope/lib/python/Products/CMFCore/DirectoryView.py,
line 198, in getContents
  File
/usr/local/www/Zope/lib/python/Products/CMFCore/DirectoryView.py,
line 215, in prepareContents
  File
/usr/local/www/Zope/lib/python/Products/CMFCore/DirectoryView.py,
line 47, in _filtered_listdir
OSError: [Errno 2] No such file or directory:
'/usr/local/www/Zope/lib/python/lib/python/Products/CMFDefault/skins/zpt_generic'
--
2004-03-19T15:11:37 ERROR(200) DirectoryView Error
during prepareContents:
Traceback (innermost last):
  File
/usr/local/www/Zope/lib/python/Products/CMFCore/DirectoryView.py,
line 198, in getContents
  File
/usr/local/www/Zope/lib/python/Products/CMFCore/DirectoryView.py,
line 215, in prepareContents
  File
/usr/local/www/Zope/lib/python/Products/CMFCore/DirectoryView.py,
line 47

Re: Zope

2004-03-18 Thread Khairil Yusof
On Wed, 2004-03-17 at 19:07 -0800, Chad Gross wrote:

 I am perplexed as to what I am doing wrong with Zope
 on FreeBSD 4.9. I have managed to get it to start, but
 when I go to localhost:8080

I can't duplicate this problem on any Zope port installs I've done so
far (FreeBSD-5.x) and you should not have to change permissions of any
of the Zope directories.

Can you give the output of /usr/local/www/Zope/var/zope-output ?

Anybody running Zope (from ports) on 4.9?


signature.asc
Description: This is a digitally signed message part


Re: Zope

2004-03-18 Thread george donnelly
Khairil Yusof [EMAIL PROTECTED] on 3/18/04 wrote:

On Wed, 2004-03-17 at 19:07 -0800, Chad Gross wrote:

 I am perplexed as to what I am doing wrong with Zope
 on FreeBSD 4.9. I have managed to get it to start, but
 when I go to localhost:8080

I can't duplicate this problem on any Zope port installs I've done so
far (FreeBSD-5.x) and you should not have to change permissions of any
of the Zope directories.

Can you give the output of /usr/local/www/Zope/var/zope-output ?

Anybody running Zope (from ports) on 4.9?

not from ports but then I say you should install it from source. its
./configure --prefix=x ; make ; make install. very easy.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Zope

2004-03-18 Thread Chad Gross
Thank you for your assistence, I managed to figure out
what my problem was. It turns out zope must be started
as root. I was starting it as another user which is
what Zope.org suggests to do. I guess I have to change
ownership though for the rest of the files to that
user in order to be able to run it as a different
user. I should be able to figure out the rest of this
Zope beast. Again I appreciate the quick responses.

Thank you,

Chad G. 

--- Khairil Yusof [EMAIL PROTECTED] wrote:
 On Wed, 2004-03-17 at 19:07 -0800, Chad Gross wrote:
 
  I am perplexed as to what I am doing wrong with
 Zope
  on FreeBSD 4.9. I have managed to get it to start,
 but
  when I go to localhost:8080
 
 I can't duplicate this problem on any Zope port
 installs I've done so
 far (FreeBSD-5.x) and you should not have to change
 permissions of any
 of the Zope directories.
 
 Can you give the output of
 /usr/local/www/Zope/var/zope-output ?
 
 Anybody running Zope (from ports) on 4.9?
 

 ATTACHMENT part 2 application/pgp-signature
name=signature.asc



=
Chad Gross
[EMAIL PROTECTED]
Within the mind you can find the meaning to your existance!

__
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Zope

2004-03-18 Thread Khairil Yusof
On Thu, 2004-03-18 at 09:38 -0800, Chad Gross wrote:

 Thank you for your assistence, I managed to figure out
 what my problem was. It turns out zope must be started
 as root. I was starting it as another user which is
 what Zope.org suggests to do.

If you installed it from ports rename the startup script from
zope.sh.sample to zope.sh, and start it
from /usr/local/etc/rc.d/zope.sh. eg.

/usr/local/etc/rc.d/zope.sh start

You can still start it manually from root, just specify the user you
want the daemon to run eg:

./start -u www



signature.asc
Description: This is a digitally signed message part


Zope

2004-03-17 Thread Chad Gross
I am perplexed as to what I am doing wrong with Zope
on FreeBSD 4.9. I have managed to get it to start, but
when I go to localhost:8080 I get the following error:


Zope Error

Zope has encountered an error while publishing this
resource.

Error Type: ImportError
Error Value: No module named DT_Let


And this is only after I changed the permissions to
world readable in the
/usr/local/www/Zope/lib/python/App/dtml folder since I
was getting a permission denied error before. Is this
safe to have everything in there readable? If so why
is it not done by default? 

I installed plone as well thinking that I needed a CMS
installed, but that doesn't help. I know the port
works because I have seen sites running FreeBSD with
Zope (and Plone). If anyone has the anwer to this or
can direct me to some place that can help please email
me back at [EMAIL PROTECTED] since I am not on the
list. 

Thanks in advance,

Chad G.

=
Chad Gross
[EMAIL PROTECTED]
Within the mind you can find the meaning to your existance!

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Zope does not start on boot-up

2003-01-13 Thread Hanspeter Roth
  On Jan 13 at 05:31, P. U. Kruppa spoke:

   File /usr/local/www/Zope/z2.py, line 690, in ?
 IOError: [Errno 13] Permission denied: '/usr/local/www/Zope/var/Z2.pid'


Hi Uli,

maybe zope switches to a specific user which has no write permission
on /usr/local/www/Zope/var ?
Maybe `-u www' tells zope to switch to www?
You might try to change the owner of /usr/local/www/Zope/var to www.

When you start it manually (/usr/local/www/Zope/start) do you use
root or some dedicated user?

-Hanspeter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Zope does not start on boot-up

2003-01-13 Thread P. U. Kruppa
Hi Hanspeter!

On Mon, 13 Jan 2003, Hanspeter Roth wrote:

   On Jan 13 at 05:31, P. U. Kruppa spoke:

File /usr/local/www/Zope/z2.py, line 690, in ?
  IOError: [Errno 13] Permission denied: '/usr/local/www/Zope/var/Z2.pid'


 Hi Uli,

 maybe zope switches to a specific user which has no write permission
 on /usr/local/www/Zope/var ?
 Maybe `-u www' tells zope to switch to www?
 You might try to change the owner of /usr/local/www/Zope/var to www.

 When you start it manually (/usr/local/www/Zope/start) do you use
 root or some dedicated user?
Yeah, that was it.
I changed -R owner and goup of /usr/local/www/Zope/var/ to
www and wheel .
Now I can start and stop it from bootup and manually.

Thanks a lot!

Uli.


 -Hanspeter

 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message


*---*
*Peter Ulrich Kruppa*
*  -  Wuppertal -   *
*  Germany  *
*---*


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Zope does not start on boot-up

2003-01-12 Thread Hanspeter Roth
  On Jan 11 at 21:15, P. U. Kruppa spoke:

 The rc.d-script that came with the port does not do anything -
 neither manually - nor on boot-up (besides echoing  Zope).
[...]
/usr/local/www/Zope/var/zope-output 21 

Does /usr/local/www/Zope/var/zope-output tell you something?

-Hanspeter

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message