Patch Installation

We are setting up a new Setup .For this we have our own legacy system through which we Install the Directory Server and al the Patches..( this is basically a unix script).

The Sun provides us with the patch numbers to be installed as per the OS used..What is the backing up Mechanism incase the Installation of the patch fails?Does the patch automatically Uninstall itself or do we have any mechanism to revert bak?or else do we have to manually delete all the files that are being installed through the patch?

[523 byte] By [anandkaturia] at [2007-11-27 11:44:58]
# 1

It is wise to take a backup of your current directory installation before installing the patch.

Since the patch depends on the target OS, and the type of installation (from Zip or native packages), the result of a patch installation failure varies a lot.

Overall, the patch should either fail the verifications and abort without any change or succeed to update all files.

I have not seen cases where it would fail in the middle, but I am not really involved with support either.

If patch installation fails in the middle of installing (assuming a Zip install), then restoring the backup is the best options. The patch installs over the existing files.

Regards,

Ludovic.

ludovicpa at 2007-7-29 17:59:06 > top of Java-index,Web & Directory Servers,Directory Servers...
# 2

we are installing on New Servers and so we dont have any data in the Servers. SO in this Case do i have to backup the "o=NetscapeRoot" and just the suffix?

We are using AIX as our OS.

anandkaturia at 2007-7-29 17:59:06 > top of Java-index,Web & Directory Servers,Directory Servers...
# 3

If you're installing on new server, and don't have any data, why do you care about patch failing ?

Install a full version of DS, patch with the latest patch.

If something is wrong, restart from the begining.

Ludovic.

ludovicpa at 2007-7-29 17:59:06 > top of Java-index,Web & Directory Servers,Directory Servers...
# 4

I was trying to install the SP5 on DS5.2 . The Installation worked fine and Server Instance got updated to SP5. But am having problem with the admin Server:

The Admin Server is not getting started after the installation and when i try to start the admin manually., am getting the following error:

SunONE-WebServer-Enterprise/6.0SP3 B05/19/2004 05:52

failure: server exit: status 1 (Interrupted system call)

I have checked the error logs of Admin Server and i get the following error:

[27/Jul/2007:17:36:54] info (331882): successful server startup

[27/Jul/2007:17:36:54] info (331882): SunONE-WebServer-Enterprise/6.0SP3 B05/19/2004 05:52

[27/Jul/2007:17:36:54] security (331882): Temporary directory /opt/isv/iplanet/dir52/admin-serv/tmp (specified by the TempDir magnus.conf dire

ctive) is accessible to others. This is a potential security hole. Please change TempDir or modify the permissions of the directory and rest

art the server.

I have even checked the my previous Succcessful Patch Installations and compared them with my present Installation and found out the follwoing difference..While untaring the Patch during the Installataion..i found the following errors( these lines were not seen in Successful Installaions of patch)

lib/nsPerl5.005_03/lib/aix/auto/Fcntar: 0511-188 Cannot create lib/nsPerl5.005_03/lib/aix/auto/Fcntl/Fcntl.so: Cannot open or remove a file

containing a running program.

tar: 0511-188 Cannot create lib/nsPerl5.005_03/lib/aix/auto/IO/IO.so: Cannot open or remove a file containing a running program.

tl/Fcntl.bs, 0 bytes, 0 media blocks.

What exactly does this mean.. I have few more line like.Help is appreciated.

anandkaturia at 2007-7-29 17:59:06 > top of Java-index,Web & Directory Servers,Directory Servers...