How to fix com.adobe.granite.monitoring.impl.ShellScriptExecutorImpl Error while executing script caused by java.io.IOException: error=26, Text file busy
Platform: RHEL 6, 64-bit Java(TM) SE Runtime Environment (build 1.6.0_45-b06) Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)
cq-service-pack-5.5.2.20121012
cq-update-pkg-5.5.10
cq-5.5.0-hotfix-2586
com.adobe.granite.platform.content-0.2.11
*ERROR* [Shell Script Executor Thread for cpu.sh] com.adobe.granite.monitoring.impl.ShellScriptExecutorImpl Error while executing script /opt/cq/cq55/author/crx-quickstart/monitoring/cpu.sh java.io.IOException: Cannot run program "/opt/cq/cq55/author/crx-quickstart/monitoring/cpu.sh" (in directory "/opt/cq/cq55/author/crx-quickstart/monitoring"): java.io.IOException: error=26, Text file busy
Caused by: java.io.IOException: java.io.IOException: error=26, Text file busy
This error happen fundamentally because a java class fails to close a stream before trying to execve() the shell script ("cpu.sh" or "diskusage.sh"). How CQ gets into the state where it happens is unknown to me. Has anyone found a solution to this?