qzfzz / memcachedb

Automatically exported from code.google.com/p/memcachedb
Other
0 stars 0 forks source link

Error in set into memcachedb #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. memcachedb  -l 192.168.16.106 -p7001  -d -r -u root  -H /db/memcachedb
2. telnet  192.168.16.106  7001
3. set test 0 0 1
   1234

4. there was no responsed "STORED" ,why ?????

What version of the product are you using? On what operating system?
db-4.7.25
libevent-1.4.12-stable
memcachedb-1.2.0 
AS4-U2 ,2.6.9-22.EL

Original issue reported on code.google.com by eaglee...@126.com on 22 Sep 2009 at 5:50

GoogleCodeExporter commented 9 years ago
when i telnet ,set test ,happend core error
that was :
#0  0x0804bb72 in event_handler (fd=6, which=2, arg=0x80d0012) at 
memcachedb.c:1916
1916        c->which = which;
(gdb) bt
#0  0x0804bb72 in event_handler (fd=6, which=2, arg=0x80d0012) at 
memcachedb.c:1916
#1  0x0029e668 in event_base_loop (base=0x80d24e0, flags=Variable "flags" is 
not 
available.
) at event.c:315
#2  0x0804d412 in main (argc=10, argv=0xbfe71804) at memcachedb.c:2706

Original comment by eaglee...@126.com on 22 Sep 2009 at 6:27

GoogleCodeExporter commented 9 years ago
'ldd <your memcachedb bin>' to check if you linked it with old libevent 
version. If true, make it link with new 
version.

Original comment by stv...@gmail.com on 22 Sep 2009 at 7:01

GoogleCodeExporter commented 9 years ago
memcachedb-1.2.0]# ldd  memcachedb
        libdb-4.7.so => /usr/local/BerkeleyDB.4.7/lib/libdb-4.7.so (0x00821000)
        libevent-1.3.so.1 => /usr/lib/libevent-1.3.so.1 (0x007b6000)
        libc.so.6 => /lib/tls/libc.so.6 (0x0053b000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x0075b000)
        /lib/ld-linux.so.2 (0x00522000)

what should i do if i want make it link with new 
version.?

Original comment by eaglee...@126.com on 22 Sep 2009 at 7:15