Solution :
1. Make sure that the script exists at the absolute path specified.
2. Verify the mode specified from '/etc/passwd'. Open the file and search for the user name. This should be the same as the user name given in Applications Manager or the same user who will execute the script.
For example, for the user 'sam', the '/etc/passwd' file will contain an entry similar to 'sam:x:500:500::/home/sam:/bin/bash'.
The mode specified here is the bash mode.
3. Ensure that the mode specified in this file and the mode mentioned in AppManager are the same.