Mailing List
Home
Forum Home
MySQL General - General MySQL discussion
MySQL++ - Programming with the C++ API to MySQL
MaxDB - Everything about MaxDB, formerly known as SAP DB
ODBC - ODBC with the MySQL Connector/ODBC driver
MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP
Java Help - Mostly related to the MySQL Connector/J driver
Perl - Perl support for MySQL with DBI and DBD::mysql
GUI - MySQL GUI Tools
Announcement
Subjects
Subject: mysql openssl Question
ERROR 1045: Access denied for user: 'root@localhost ' (Using
password: NO)
Update one field with more fields from another table
Subject: Getting Identity after INSERT
ERROR 2002: Can 't connect to local MySQL server through socket
mysql test 4 1 fails with the gis test
Subject: MySQL Cluster Software
Downgrade Mysql from 4 to 3 23
Mysql 4 0 Oracle Stored Procedure Trigger Conversion
Can 't access mysql after kernel upgrade
Executing MySQL Commands From Within C Program
Comparing and writing out BLOBS
Subject: Re: Preventing Duplicate Entries
FULLTEXT query format question
Strange behavior, Table Level Permission
Does the binary log enabling affect the MySQL performances?
mysql:it 's a db not a dbms how it 's possible?!
mysql have same function mthod as Oracle decode()
 
runtime error while trying to set the database online

runtime error while trying to set the database online

2007-08-07       - By Alejandro Barrera

 Back
Hello,

As I've seen this problem seems quite usual for maxdb under Linux due
to the thread handling.

It trigger when you issue something like: dbmcli -u dbm,dbm -d DEMODB db_online
ERR
-24994,ERR_RTE: runtime environment error
1,Check knldiag! Kernel died before reaching ADMIN state

I suppose it fails when trying to get into to ADMIN state.


First of all I'm using debian unstable with the following:
braniac:~# dpkg -l | grep max
ii  maxdb-dbmcli                      7.5.00.34-7
 The MaxDB database manager command line interface
ii  maxdb-server                      7.5.00.34-7
 Communication server for the MaxDB database system
ii  maxdb-server-7 (See http://ver-7.ora-code.com).5.00               7.5.00.34-7
 A transactional, industrial-strength SQL database syst
ii  maxdb-sqlcli                      7.5.00.34-7
 A command line query interface to MaxDB databases
ii  python-maxdb                      7.5.00.34-7
 Python bindings for MaxDB (default version)
ii  python-maxdb-loader               7.5.00.34-7
 Python bindings for MaxDB loader server (default versi

uname -a:
Linux braniac 2.6.21 #3 SMP Mon Jun 18 18:51:52 CEST 2007 i686 GNU/Linux

I looked for the knldiag log but it doesn't seems to exist anywhere in
my system.

Shifting through this list's emails I tried setting the
LD_ASSUME_KERNEL env var to 2.2.4:

braniac:~# export LD_ASSUME_KERNEL=2.2.4
braniac:~# dbmcli -u dbm,dbm -d DEMODB db_online
dbmcli: error while loading shared libraries: libdl.so.2: cannot open
shared object file: No such file or directory

So ok, next phase, I looked for libdl.so.2 to see if I have the library:
braniac:~# dpkg -l | grep libc6
ii  libc6                             2.6-5
 GNU C Library: Shared libraries
ii  libc6-dev                         2.6-5
 GNU C Library: Development Libraries and Header Files

braniac:~# ls -la /lib/libdl*
-rw-r--r-- 1 root root 9684 2007-07-30 00:06 /lib/libdl-2 (See http://bdl-2.ora-code.com).6.so
lrwxrwxrwx 1 root root   12 2007-07-30 23:48 /lib/libdl.so.2 -> libdl-2 (See http://bdl-2.ora-code.com).6.so
braniac:~# ls -la /usr/lib/libdl*
-rw-r--r-- 1 root root 8058 2007-07-30 00:06 /usr/lib/libdl.a
lrwxrwxrwx 1 root root   15 2007-07-30 23:48 /usr/lib/libdl.so ->
/lib/libdl.so.2
braniac:~# ls -la /usr/local/lib/libdl*
lrwxrwxrwx 1 root staff 15 2007-08-07 14:21 /usr/local/lib/libdl.so.2
-> /lib/libdl.so.2

braniac:~# cat /etc/ld.so.conf
include /etc/ld.so.conf.d/*.conf

braniac:~# cat /etc/ld.so.conf.d/libc.conf
# libc default configuration
/usr/local/lib

Now, I don't have a clue why it isn't finding the library. Anyone
knows how to fix it?

Help will be deeply appreciated!

Thanks in advance!
Alex

--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/maxdb?unsub=mysql@(protected)