When I try to add the script monitor, I get the error "Either the script does not exist or the given mode was wrong. Please verify it."

When I try to add the script monitor, I get the error "Either the script does not exist or the given mode was wrong. Please verify it."

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. 


                  New to ADSelfService Plus?

                    • Related Articles

                    • DNS Monitor - Troubleshooting

                      Common DNS Monitor Errors and Troubleshooting Guide 1. Host Not Found Description: The DNS server was unable to locate the requested lookup address. Possible Causes: This may happen if the hostname is incorrect, the domain does not exist, or there is ...
                    • Real User Monitor (RUM) - Troubleshooting

                      If the monitor has not polled data for a long time, follow the steps below for troubleshooting: Step 1: Check the RUM Agent configuration Real User Monitor requires the RUM Agent to be installed and mapped to the Applications Manager. Refer the help ...
                    • Self monitor Applications Manager using Real User Monitoring

                      We can monitor the Applications Manager using Real User Monitoring with a Java Script injection and this can be used to measure the Applications Manager's performance continuously. All you need is to install and setup the Real User Monitoring (RUM) ...
                    • Mail Server Monitor - Troubleshooting

                      Common Mail Server Monitor Errors and Troubleshooting Guide 1. Unknown Host Error Description: This error occurs when the mail client cannot resolve the hostname of the mail server to an IP address. The issue typically arises from DNS resolution ...
                    • Self monitor Applications Manager using APM Insight Java Agent

                      Applications Manager is built with Java, hence we can monitor it using APM Insight Java Agent to measure it's performance continuously, which can be very much useful. Setting up APM Insight Java Agent Follow the below steps to download and set up the ...