Simple script problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



All,

I have successfully setup a func machine and can happily call simple commands.

   # func @passthru call command run "df -h"


operates beautifully.

However i get into problems very quickly when i try to run anything 'real'. for example i have shell scripts sitting on my instances that will do various things, but i get errors


  # func @passthru call command run "/opt/mf/update.sh"
('1.2.3.4',
 ['REMOTE_ERROR',
  'exceptions.OSError',
  '[Errno 8] Exec format error',


infact, even a basic "ls -l" command dies.


  # func @passthru call command run "ls -l /opt/mf"
('domU-12-31-39-00-B0-03',
 ['REMOTE_ERROR',
  'xml.parsers.expat.ExpatError',
  'not well-formed (invalid token): line 10, column 55'])


So what on earth am i doing wrong here? Can't i even trigger remote shell scripts? or is there a special way i have to write these scripts to do their thing?

thanks

a

_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list

[Index of Archives]     [Fedora Users]     [Linux Networking]     [Fedora Legacy List]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux