Schroeder, Alexander
I try it upon your advance, but it fail!
In shell 1:
gdb -d $WRK/fast/debug kernel
(gdb) run TEST1
Starting program: /private/V75_00_15/MaxDB_DEV/usr/pgm/kernel TEST1
[New Thread 1074933664 (LWP 2472)]
Program received signal SIGHUP, Hangup.
[Switching to Thread 1074933664 (LWP 2472)]
0xffffe002 in ?? ()
In shell 2: I type ps -ax
2470 pts/0 S 0:08 gdb -d
/private/V75_00_15/MaxDB_DEV/sys/wrk/fast/debug kernel
2472 pts/0 T 0:00 /private/V75_00_15/MaxDB_DEV/usr/pgm/kernel TEST1
and I use "dbmcli -d TEST1 -u dbm,dbm db_online"
it report:
ERR
-24994,ERR_RTE: runtime environment error
1,Database TEST1 already started
and I use sqlcli: sqlcli -d TEST1 -u dba,dba
Welcome to the SAP DB interactive terminal.
Type: \h for help with commands
\q to quit
sqlcli=> create table aaa( id int )
* -10709: Connect failed (RTE:database not running: no request pipe)
sqlcli=>
What shall I do to trace the deail about the kernel's every thread and every
connection.
>Hello Steven,
>
>when starting a database kernel that way, it starts into 'admin' state. You
>have to
>switch the database into online state to execute SQL commands, as you want:
>
>So, open another shell and enter the command
>
>dbmcli -u <dbmuser>,<dbmpassword> -d TEST1 db_online
>
>and then continue as you like.
>
>Regards
>Alexander Schr?der
>SAP DB, SAP Labs Berlin
>
>> -----Original Message-----
>> From: stevenzhoucn [mailto:[EMAIL PROTECTED]
>> Sent: Friday, April 15, 2005 8:00 PM
>> To: Dittmar, Daniel; [email protected]
>> Subject: About how to use sqlcli to connect the kernel with gdb mode
>>
>> daniel.dittmar:
>> Thanks for your help! This week I have not test upon
>> your advice until today .
>> Now:
>> I types these command:
>> gdb -d $WRK/fast/debug kernel
>> gdb> run TEST1
>>
>> and I use ps -ex can see two processes: gdb kernel TEST1
>> kernel TEST1
>> I want to trace the step by step about kernel dowith the
>> sqlcli connection or dbmcli connection.
>> so I try to use sqlcli to connect the kernel, but it
>> connect fail! Use dbmcli to connect the server,
>> It's report the database have been open.
>>
>> What shall I do to trace the deail about the kernel's
>> every thread and every connection.
>>
>>
>>
>>
>>
>>
>>
>> --
>> MaxDB Discussion Mailing List
>> For list archives: http://lists.mysql.com/maxdb
>> To unsubscribe:
>> http://lists.mysql.com/[EMAIL PROTECTED]
>>
>>
stevenzhoucn
[EMAIL PROTECTED]
2005-04-18
--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]