Domain does not start or stop using sm_service command
book
Article ID: 304202
calendar_today
Updated On:
Products
VMware Smart Assurance
Issue/Introduction
Symptoms:
Smarts Domain does not start when using the sm_service command
Smarts sm_service commands (start, stop, show status) do not work on Smarts domains
Smarts broker crashes when adding domain to the broker
The following error is seen in Smarts domain log, when executing an sm_service command to start, stop, or show status of a Smarts domain:
[root@<Host_Name>]# ./sm_service show [May 10, 2013 10:31:30 AM EDT +775ms] t@2194017104 <Primary Thread>CI-E-EFLOWID-For flow CI_FlowBufferedHead_U [Client Buffered Head] HEAD|BUFFERED @0x0000000010dc0a30. Read buffer, 0 bytes available of 2145 . ?3?0000000000000000 0000000000000000 <^|0000000000000000 0000000000000000 . Write buffer, 0 bytes written of 2048 . ?3?[^0000000000000000 0000000000000000 0000000000000000 0000000000000000 . ->CI_FlowPipe_U IN_FLOW|PHYSICAL|LOCAL @0x0000000010dc08a0 . sm_service CI-EWHILE-While executing function "open" <SYS>-ECONNREFUSED-Connection refused; in file "/work/tancurrent/DMT-9.2.0.0/19/smarts/clsapi/ci_flow.c" at line 3009
Environment
Smarts 10.1.X
Cause
The above issues occur because the SM_HOME path is not correctly specified in the ic-serviced file.
Resolution
If you encounter this issue, do the following:
Open the ic-serviced file for your Smarts environment.
Ensure that the path specified for the SMHOME variable is correct for the Smarts environment installation path. For example: If you have Smarts IP Manager installed in the /opt/Incharge/IP/smarts directory, you would need to set the SM_HOME path value (SMHOME=[PATH]) in ic-serviced as follows: