I had the same problem, it depends by enviroment variables create a file and write this command: #!/bin/sh env PATH=$PATH:$(pwd) ./ser_mysql.sh $1 because the SER try to find the path in another part of memory. i'm sorry for my english. Bye. Andrea