mod_lisp backend does not support publish-directory

3 views
Skip to first unread message

Beestje

unread,
Apr 23, 2008, 10:38:45 AM4/23/08
to paragent-discuss
Hi, I'm trying to set up paragent on Ubuntu 7.10, most of the things
seem to install fine, but i'm unable to open the page http://localhost/paragent/main.ucw

in my Apache log, I find the following entries whenever I do so :
[Wed Apr 23 11:01:54 2008] [error] (70007)The timeout specified has
expired: error reading from Lisp

the nexus-dribble log contains the following problems :

11:47 UCW.BACKEND WARN Attempting to publish #P"/var/paragent/ucw-
boxset/ucw_dev/wwwroot/./" at "/" but mod_lisp backend does not
support publish-directory.
11:47 UCW-LOGGER INFO Registered: #<COOKIE-SESSION-APPLICATION
"/" {D8AFC89}>
11:47 UCW-LOGGER INFO Registered: #<L10N-APPLICATION "/
l10n/" {A771391}>
11:47 UCW.BACKEND WARN Attempting to publish #P"/var/paragent/ucw-
boxset/ucw_dev/wwwroot/./admin/" at "/admin/" but mod_lisp backend
does not support publish-directory.
11:47 UCW-LOGGER INFO Registered: #<STANDARD-APPLICATION "/
admin/" {B9434E1}>
11:47 UCW-LOGGER INFO Starting up standard server
#<IT.BESE.UCW:STANDARD-SERVER IT.BESE.UCW:MULTITHREAD-MOD-LISP-BACKEND
3 {A9CEBC9}>.

and below that :

debugger invoked on a SIMPLE-ERROR in thread #<THREAD "initial
thread" {A6DA8D1}>:
Error during processing of --eval option (LOAD
#P"/var/paragent/repos/
nexus/scripts/start.lisp"):

Couldn't load foreign libraries "libmysqlclient", "libmysql".
(searched CLSQL-SYS:*FOREIGN-LIBRARY-SEARCH-PATHS*)


The creation of mod_lisp2.so ran without any problems.
I searched on the web for this "mod_lisp backend does not support
publish-directory.", but I'm not able to find any usefull information.

Do any of you perhaps have an idea as to what I'm doing wrong?

Timothy Ritchey

unread,
Apr 23, 2008, 11:28:42 AM4/23/08
to paragent...@googlegroups.com
Morning,
that error is actually a red herring I believe. The real issue is the
fact that nexus can't find the mysql libraries.

you need to figure out which directory the mysqlclient library is
hiding, go into repos/db/defpackage.lisp and add a line for the right
path:

(clsql:push-library-path "/usr/lib/mysql/")

you may find that you have a 64 bit version installed, which is often
in something like /usr/lib64, or that the default install did not
include libmysqlclient.so.

Hope this helps.

Cheers,
Tim R.

Beestje

unread,
Apr 24, 2008, 11:10:21 AM4/24/08
to paragent-discuss
Thanks Timothy!

It was indeed a red herring :-)

I needed to install libmysqlclient15-dev for the proper libs to pop up
in the /usr/lib directory
so I changed the line to
(clsql:push-library-path "/usr/lib/")

Thanks!

Koen


On 23 apr, 17:28, Timothy Ritchey <tritc...@paragent.com> wrote:
> Morning,
> that error is actually a red herring I believe. The real issue is the
> fact that nexus can't find the mysql libraries.
>
> you need to figure out which directory the mysqlclient library is
> hiding, go into repos/db/defpackage.lisp and add a line for the right
> path:
>
> (clsql:push-library-path "/usr/lib/mysql/")
>
> you may find that you have a 64 bit version installed, which is often
> in something like /usr/lib64, or that the default install did not
> include libmysqlclient.so.
>
> Hope this helps.
>
> Cheers,
> Tim R.
>
> On Apr 23, 2008, at 10:38 AM, Beestje wrote:
>
>
>
> > Hi, I'm trying to set up paragent on Ubuntu 7.10, most of the things
> > seem to install fine, but i'm unable to open the pagehttp://localhost/paragent/main.ucw
Reply all
Reply to author
Forward
0 new messages