christophe petit
2013-04-18 01:19:11 UTC
Hi,
my server sometimes stops running. I use apache2 in front of zope3 with
rewrite rules. Here's the transcript.log :
Traceback (most recent call last):
File "/var/lib/zope3/instance/www.test.com/bin/runzope", line 48, in ?
run()
File "/var/lib/zope3/instance/www.test.com/bin/runzope", line 44, in run
main(["-C", CONFIG_FILE] + sys.argv[1:])
File "/usr/lib/python2.4/site-packages/zope/app/twisted/main.py", line
73, in main
service = setup(load_options(args))
File "/usr/lib/python2.4/site-packages/zope/app/twisted/main.py", line
152, in setup
service = server.create(db)
File "/usr/lib/python2.4/site-packages/zope/app/twisted/server.py", line
187, in create
backlog=self.backlog,
File "/usr/lib/python2.4/site-packages/zope/app/twisted/server.py", line
108, in create
contextFactory = ssl.DefaultOpenSSLContextFactory(
File "/usr/lib/python2.4/site-packages/twisted/internet/ssl.py", line
78, in __init__
self.cacheContext()
File "/usr/lib/python2.4/site-packages/twisted/internet/ssl.py", line
82, in cacheContext
ctx.use_certificate_file(self.certificateFileName)
OpenSSL.SSL.Error: [('system library', 'fopen', 'Permission denied'),
('BIO routines', 'FILE_CTRL', 'system lib'), ('SSL routines',
'SSL_CTX_use_certificate_file', 'system lib')]
It seems coming from the SSL certificate file with a permission error.
I had no problems until now, anyone could see what's wrong ?
my server sometimes stops running. I use apache2 in front of zope3 with
rewrite rules. Here's the transcript.log :
Traceback (most recent call last):
File "/var/lib/zope3/instance/www.test.com/bin/runzope", line 48, in ?
run()
File "/var/lib/zope3/instance/www.test.com/bin/runzope", line 44, in run
main(["-C", CONFIG_FILE] + sys.argv[1:])
File "/usr/lib/python2.4/site-packages/zope/app/twisted/main.py", line
73, in main
service = setup(load_options(args))
File "/usr/lib/python2.4/site-packages/zope/app/twisted/main.py", line
152, in setup
service = server.create(db)
File "/usr/lib/python2.4/site-packages/zope/app/twisted/server.py", line
187, in create
backlog=self.backlog,
File "/usr/lib/python2.4/site-packages/zope/app/twisted/server.py", line
108, in create
contextFactory = ssl.DefaultOpenSSLContextFactory(
File "/usr/lib/python2.4/site-packages/twisted/internet/ssl.py", line
78, in __init__
self.cacheContext()
File "/usr/lib/python2.4/site-packages/twisted/internet/ssl.py", line
82, in cacheContext
ctx.use_certificate_file(self.certificateFileName)
OpenSSL.SSL.Error: [('system library', 'fopen', 'Permission denied'),
('BIO routines', 'FILE_CTRL', 'system lib'), ('SSL routines',
'SSL_CTX_use_certificate_file', 'system lib')]
It seems coming from the SSL certificate file with a permission error.
I had no problems until now, anyone could see what's wrong ?