Views:

Summary

When running bexcollect for a snapvault job, you receive an error stating that you are unable to connect to the filer.

 

 

Symptoms

 

 

Connecting to db
Connected to ssdatmgr
Logged into master server at <MASTERSERVERNAME>
Could not connect to filer:<FILERNAME>
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at org.apache.commons.net.DefaultSocketFactory.createSocket(DefaultSocketFactory.java:52)
at org.apache.commons.net.SocketClient.connect(SocketClient.java:161)
at org.apache.commons.net.SocketClient.connect(SocketClient.java:249)
at com.syncsort.bex.logscollection.collect.ftpFiler(collect.java:160)
at com.syncsort.bex.logscollection.collect.main(collect.java:526)
java.lang.NullPointerException
at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:404)
at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:438)
at org.apache.commons.net.ftp.FTP.user(FTP.java:588)
at org.apache.commons.net.ftp.FTPClient.login(FTPClient.java:609)
at com.syncsort.bex.logscollection.collect.ftpFiler(collect.java:189)
at com.syncsort.bex.logscollection.collect.main(collect.java:526)
Cleaning up ...done

 

 

 

 

Resolution

 

 

During the bexcollect process, bexcollect will attempt to connect to the filer to gather any applicable NDMPD logs which relate to the snapvault backup job. Therefore, you will need to ensure that the FTP daemon is enabled on the filer. To enable the ftp daemon, logon to your filer and check the status of your ftp daemon by typing:

 

 

options ftpd.enable

If the ftp daemon is turned off, turn it on by typing:

options ftpd.enable on

After doing so, rerun your bexcollect script and you should be able to connect to the filer.