Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Change_server.sh Script Fails to Patch Server


View products that this article applies to.

This article was previously published under Q234672

↑ Back to the top


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
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.

↑ Back to the top


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.

↑ Back to the top


Workaround

To patch the server using the Change_server.sh script, stop the existing server before running the script.

↑ Back to the top


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
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

↑ Back to the top


Keywords: KB234672, kbprb

↑ Back to the top

Article Info
Article ID : 234672
Revision : 2
Created on : 2/22/2007
Published on : 2/22/2007
Exists online : False
Views : 330