Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 234672 - Last Review: February 22, 2007 - Revision: 1.1
Change_server.sh Script Fails to Patch Server
This article was previously published under Q234672
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
Note: In the error messages above, the location of your httpd daemon may be different than the example and your errors may vary. This problem occurs in the FrontPage 2000 Server Extensions version 4.0.2.2717.
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.
To patch the server using the Change_server.sh script, stop the existing server before running the script.
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
Note: The following UNIX platforms are not effected by this problem and it is not required to stop the Web server before running the Change_server.sh script:
SolarisSunOsSgiDecUnixUnixWare7
APPLIES TO
- Microsoft FrontPage 2000 Server Extensions
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate