Software Development Kit (SDK) and API Discussions

ONTAPI 'system-get-version' failing with error in Zapi::invoke, cannot connect to socket



I am writing script to connect to the filer through perl script and running the API. But i am getting the following error:

     Zapi::invoke, cannot connect to socket

This script is work for the one filer and get me output NetApp Release 7.3.3: Thu Mar 11 22:35:06 PST 2010. But same script is failing for another filer wich has version NetApp Release 8.0.2P3 7-Mode: Thu Oct 13 15:56:25 PDT 2011. Is this issue with the NetApp Release 8.0.2P3 7-Mode:

I am using short name of the filer to connect which is pingble. Please help me to resolve the issue.





Are you able to execute any other ZAPI on the system? Is it a problem with "system-get-version" API or any API in general?


also check if 'httpd.admin.enable' option is enabled on the 7-mode system. If not, then enable it and try to run your script.


I had the same issue, but, after enable this options the connection started working properly
if you are using vfiler you need to be sure to enable this option into the vfiler also

NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner