kimyx
unread,May 7, 2012, 11:41:22 PM5/7/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dbslayer
I've just started using dbslayer. I've built and run it successfully
on my laptop, connecting to a database on a server on the lan. I can
build successfully on that same server, but when I try to run it
there, connecting to the db via localhost or the server name, it seems
to exit immediately -- no dbslayer process is left in memory.
I'm using dbslayer/beta-12 on Ubuntu 10.04.3 LTS. The only difference
I can see is that my laptop is running Ubuntu 10.04.4 LTS, and my
laptop gets more regular updates.
Here is ldd on the server machine:
kkokkonen@makemo:/usr/local/bin$ ldd dbslayer
linux-vdso.so.1 => (0x00007fff9d7ff000)
libaprutil-1.so.0 => /usr/lib/libaprutil-1.so.0 (0x00007f9915eb6000)
libexpat.so.0 => /lib/libexpat.so.0 (0x00007f9915c8d000)
libapr-1.so.0 => /usr/lib/libapr-1.so.0 (0x00007f9915a56000)
librt.so.1 => /lib/librt.so.1 (0x00007f991584e000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x00007f9915615000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007f99153f7000)
libdl.so.2 => /lib/libdl.so.2 (0x00007f99151f3000)
libmysqlclient_r.so.16 => /usr/lib/libmysqlclient_r.so.16
(0x00007f9914de6000)
libc.so.6 => /lib/libc.so.6 (0x00007f9914a62000)
libm.so.6 => /lib/libm.so.6 (0x00007f99147df000)
libuuid.so.1 => /lib/libuuid.so.1 (0x00007f99145da000)
/lib64/ld-linux-x86-64.so.2 (0x00007f99160ee000)
libnsl.so.1 => /lib/libnsl.so.1 (0x00007f99143bf000)
libz.so.1 => /lib/libz.so.1 (0x00007f99141a8000)
The ldd output on my laptop looks just the same although checksums are
different,
If I run it under gdb, it says this:
kkokkonen@makemo:~/dbslayer/dbslayer$ gdb /usr/local/bin/dbslayer
GNU gdb (GDB) 7.1-ubuntu
Reading symbols from /usr/local/bin/dbslayer...done.
(gdb) run -c /opt/dbslayer/dbslayer.cnf -s processing_status
Starting program: /usr/local/bin/dbslayer -c /opt/dbslayer/
dbslayer.cnf -s processing_status
[Thread debugging using libthread_db enabled]
[New Thread 0x7ffff5eaf700 (LWP 8630)]
[Thread 0x7ffff5eaf700 (LWP 8630) exited]
Program exited normally.
I don't see any interesting messages in /var/log.
I tried adding the -e and -l options to the command line but no output
is written.
The cnf file is simple:
[processing_status]
database=processing_status_kim
host=makemo
user=xxxx
pass=yyyy
Any ideas?
Thanks for your help. This software is just what I need...
-Kim