LSMCD can't start

#1
I've read this article " https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:lsmcd:installation " I did what they say all complated till run command "systemctl start lsmcd" it's giving this error
Code:
[root@vmi188732 ~]# systemctl start lsmcd
Job for lsmcd.service failed because the control process exited with error code. See "systemctl status lsmcd.service" and "journalctl -xe" for details.
If I use that " /usr/local/lsmcd/bin/lsmcdctrl start" than it's giving that
Code:
[root@vmi188732 ~]# /usr/local/lsmcd/bin/lsmcdctrl start
+ PROG=/usr/local/lsmcd/bin/lsmcdctrl
+ EXECUTABLE=lsmcd
+ BASE_DIR=/usr/local/lsmcd
+ cd /usr/local/lsmcd
+ '[' '!' -x /usr/local/lsmcd/bin/lsmcd ']'
+ CONF=/usr/local/lsmcd/conf/node.conf
+ DESC=lsmcd
+ '[' '!' -f /usr/local/lsmcd/conf/node.conf ']'
++ grep TmpDir /usr/local/lsmcd/conf/node.conf
+ LINE=TmpDir=/path/lsmcd
+ '[' xTmpDir=/path/lsmcd '!=' x ']'
++ echo TmpDir=/path/lsmcd
++ cut -d = -f2
+ TMPDIR=/path/lsmcd
+ PIDFILE=/path/lsmcd/lsmcd.pid
+ RUNNING=0
++ uname -s
+ SYS_NAME=Linux
+ '[' xLinux = xFreeBSD ']'
+ '[' xLinux = xDarwin ']'
+ PS_CMD='ps -ef'
+ '[' -f /path/lsmcd/lsmcd.pid ']'
+ ret=0
+ case "$1" in
+ '[' 0 -eq 1 ']'
+ start
+ '[' -f /path/lsmcd/lsmcd.pid ']'
+ PID=
+ '[' '!' -f /usr/local/lsmcd/conf/node.conf ']'
+ ./bin/lsmcd -f /usr/local/lsmcd/conf/node.conf
[ERROR] [Lscached]: failed to parse configuration
+ ret=255
+ '[' 255 -eq 0 ']'
+ echo '[ERROR] Failed to start lsmcd!'
[ERROR] Failed to start lsmcd!
+ exit 255
If I use that " service lsmcd start" than it's giving that
Code:
[root@vmi188732 ~]# service lsmcd start
start lsmcd                             [       ERROR   ]

Node.conf is this
Code:
Repl.HeartBeatReq=30
Repl.HeartBeatRetry=3000
Repl.MaxTidPacket=2048000
Repl.GzipStream=YES
Repl.LbAddrs=<178.238.234.71:1234>
Repl.ListenSvrAddr=<178.238.234.71:1234>
Repl.DispatchAddr=<178.238.234.71:5501>

Cached.Addr=<178.238.234.71:11211>
Cached.PriAddr=<178.238.234.71:11000>
#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

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

CACHED.USESASL=TRUE
Where is the wrong ?
 
Last edited by a moderator:

Jon K

Administrator
Staff member
#2
Code:
##this is the global setting, no need to have per slice configuration.
User=nobody
Group=nobody
#depends CPU core
CachedProcCnt=4
RepldSockPath=/path/repld.usock
CachedSockPath=/path/cached.usock.
TmpDir=/path/lsmcd
LogLevel=error
LogFile=/path/lsmcd.log
You need to specify actual paths for the logs and socks.
 
Top