I've been using memcache since forever and for the very first time I have 
to setup a installation with SASL support.

I tried this 
tutorial 
https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-memcached-on-ubuntu-22-04

but when I try to connect to the memcache using the command memstat I 
cannot authenticate.

memcstat --servers="127.0.0.1" --username="patrick" --password=123123

When I check the Journal I get these messages:
Nov 09 21:42:51 MP4-MEMCACHE systemd-memcached-wrapper[1882]: Initialized 
SASL.
Nov 09 21:43:22 MP4-MEMCACHE systemd-memcached-wrapper[1882]: SASL 
(severity 2): Password verification failed

When I check the daemon status I get these messages:
Nov 09 21:45:53 MP4-MEMCACHE systemd-memcached-wrapper[1882]: Unknown sasl 
response:  -20
Nov 09 21:45:53 MP4-MEMCACHE systemd-memcached-wrapper[1882]: >23 Writing 
an error: Auth failure.
Nov 09 21:45:53 MP4-MEMCACHE systemd-memcached-wrapper[1882]: >23 Writing 
bin response:
Nov 09 21:45:53 MP4-MEMCACHE systemd-memcached-wrapper[1882]: >23   0x81 
0x21 0x00 0x00
Nov 09 21:45:53 MP4-MEMCACHE systemd-memcached-wrapper[1882]: >23   0x00 
0x00 0x00 0x20
Nov 09 21:45:53 MP4-MEMCACHE systemd-memcached-wrapper[1882]: >23   0x00 
0x00 0x00 0x0d
Nov 09 21:45:53 MP4-MEMCACHE systemd-memcached-wrapper[1882]: >23   0x00 
0x02 0x00 0x00
Nov 09 21:45:53 MP4-MEMCACHE systemd-memcached-wrapper[1882]: >23   0x00 
0x00 0x00 0x00
Nov 09 21:45:53 MP4-MEMCACHE systemd-memcached-wrapper[1882]: >23   0x00 
0x00 0x00 0x00
Nov 09 21:45:53 MP4-MEMCACHE systemd-memcached-wrapper[1882]: <23 
connection closed.

Does anyone could help me to this this issue?
I already tried to create other users but the result is always the same.




-- 

--- 
You received this message because you are subscribed to the Google Groups 
"memcached" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/memcached/045ddbdc-bf7d-475a-9aec-d27551bf202fn%40googlegroups.com.

Reply via email to