[Bese-devel] Re: Help installing UCW
Erick Ivaan Lopez Carreon
erick at cibercalli.com
Thu Feb 2 18:12:19 UTC 2006
Hello:
Thanks to Henrik, Marco and Luca for your answers.
Followup:
Yestarday at night after send my first ucw helpemail, i continue working
on this subject and find the following:
- I install parenscript and ucw in a wrong way mixing both one one
directory:
~/.sbcl/site
Although i install them with:
(asdf-install:install "/tmp/****.tar.gz"
Maybe i don't read the "Install where?" carefully.
Whit this bad setup when i try:
(require :parenscript)
i get:
utils.fasl version 61 but require version 62 or something similar.
I remove parenscript and ucw an reinstall again. bust this time i do:
mkdir ~/.sbcl/site/parenscript
mkdir ~/.sbcl/site/ucw
And copy there. Then symlink to a path within asdf:*central-registry*
And retry :
(require :parenscript) works!
(require :ucw) works!
But...
when i configure ucwctl and start.lsip to use mod_lisp backend i get:
-------------------------------------------------------------------
182: (SB-IMPL::PROCESS-EVAL-OPTIONS ("(defmethod print-object ((c
asdf::missing-component) s)
(format s \"Unable to find the system for
~S.
asdf:*central-registry* is ~S.
Are the symlinks and asdf:*central-registry* properly setup?\"
(asdf::missing-requires c)
asdf:*central-registry*))" "(mapc (lambda (name) (asdf:oos 'asdf:load-op
name)) '(:ucw :ucw.mod-lisp :ucw.admin :ucw.examples))"
"(ucw:start-swank)" "(ucw:create-server :backend :mod-lisp
:host \"127.0.0.1\"
:port 8080
:applications (list
it.bese.ucw-user::*example-application*
ucw::*admin-application*)
:debug-on-error T
:inspect-components NIL
:log-root-directory #P
\"/home/user/.sbcl/site/ucw/logs/\"
:log-level it.bese.arnesi:
+INFO+)"))
183: (SB-IMPL::TOPLEVEL-INIT)
184: ((LABELS SB-IMPL::RESTART-LISP))
debugger invoked on a SIMPLE-ERROR in thread #<THREAD "initial
thread" {A90E371}>: Maximum error nesting depth exceeded
Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.
restarts (invokable by number or by possibly-abbreviated name):
0: [CONTINUE] Ignore and continue with next --eval option.
1: [ABORT ] Skip rest of --eval options.
2: Skip to toplevel READ/EVAL/PRINT loop.
3: [QUIT ] Quit SBCL (calling #'QUIT, killing the process).
((LAMBDA (SB-IMPL::E)) #<SIMPLE-ERROR {C402149}>)
0] 0
-------------------------------------------------------------------
And seems to start but with errors:
-------------------------------------------------------------------
2006-02-02T11:38.41 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-02T11:38.41 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-02T11:38.41 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}>.
*
-------------------------------------------------------------------
An i can't acces the web page examples: http://127.0.0.1:8080/ :(
-------------------------------------------------------------------
2006-02-02T11:42.00 IT.BESE.ARNESI:+ERROR+ IT.BESE.UCW::UCW.BACKEND:
Worker thread #<IT.BESE.UCW::HTTPD-WORKER {C205BD9}> reported
#<END-OF-FILE {C211B39}>.
-------------------------------------------------------------------
But the port 808o is Listening:
-------------------------------------------------------------------
tcp 0 0 127.0.0.1:8080 0.0.0.0:*
LISTEN 5037/sbcl
-------------------------------------------------------------------
So i change the backend for httpd an then:
-------------------------------------------------------------------
182: (SB-IMPL::PROCESS-EVAL-OPTIONS ("(defmethod print-object ((c
asdf::missing-component) s)
(format s \"Unable to find the system for
~S.
asdf:*central-registry* is ~S.
Are the symlinks and asdf:*central-registry* properly setup?\"
(asdf::missing-requires c)
asdf:*central-registry*))" "(mapc (lambda (name) (asdf:oos 'asdf:load-op
name)) '(:ucw :ucw.httpd :ucw.admin :ucw.examples))" "(ucw:start-swank)"
"(ucw:create-server :backend :httpd
:host \"127.0.0.1\"
:port 8080
:applications (list
it.bese.ucw-user::*example-application*
ucw::*admin-application*)
:debug-on-error T
:inspect-components NIL
:log-root-directory #P
\"/home/erick/.sbcl/site/ucw/logs/\"
:log-level it.bese.arnesi:
+INFO+)"))
183: (SB-IMPL::TOPLEVEL-INIT)
184: ((LABELS SB-IMPL::RESTART-LISP))
debugger invoked on a SIMPLE-ERROR in thread #<THREAD "initial
thread" {A90E371}>: Maximum error nesting depth exceeded
Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.
restarts (invokable by number or by possibly-abbreviated name):
0: [CONTINUE] Ignore and continue with next --eval option.
1: [ABORT ] Skip rest of --eval options.
2: Skip to toplevel READ/EVAL/PRINT loop.
3: [QUIT ] Quit SBCL (calling #'QUIT, killing the process).
((LAMBDA (SB-IMPL::E)) #<SIMPLE-ERROR {C3BDFB9}>)
0] 0
-------------------------------------------------------------------
UCW starts! :)
-------------------------------------------------------------------
2006-02-02T12:01.36 IT.BESE.ARNESI:+INFO+ IT.BESE.UCW::UCW-LOGGER:
Starting up standard server #<IT.BESE.UCW:STANDARD-SERVER
IT.BESE.UCW:MULTITHREAD-HTTPD-BACKEND 2 {AA367A1}>.
-------------------------------------------------------------------
An i can view: http://127.0.0.1:8080/ examples :)
-------------------------------------------------------------------
But ... ia want to use apache + mod_lisp so pls give me your advice on
this.
My apache config for mod lisp is:
<LocationMatch "/ucw/.*\.ucw">
SetHandler lisp-handler
</LocationMatch>
<LocationMatch "/ucw/admin/">
SetHandler lisp-handler
</LocationMatch>
What means :
2006-02-02T11:38.41 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.
Thanks in advance.
More information about the bese-devel
mailing list