NetWorker: CONNECTEMC Fails to Send 'nsrctld NSR Notice Connectemc: Failed to Open Log File LOGS CONNECTEMC.LOG Error:2 No Such File or Directory'
Summary: ConnectEMC fails to open logs ConnectEMC.log (error 2), indicating a missing file. The issue is caused by a code defect (EZ 31929) where ConnectEMC uses an incorrect relative path.
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
The ConnectEMC fails to send with the error stack in the daemon log:
124553 mm/dd/yyyy hh:mm:ss PM 1 3 0 3008673568 31477 0 <NetWorker_server> nsrd RAP notice User initiated RAP database dump in preparation for sending data to ConnectEMC
0 mm/dd/yyyy hh:mm:ss PM 1 5 0 997185280 31368 0 <NetWorker_server> nsrctld NSR notice connectemc: msg:2018-05-01T18:15:33 208 Info EMAAPI2.6.1-2 RSCCopyRSCFiles() Successful file copy. Successful file copy. Source: /opt/nsr/eventservice/opt/connectemc/poll/RSC_00-50-56-B1-05-89_050118_061450118.xml, Dest: /opt/nsr/eventservice/opt/connectemc/failed/RSC_00-50-56-B1-05-89_050118_061450118.xml
0 mm/dd/yyyy hh:mm:ss PM 1 5 0 997185280 31368 0 <NetWorker_server> nsrctld NSR notice connectemc:
0 mm/dd/yyyy hh:mm:ss PM 1 5 0 997185280 31368 0 <NetWorker_server> nsrctld NSR notice connectemc: failed to open log file "logs/ConnectEMC.log", Error:2 No such file or directory
0 mm/dd/yyyy hh:mm:ss PM 1 5 0 997185280 31368 0 <NetWorker_server> nsrctld NSR notice connectemc: msg:2018-05-01T18:15:33 208 Info EMAAPI2.6.1-2 RSCCopyRSCFiles() Successful file copy. Successful file copy. Source: /opt/nsr/eventservice/opt/connectemc/poll/RSC_00-50-56-B1-05-89_050118_061450118.xml, Dest: /opt/nsr/eventservice/opt/connectemc/recycle/RSC_00-50-56-B1-05-89_050118_061450118.xml
0 mm/dd/yyyy hh:mm:ss PM 1 5 0 997185280 31368 0 <NetWorker_server> nsrctld NSR notice connectemc:
0 mm/dd/yyyy hh:mm:ss PM 1 5 0 997185280 31368 0 <NetWorker_server> nsrctld NSR notice connectemc: failed to open log file "logs/ConnectEMC.log", Error:2 No such file or directory
0 mm/dd/yyyy hh:mm:ss PM 1 5 0 997185280 31368 0 <NetWorker_server> nsrctld NSR notice connectemc: msg:2018-05-01T18:15:33 121 Info EMAAPI2.6.1-2 RSCRetrieveFiles() No RSC files in passed directory. /opt/nsr/eventservice/opt/connectemc/history/*_*T*.*
0 mm/dd/yyyy hh:mm:ss PM 1 5 0 997185280 31368 0 <NetWorker_server> nsrctld NSR notice connectemc:
0 mm/dd/yyyy hh:mm:ss3 PM 1 5 0 997185280 31368 0 <NetWorker_server> nsrctld NSR notice connectemc: failed to open log file "logs/ConnectEMC.log", Error:2 No such file or directory
[root@dmrhel6a linux_x86_64]#0 mm/dd/yyyy hh:mm:ss PM 1 5 0 997185280 31368 0 <NetWorker_server> nsrctld NSR notice connectemc: msg:2018-05-01T18:15:33 208 Info EMAAPI2.6.1-2 RSCCopyRSCFiles() Successful file copy. Successful file copy. Source: /opt/nsr/eventservice/opt/connectemc/poll/RSC_00-50-56-B1-05-89_050118_061450118.xml, Dest: /opt/nsr/eventservice/opt/connectemc/failed/RSC_00-50-56-B1-05-89_050118_061450118.xml
0 mm/dd/yyyy hh:mm:ss PM 1 5 0 997185280 31368 0 <NetWorker_server> nsrctld NSR notice connectemc:
0 mm/dd/yyyy hh:mm:ss PM 1 5 0 997185280 31368 0 <NetWorker_server> nsrctld NSR notice connectemc: failed to open log file "logs/ConnectEMC.log", Error:2 No such file or directory
0 mm/dd/yyyy hh:mm:ss PM 1 5 0 997185280 31368 0 <NetWorker_server> nsrctld NSR notice connectemc: msg:2018-05-01T18:15:33 208 Info EMAAPI2.6.1-2 RSCCopyRSCFiles() Successful file copy. Successful file copy. Source: /opt/nsr/eventservice/opt/connectemc/poll/RSC_00-50-56-B1-05-89_050118_061450118.xml, Dest: /opt/nsr/eventservice/opt/connectemc/recycle/RSC_00-50-56-B1-05-89_050118_061450118.xml
0 mm/dd/yyyy hh:mm:ss PM 1 5 0 997185280 31368 0 <NetWorker_server> nsrctld NSR notice connectemc:
0 mm/dd/yyyy hh:mm:ss PM 1 5 0 997185280 31368 0 <NetWorker_server> nsrctld NSR notice connectemc: failed to open log file "logs/ConnectEMC.log", Error:2 No such file or directory
0 mm/dd/yyyy hh:mm:ss PM 1 5 0 997185280 31368 0 <NetWorker_server> nsrctld NSR notice connectemc: msg:2018-05-01T18:15:33 121 Info EMAAPI2.6.1-2 RSCRetrieveFiles() No RSC files in passed directory. /opt/nsr/eventservice/opt/connectemc/history/*_*T*.*
0 mm/dd/yyyy hh:mm:ss PM 1 5 0 997185280 31368 0 <NetWorker_server> nsrctld NSR notice connectemc:
0 mm/dd/yyyy hh:mm:ss3 PM 1 5 0 997185280 31368 0 <NetWorker_server> nsrctld NSR notice connectemc: failed to open log file "logs/ConnectEMC.log", Error:2 No such file or directory
Cause
Code defect. known issue: EZ 31929: NetWorker 9.1.1.5: ConnectEMC looks in the wrong relative path, and reports nsrctld NSR notice connectemc: failed to open log file "logs/ConnectEMC.log", Error:2 No such file or directory
Resolution
EMC Engineering is currently investigating this problem. A permanent fix is still in progress. Contact the EMC Customer Support Center for assistance and quote this article number.
Work around: Modify connectemc.run and add the comment and symbolic links as noted:
Work around: Modify connectemc.run and add the comment and symbolic links as noted:
#!/bin/bash
# Copyright (c) 2014 EMC Corporation
#
# All rights reserved.
#
# Unset LD_LIBRARY_PATH and R_SHLIB_LD_LIBRARY_PATH so that connectemc
# does not use NetWorker libraries. This prevents connectemc from coring.
unset LD_LIBRARY_PATH
unset R_SHLIB_LD_LIBRARY_PATH
# Create 'logs' symlinks to avoid "No such file or directory" errors
ln -t /opt/nsr/eventservice/opt/connectemc/failed -s ../logs > /dev/nul 2>&1
ln -t /opt/nsr/eventservice/opt/connectemc/history -s ../logs > /dev/nul 2>&1
ln -t /opt/nsr/eventservice/opt/connectemc/poll -s ../logs > /dev/nul 2>&1
EXEC=/opt/nsr/eventservice/opt/connectemc
export EXEC
exec ${EXEC}/connectemc
# Copyright (c) 2014 EMC Corporation
#
# All rights reserved.
#
# Unset LD_LIBRARY_PATH and R_SHLIB_LD_LIBRARY_PATH so that connectemc
# does not use NetWorker libraries. This prevents connectemc from coring.
unset LD_LIBRARY_PATH
unset R_SHLIB_LD_LIBRARY_PATH
# Create 'logs' symlinks to avoid "No such file or directory" errors
ln -t /opt/nsr/eventservice/opt/connectemc/failed -s ../logs > /dev/nul 2>&1
ln -t /opt/nsr/eventservice/opt/connectemc/history -s ../logs > /dev/nul 2>&1
ln -t /opt/nsr/eventservice/opt/connectemc/poll -s ../logs > /dev/nul 2>&1
EXEC=/opt/nsr/eventservice/opt/connectemc
export EXEC
exec ${EXEC}/connectemc
Affected Products
ConnectEMC, NetWorkerArticle Properties
Article Number: 000059471
Article Type: Solution
Last Modified: 09 Dec 2025
Version: 5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.