Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
litespeed_wiki:lsmcd:user-errors [2018/08/21 16:22]
Michael Alegre Moved from litespeed_wiki:lsmcd:user_errors
litespeed_wiki:lsmcd:user-errors [2019/02/25 20:07]
Robert Perper [Other Tools]
Line 7: Line 7:
    * Your user is missing from the SASL database. ​ You can add yourself by following the link provided and entering a password.    * Your user is missing from the SASL database. ​ You can add yourself by following the link provided and entering a password.
    * ''​RC:​ 121 Output: Stats server exception:''​    * ''​RC:​ 121 Output: Stats server exception:''​
-   * ''​RC:​ 122 Output: Stats server access error'' ​ +   * ''​RC:​ 122 Output: Stats server access error'' ​ 
 +   * Other tools 
  
 ==== ''​RC:​ 121 Output: Stats server exception: (message)''​ ==== ==== ''​RC:​ 121 Output: Stats server exception: (message)''​ ====
Line 20: Line 21:
   /​usr/​local/​lsmcd/​bin/​lsmcdctrl start   /​usr/​local/​lsmcd/​bin/​lsmcdctrl start
  
 +==== Other Tools ====
 +
 +There are other things you can do to validate accessibility to the LSMCD server. ​ All involve running in a console (ssh session) as root:
 +
 +   * Run telnet
 +   * Check the log
 +   * Get stats manually
 +
 +=== Run telnet ===
 +
 +To run telnet, connect to the server IP and port configured for lsmcd. ​ For example if you are running on the server:
 +   ​telnet 127.0.0.1 11211
 +
 +
 +If telnet is not found (and it's not installed by default), you may need to install it:
 +   yum install telnet
 +
 +Once you have connected, you can run run the ''​stats''​ command to validate that you have proper connectivity. ​ It should report the current stats for the anonymous user.
 +
 +=== Check the log ===
 +
 +This should be done for any and all problems. ​ The log is ''/​tmp/​lsmcd.log''​ by default. ​ If there is insufficient logging to help you find the problem, you can update node.conf (in ''/​usr/​local/​lsmcd/​conf/​node.conf''​) to set ''​LogLevel=dbg_medium''​. ​ You will need to restart the lsmcd server.  ​
 +
 +=== Manually perform the stats function ===
 +
 +The stats are obtained by running a script which obtains them.  You can do this manually from the command line.  In a default install:
 +
 +   cd /​usr/​local/​cpanel/​base/​frontend/​paper_lantern/​lsmcd_usermgr
 +   ​./​lsmcdsasl.py 127.0.0.1:​11211 user
 +   
 +Where ''​user''​ is the user you are verifying.
 +   
 ===== Other Errors (LSMCD related) ===== ===== Other Errors (LSMCD related) =====
  
  • Admin
  • Last modified: 2019/02/25 20:59
  • by Lisa Clarke