Hello all. I fixed my problem with "NAS_DB environment not defined". I insert "NAS_DB=/nas " before my command and it is worked. I use libssh2 and it is set up environment not correctly, I think. Thank you guys for help.
Hello.  I have a problem! During using EMC_Celerra 6.0.36-4 emulator I have found that "nas_cel" command via SSH is not work properly. While connecting from my software using SSH to EMC Celerra server with login nasadmin or root and trying to execute command  "/nas/bin/nas_cel -interconnect -list" I have a response "NAS_DB environment not defined".  At the same time the command "/nas/bin/nas_cs -info" works properly from my software and I receive normal responce.  I tried to add the following to the /etc/environment file in EMC server:  PATH=/nas/bin     export NAS_DB=/nas and the responce to the command "/nas/bin/nas_cel -interconnect -list" was the following: "id name source_server   destination_system   destination_server Error 10234: data mover : server_2 is not responding". But if I use directly the command line of EMC server for the same commands everything works properly. This is a part of result of command "env" in my EMC server: "PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/nasadmin/bin:/nas/bin INPUTRC=/etc/inputrc PWD=/home/nasadmin LANG=en_US.UTF-8 SHLVL=1 HOME=/home/nasadmin NAS_DB=/nas LOGNAME=nasadmin "  Еhanks in advance.
EMC_Celerra emulator: problem with "nas_cel" command via SSH