Software Development Kit (SDK) and API Discussions

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

deepak1224
5,393 Views

Hi,

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.

Regards,

Deepak

3 REPLIES 3

rgoyal
5,314 Views

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?

rgoyal
5,314 Views

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.

Reynaldo
4,441 Views

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

Public