[Monetdb-developers] Experiences with the new setup
Hi all, Here are my experiences of getting pathfinder working with the new setup First I install everything without '--prefix': cd buildtools ./bootstrap cd Linux configure_buildtools make make install cd ../../MonetDB ./bootstrap cd Linux configure_MonetDB make make install cd ../../clients ./bootstrap cd Linux configure_clients make make install cd ../../MonetDB4 ./bootstrap cd Linux configure_MonetDB4 make make install cd ../../pathfinder ./bootstrap cd Linux configure_pathfinder make make install Afterwards I tried to start Mserver: 10:18:08 rittinge@notekemper08:/local_tmp/try_new/pathfinder> Mserver # Monet Database Server V4.15.0 # Copyright (c) 1993-2006, CWI. All rights reserved. # Compiled for i686-suse-linux/32bit with 32bit OIDs; dynamically linked. # Visit http://monetdb.cwi.nl/ for further information. !ERROR: moduleClient: module(builtin) load error. !ERROR: moduleClient: module(arith) load error. !ERROR: moduleClient: module(str) load error. !ERROR: moduleClient: module(constant) load error. !ERROR: moduleClient: module(bat) load error. !ERROR: moduleClient: module(algebra) load error. !ERROR: moduleClient: module(sys) load error. !ERROR: moduleClient: module(trans) load error. !FATAL: scheduleClient: Daemon mode without startup script Taking the library path into account didn't help either: 10:20:05 rittinge@notekemper08:/local_tmp/try_new/pathfinder> echo $LD_LIBRARY_PATH /usr/local/lib 10:20:33 rittinge@notekemper08:/local_tmp/try_new/pathfinder> export LD_LIBRARY_PATH=/local_tmp/try_new/MonetDB4/Linux/lib:/local_tmp/try_new/MonetDB4/Linux/lib/MonetDB4:/local_tmp/try_new/MonetDB4/Linux/lib/MonetDB4/lib:/usr/local/lib 10:20:54 rittinge@notekemper08:/local_tmp/try_new/pathfinder> Mserver # Monet Database Server V4.15.0 # Copyright (c) 1993-2006, CWI. All rights reserved. # Compiled for i686-suse-linux/32bit with 32bit OIDs; dynamically linked. # Visit http://monetdb.cwi.nl/ for further information. !ERROR: moduleClient: module(builtin) load error. !ERROR: moduleClient: module(arith) load error. !ERROR: moduleClient: module(str) load error. !ERROR: moduleClient: module(constant) load error. !ERROR: moduleClient: module(bat) load error. !ERROR: moduleClient: module(algebra) load error. !ERROR: moduleClient: module(sys) load error. !ERROR: moduleClient: module(trans) load error. !FATAL: scheduleClient: Daemon mode without startup script Only using the mod_path option helped...
10:23:21 rittinge@notekemper08:/local_tmp/try_new/pathfinder> Mserver --set monet_mod_path=/local_tmp/try_new/MonetDB4/Linux/lib/:/local_tmp/try_new/MonetDB4/Linux/lib/MonetDB4/:local_tmp/try_new/MonetDB4/Linux/lib/MonetDB4/lib/ # Monet Database Server V4.15.0 # Copyright (c) 1993-2006, CWI. All rights reserved. # Compiled for i686-suse-linux/32bit with 32bit OIDs; dynamically linked. # Visit http://monetdb.cwi.nl/ for further information. !FATAL: scheduleClient: Daemon mode without startup script
... and by changing the variable monet_daemon I got my Mserver runnin without error message: 10:23:23 rittinge@notekemper08:/local_tmp/try_new/pathfinder> Mserver --set monet_mod_path=/local_tmp/try_new/MonetDB4/Linux/lib/:/local_tmp/try_new/MonetDB4/Linux/lib/MonetDB4/:/local_tmp/try_new/MonetDB4/Linux/lib/MonetDB4/lib/ --set monet_daemon=no # Monet Database Server V4.15.0 # Copyright (c) 1993-2006, CWI. All rights reserved. # Compiled for i686-suse-linux/32bit with 32bit OIDs; dynamically linked. # Visit http://monetdb.cwi.nl/ for further information.
For pathfinder I had a similar problem I couldn't fix (-- even adding all library paths I could find to the mod_path didn't help). 10:27:58 rittinge@notekemper08:/local_tmp/try_new/pathfinder> echo 1 | pf -A | Mserver --set monet_mod_path=/local_tmp/try_new/MonetDB4/Linux/lib/:/local_tmp/try_new/MonetDB4/Linux/lib/MonetDB4/:/local_tmp/try_new/MonetDB4/Linux/lib/MonetDB4/lib/:/local_tmp/try_new/pathfinder/Linux/lib/:/local_tmp/try_new/pathfinder/Linux/lib/MonetDB4/:/local_tmp/try_new/pathfinder/Linux/lib/MonetDB4/lib/:/local_tmp/try_new/MonetDB/Linux/lib/:/local_tmp/try_new/clients/Linux/lib/:/local_tmp/try_new/clients/Linux/lib/MonetDB/ --set monet_daemon=no # Monet Database Server V4.15.0 # Copyright (c) 1993-2006, CWI. All rights reserved. # Compiled for i686-suse-linux/32bit with 32bit OIDs; dynamically linked. # Visit http://monetdb.cwi.nl/ for further information.
!ERROR: mapi_open is not set !ERROR: CMDfind: value not found. !ERROR: CMDfind: operation failed. !ERROR: interpret_params: lng(param 1): evaluation error. !ERROR: interpret_params: *(param 1): evaluation error. !ERROR: interpret_params: xquery_start_query_cache(param 1): evaluation error.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><?xml version="1.0" encoding="utf-8"?> <XQueryResult>1</XQueryResult> !ERROR: CMDfind: value not found. !ERROR: CMDfind: operation failed. !ERROR: interpret_params: lng(param 1): evaluation error. !ERROR: interpret_params: *(param 2): evaluation error.
!ERROR: ws_free: query cleanup failed, Mserver must be restarted. With the old setup Mserver did know at least its own libraries. Would it be possible to include that knowledge in the new setup as well? Also using the daemon mode as default leaves me a little bit puzzled. Was this change a strategic decision? And before I forget it -- A happy new year to all of you :) Cheers, Jan -- Jan Rittinger Database Systems Technische Universität München (Germany) http://www-db.in.tum.de/~rittinge/
Sorry, I forgot to include the 'source conf/conf.bash' calls for every directory in my previous mail. On 01/02/2007 11:01 AM, Jan Rittinger wrote with possible deletions:
Hi all,
Here are my experiences of getting pathfinder working with the new setup
First I install everything without '--prefix':
cd buildtools ./bootstrap cd Linux configure_buildtools make make install
cd ../../MonetDB ./bootstrap cd Linux configure_MonetDB make make install
cd ../../clients ./bootstrap cd Linux configure_clients make make install
cd ../../MonetDB4 ./bootstrap cd Linux configure_MonetDB4 make make install
cd ../../pathfinder ./bootstrap cd Linux configure_pathfinder make make install
Afterwards I tried to start Mserver:
10:18:08 rittinge@notekemper08:/local_tmp/try_new/pathfinder> Mserver # Monet Database Server V4.15.0 # Copyright (c) 1993-2006, CWI. All rights reserved. # Compiled for i686-suse-linux/32bit with 32bit OIDs; dynamically linked. # Visit http://monetdb.cwi.nl/ for further information. !ERROR: moduleClient: module(builtin) load error. !ERROR: moduleClient: module(arith) load error. !ERROR: moduleClient: module(str) load error. !ERROR: moduleClient: module(constant) load error. !ERROR: moduleClient: module(bat) load error. !ERROR: moduleClient: module(algebra) load error. !ERROR: moduleClient: module(sys) load error. !ERROR: moduleClient: module(trans) load error. !FATAL: scheduleClient: Daemon mode without startup script
Taking the library path into account didn't help either:
10:20:05 rittinge@notekemper08:/local_tmp/try_new/pathfinder> echo $LD_LIBRARY_PATH /usr/local/lib 10:20:33 rittinge@notekemper08:/local_tmp/try_new/pathfinder> export LD_LIBRARY_PATH=/local_tmp/try_new/MonetDB4/Linux/lib:/local_tmp/try_new/MonetDB4/Linux/lib/MonetDB4:/local_tmp/try_new/MonetDB4/Linux/lib/MonetDB4/lib:/usr/local/lib 10:20:54 rittinge@notekemper08:/local_tmp/try_new/pathfinder> Mserver # Monet Database Server V4.15.0 # Copyright (c) 1993-2006, CWI. All rights reserved. # Compiled for i686-suse-linux/32bit with 32bit OIDs; dynamically linked. # Visit http://monetdb.cwi.nl/ for further information. !ERROR: moduleClient: module(builtin) load error. !ERROR: moduleClient: module(arith) load error. !ERROR: moduleClient: module(str) load error. !ERROR: moduleClient: module(constant) load error. !ERROR: moduleClient: module(bat) load error. !ERROR: moduleClient: module(algebra) load error. !ERROR: moduleClient: module(sys) load error. !ERROR: moduleClient: module(trans) load error. !FATAL: scheduleClient: Daemon mode without startup script
Only using the mod_path option helped...
10:23:21 rittinge@notekemper08:/local_tmp/try_new/pathfinder> Mserver --set monet_mod_path=/local_tmp/try_new/MonetDB4/Linux/lib/:/local_tmp/try_new/MonetDB4/Linux/lib/MonetDB4/:local_tmp/try_new/MonetDB4/Linux/lib/MonetDB4/lib/ # Monet Database Server V4.15.0 # Copyright (c) 1993-2006, CWI. All rights reserved. # Compiled for i686-suse-linux/32bit with 32bit OIDs; dynamically linked. # Visit http://monetdb.cwi.nl/ for further information. !FATAL: scheduleClient: Daemon mode without startup script
... and by changing the variable monet_daemon I got my Mserver runnin without error message:
10:23:23 rittinge@notekemper08:/local_tmp/try_new/pathfinder> Mserver --set monet_mod_path=/local_tmp/try_new/MonetDB4/Linux/lib/:/local_tmp/try_new/MonetDB4/Linux/lib/MonetDB4/:/local_tmp/try_new/MonetDB4/Linux/lib/MonetDB4/lib/ --set monet_daemon=no # Monet Database Server V4.15.0 # Copyright (c) 1993-2006, CWI. All rights reserved. # Compiled for i686-suse-linux/32bit with 32bit OIDs; dynamically linked. # Visit http://monetdb.cwi.nl/ for further information.
For pathfinder I had a similar problem I couldn't fix (-- even adding all library paths I could find to the mod_path didn't help).
10:27:58 rittinge@notekemper08:/local_tmp/try_new/pathfinder> echo 1 | pf -A | Mserver --set monet_mod_path=/local_tmp/try_new/MonetDB4/Linux/lib/:/local_tmp/try_new/MonetDB4/Linux/lib/MonetDB4/:/local_tmp/try_new/MonetDB4/Linux/lib/MonetDB4/lib/:/local_tmp/try_new/pathfinder/Linux/lib/:/local_tmp/try_new/pathfinder/Linux/lib/MonetDB4/:/local_tmp/try_new/pathfinder/Linux/lib/MonetDB4/lib/:/local_tmp/try_new/MonetDB/Linux/lib/:/local_tmp/try_new/clients/Linux/lib/:/local_tmp/try_new/clients/Linux/lib/MonetDB/ --set monet_daemon=no # Monet Database Server V4.15.0 # Copyright (c) 1993-2006, CWI. All rights reserved. # Compiled for i686-suse-linux/32bit with 32bit OIDs; dynamically linked. # Visit http://monetdb.cwi.nl/ for further information.
!ERROR: mapi_open is not set !ERROR: CMDfind: value not found. !ERROR: CMDfind: operation failed. !ERROR: interpret_params: lng(param 1): evaluation error. !ERROR: interpret_params: *(param 1): evaluation error. !ERROR: interpret_params: xquery_start_query_cache(param 1): evaluation error.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><?xml version="1.0" encoding="utf-8"?> <XQueryResult>1</XQueryResult> !ERROR: CMDfind: value not found. !ERROR: CMDfind: operation failed. !ERROR: interpret_params: lng(param 1): evaluation error. !ERROR: interpret_params: *(param 2): evaluation error.
!ERROR: ws_free: query cleanup failed, Mserver must be restarted.
With the old setup Mserver did know at least its own libraries. Would it be possible to include that knowledge in the new setup as well? Also using the daemon mode as default leaves me a little bit puzzled. Was this change a strategic decision?
And before I forget it -- A happy new year to all of you :)
Cheers, Jan
-- Jan Rittinger Database Systems Technische Universität München (Germany) http://www-db.in.tum.de/~rittinge/
On 02-01-2007 11:01:03 +0100, Jan Rittinger wrote:
Hi all,
Here are my experiences of getting pathfinder working with the new setup
First I install everything without '--prefix':
(I assume you have the appropriate permissions to write into the default prefix, which should be /usr/local in autoconf world, but on SuSE, you never know...) [snip]
Afterwards I tried to start Mserver:
10:18:08 rittinge@notekemper08:/local_tmp/try_new/pathfinder> Mserver # Monet Database Server V4.15.0 # Copyright (c) 1993-2006, CWI. All rights reserved. # Compiled for i686-suse-linux/32bit with 32bit OIDs; dynamically linked. # Visit http://monetdb.cwi.nl/ for further information. !ERROR: moduleClient: module(builtin) load error. !ERROR: moduleClient: module(arith) load error. !ERROR: moduleClient: module(str) load error. !ERROR: moduleClient: module(constant) load error. !ERROR: moduleClient: module(bat) load error. !ERROR: moduleClient: module(algebra) load error. !ERROR: moduleClient: module(sys) load error. !ERROR: moduleClient: module(trans) load error. !FATAL: scheduleClient: Daemon mode without startup script
Taking the library path into account didn't help either:
10:20:05 rittinge@notekemper08:/local_tmp/try_new/pathfinder> echo $LD_LIBRARY_PATH /usr/local/lib
Setting an LD_LIBRARY_PATH like this should not be necessary, as your runtime linker has this in its default path. Besides setting LD_LIBRARY_PATH is considered harmful, it also shouldn't be necessary as rpath directions are given in the compilation process.
Only using the mod_path option helped...
yep...
10:23:21 rittinge@notekemper08:/local_tmp/try_new/pathfinder> Mserver --set monet_mod_path=/local_tmp/try_new/MonetDB4/Linux/lib/:/local_tmp/try_new/MonetDB4/Linux/lib/MonetDB4/:local_tmp/try_new/MonetDB4/Linux/lib/MonetDB4/lib/ # Monet Database Server V4.15.0 # Copyright (c) 1993-2006, CWI. All rights reserved. # Compiled for i686-suse-linux/32bit with 32bit OIDs; dynamically linked. # Visit http://monetdb.cwi.nl/ for further information. !FATAL: scheduleClient: Daemon mode without startup script
... and by changing the variable monet_daemon I got my Mserver runnin without error message:
It looks like it cannot find the MonetDB.conf file. Have you tried --config=path/to/your/MonetDB.conf ?
10:23:23 rittinge@notekemper08:/local_tmp/try_new/pathfinder> Mserver --set monet_mod_path=/local_tmp/try_new/MonetDB4/Linux/lib/:/local_tmp/try_new/MonetDB4/Linux/lib/MonetDB4/:/local_tmp/try_new/MonetDB4/Linux/lib/MonetDB4/lib/
Based on these paths, I get the impression you did want to use --prefix, but didn't, hence MonetDB looking for things in the wrong place.
For pathfinder I had a similar problem I couldn't fix (-- even adding all library paths I could find to the mod_path didn't help).
Try with a right prefix, or if you don't want/need it, check why the MonetDB.conf file isn't found.
With the old setup Mserver did know at least its own libraries. Would it be possible to include that knowledge in the new setup as well? Also using the daemon mode as default leaves me a little bit puzzled. Was this change a strategic decision?
bootstrap configure --prefix=/where/you/want/it make make install works fine here. It might be that the default path is kind of b0rk3ned, though, so it's a good idea to set the prefix anyway.
I have the same problem as JanR on my SuSe(both 9 and 10) systems and I use the advised --prefix option in configure. Maybe it is a SuSe problem?? flokstra@ewi581:~/scripts> Mserver !WARNING: GDKlockHome: created directory /usr/local/flokstra/var/MonetDB/tst/ !WARNING: GDKlockHome: ignoring empty or invalid .gdk_lock. !WARNING: BBPdir: initializing BBP. # Monet Database Server V4.15.0 # Copyright (c) 1993-2006, CWI. All rights reserved. # Compiled for i686-suse-linux/32bit with 32bit OIDs; dynamically linked. # Visit http://monetdb.cwi.nl/ for further information. !ERROR: moduleClient: module(builtin) load error. !ERROR: moduleClient: module(arith) load error. !ERROR: moduleClient: module(str) load error. !ERROR: moduleClient: module(constant) load error. !ERROR: moduleClient: module(bat) load error. !ERROR: moduleClient: module(algebra) load error. !ERROR: moduleClient: module(sys) load error. !ERROR: moduleClient: module(trans) load error. !FATAL: scheduleClient: Daemon mode without startup script JanF. On Tuesday 02 January 2007 11:11, Fabian Groffen wrote:
On 02-01-2007 11:01:03 +0100, Jan Rittinger wrote:
Hi all,
Here are my experiences of getting pathfinder working with the new setup
First I install everything without '--prefix':
(I assume you have the appropriate permissions to write into the default prefix, which should be /usr/local in autoconf world, but on SuSE, you never know...)
[snip]
Afterwards I tried to start Mserver:
10:18:08 rittinge@notekemper08:/local_tmp/try_new/pathfinder> Mserver # Monet Database Server V4.15.0 # Copyright (c) 1993-2006, CWI. All rights reserved. # Compiled for i686-suse-linux/32bit with 32bit OIDs; dynamically linked. # Visit http://monetdb.cwi.nl/ for further information. !ERROR: moduleClient: module(builtin) load error. !ERROR: moduleClient: module(arith) load error. !ERROR: moduleClient: module(str) load error. !ERROR: moduleClient: module(constant) load error. !ERROR: moduleClient: module(bat) load error. !ERROR: moduleClient: module(algebra) load error. !ERROR: moduleClient: module(sys) load error. !ERROR: moduleClient: module(trans) load error. !FATAL: scheduleClient: Daemon mode without startup script
Taking the library path into account didn't help either:
10:20:05 rittinge@notekemper08:/local_tmp/try_new/pathfinder> echo $LD_LIBRARY_PATH /usr/local/lib
Setting an LD_LIBRARY_PATH like this should not be necessary, as your runtime linker has this in its default path. Besides setting LD_LIBRARY_PATH is considered harmful, it also shouldn't be necessary as rpath directions are given in the compilation process.
Only using the mod_path option helped...
yep...
10:23:21 rittinge@notekemper08:/local_tmp/try_new/pathfinder> Mserver
--set monet_mod_path=/local_tmp/try_new/MonetDB4/Linux/lib/:/local_tmp/try_new/ MonetDB4/Linux/lib/MonetDB4/:local_tmp/try_new/MonetDB4/Linux/lib/MonetDB4 /lib/ # Monet Database Server V4.15.0 # Copyright (c) 1993-2006, CWI. All rights reserved. # Compiled for i686-suse-linux/32bit with 32bit OIDs; dynamically linked. # Visit http://monetdb.cwi.nl/ for further information. !FATAL: scheduleClient: Daemon mode without startup script
... and by changing the variable monet_daemon I got my Mserver runnin without error message:
It looks like it cannot find the MonetDB.conf file. Have you tried --config=path/to/your/MonetDB.conf ?
10:23:23 rittinge@notekemper08:/local_tmp/try_new/pathfinder> Mserver --set monet_mod_path=/local_tmp/try_new/MonetDB4/Linux/lib/:/local_tmp/try_new/ MonetDB4/Linux/lib/MonetDB4/:/local_tmp/try_new/MonetDB4/Linux/lib/MonetDB 4/lib/
Based on these paths, I get the impression you did want to use --prefix, but didn't, hence MonetDB looking for things in the wrong place.
For pathfinder I had a similar problem I couldn't fix (-- even adding all library paths I could find to the mod_path didn't help).
Try with a right prefix, or if you don't want/need it, check why the MonetDB.conf file isn't found.
With the old setup Mserver did know at least its own libraries. Would it be possible to include that knowledge in the new setup as well? Also using the daemon mode as default leaves me a little bit puzzled. Was this change a strategic decision?
bootstrap configure --prefix=/where/you/want/it make make install
works fine here. It might be that the default path is kind of b0rk3ned, though, so it's a good idea to set the prefix anyway.
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Monetdb-developers mailing list Monetdb-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-developers
On 01/02/2007 11:11 AM, Fabian Groffen wrote with possible deletions:
(I assume you have the appropriate permissions to write into the default prefix, which should be /usr/local in autoconf world, but on SuSE, you never know...)
Sorry I forgot to mention that I also sourced conf/conf.bash which in my understanding sets the prefix to <dir>/<system> (in my case to e.g. /local_tmp/try_new/pathfinder/Linux).
Setting an LD_LIBRARY_PATH like this should not be necessary, as your runtime linker has this in its default path. Besides setting LD_LIBRARY_PATH is considered harmful, it also shouldn't be necessary as rpath directions are given in the compilation process.
so why does Mserver does *not* find its libraries (if I read your comment as: Mserver should now all its basic stuff)?
It looks like it cannot find the MonetDB.conf file. Have you tried --config=path/to/your/MonetDB.conf ?
I did nothing different than with my old setup. May it be that the default configuration is different with the new setup. Trying Mserver --config=/local_tmp/try_new/MonetDB4/Linux/conf/MonetDB.conf works.
Based on these paths, I get the impression you did want to use --prefix, but didn't, hence MonetDB looking for things in the wrong place.
see my note with source conf/conf.bash above :)
Try with a right prefix, or if you don't want/need it, check why the MonetDB.conf file isn't found.
They are located in the following two directories (which is the equivalent directory as in my old setup): /local_tmp/try_new/MonetDB4/Linux/etc/MonetDB.conf /local_tmp/try_new/MonetDB4/Linux/conf/MonetDB.conf
bootstrap configure --prefix=/where/you/want/it make make install
works fine here. It might be that the default path is kind of b0rk3ned, though, so it's a good idea to set the prefix anyway.
Thanks for your advice. I just thought that MonetDB should also work (out of the box) on other circumstances where there is no common install directory (and wanted to make you aware that this is not true anymore). Cheers, Jan -- Jan Rittinger Database Systems Technische Universität München (Germany) http://www-db.in.tum.de/~rittinge/
Mserver -c $MONETDB4_PREFIX/etc/MonetDB.conf should solve the problem. apparently, Mserver does no longer automatically read $MONETDB4_PREFIX/etc/MonetDB.conf to get (a.o.) the correct monet_mod_path, and the builtin defaults are outdated: # builtin opt monet_mod_path = ${prefix}/lib64/MonetDB:${prefix}/lib64/bin see also `Mserver -d0`. IMHO, we need to either make Mserver read $MONETDB4_PREFIX/etc/MonetDB.conf, (and mserver5 $MONETDB5_PREFIX/etc/monetdb5.conf, if that isn't the case) again, or update the builtin defaults. In fact, the former has my preferences, in particular as then MonetDB[45]' configure could also add the $CLIENTS_PREFIX/lib(|64)/MonetDB/{,lib,bin} to the monet_mod_path in $MONETDB4_PREFIX/etc/MonetDB.conf resp. $MONETDB5_PREFIX/etc/monetdb5.conf, and thus make Mserver & mserv5 work out-of-the-box, again, even if clients has a different prefix than MonetDB4/5. Stefan On Tue, Jan 02, 2007 at 11:34:10AM +0100, Jan Rittinger wrote:
On 01/02/2007 11:11 AM, Fabian Groffen wrote with possible deletions:
(I assume you have the appropriate permissions to write into the default prefix, which should be /usr/local in autoconf world, but on SuSE, you never know...)
Sorry I forgot to mention that I also sourced conf/conf.bash which in my understanding sets the prefix to <dir>/<system> (in my case to e.g. /local_tmp/try_new/pathfinder/Linux).
Setting an LD_LIBRARY_PATH like this should not be necessary, as your runtime linker has this in its default path. Besides setting LD_LIBRARY_PATH is considered harmful, it also shouldn't be necessary as rpath directions are given in the compilation process.
so why does Mserver does *not* find its libraries (if I read your comment as: Mserver should now all its basic stuff)?
It looks like it cannot find the MonetDB.conf file. Have you tried --config=path/to/your/MonetDB.conf ?
I did nothing different than with my old setup. May it be that the default configuration is different with the new setup.
Trying Mserver --config=/local_tmp/try_new/MonetDB4/Linux/conf/MonetDB.conf works.
Based on these paths, I get the impression you did want to use --prefix, but didn't, hence MonetDB looking for things in the wrong place.
see my note with source conf/conf.bash above :)
Try with a right prefix, or if you don't want/need it, check why the MonetDB.conf file isn't found.
They are located in the following two directories (which is the equivalent directory as in my old setup): /local_tmp/try_new/MonetDB4/Linux/etc/MonetDB.conf /local_tmp/try_new/MonetDB4/Linux/conf/MonetDB.conf
bootstrap configure --prefix=/where/you/want/it make make install
works fine here. It might be that the default path is kind of b0rk3ned, though, so it's a good idea to set the prefix anyway.
Thanks for your advice. I just thought that MonetDB should also work (out of the box) on other circumstances where there is no common install directory (and wanted to make you aware that this is not true anymore).
Cheers, Jan
-- Jan Rittinger Database Systems Technische Universität München (Germany) http://www-db.in.tum.de/~rittinge/
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Monetdb-developers mailing list Monetdb-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-developers
-- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4312 |
btw: Niels just fixed this in cvs | Mserver -c $MONETDB4_PREFIX/etc/MonetDB.conf | | should solve the problem. | | apparently, Mserver does no longer automatically read | $MONETDB4_PREFIX/etc/MonetDB.conf to get (a.o.) the correct monet_mod_path, | and the builtin defaults are outdated: | # builtin opt monet_mod_path =3D ${prefix}/lib64/MonetDB:${prefix}/lib64/= | bin | | see also `Mserver -d0`. | | IMHO, we need to either make Mserver read $MONETDB4_PREFIX/etc/MonetDB.conf, | (and mserver5 $MONETDB5_PREFIX/etc/monetdb5.conf, if that isn't the case) | again, or update the builtin defaults. | In fact, the former has my preferences, in particular as then MonetDB[45]' | configure could also add the $CLIENTS_PREFIX/lib(|64)/MonetDB/{,lib,bin} to | the monet_mod_path in $MONETDB4_PREFIX/etc/MonetDB.conf resp. = | | $MONETDB5_PREFIX/etc/monetdb5.conf, and thus make Mserver & mserv5 work | out-of-the-box, again, even if clients has a different prefix than | MonetDB4/5. | | | Stefan | | | On Tue, Jan 02, 2007 at 11:34:10AM +0100, Jan Rittinger wrote: | > On 01/02/2007 11:11 AM, Fabian Groffen wrote with possible deletions: | > > (I assume you have the appropriate permissions to write into the default | > > prefix, which should be /usr/local in autoconf world, but on SuSE, you | > > never know...) | > = | | > Sorry I forgot to mention that I also sourced conf/conf.bash which in my = | | > understanding sets the prefix to <dir>/<system> (in my case to e.g. = | | > /local_tmp/try_new/pathfinder/Linux). | > = | | > > = | | > > Setting an LD_LIBRARY_PATH like this should not be necessary, as your | > > runtime linker has this in its default path. Besides setting | > > LD_LIBRARY_PATH is considered harmful, it also shouldn't be necessary as | > > rpath directions are given in the compilation process. | > = | | > so why does Mserver does *not* find its libraries (if I read your = | | > comment as: Mserver should now all its basic stuff)? | > = | | > > = | | > > It looks like it cannot find the MonetDB.conf file. Have you tried | > > --config=3Dpath/to/your/MonetDB.conf ? | > = | | > I did nothing different than with my old setup. May it be that the = | | > default configuration is different with the new setup. | > = | | > Trying | > Mserver --config=3D/local_tmp/try_new/MonetDB4/Linux/conf/MonetDB.conf | > works. | > = | | > > Based on these paths, I get the impression you did want to use --prefix, | > > but didn't, hence MonetDB looking for things in the wrong place. | > = | | > see my note with source conf/conf.bash above :) | > = | | > > = | | > > Try with a right prefix, or if you don't want/need it, check why the | > > MonetDB.conf file isn't found. | > = | | > They are located in the following two directories (which is the = | | > equivalent directory as in my old setup): | > /local_tmp/try_new/MonetDB4/Linux/etc/MonetDB.conf | > /local_tmp/try_new/MonetDB4/Linux/conf/MonetDB.conf | > = | | > > = | | > > bootstrap | > > configure --prefix=3D/where/you/want/it | > > make | > > make install | > > = | | > > works fine here. It might be that the default path is kind of b0rk3ned, | > > though, so it's a good idea to set the prefix anyway. | > = | | > Thanks for your advice. I just thought that MonetDB should also work = | | > (out of the box) on other circumstances where there is no common install = | | > directory (and wanted to make you aware that this is not true anymore). | > = | | > Cheers, | > Jan | > = | | > -- = | | > Jan Rittinger | > Database Systems | > Technische Universit=E4t M=FCnchen (Germany) | > http://www-db.in.tum.de/~rittinge/ | > = | | > ------------------------------------------------------------------------- | > Take Surveys. Earn Cash. Influence the Future of IT | > Join SourceForge.net's Techsay panel and you'll get the chance to share y= | our | > opinions on IT & business topics through brief surveys - and earn cash | > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= | DEVDEV | > _______________________________________________ | > Monetdb-developers mailing list | > Monetdb-developers@lists.sourceforge.net | > https://lists.sourceforge.net/lists/listinfo/monetdb-developers | > = | | > = | | | -- = | | | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | | The Netherlands | Fax : +31 (20) 592-4312 | | | ------------------------------------------------------------------------- | Take Surveys. Earn Cash. Influence the Future of IT | Join SourceForge.net's Techsay panel and you'll get the chance to share your | opinions on IT & business topics through brief surveys - and earn cash | http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDE= | VDEV | _______________________________________________ | Monetdb-developers mailing list | Monetdb-developers@lists.sourceforge.net | https://lists.sourceforge.net/lists/listinfo/monetdb-developers |
participants (5)
-
Arjen P. de Vries
-
Fabian Groffen
-
Jan Flokstra
-
Jan Rittinger
-
Stefan Manegold