Please make sure that .sh files (if they were transfered from Windows or edited locally) have only end-of-lines and no carriage returns. To ensure worker.sh is working try running it from shell as "./worker ls" : I've finally managed to get past my authentication issues in connecting : to a Linux RA agent from Win2k. : My new problem is that any commands I run fail. : My script: Dim process_id, number : RAConnect "edwteam", 1096, "ridoutb", "xxxxxx" : RARun "/usr/local/backup.sh", process_id : RADisconnect : I found a couple threads with similar issues here on the forum. : http://www.softtreetech.com/cgi_bin/config.cgi?noframes&read=6211 : The advice here was to run this: Dim server_listening, boolean : PingPort "edwteam", 1096, server_listening : MessageBox server_listening : It returns TRUE for me. : I run the ra_server using this: ./server.sh -p 1096 of log.txt : log.txt contains: 14 Jul 2005 11:54:17 INFO [run]: start : 14 Jul 2005 11:54:17 INFO [authenticate]: start. user = ridoutb : 14 Jul 2005 11:54:17 INFO [authenticate]: end. result = OK : 14 Jul 2005 11:54:17 ERROR [run]: java.lang.RuntimeException: worker.sh : execute failed! : 14 Jul 2005 11:54:17 INFO [run]: end : Permissions: -rwxr-xr-x 1 root root 115 2005-02-03 17:43 server.sh : -rwxr-xr-x 1 root root 140 2005-02-03 17:43 worker.sh : -rwxr-xr-x 1 root root 57 2005-07-13 15:55 runner.sh : My SYSLOG is empty. No output at all. : It looks like worker.sh is failing to execute my commands, : but I have no insight as to why. Any help would be greatly appreciated! : Thanks, : -Ben Ridout
|