Comments (3)
The article is not appropriate. So long as the lsmcd process is running on your system, you should be fine. It looks to me like you had everything setup correctly for UDS and your test was a good one. It should have worked. So let's go back to that. Please open a ticket with LiteSpeed and we can work closely on this problem. In particular I'll need root access into your system so I can diagnose your issue and we shouldn't put that kind of info on a public forum like this. You can open a ticket here: https://store.litespeedtech.com/store/submitticket.php?step=2&deptid=2 and make sure that LSMCD is in the subject line and we can help you with the problem. Thanks,
Bob
from lsmcd.
Honestly I prefer to debug that personally.
I guess the problem related to SASL over unix socket:
/tmp/lsmcd.log
2022-08-28 19:32:12.748 [ERROR] [PID: 43902] Successful SASL authentication not performed
2022-08-28 19:32:13.665 [ERROR] [PID: 43902] Successful SASL authentication not performed
2022-08-28 19:40:03.525 [ERROR] [PID: 43903] Successful SASL authentication not performed
Debug High Level Log:
2022-08-28 21:38:59.073 [DEBUG] [PID: 12668] Memcache New connection from [0.0.0.0:0]
2022-08-28 21:38:59.073 [DEBUG] [PID: 12668] New connection - reset user
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] MemcacheConn processIncoming pid:12668, addr:0x14a2730, m_bufIncoming size:40
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] Tracing 40 bytes (allocated 178, used 168):
0000: 80010004 08000000 00000010 00010000 ................
0010: 00000000 00000000 00000000 00000000 ................
0020: 74657374 776f726b testwork
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] MemcacheConn processIncoming 1
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] MemcacheConn processIncoming 2
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] MemcacheConn processIncoming pid:12668, addr:0x14a2730, 3
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] MemcacheConn processIncoming pid:12668, addr:0x14a2730, 4
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] MemcacheConn processIncoming pid:12668, addr:0x14a2730, 5
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] MemcacheConn processIncoming pid:12668, addr:0x14a2730, 7
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] SASL test, parm for sasl: YES, isAuthenticated: NO, opcode: 1
2022-08-28 21:38:59.074 [ERROR] [PID: 12668] Successful SASL authentication not performed
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] binErrRespond err: 32
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] binRespond, 24 bytes
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] binRespond, 13 bytes
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] SendEx pid: 12668
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] Tracing 37 bytes (allocated 178, used 166):
0000: 81010000 00000020 0000000d 00010000 ....... ........
0010: 00000000 00000000 41757468 20666169 ........Auth fai
0020: 6c757265 2e lure.
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] MemcacheConn processIncoming 10
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] Close connection - reset user and other cached stuff
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] memcacheconn::setUser: (null)
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] Conn 0x14a2730 set pHash: (nil)
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] Memcache New connection from [24.0.0.0:0]
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] New connection - reset user
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] MemcacheConn processIncoming pid:12668, addr:0x14a2730, m_bufIncoming size:40
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] Tracing 40 bytes (allocated 178, used 168):
0000: 80010004 08000000 00000010 00020000 ................
0010: 00000000 00000000 00000000 00000000 ................
0020: 74657374 776f726b testwork
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] MemcacheConn processIncoming 1
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] MemcacheConn processIncoming 2
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] MemcacheConn processIncoming pid:12668, addr:0x14a2730, 3
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] MemcacheConn processIncoming pid:12668, addr:0x14a2730, 4
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] MemcacheConn processIncoming pid:12668, addr:0x14a2730, 5
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] MemcacheConn processIncoming pid:12668, addr:0x14a2730, 7
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] SASL test, parm for sasl: YES, isAuthenticated: NO, opcode: 1
2022-08-28 21:38:59.074 [ERROR] [PID: 12668] Successful SASL authentication not performed
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] binErrRespond err: 32
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] binRespond, 24 bytes
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] binRespond, 13 bytes
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] SendEx pid: 12668
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] Tracing 37 bytes (allocated 178, used 166):
0000: 81010000 00000020 0000000d 00020000 ....... ........
0010: 00000000 00000000 41757468 20666169 ........Auth fai
0020: 6c757265 2e lure.
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] MemcacheConn processIncoming 10
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] Close connection - reset user and other cached stuff
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] memcacheconn::setUser: (null)
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] Conn 0x14a2730 set pHash: (nil)
2022-08-28 21:38:59.074 [DEBUG] [PID: 12667] Memcache New connection from [0.0.0.0:0]
2022-08-28 21:38:59.074 [DEBUG] [PID: 12667] New connection - reset user
2022-08-28 21:38:59.074 [DEBUG] [PID: 12667] MemcacheConn processIncoming pid:12667, addr:0x14a2730, m_bufIncoming size:40
2022-08-28 21:38:59.074 [DEBUG] [PID: 12667] Tracing 40 bytes (allocated 178, used 168):
0000: 80010004 08000000 00000010 00030000 ................
0010: 00000000 00000000 00000000 00000000 ................
0020: 74657374 776f726b testwork
2022-08-28 21:38:59.074 [DEBUG] [PID: 12667] MemcacheConn processIncoming 1
2022-08-28 21:38:59.074 [DEBUG] [PID: 12667] MemcacheConn processIncoming 2
2022-08-28 21:38:59.074 [DEBUG] [PID: 12667] MemcacheConn processIncoming pid:12667, addr:0x14a2730, 3
2022-08-28 21:38:59.074 [DEBUG] [PID: 12667] MemcacheConn processIncoming pid:12667, addr:0x14a2730, 4
2022-08-28 21:38:59.074 [DEBUG] [PID: 12667] MemcacheConn processIncoming pid:12667, addr:0x14a2730, 5
2022-08-28 21:38:59.074 [DEBUG] [PID: 12667] MemcacheConn processIncoming pid:12667, addr:0x14a2730, 7
2022-08-28 21:38:59.074 [DEBUG] [PID: 12667] SASL test, parm for sasl: YES, isAuthenticated: NO, opcode: 1
2022-08-28 21:38:59.074 [ERROR] [PID: 12667] Successful SASL authentication not performed
2022-08-28 21:38:59.074 [DEBUG] [PID: 12667] binErrRespond err: 32
2022-08-28 21:38:59.074 [DEBUG] [PID: 12667] binRespond, 24 bytes
2022-08-28 21:38:59.074 [DEBUG] [PID: 12667] binRespond, 13 bytes
2022-08-28 21:38:59.074 [DEBUG] [PID: 12667] SendEx pid: 12667
2022-08-28 21:38:59.074 [DEBUG] [PID: 12667] Tracing 37 bytes (allocated 178, used 166):
0000: 81010000 00000020 0000000d 00030000 ....... ........
0010: 00000000 00000000 41757468 20666169 ........Auth fai
0020: 6c757265 2e lure.
2022-08-28 21:38:59.074 [DEBUG] [PID: 12667] MemcacheConn processIncoming 10
2022-08-28 21:38:59.074 [DEBUG] [PID: 12667] Close connection - reset user and other cached stuff
2022-08-28 21:38:59.074 [DEBUG] [PID: 12667] memcacheconn::setUser: (null)
2022-08-28 21:38:59.074 [DEBUG] [PID: 12667] Conn 0x14a2730 set pHash: (nil)
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] Memcache New connection from [0.0.0.0:0]
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] New connection - reset user
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] MemcacheConn processIncoming pid:12668, addr:0x14a2730, m_bufIncoming size:52
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] Tracing 52 bytes (allocated 237, used 223):
0000: 800d0004 00000000 00000004 00040000 ................
0010: 00000000 00000000 74657374 800a0000 ........test....
0020: 00000000 00000000 00050000 00000000 ................
0030: 00000000 ....
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] MemcacheConn processIncoming 1
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] MemcacheConn processIncoming 2
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] MemcacheConn processIncoming pid:12668, addr:0x14a2730, 3
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] MemcacheConn processIncoming pid:12668, addr:0x14a2730, 4
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] MemcacheConn processIncoming pid:12668, addr:0x14a2730, 5
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] MemcacheConn processIncoming pid:12668, addr:0x14a2730, 7
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] SASL test, parm for sasl: YES, isAuthenticated: NO, opcode: 13
2022-08-28 21:38:59.074 [ERROR] [PID: 12668] Successful SASL authentication not performed
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] binErrRespond err: 32
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] binRespond, 24 bytes
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] binRespond, 13 bytes
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] SendEx pid: 12668
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] Tracing 37 bytes (allocated 178, used 166):
0000: 810d0000 00000020 0000000d 00040000 ....... ........
0010: 00000000 00000000 41757468 20666169 ........Auth fai
0020: 6c757265 2e lure.
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] MemcacheConn processIncoming 10
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] Close connection - reset user and other cached stuff
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] memcacheconn::setUser: (null)
2022-08-28 21:38:59.074 [DEBUG] [PID: 12668] Conn 0x14a2730 set pHash: (nil)
when I enable the Cached.Anonymous
, it works well with no error and prints the output.
CACHED.ADDR=UDS:///tmp/lsmcd/lsmcd.sock
Cached.Anonymous=true
However it doesn't solve the issue, because I want to use username/password authentication.
Btw it's the journal error while starting the lsmcd:
Aug 28 19:32:08 server systemd[1]: Starting LSB: lsmcd...
Aug 28 19:32:08 server lsmcd[43899]: sql_select option missing
Aug 28 19:32:08 server lsmcd[43899]: auxpropfunc error no mechanism available
Aug 28 19:32:08 server lsmcd[43899]: _sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: sql
Aug 28 19:32:08 server lsmcd[43899]: auxpropfunc error invalid parameter supplied
Aug 28 19:32:08 server lsmcd[43899]: _sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: ldapdb
Aug 28 19:32:08 server lsmcd[43899]: ldapdb_canonuser_plug_init() failed in sasl_canonuser_add_plugin(): invalid parameter supplied
Aug 28 19:32:08 server lsmcd[43899]: _sasl_plugin_load failed on sasl_canonuser_init for plugin: ldapdb
Aug 28 19:32:09 server lsmcd[43880]: start lsmcd [ OK ]
Aug 28 19:32:09 server systemd[1]: Started LSB: lsmcd.
[root@server ~]# ps aux | grep lsmcd
root 43899 0.0 0.0 198188 4112 ? S 19:32 0:00 /usr/local/lsmcd/bin/lsmcd -f /usr/local/lsmcd/conf/node.conf
nobody 43901 0.0 0.0 198188 1696 ? S 19:32 0:00 /usr/local/lsmcd/bin/lsmcd
nobody 43902 0.0 0.0 198188 1696 ? S 19:32 0:00 /usr/local/lsmcd/bin/lsmcd
nobody 43903 0.0 0.0 198188 1696 ? S 19:32 0:00 /usr/local/lsmcd/bin/lsmcd
nobody 43904 0.0 0.0 198188 1696 ? S 19:32 0:00 /usr/local/lsmcd/bin/lsmcd
nobody 43905 0.0 0.0 198188 1692 ? S 19:32 0:00 /usr/local/lsmcd/bin/lsmcd
root 47441 0.0 0.0 112808 976 pts/0 S+ 19:53 0:00 grep --color=auto lsmcd
from lsmcd.
from lsmcd.
Related Issues (20)
- lscmd not started HOT 12
- stats items not working HOT 4
- "Binary data is too long" in log - Multiple times every second HOT 12
- FATAL ERROR alloc2 cross large page boundary HOT 2
- LSMCD is filling up the /tmp/lsmcd folder after the latest update HOT 9
- Benefits over Memcached? HOT 3
- Update LSMCD codebase to Memcached v1.6 for meta protocol and syscall batching support HOT 1
- Clearing object cache for a single WP site HOT 1
- update and version HOT 1
- ip HOT 1
- LogLevel not being honored HOT 3
- Unable to locate package lsphp74-memcached
- lsmcd systemd stops randomly HOT 39
- sasl PHP Fatal error HOT 8
- uninstall.sh HOT 1
- Compile error HOT 4
- LogLevel=notice, returning DEBUG HOT 1
- PHP Fatal Error with LSMCD HOT 1
- Sasl user database HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lsmcd.