Issue executing monitoring scripts | Community
Skip to main content
New Participant
October 16, 2015
Solved

Issue executing monitoring scripts

  • October 16, 2015
  • 2 replies
  • 1399 views

Hi,

I am using CQ 5.6.1 on AWS linux instance and am getting this error in my author server logs and it eventually stalls the server. I changed the permission of these files to 775 but am still facing the issue. Please advice.

{code:javascript}

15.04.2014 13:22:18.867 *ERROR* [Process Executor for diskusage.sh] com.adobe.granite.monitoring.impl.ShellScriptExecutorImpl Error while executing script /programs/author/crx-quickstart/monitoring/diskusage.sh java.io.IOException: Cannot run program "/programs/author/crx-quickstart/monitoring/diskusage.sh" (in directory "/programs/author/crx-quickstart/monitoring"): error=26, Text file busy
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1041)
    at java.lang.Runtime.exec(Runtime.java:617)
    at com.adobe.granite.monitoring.impl.ShellScriptExecutorImpl$ProcessExecutor.run(ShellScriptExecutorImpl.java:307)
    at java.lang.Thread.run(Thread.java:724)
Caused by: java.io.IOException: error=26, Text file busy
    at java.lang.UNIXProcess.forkAndExec(Native Method)
    at java.lang.UNIXProcess.<init>(UNIXProcess.java:135)
    at java.lang.ProcessImpl.start(ProcessImpl.java:130)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1022)
    ... 3 more
15.04.2014 13:22:48.882 *ERROR* [Process Executor for cpu.sh] com.adobe.granite.monitoring.impl.ShellScriptExecutorImpl Error while executing script /programs/author/crx-quickstart/monitoring/cpu.sh java.io.IOException: Cannot run program "/programs/author/crx-quickstart/monitoring/cpu.sh" (in directory "/programs/author/crx-quickstart/monitoring"): error=26, Text file busy
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1041)
    at java.lang.Runtime.exec(Runtime.java:617)
    at com.adobe.granite.monitoring.impl.ShellScriptExecutorImpl$ProcessExecutor.run(ShellScriptExecutorImpl.java:307)
    at java.lang.Thread.run(Thread.java:724)
Caused by: java.io.IOException: error=26, Text file busy
    at java.lang.UNIXProcess.forkAndExec(Native Method)
    at java.lang.UNIXProcess.<init>(UNIXProcess.java:135)
    at java.lang.ProcessImpl.start(ProcessImpl.java:130)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1022)
    ... 3 more

{code}

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by joerghoh

The script is already (or better: still) running. You might want to increase the interval or check why it's taking so much time.

Jörg

2 replies

joerghoh
joerghohAccepted solution
Employee
October 16, 2015

The script is already (or better: still) running. You might want to increase the interval or check why it's taking so much time.

Jörg

New Participant
October 16, 2015

Thanks Jörg. That was a useful hint.