Change_server.sh Script Fails to Patch Server (234672)



The information in this article applies to:

  • FrontPage 2000 Server Extensions from Microsoft

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

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

Modification Type:MajorLast Reviewed:4/16/2002
Keywords:kbprb KB234672