[Solved] LSMCD won't start. Am I configuring /usr/local/lsmcd/conf/node.conf correctly?

#1
I followed the steps found in: https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:lsmcd:installation to compile and install LSMCD.

I am not fully clear if I am suppose to change any values from the example /usr/local/lsmcd/conf/node.conf. The IPs use localhost (127.0.0.1) and the ports seem correct. The paths are set to put log files in /tmp. I attached /tmp/lsmcd.log.

My /usr/local/lsmcd/conf/node.conf is as follows:

Code:
Repl.HeartBeatReq=30
Repl.HeartBeatRetry=3000
Repl.MaxTidPacket=2048000
Repl.GzipStream=YES
Repl.LbAddrs=127.0.0.1:12340
Repl.ListenSvrAddr=127.0.0.1:12340
REPL.DispatchAddr=127.0.0.1:5501
RepldSockPath=/tmp/repld.usock
CACHED.PRIADDR=127.0.0.1:11000

CACHED.ADDR=127.0.0.1:11211
#CACHED.ADDR=UDS:///tmp/lsmcd.sock
#default is 8, it can be bigger depending on cache data amount
Cached.Slices=8
Cached.Slice.Priority.0=100
Cached.Slice.Priority.1=100
Cached.Slice.Priority.2=100
Cached.Slice.Priority.3=100
Cached.Slice.Priority.4=100
Cached.Slice.Priority.5=100
Cached.Slice.Priority.6=100
Cached.Slice.Priority.7=100

Cached.ShmDir=/dev/shm/lsmcd
#If you change the UseSasl or DataByUser configuration options you need to remove the ShmDir folder and contents.
#Cached.UseSasl=true
#Cached.DataByUser=true
#Cached.Anonymous=false
#Cached.UserSize=1000
#Cached.HashSize=500000
#CACHED.MEMMAXSZ=0
#CACHED.NOMEMFAIL=false

##this is the global setting, no need to have per slice configuration.
User=nobody
Group=nobody
#depends CPU core
CachedProcCnt=4
CachedSockPath=/tmp/cached.usock.
#TmpDir=/tmp/lsmcd
LogLevel=notice
#LogLevel=dbg_medium
LogFile=/tmp/lsmcd.log
 

Attachments

Pong

Administrator
Staff member
#2
configure looks fine.
when you run
/usr/local/lsmcd/bin/lsmcdctrl start
Any error message?

What returns for the following?
telnet 127.0.0.1 11211
 
Last edited by a moderator:
#3
It was a combination of things. At first I had not opened port 11211 in the firewall, and by the time I figured out I had to do that I had accidentally enabled SASL. I now have port 11211 attached to 127.0.0.1 and SASL disabled. LSMCD is running fine now. Thank you.
 
Top