Article ID: 234672 - Last Review: February 22, 2007 - Revision: 1.1 Change_server.sh Script Fails to Patch ServerThis article was previously published under Q234672 SYMPTOMS
When you attempt to patch an Apache Web Server by running the Change_server.sh script, the patch fails with the following error messages:
cp: cannot create regular file `/usr/local/apache/sbin/httpd': Text file busy
ERROR: Unable to copy /usr/local/frontpage/version4.0/apache-fp/_vti_bin/fpexe
to /usr/local/apache/sbin/httpd
ERROR: Unable to upgrade Apache daemon!
Exiting due to an error! Please fix the error and try again.
Cannot open or remove a file containing a running program
CAUSE
When you run the Change_server.sh script, a stock httpd daemon replaces your existing httpd daemon. If your Web server is running when you run the Change_server.sh script, the patch cannot overwrite the existing daemon and the errors listed above occur.
WORKAROUND
To patch the server using the Change_server.sh script, stop the existing server before running the script.
MORE INFORMATION
Stop the Web server before running the Change_server.sh script on the following UNIX platforms: AIXHPUXBSDiLinuxSCO OS5 If you do not stop the Web server on these platforms, you will receive the following error messages:
Cannot open or remove a file containing a running program
Text file busy
SolarisSunOsSgiDecUnixUnixWare7
| Article Translations
|
Back to the top
