Deployment Is Successful But Does Not Achieve the Expected Result
Symptoms
The action deployment is successful, but it does not achieve the expected result.
Cause Analysis
- The script is incorrectly compiled.
- The script contains the operation of starting a process, but is run in common execution mode.
Solution
Perform the following operations based on the failure causes:
- Check the script, and run the script on the local host first. After confirming that the script is correct, perform the deployment again.
- If the script contains the operation of starting a service or process, select Background for Running Mode.
- If the expected result is not achieved after the preceding operations are performed, for example, the deployment is successful, but the service is not started, perform the following steps:
- The following uses the script for starting Tomcat as an example:
- Add the shell command ps -ef|grep tomcat in the action Run Shell Commands and check whether the Tomcat process is started successfully.
- If no Tomcat process is found, check the startup failure log in the Tomcat log directory and analyze the cause.
- The following uses the script for starting Tomcat as an example:
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.