Data Domain High Availability 5.7.1: #Autosupport send command fails with an error on DDHA
Summary: Autosupport send command results in an error.
Symptoms
Unable to send autosupport with autosupport command.
Cause
msg:2016-01-28T12:02:25 0 Info main() Version 1.0 Start DataDomain EMA alert processing
failed to open log file "/opt/connectemc/logs/rscApiLog.log", Error:2 No such file or directory
msg:2016-01-28T12:02:25 0 Info main() Version 1.0 Initialized identity
failed to open log file "/opt/connectemc/logs/rscApiLog.log", Error:2 No such file or directory
msg:2016-01-28T12:02:25 0 Info main() Version 1.0 Initialized connection
failed to open log file "/opt/connectemc/logs/rscApiLog.log", Error:2 No such file or directory
msg:2016-01-28T12:02:25 0 Info main() Version 1.0 Initialized event
failed to open log file "/opt/connectemc/logs/rscApiLog.log", Error:2 No such file or directory
msg:2016-01-28T12:02:25 201 Debug EMAAPI3.1.0-1 RSCEventAdd() Routine Entrance. autosupport
failed to open log file "/opt/connectemc/logs/rscApiLog.log", Error:2 No such file or directory
msg:2016-01-28T12:02:25 201 Info EMAAPI3.1.0-1 EMATransEventAndRawData() Routine Entrance. /opt/connectemc/poll/RSC_CKMXXXXXXXXXXX_012816_120225305.xml
Resolution
- From ASUP, Confirm ConnectEMC is enabled and running:
config_master.connectemc.enable = true
config_master.connectemc.ipaddress_gateway = 10.XX.XXX.30
config_master.connectemc.notification = none
config_master.connectemc.transport_type = ESRS
Connectemc Configuration
------------------------
ConnectEMC is not enabled.
Connectemc Status
-----------------
ConnectEMC is enabled but not running.
- Check the content of folder /opt/connectemc on the system. It should contain something similar to the below:
-rw-r--r-- 1 root root 3133 Feb 9 14:52 ConnectEMC.ini
-rw-r--r-- 1 root root 3133 Feb 9 14:52 ConnectEMC.ini.old
-rw-r--r-- 1 root root 962 Feb 9 14:52 ConnectEMC_config.xml
-rw-r--r-- 1 root root 962 Feb 9 14:52 ConnectEMC_config.xml.old
drwxr-xr-x 2 root root 4096 Feb 9 00:27 bin
drwxr-xr-x 2 root root 4096 Feb 9 00:27 certs
-rwxr-xr-x 1 root root 19193054 Jan 5 2012 connectemc
-rwxr-xr-x 1 root root 737 Jan 5 2012 emcfepbsafepub.key
-rwxr-xr-x 1 root root 320 Jan 5 2012 emcfeppub.key
drwxr-xr-x 2 root root 4096 Feb 9 00:27 lib
- If ConnectEMC is not enabled, if the ConnectEMC is enabled but not running, then the error message is expected on Autosupport send output.