jsail Posted November 29, 2009 Posted November 29, 2009 Hi all, I hav a general problem to get a bash-script running on Filemaker 10 Server OSX. When I run a script in terminal, everything works fine. I even can run the script with mouseklicks. Also simple scripts like: #!/bin/bash echo "hallo" do not work. Finally I would like to run the script below. To save a backup 7zip compressed to another disk. On the 'Server-Log' (in German 'Protokollanzeige') I get the Message: Error 692 Systemscript "BackUp.command" did return Not Null Status 2 #!/bin/bash rm /Users/admin/Dropbox/Kiprax_fp7/kiprax_emma.7z; /Users/admin/BackUp/7za a -r -t7z -mx=5 -ppassword /Users/admin/dropbox/kiprax_fp7/kiprax_emma.7z /Users/admin/BackUp/*.fp7 What could be wrong? Joseph
Steven H. Blackwell Posted November 29, 2009 Posted November 29, 2009 This is probably an OS level permissions issue. FileMaker Server runs in its own security bubble. The OS level scripts possibly do not have the appropriate privileges when run from FileMaker Server. It's also likely the script lacks "executable" privileges. Use something such as BatchMod to change that. Regarding the backups and zips, take a look at Backups, Backups, and More Backups from Wim Decorte's superb web site. HTH. Steven
jsail Posted November 29, 2009 Author Posted November 29, 2009 Hello Steven, thank you for your post. It was as we would say: "you hit the nail on its head". I thougt to have checked all the permissions. But the destination-Folder was only on read for the 'fmadmin' Group. Joseph
Recommended Posts
This topic is 5473 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now