Install Issue on Linux with a 3.x kernel level

Article:TECH176428  |  Created: 2011-12-07  |  Updated: 2012-01-26  |  Article URL http://www.symantec.com/docs/TECH176428
Article Type
Technical Solution


Problem



Installing/Upgrading the NetBackup client will cause the following problems:

 

sh /tmp/bp.<pid>/client_config

 

Detected an attempt to install incorrect platform and/or operating system and version client binaries on <HOST NAME> client_config_failed

 

 


Error



Installing/Upgrading the NetBackup client will cause the following problems:

 

sh /tmp/bp.<pid>/client_config

 

Detected an attempt to install incorrect platform and/or operating system and version client binaries on <HOST NAME> client_config_failed

 


Solution



 

 

When that is corrected installing PBX will produce:

 

[11-01-11-13:12:19] Version of installer script installpbx is 1.5.0.6

[11-01-11-13:12:19] Verifying that script is being run by root

[11-01-11-13:12:19] User verified

[11-01-11-13:12:19] Machine details Linux <HOST NAME> 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

[11-01-11-13:12:19] Installation directory and list of files in it /tmp/bp.<pid>

total 138560

-rw-r--r-- 1 root root    10240 2011-11-01 12:49 bin_net.tar

-r-xr-xr-x 1 root root 98336290 2011-11-01 12:49 client_bin.tar.gz

-rwxrwxrwx 1 root root    75531 2011-11-01 13:09 client_config

-r-xr-xr-x 1 root root    53874 2011-11-01 12:49 installpbx

drwxr-xr-x 2 root root     4096 2011-11-01 12:49 java

-r-xr-xr-x 1 root root     3379 2011-11-01 12:49 move_libs

-r-xr-xr-x 1 root root 4685237 2011-11-01 12:49 PBX.tar.gz -r-xr-xr-x 1 root root 38280652 2011-11-01 12:49 pddeagent.tar.gz

-r-xr-xr-x 1 root root    40919 2011-11-01 12:49 pdinstall

-r-xr-xr-x 1 root root   379102 2011-11-01 12:49 tar

-r--r--r-- 1 root root       24 2011-11-01 12:49 version

[11-01-11-13:12:19] Starting pbx_exchange

[11-01-11-13:12:19] ERROR: Unsupported platform. Supported platforms include Linux kernel 2.6.5 onwards.

[11-01-11-13:12:19] Removing temporary directory

[11-01-11-13:12:19] rm -rf /var/tmp/VRTSpbx_5630

[11-01-11-13:12:19] installpbx exiting with return code: 1

[11-01-11-13:12:19] Please see installation log for more details

[11-01-11-13:12:19] Installation log located here: /var/tmp/installpbx-5630-110111131219.log

 

It is recommended you correct the problem on the Server before attempting the install/upgrade.

 

in .../openv/netbackup/client/Linux:

 

Edit one of the Operating System/client_config, eg Debian2.6/client_config, files as follows.

 

change line 247 from

< if [ "${oslevel_f1}" = "2" -a "${oslevel_f2}" -ge "6" ] ; then

to

> if [ "${oslevel_f1}" -ge "3" ] || [ "${oslevel_f1}" = "2" -a

> "${oslevel_f2}" -ge "6" ] ; then

change line 254 from

< elif [ "${oslevel_f1}" = "2" -a "${oslevel_f2}" -ge "6" ] ; then

to

> elif [ "${oslevel_f1}" -ge "3" ] || [ "${oslevel_f1}" = "2" -a

> "${oslevel_f2}" -ge "6" ] ; then

change line 266 from

< if [ "${oslevel_f2}" -ge "7" -o "${oslevel_f3}" -ge "16" ] ; then

to

> if [ "${oslevel_f1}" -ge "3" -o "${oslevel_f2}" -ge "7" -o

> "${oslevel_f3}" -ge "16" ] ; then

change line 273 from

< if [ "${oslevel_f1}" = "2" -a "${oslevel_f2}" -ge "6" ] ; then

to

> if [ "${oslevel_f1}" -ge "3" ] || [ "${oslevel_f1}" = "2" -a

> "${oslevel_f2}" -ge "6" ] ; then

change line 291 from

< if [ "${oslevel_f1}" = "2" -a "${oslevel_f2}" -ge "6" ] ; then

to

> if [ "${oslevel_f1}" -ge "3" ] || [ "${oslevel_f1}" = "2" -a

> "${oslevel_f2}" -ge "6" ] ; then

delete line 1391

< if [ "${oslevel_f1}" = "2" -a "${oslevel_f2}" -ge "6" ] ; then

delete line 1425

< fi

 

Copy that client_config file to all the other OS_Levels in the Linux directory.

The same changes should be made in the Linux-IA64

 

Then edit one of the Operating System/installpbx, eg Debian2.6/installpbx, files as follows.

 

change line 1926 from

< -ge 6 ] || [ $OS_RELEASE_MAJOR -ge 5 ]; then to

> -ge 6 ] || [ $OS_RELEASE_MAJOR -ge 3 ]; then

change line 1930 from

< if [ $OS_RELEASE_BUILD -ge 5 ]; then

to

> if [ $OS_RELEASE_BUILD -ge 5 ] || [ $OS_RELEASE_MAJOR -ge 3 ] ; then

change line 1938 from

< if [ $OS_RELEASE_BUILD -ge 9 ]; then

to

> if [ $OS_RELEASE_BUILD -ge 9 ] || [ $OS_RELEASE_MAJOR -ge 3 ] ; then

change line 1949 from

< if [ $OS_RELEASE_BUILD -ge 16 ]; then

to

> if [ $OS_RELEASE_BUILD -ge 16 ] || [ $OS_RELEASE_MAJOR -ge 3 ] ; then

change line 1957 from

< if [ $OS_RELEASE_BUILD -ge 9 ]; then

to

> if [ $OS_RELEASE_BUILD -ge 9 ] || [ $OS_RELEASE_MAJOR -ge 3 ] ; then

change line 1993 from

< if [ $OS_RELEASE_BUILD -ge 5 ]; then

to

> if [ $OS_RELEASE_BUILD -ge 5 ] || [ $OS_RELEASE_MAJOR -ge 3 ] ; then

change line 2001 from

< if [ $OS_RELEASE_BUILD -ge 9 ]; then

to

> if [ $OS_RELEASE_BUILD -ge 9 ] || [ $OS_RELEASE_MAJOR -ge 3 ] ; then

 

Copy that installpbx file to all the other OS_Levels in the Linux and Linux-IA64 directories.

 




Article URL http://www.symantec.com/docs/TECH176428


Terms of use for this information are found in Legal Notices