Change_server.sh Script Fails to Patch Server

ID: Q234672


The information in this article applies to:
  • Microsoft FrontPage 2000 Server Extensions


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:

  • AIX


  • HPUX


  • BSDi


  • Linux


  • SCO 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:

  • Solaris


  • SunOs


  • Sgi


  • DecUnix


  • UnixWare7


  • Additional query words: front page

    Keywords : fpse2000
    Version : winnt:
    Platform : winnt
    Issue type : kbprb


    Last Reviewed: June 8, 1999
    © 2000 Microsoft Corporation. All rights reserved. Terms of Use.