[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Linux-cluster] luci misc.lock_file problem



Hello Stan,

> Hi G,
>
> Could you give us some more information about environment:
>  - OS and python version
Sorry, should have included that originally.

Linux kernel version 2.6.20.3 (www.kernel.org)
Debian Unstable
Python 2.4.4 (debian install)
stunnel 3.26 on i486-pc-linux-gnu PTHREAD+LIBWRAP with OpenSSL 0.9.8e 23
Feb 2007 (debian install)


> - how was luci installed - directly from cvs tree or rpm (where did you
> get it from)
luci was direct from cvs
cvs -d :pserver:cvs sources redhat com:/cvs/cluster co conga
zope-2.9.7-final and plone-2.5.2-1 (patched with
Plone-2.5.2-1_CMFPlone.patch) are those installed with luci i.e. not
debian install

I could not get luci to start properly using /etc/rc.d/luci
bash -x /etc/rc.d/luci start
gives the following error
+ sed -e 's,\(^accept.*= \)\(.*\),\18084,' /var/lib/luci/etc/stunnel.conf
+ /usr/bin/stunnel -fd 0
2007.04.02 23:04:44 LOG3[20710:3083048640]: Invalid port: 0

(even with modifications to /etc/rc.d/luci to take into account Redhat vs
Debian) so I started it by hand using
stunnel -D 7 -p /var/lib/luci/var/certs/luci.pem -d 8084 -f -l
/var/lib/luci/bin/runzope

luci.pem contains
/var/lib/luci/var/certs/https.key.pem
/var/lib/luci/var/certs/https.pem
The latest version of stunnel requires DH parameters too, which can be
calculated using
dd if=/dev/urandom count=2 | openssl dhparam -rand - 512

stunnel then listens on 8084

using firefox browse to
https://localhost:8084/luci

The running stunnel give the error shown below.

Many thanks,

Spencer
>
>
> I'd like to reproduce this error, and fix it, since I can't stand
> problems of this sort...
>
>
>  - stan
>
>
> G.Marshall wrote:
>
>>I am having a problem with luci, I get the following error
>>
>>2007.04.02 19:45:07 LOG7[20352:3082353584]: Remote FD=9 initialized
>>Traceback (most recent call last):
>>  File "/usr/lib/luci/zope/lib/python/Zope2/Startup/run.py", line 56, in
>> ?
>>  File "/usr/lib/luci/zope/lib/python/Zope2/Startup/run.py", line 21, in
>> run
>>  File "/usr/lib/luci/zope/lib/python/Zope2/Startup/__init__.py", line
>> 95,
>>in prepare
>>  File "/usr/lib/luci/zope/lib/python/Zope2/Startup/__init__.py", line
>>272, in makeLockFile
>>ImportError: No module named misc.lock_file
>>2007.04.02 19:45:11 LOG5[20352:3082353584]: IPC reset (child died)
>>
>>However, it looks like it exists to me....
>>
>>/usr/lib/luci/zope/lib/python/Zope2/Startup/misc/lock_file.py
>>/usr/lib/luci/zope/lib/python/Zope2/Startup/misc/lock_file.pyc
>>
>>Any suggestions would be much appreciated.
>>
>>Many thanks,
>>
>>Spencer
>>
>>--
>>Linux-cluster mailing list
>>Linux-cluster redhat com
>>https://www.redhat.com/mailman/listinfo/linux-cluster
>>
>>
>
> --
> Linux-cluster mailing list
> Linux-cluster redhat com
> https://www.redhat.com/mailman/listinfo/linux-cluster
>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]