Upgrade DS patch4 to DS patch5

Hi all,

I have this error msg when trying to run the installer script

bash-3.00# sh ./install.sh "/jes/ds" root admin123

./install.sh: ./lib/nsPerl5.005_03/nsperl: not found

Any idea or clue?

FYI, my DS version is

Sun Java(TM) System Directory Server/5.2_Patch_4 B2005.230.0405

System: i386-unknown-solaris5.10_s10x_u1wos_19a

Front-End Library: 5.2_Patch_4

Slapd Library: 5.2_Patch_4

[446 byte] By [haw_9368a] at [2007-11-27 6:18:54]
# 1

Hi,

This specific perl version is required by the upgrader tool. It is supposed to be installed by the install.sh script.

A few questions :

- can you try to install without calling sh ? (install.sh file should have execution permissions).

- can you check if there is a ./lib/nsPerl5.005_03 directory where you've extracted the patch ?

Regards,

Ludovic.

ludovicpa at 2007-7-12 17:33:08 > top of Java-index,Web & Directory Servers,Directory Servers...
# 2

Hi,

I think I've understood the source of your problems:

You have not downloaded the patch corresponding to your platform.

This error message is displayed when downloading the Sparc patch and trying to install on an x86 machine.

Please make sure you download patch 117666-04. (117665-04 correspond to the Sparc version).

Regards,

Ludovic.

ludovicpa at 2007-7-12 17:33:08 > top of Java-index,Web & Directory Servers,Directory Servers...
# 3
Ok, but currently I am facing this error while trying to upgradebash-3.00# ./install.sh /jes/ds root admin123User must be the same than serverroot owner at upgrade.pl line 263.Please assist.Thanks
haw_9368a at 2007-7-12 17:33:09 > top of Java-index,Web & Directory Servers,Directory Servers...
# 4

I believe that this is clearly explained in the release notes...

When patching an instance of Directory Server installed from a Zip (or tar.gz), the user running the command MUST be the same as the user that installed the instance initially.

If you are root right now, you log as the same user as the one who owns /jes/ds, and call the installer again.

May be, you had not installed Directory Server from a Zip install. May be you had installed it with the Java ES Installer (and thus you have SUNWdsrv SUNWdsvu... packages). In that case, you need to get the appropriate patches and install them with patchadd (as root).

I know it sounds complicated, but there are 2 deliveries of DS5.2: Packages (Java ES Installer) and Compressed Tarball (Zip install), and these 2 deliveries are available on all 5 supported OS: Solaris Sparc, Solaris x86, HP-UX, Linux and Windows, which makes a lot of patches (for us to build and test, and for customers to figure out which one is the correct one).

Regards,

Ludovic.

ludovicpa at 2007-7-12 17:33:09 > top of Java-index,Web & Directory Servers,Directory Servers...
# 5

Thank you very much for the information, yes we install using Java ES installer. By the way, I can't find the download link for "the appropriate patches and install them with patchadd (as root)" as you mention. Can you help me on this?

I have got this error

bash-3.00$ ./install.sh /jes/ds

Error: /jes/ds has been created from a native distribution

Thanks

Message was edited by:

haw_9368

haw_9368a at 2007-7-12 17:33:09 > top of Java-index,Web & Directory Servers,Directory Servers...
# 6

Go to <http://www.sun.com/software/products/directory_srvr_ee/get1.jsp>

In the Select Product Configuration, choose the following:

Step 1: Directory Server

Step 2: 5 2005Q4_1 (5.2 P5)

Step 3: Native Package (PKG)

Step 4: Solaris 9(x86) if you have an x86 machine (32 bits) or Solaris 10(x86) if you have an AMD64 machine (64 bits).

Click on View Downloads and the patches will be listed there.

Regards.

Ludovic.

ludovicpa at 2007-7-12 17:33:09 > top of Java-index,Web & Directory Servers,Directory Servers...