Dear MonetDB developers:

Thank you very much for your great help, Jennie and Sjoerd Mullender.
It does work with that.

By the way, I still have another problem on installing Pathfinder.
I try to reinstall MonetDB using MonetDB-Mars-SuperBall, with the command:
./monetdb-install.sh --enable-sql --enable-xquery

The error is as follow:
grep: /home/sjoerd/Monet-Stable/lib/libbat.la: No such file or directory
/bin/sed: can't read /home/sjoerd/Monet-Stable/lib/libbat.la: No such file or directory
libtool: link: `/home/sjoerd/Monet-Stable/lib/libbat.la' is not a valid libtool archive
make[4]: *** [lib_pf_support.la] Error 1
make[4]: Leaving directory `/var/tmp/MonetDB-1187373409/MonetDB4-XQuery/pathfinder/runtime'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/MonetDB-1187373409/MonetDB4-XQuery/pathfinder/runtime'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/MonetDB-1187373409/MonetDB4-XQuery/pathfinder/runtime'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/MonetDB-1187373409/MonetDB4-XQuery/pathfinder'
make: *** [all] Error 2
making MonetDB4-XQuery failed
Please refer to the full log at /var/tmp/MonetDB-1187373409/log
If you believe this is an error in the script or the software,
file a bug and attach the logfile.
./monetdb-install.sh: line 199: glibtool: command not found
Terminated


I am looking forward to hearing from you.
Tola

On 8/16/07, Sjoerd Mullender <sjoerd@acm.org> wrote:
Chantola Kit wrote:
> Dear monetdb developers:
>
> I try to install MonetDB many times on Fedora7 using
> MonetDB-Mars-SuperBall, but I have the same problem which unables me to
> connect to server.
> 1. When I go to Mserver it was:
>
> [root@localhost ~]# Mserver
> # Monet Database Server V4.18.0
> # Copyright (c) 1993-2007, CWI. All rights reserved.
> # Compiled for i686-redhat-linux-gnu/32bit with 32bit OIDs; dynamically
> linked.
> # Visit http://monetdb.cwi.nl/ for further information.
> MonetDB>
>
> But, then, I open MapiClient, there is an error like below:
>
> [root@localhost ~]# MapiClient -q
> MAPI  = monetdb@localhost:50000
> ACTION= mapi_start_talking
> ERROR = !MALException:setScenario:Scenario 'mil' not initialized
>
> 2. When I go to mserver5, it was:
> MonetDB>[root@localhost ~]# mserver5
> # MonetDB Server v5.0.0
> # Copyright (c) 1993-2007 CWI, all rights reserved
> # Compiled for i686-redhat-linux-gnu/32bit with 32bit OIDs dynamically
> linked
> # dbname:demo
> # Visit http://monetdb.cwi.nl/ for further information
> #warning: please don't forget to set your vault key!
> #(see /usr/local/etc/monetdb5.conf)
>>
>
> Then, I open MapiClient:
> [root@localhost ~]# MapiClient -q
> MAPI  = monetdb@localhost:50000
> ACTION= mapi_start_talking
> ERROR = !MALException:setScenario:Scenario 'mil' not initialized
> [root@localhost ~]#
>
> Could you help me to solve the problems?
>
> I am looking forward to hearing from you.
> Tola

There are two problems, one of which Jennie already mentioned.

You need to start the service in Mserver, and in mserver5, you need to
tell MapiClient that you want to use another language.

So:
        Mserver --dbinit 'module(mapi); mil_start();'
with
        MapiClient

and
        mserver5
with
        MapiClient -lmal

(In the first case, you can also use "MapiClient -lmil" since MIL is the
default language.)

--
Sjoerd Mullender





--
Department of Computer Science
Graduate School of Systems and Information Engineering
University of Tsukuba
Ibaraki, Tsukuba city, Japan