Unable to start ADS - many generated .sh scripts in /instances/ADS01

OS Name/Version: Centos Stream 10

Product Name/Version: ADS01/AMPVersion = 2.7.2.4

Problem Description:

After my server experienced a power cycle, ADS will no longer start up.

Attempting ampinstmgr start ADS01 creates a huge number of files in /instances/ADS01 that look like the following:

chmod-20260513-093054.sh  
chmod-20260513-093710.sh  
chmod-20260513-093735.sh  
chmod-20260513-093800.sh  
chmod-20260513-093825.sh  
chmod-20260513-093850.sh

Enabling debug logging produces the following entries:

[09:36:48] [Core Debug/6]         : Running command line: "/usr/bin/arch" from ""
[09:36:48] [Core Debug/6]         : Running command line: "/usr/bin/chmod +x arch-20260513-093648.sh" from ""
[09:36:48] [Core Debug/6]         : Running command line: "/usr/bin/chmod +x chmod-20260513-093648.sh" from ""
[09:36:48] [Core Debug/6]         : Running command line: "/usr/bin/chmod +x chmod-20260513-093648.sh" from ""
[09:36:48] [Core Debug/6]         : Running command line: "/usr/bin/chmod +x chmod-20260513-093648.sh" from ""
[09:36:48] [Core Debug/11]        : Running command line: "/usr/bin/chmod +x chmod-20260513-093648.sh" from ""
[09:36:48] [Core Debug/11]        : Running command line: "/usr/bin/chmod +x chmod-20260513-093648.sh" from ""
[09:36:48] [Core Debug/12]        : Running command line: "/usr/bin/chmod +x chmod-20260513-093648.sh" from ""
[09:36:48] [Core Debug/14]        : Running command line: "/usr/bin/chmod +x chmod-20260513-093648.sh" from ""
[09:36:48] [Core Debug/15]        : Running command line: "/usr/bin/chmod +x chmod-20260513-093648.sh" from ""
[09:36:48] [Core Debug/16]        : Running command line: "/usr/bin/chmod +x chmod-20260513-093648.sh" from ""
[09:36:48] [Core Debug/17]        : Running command line: "/usr/bin/chmod +x chmod-20260513-093648.sh" from ""
[09:36:48] [Core Debug/18]        : Running command line: "/usr/bin/chmod +x chmod-20260513-093648.sh" from ""
[09:36:48] [Core Debug/19]        : Running command line: "/usr/bin/chmod +x chmod-20260513-093648.sh" from ""
[09:36:48] [Core Debug/20]        : Running command line: "/usr/bin/chmod +x chmod-20260513-093648.sh" from ""
[09:36:48] [Core Debug/21]        : Running command line: "/usr/bin/chmod +x chmod-20260513-093648.sh" from ""
[09:36:48] [Core Debug/22]        : Running command line: "/usr/bin/chmod +x chmod-20260513-093648.sh" from ""
[09:36:48] [Core Debug/23]        : Running command line: "/usr/bin/chmod +x chmod-20260513-093648.sh" from ""
[09:36:48] [Core Debug/24]        : Running command line: "/usr/bin/git stash drop" from "Plugins/ADSModule/DeploymentTemplates/CubeCoders-AMPTemplates-main"
[09:36:48] [Core Debug/24]        : Working Directory: Plugins/ADSModule/DeploymentTemplates/CubeCoders-AMPTemplates-main
[09:36:48] [Core Debug/25]        : Running command line: "/usr/bin/chmod +x chmod-20260513-093648.sh" from ""
[09:36:48] [Core Debug/26]        : Running command line: "/usr/bin/chmod +x chmod-20260513-093648.sh" from ""
[09:36:48] [Core Debug/27]        : Running command line: "/usr/bin/chmod +x chmod-20260513-093648.sh" from ""
[09:36:48] [Core Debug/28]        : Running command line: "/usr/bin/chmod +x git-20260513-093648.sh" from ""
[09:36:48] [Core Debug/29]        : Running command line: "/usr/bin/chmod +x chmod-20260513-093648.sh" from ""
[09:36:48] [Core Debug/30]        : Running command line: "/usr/bin/chmod +x chmod-20260513-093648.sh" from ""
[09:36:49] [Core Debug/31]        : Running command line: "/usr/bin/chmod +x chmod-20260513-093648.sh" from ""
[09:36:49] [Core Debug/32]        : Running command line: "/usr/bin/chmod +x chmod-20260513-093649.sh" from ""
[09:36:49] [Core Debug/33]        : Running command line: "/usr/bin/chmod +x chmod-20260513-093649.sh" from ""
[09:36:49] [Core Debug/34]        : Running command line: "/usr/bin/chmod +x chmod-20260513-093649.sh" from ""
[09:36:49] [Core Debug/35]        : Running command line: "/usr/bin/chmod +x chmod-20260513-093649.sh" from ""
[09:36:49] [Core Debug/36]        : Running command line: "/usr/bin/chmod +x chmod-20260513-093649.sh" from ""
[09:36:49] [Core Debug/37]        : Running command line: "/usr/bin/chmod +x chmod-20260513-093649.sh" from ""
[09:36:50] [Core Debug/38]        : Running command line: "/usr/bin/chmod +x chmod-20260513-093649.sh" from ""
[09:36:50] [Core Debug/39]        : Running command line: "/usr/bin/chmod +x chmod-20260513-093649.sh" from ""
[09:36:50] [Core Debug/40]        : Running command line: "/usr/bin/chmod +x chmod-20260513-093650.sh" from ""
[09:36:50] [Core Debug/41]        : Running command line: "/usr/bin/chmod +x chmod-20260513-093650.sh" from ""
[09:36:50] [Core Debug/42]        : Running command line: "/usr/bin/chmod +x chmod-20260513-093650.sh" from ""
[09:36:50] [Core Debug/43]        : Running command line: "/usr/bin/chmod +x chmod-20260513-093650.sh" from ""
[09:36:51] [Core Debug/44]        : Running command line: "/usr/bin/chmod +x chmod-20260513-093650.sh" from ""
[09:36:51] [Core Debug/45]        : Running command line: "/usr/bin/chmod +x chmod-20260513-093650.sh" from ""
[09:36:51] [Core Debug/46]        : Running command line: "/usr/bin/chmod +x chmod-20260513-093651.sh" from ""
[09:36:51] [Core Debug/47]        : Running command line: "/usr/bin/chmod +x chmod-20260513-093651.sh" from ""
[09:36:51] [Core Debug/48]        : Running command line: "/usr/bin/chmod +x chmod-20260513-093651.sh" from ""
[09:36:52] [Core Debug/49]        : Running command line: "/usr/bin/chmod +x chmod-20260513-093651.sh" from ""
[09:36:52] [Core Debug/50]        : Running command line: "/usr/bin/chmod +x chmod-20260513-093651.sh" from ""
[09:36:52] [Core Debug/51]        : Running command line: "/usr/bin/chmod +x chmod-20260513-093652.sh" from ""
[09:36:52] [Core Debug/52]        : Running command line: "/usr/bin/chmod +x chmod-20260513-093652.sh" from ""
[09:36:52] [Core Debug/8]         : Running command line: "/usr/bin/readlink -s -f -n "/home/amp/.ampdata/instances/ADS01"" from ""
[09:36:53] [Core Debug/54]        : Running command line: "/usr/bin/chmod +x chmod-20260513-093652.sh" from ""
[09:36:53] [Core Debug/55]        : Running command line: "/usr/bin/chmod +x chmod-20260513-093652.sh" from ""
[09:36:53] [Core Debug/56]        : Running command line: "/usr/bin/chmod +x chmod-20260513-093653.sh" from ""

