Everything is ok but the START SERVER button.

when i press the START SERVER button located in the home page of background.

it gives a Error 500: INTERNAL SERVER ERROR.

and the cherokee-admin prints some error messages,see below:

[r...@powerpc cherokee-0.99.46]# cherokee-admin -u -b -p 88 -x

Web Interface:
  URL:               http://localhost:88/

Cherokee Web Server 0.99.46b (Apr 27 2010): Listening on port ALL:88, TLS
disabled, IPv6 enabled, using epoll, 4096 fds system limit, max. 2041
connections, caching I/O, single thread
DEBUG: SIGUSR1 invokes the console..
       SIGUSR2 prints a backtrace..
Server 0.99.46b running.. PID=29974 Socket=/tmp/cherokee-admin-scgi.socket
sh: /usr/local/cherokee/sbin/cherokee-worker: No such file or directory
Traceback (most recent call last):
  File "/usr/local/cherokee/share/cherokee/admin/CTK/CTK/Server.py",
line 164, i
                 n handle_request
    content = self._do_handle()
  File "/usr/local/cherokee/share/cherokee/admin/CTK/CTK/Server.py",
line 116, i
                 n _do_handle
    ret = published (**published._kwargs)
  File "/usr/local/cherokee/share/cherokee/admin/CTK/CTK/Server.py",
line 302, i
                 n __call__
    return self.__func (*args, **kwargs)
  File "/usr/local/cherokee/share/cherokee/admin/PageIndex.py", line
123, in Lau
                 nch
    error = Cherokee.server.launch()
  File "/usr/local/cherokee/share/cherokee/admin/Cherokee.py", line
131, in laun
                  ch
    preexec_fn=daemonize, close_fds=True)
  File "/usr/lib/python2.4/subprocess.py", line 550, in __init__
    errread, errwrite)
  File "/usr/lib/python2.4/subprocess.py", line 991, in _execute_child
    os.waitpid(self.pid, 0)
OSError: [Errno 10] No child processes

!!!!!! free variable 'desc' referenced before assignment in enclosing scope

it seems to be that the program looks for cherokee-worker in the
directory "prefix/sbin" (/usr/local/cherokee/sbin/).WHY ?

here is my configure string:
  $ ./configure --prefix=/usr/local/cherokee --bindir=/usr/local/bin
--sbindir=/usr/local/sbin --sysconfdir=/etc/sysconfig
--localstatedir=/var --enable-beta --enable-os-string=Aoi_Sora
--enable-trace --enable-backtraces --enable-internal-pcre
--enable-static-module=all --with-mysql=no --with-wwwuser=http
--with-wwwgroup=web

Best regards,
Sharl.Jimh.Tsin



2010/4/27 Sharl.Jimh.Tsin <[email protected]>:
> hi,Alvaro Lopez Ortega:
> Sorry for my later reply.
> I can not install from the source that checked out from the SVN repo.
> you know,the autogen.sh script requires autoconf 2.60 or higher,and
> the autoconf on my centos is version 2.59.
>
> so i download the lastest released version 0.99.46 instead,then install it.
>
> And Yes,the bug against python 2.4 was fixed.
> the cherokee-admin works OK.the new style of background is great too.
>
> Best regards,
> Sharl.Jimh.Tsin
>
>
>
> 2010/4/26 Alvaro Lopez Ortega <[email protected]>:
>> On 26/04/2010, at 13:58, Juan J. Martínez wrote:
>>> El lun, 26-04-2010 a las 19:54 +0800, Sharl.Jimh.Tsin escribió:
>>>> according to Jędrzej Nowak said,i download the lastest SVN r4955.
>>>>
>>>> and compile、install it.
>>>>
>>>> my configure string:
>>>> $ ./configure --prefix=/usr/local/cherokee --bindir=/usr/local/bin
>>>> --sbindir=/usr/local/sbin --sysconfdir=/etc/sysconfig
>>>> --localstatedir=/var --enable-beta --enable-os-string=Aoi_Sola
>>>> --enable-trace --enable-backtraces --enable-internal-pcre
>>>> --enable-static-module=all --with-mysql=no --with-wwwuser=http
>>>> --with-wwwgroup=web
>>>>
>>>> but the error still existed.
>>>
>>> I guess your prefix is wrong, it should be --prefix=/usr/local/.
>>
>> Even if the prefix is uncommon, it should not cause trouble.
>>
>> Sharl, please, update to r4959 and try again. Do not forget to execute 
>> ./autogen.sh before ./configure.
>>
>> --
>> Octality
>> http://www.octality.com/
>>
>>
>
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to