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 ADManager Plus?

                  New to ADSelfService Plus?

                    • Related Articles

                    • 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 prerequisites to be done 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) ...
                    • Troubleshooting URL Monitor

                      Here are few of the common errors you may come across in URL monitor, we have mentioned the steps you can follow to troubleshoot them. General troubleshooting for URL monitor Ensure that the URL is accessible from the server in which Applications ...
                    • 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 ...
                    • Script Monitor FAQs

                      Common queries, errors and troubleshooting: 1. To execute scripts other than .bat /.vbs  in Windows and .sh / .bash in Linux: It is better to execute the script in the form of a command. Eg. To execute python script, you can use command py ...