[Bese-devel] Re: Help installing UCW

Erick Ivaan Lopez Carreon erick at cibercalli.com
Sat Feb 4 02:24:42 UTC 2006


Hello again:


On Fri, 2006-02-03 at 10:03 +0100, Luca Capello wrote:

> [this is for the CL library/software]
>  $ mkdir /folder/where/you/store/CL/sources
>  $ cd /folder/where/you/store/CL/sources
>  $ grab the CL sources (darcs get [Marco's software], for example)
> 

Thanks, i do that and UCW is working if i use the httpd backend, but not
with apache backend.

> [this is for the Common Lisp Controller, specific to $USER]
>  $ mkdir -p ~/.clc
>  $ mkdir -p ~/.clc/systems
>  $ ln -s /folder/where/you/store/CL/sources/package/package.asd \
>    package.asd
> 

I do that with: 

clc-register-user-package /path/asdf-system-name.asd

> Then, you can just call
> 
>  (asdf:oos 'asdf:load-op 'package)
> 

I use :

(require :package)

It's correct??


> When some CL source files are modified or your Lisp implementation is
> upgraded, the Common Lisp Controller automatically rebuilds/reloads
> what is needed :-)
> 

cool!


> > (require :parenscript) 
> [...]
> > utils.fasl version 61 but require version 62 or something similar.
> 
> As Marco posted yesterday, this means that utils.fasl was compiled
> with a previous SBCL version.
> 

Yes, i delete and reinstall and this error disappear :)


But, i can't get Apache + modlisp backend works :(

apache 1.3.34-2
cl-modlisp 0.6-1
libapache-mod-lisp 2.41-0.1
------------------------------------------------------------
My apache config:

<IfModule mod_lisp.c>

LispServer  127.0.0.1 3001 ucw


<LocationMatch "/ucw/.*\.ucw">
  SetHandler lisp-handler
</LocationMatch>

<LocationMatch "/ucw/admin/">
  SetHandler lisp-handler
</LocationMatch>
</IfModule>
------------------------------------------------------------
My ucwctl:
LISP="`which sbcl`"
EVAL="--eval"
UCWROOT="/home/user/.sbcl/site/ucw"
VARROOT="$UCWROOT/var"
LOGROOT="$UCWROOT/logs"
LOGLEVEL="INFO"
HOST="127.0.0.1"
PORT="3001"
DEBUGGER="T"
INSPECTOR="NIL"
#BACKEND="httpd"
BACKEND="mod-lisp"

------------------------------------------------------------
My start.lisp:
(ucw:create-server :backend ;;:httpd
                          :mod-lisp
                         ;; :araneida
                         ;; :aserve
                   :host "127.0.0.1"
                   :port 3001
------------------------------------------------------------
I start ucw with:
./bin/ucwctl start && ./bin/ucwctl attach

and this happens:
2006-02-03T19:39.28 IT.BESE.ARNESI:+WARN+ IT.BESE.UCW::UCW.BACKEND:
Attempting to publish #P"/home/user/.sbcl/site/ucw/wwwroot/./" at "/"
but mod_lisp backend does not support publish-directory.
2006-02-03T19:39.28 IT.BESE.ARNESI:+WARN+ IT.BESE.UCW::UCW.BACKEND:
Attempting to publish #P"/home/user/.sbcl/site/ucw/wwwroot/./admin/" at
"/admin/" but mod_lisp backend does not support publish-directory.
2006-02-03T19:39.28 IT.BESE.ARNESI:+INFO+ IT.BESE.UCW::UCW-LOGGER:
Starting up standard server #<IT.BESE.UCW:STANDARD-SERVER
IT.BESE.UCW:MULTITHREAD-MOD-LISP-BACKEND 2 {AABC401}>.


------------------------------------------------------------
But when i try to access the url:

http://127.0.0.1:3001/

Nothing happens, the page seems to be loading forever

and when stop the loading i get the following errors:


2006-02-03T19:58.13 IT.BESE.ARNESI:+ERROR+ IT.BESE.UCW::UCW.BACKEND:
Worker thread #<IT.BESE.UCW::HTTPD-WORKER {C1C2C01}> reported
#<END-OF-FILE {C32F2C9}>.
------------------------------------------------------------

I googled for:

UCW apache mod_lisp
and found :
http://people.core.gen.tr/~aycan.irican/web/publish/WebGelistirme.html


Also Read:
ucw_dev/README
ucw_dev/docs/QUICKSTART


And still don't work :(

I'm concerned about:
Attempting to publish #P"/home/user/.sbcl/site/ucw/wwwroot/./" at "/"
but mod_lisp backend does not support publish-directory.

Maybe i need a newer mod_lisp??


I am grateful in advance for any advice on this matter.

Greetings.





More information about the bese-devel mailing list