Wednesday 18 September 2013

ssh Paramiko error missing libdb_cxx4.7.so

ssh Paramiko error missing libdb_cxx4.7.so

I am using python 2.7 and running Paramiko library to run an SSH command
between two servers. i want to automatically execute commands on the
remote server using Client.exec_command('command'). After the command is
being executed the remote server is not able to locate the libdb_cxx4.7
even though after confirming tens of times its on the same location as in
'command' in order to the start up the processname ->
self.__cmdClient.exec_command('cmd.exe //usr/local/apps/bin/processname')
it has to access the library which is on the location -->
self.__cmdClient.exec_command('/usr/local/lib') #this is the location of
the library on the remote device.

No comments:

Post a Comment