...

[09:39:19] [Core Debug/639]       : Running command line: "/usr/bin/chmod +x chmod-20260513-093918.sh" from ""
[09:39:19] [Core Debug/640]       : Running command line: "/usr/bin/chmod +x chmod-20260513-093919.sh" from ""
[09:39:20] [Core Debug/641]       : Running command line: "/usr/bin/chmod +x chmod-20260513-093919.sh" from ""
[09:39:20] [Core Debug/642]       : Running command line: "/usr/bin/chmod +x chmod-20260513-093919.sh" from ""
[09:39:20] [Core Debug/643]       : Running command line: "/usr/bin/chmod +x chmod-20260513-093919.sh" from ""
[09:39:20] [Core Debug/644]       : Running command line: "/usr/bin/chmod +x chmod-20260513-093920.sh" from ""
[09:39:21] [Core Debug/628]       : Running command line: "/usr/bin/chmod +x chmod-20260513-093920.sh" from ""
[09:39:21] [Core Debug/645]       : Running command line: "/usr/bin/chmod +x chmod-20260513-093920.sh" from ""
[09:39:21] [Core Debug/646]       : Running command line: "/usr/bin/chmod +x chmod-20260513-093920.sh" from ""
[09:39:21] [Core Debug/647]       : Running command line: "/usr/bin/chmod +x chmod-20260513-093921.sh" from ""
[09:39:22] [Core Debug/648]       : Running command line: "/usr/bin/chmod +x chmod-20260513-093921.sh" from ""
[09:39:22] [Core Debug/649]       : Running command line: "/usr/bin/chmod +x chmod-20260513-093921.sh" from ""
[09:39:22] [Core Debug/650]       : Running command line: "/usr/bin/chmod +x chmod-20260513-093921.sh" from ""
[09:39:22] [Core Debug/651]       : Running command line: "/usr/bin/chmod +x chmod-20260513-093922.sh" from ""
[09:39:23] [Core Debug/652]       : Running command line: "/usr/bin/chmod +x chmod-20260513-093922.sh" from ""
[09:39:23] [Core Debug/653]       : Running command line: "/usr/bin/chmod +x chmod-20260513-093922.sh" from ""
[09:39:23] [Core Debug/654]       : Running command line: "/usr/bin/chmod +x chmod-20260513-093922.sh" from ""
[09:39:23] [Core Debug/655]       : Running command line: "/usr/bin/chmod +x chmod-20260513-093923.sh" from ""
[09:39:24] [Core Debug/656]       : Running command line: "/usr/bin/chmod +x chmod-20260513-093923.sh" from ""
[09:39:24] [Core Debug/657]       : Running command line: "/usr/bin/chmod +x chmod-20260513-093923.sh" from ""
[09:39:24] [Core Debug/658]       : Running command line: "/usr/bin/chmod +x chmod-20260513-093923.sh" from ""
[09:39:24] [Core Debug/659]       : Running command line: "/usr/bin/chmod +x chmod-20260513-093924.sh" from ""
[09:39:25] [Core Debug/660]       : Running command line: "/usr/bin/chmod +x chmod-20260513-093924.sh" from ""
[09:39:25] [Core Debug/661]       : Running command line: "/usr/bin/chmod +x chmod-20260513-093924.sh" from ""
[09:39:25] [Core Debug/662]       : Running command line: "/usr/bin/chmod +x chmod-20260513-093924.sh" from ""
[09:39:25] [Core Debug/663]       : Running command line: "/usr/bin/chmod +x chmod-20260513-093925.sh" from ""
[09:39:26] [Core Debug/664]       : Running command line: "/usr/bin/chmod +x chmod-20260513-093925.sh" from ""

Actions taken to resolve so far:

  • getamp upgrade
  • rebooting the server
  • deleting the hundreds of generated .sh files
  • ampinstmgr stop ADS01 ampinstmgr start ADS01

Had no success yet. Anyone have guidance for resolving this?
Thanks!

You’ve turned on the option to generate scripts at some point in AMPConfig.conf - simply turn it off.

Aha! I remember doing that sometime ago while debugging one of the container startups. Clearly forgot to turn it off again.

I switched startup scripts to False, removed all .sh files and ran ampinstmgr start ADS01 again - it has now started successfully.

Thanks for the fast assistance!