Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

error while creating SRT on Redhat linux client/boot server

Created: 21 Aug 2014 • Updated: 21 Aug 2014 | 16 comments
This issue has been solved. See solution.

Hi All,

NBU  =7.5.0.6  (appliance)

Client= Redhat 5.9

i am getting the below error when i am trying to create SRT on my linux server .

as i chcked, the compatability  of  linux OS (RH 5.9) with NBU version(7.5.0.6) is OK for BMR client/ boot server. so can you please help me to resolve the issue

[root@pasoncom bin]#
[root@pasoncom bin]# ./bmrsrtadm

Select one of the following options:

    1.  Create a new Shared Resource Tree.
    2.  Create a new CD image based Shared Resource Tree.
    3.  Copy an existing Shared Resource Tree to a new location.
    4.  Import a Shared Resource Tree.
    5.  Modify an existing Shared Resource Tree.
    6.  Delete an existing Shared Resource Tree.
    7.  List Shared Resource Trees available on this server.
    8.  Quit.

Enter your selection (1-8) [1] : 1
Enter the name of the SRT to create : COMIMAGE
Enter the description of the new SRT : COMBMRIMAGE
Enter the desired RedHat level (3/3.0 or 4/4.0 or 5/5.0) [5.0] :
Enter the desired architecture (i686 or x86_64) [x86_64] :
Enter the directory in which to place the new SRT [/export/srt] : /netbackup
Creating repository to stow files from distribution media.

The following media is required:

    Red Hat Enterprise Linux Server release 5.0 (x86_64) - disc 1 of 5

Please load the media now.

Load media from (? for help) [/dev/cdrom] : /mnt/iso
V-125-380 /mnt/iso/.discinfo(2): expected "Linux Server 5", got "Red Hat Enterprise Linux 5"
The loaded media is not correct ... please try again.

The following media is required:

    Red Hat Enterprise Linux Server release 5.0 (x86_64) - disc 1 of 5

Please load the media now.

Load media from (? for help) [/mnt/iso] :

regards,

Giri

Operating Systems:
Discussion Filed Under:

Comments 16 CommentsJump to latest comment

Konstantinos's picture

Hi Govarthanagiri,

I guess that you are using the RedHat 5.9 CD under /mnt/iso ?

If that is the Case please follow this steps:

1. Create a directory. ex.: /mnt/redhat59
2. Copy media contents to this directory:
       #cd /mnt/redhat59
       #cp -r /mnt/iso/* .
       #cp /mnt/iso/.discinfo .
3. Edit file: /mnt/redhat59/.discinfo  and change the line "Red Hat Enterprise Linux Server 5.3" to "Red Hat Enterprise Linux Server 5"
4. Use  /mnt/redhat59 as media resource in SRT creation:
5. perform the same steps for Disc 2...

Let me know if that helps

Govarthanagiri's picture

Hi Konstantinos ,

as checked the discinfo file its already have the line as you mentioned

[root@pasoncom iso]# cat /mnt/iso/.discinfo
1320239882
Red Hat Enterprise Linux 5
x86_64
1,2,3,4,5,6
Server/base
Server/RPMS
Server/pixmaps
[root@pasoncom iso]#

Thanks,

Giri

Konstantinos's picture

Hi Govarthanagiri,

looking again at your original post:

V-125-380 /mnt/iso/.discinfo(2): expected "Linux Server 5", got "Red Hat Enterprise Linux 5"

the expected entry is "Linux Server 5"

SOLUTION
Govarthanagiri's picture

Hi,

thanks for your info

its detecting after i have changed the line Red Hat Enterprise Linux 5 to Red Hat Enterprise Linux server 5.9.

but i am getting the below error after that

---------------------------

 following media is required:

    Red Hat Enterprise Linux Server release 5.0 (x86_64) - disc 1 of 5

Please load the media now.

Load media from (? for help) [/dev/cdrom] : /mnt/redhat59
Extracting files ...............................................................                                                                             ............ ok.

The following media is required:

    Red Hat Enterprise Linux Server release 5.0 (x86_64) - disc 2 of 5

Please load the media now.

Load media from (? for help) [/mnt/redhat59] :
Extracting files ... ok.

The following media is required:

    Red Hat Enterprise Linux Server release 5.0 (x86_64) - disc 3 of 5

Please load the media now.

Load media from (? for help) [/mnt/redhat59] :
Extracting files ... ok.

The following media is required:

    Red Hat Enterprise Linux Server release 5.0 (x86_64) - disc 4 of 5

Please load the media now.

Load media from (? for help) [/mnt/redhat59] :
Extracting files ... ok.

The following media is required:

    Red Hat Enterprise Linux Server release 5.0 (x86_64) - disc 5 of 5

Please load the media now.

Load media from (? for help) [/mnt/redhat59] :
Extracting files ... ok.
The media repository is incomplete.
Could not load the following package(s) from distribution media:
    beecrypt (beecrypt-*.x86_64.rpm)
    dosfstools (dosfstools*.x86_64.rpm)
    libacl (libacl-2*.i386.rpm)
    libattr (libattr-2*.i386.rpm)
    mdadm (mdadm-2*.x86_64.rpm)
    pcre (pcre-6*.i386.rpm)
V-125-39 caught exception: runtime error in srtPlat.cpp:PackageInfo::verifyRepos                                                                             itory()
[Error] V-125-105 Cannot install operating system onto this SRT.
Please see diagnostic log for additional information.
Removing SRT "com10" from server -- please stand by ...
[root@pasoncom bin]#

Thanks,

Giri

Konstantinos's picture

Hi Govarthanagiri,

good to hear and glad to help!

have a great day.

Konstantinos's picture

Hi Govarthanagiri,

i'm confused seeing your message order. is it working or you are seeing this error :

V-125-39 caught exception: runtime error in srtPlat.cpp:PackageInfo::verifyRepository()
[Error] V-125-105 Cannot install operating system onto this SRT.

if that is the case, one option is to use Red Hat Enterprise Linux Server release 5.0 for the SRT creation

this looks similar to this http://www.symantec.com/docs/TECH199525

Govarthanagiri's picture

Hi,

sorry for the wrong order...

now i am getting the error at next stage   ...

did you mean that to use iso image 5.0 instead of 5.9? but my clinets have 5.9

--------------------------------------------

Load media from (? for help) [/mnt/redhat59] :
Extracting files ... ok.
The media repository is incomplete.
Could not load the following package(s) from distribution media:
    beecrypt (beecrypt-*.x86_64.rpm)
    dosfstools (dosfstools*.x86_64.rpm)
    libacl (libacl-2*.i386.rpm)
    libattr (libattr-2*.i386.rpm)
    mdadm (mdadm-2*.x86_64.rpm)
    pcre (pcre-6*.i386.rpm)
V-125-39 caught exception: runtime error in srtPlat.cpp:PackageInfo::verifyRepos                                                                             itory()
[Error] V-125-105 Cannot install operating system onto this SRT.
Please see diagnostic log for additional information.

regards,

Giri

Konstantinos's picture

Hi Govarthanagiri,

yes use the 5.0 image.

The SRT OS does not have to match exactly the Client OS.

It is only used the Boot the Client and start the actual Restore ( meaning you can have an SRT with RHEL 5.0 and a Client with RHEL 5.9)

try it and let me know.

Govarthanagiri's picture

Thanks for your information..

i have Redhat 5.6 image so can i use this image for 5.9 clinet ?

regards,

Giri

Konstantinos's picture

Hi Govarthanagiri,

Yes, I think you can.

let us know if you have any issues with that.

Govarthanagiri's picture

Hi Konstantinos,

yes i can able to create the SRT usign 5.6 image ... but i am getting error in network part as mentioned below

------------------------------------

The following media is required:

    Red Hat Enterprise Linux Server release 5.0 (x86_64) - disc 1 of 5

Please load the media now.

Load media from (? for help) [/dev/cdrom] : /mnt/redhat56
Extracting files ...............................................................

The following media is required:

    Symantec BMR Third-Party Products CD (3PPCD)

Please load the media now.

Load media from (? for help) [/dev/cdrom] :
Mounting media ... mount: No medium found
Cannot mount media, please try again.
Load media from (? for help) [/dev/cdrom] : /mnt/ppd
Working ... ok.

The media repository is now complete.
Working ........................................................................
Working .................................... ok.
Preparing boot files - please stand by...

The following media is required:

    NetBackup Client

Please load the media now.

Load media from (? for help) [/dev/cdrom] : /netbackup/SYMCnbclient_Linux-RedHat
Mounting media ... ok.
The NetBackup Client installation script will run now.

Symantec Installation Script
Copyright 1993 - 2013 Symantec Corporation, All Rights Reserved.

        Installing NetBackup Client Software

Please review the SYMANTEC SOFTWARE LICENSE AGREEMENT located on
the installation media before proceeding.  The agreement includes
details on the NetBackup Product Improvement Program.

For NetBackup installation and upgrade information specific to your
platform and to find out if your installed EEBs or hot fixes are
contained in this release, check out the Symantec Operations Readiness
Tools (SORT) Installation and Upgrade Checklist and Hot fix and EEB
Release Auditor, respectively, at https://sort.symantec.com/netbackup.

Do you wish to continue? [y,n] (y)
Do you want to install the NetBackup client software for this client? [y,n] (y)

This package will install Linux/RedHat2.6.18 client.

This package will install NetBackup client 7.5.0.6.

Enter the name of the NetBackup server : vtcnb01

Would you like to use "pasoncom" as the configured
name of the NetBackup client? [y,n] (y)

Client binaries are located in //mnt/NBClients/anb/Clients/usr/openv/netbackup/c

Installing PBX...
Please wait while installation is in progress...
Installation completed Successfully
Installation log located here: /var/tmp/installpbx-3091-082214014821.log

Unpacking SYMCnbclt package.
Checking for pre-existing SYMCnbclt package.
Installing SYMCnbclt package.
Installation of SYMCnbclt was successful.
More details regarding SYMCnbclt can be found in file
/tmp/install_cltpkg_trace.3010 on pasoncom.
Checking network connections.
DNS Lookup failed for host pasoncom error:-3!
bp.conf: IP_ADDRESS_FAMILY = AF_INET: default value, no update needed

No [x]inetd process found.

File /usr/openv/tmp/install_trace.2883 contains a trace of this install.
That file can be deleted after you are sure the install was successful.

The NetBackup Client installation script has completed.
Unmounting media ... ok.
[Info] V-125-668 SRT "comimage" has been initialized successfully.

------------------------------------------------------------------------------
SRT name:      comimage
Location:      /netbackup/comimage
Description:   combootimage
Exclusive use: (none)
------------------------------------------------------------------------------

You may make modifications to this SRT.
Select one of the following options:

    1.  Install Symantec NetBackup Maintenance Pack.
    2.  Install Veritas Volume Manager and Veritas File System.
    3.  Update Veritas Volume Manager and Veritas File System.
    4.  Install Veritas Security Services.
    5.  Install additional patches/drivers.
    6.  Change SRT description.
    7.  Change client exclusive use of this SRT.
    8.  Quit.

---------------------------------------------------------------------

regards,

Giri

Konstantinos's picture

Hi Govarthanagiri,

are you able to verify that you can resolve that host name using DNS ?

 DNS Lookup failed for host pasoncom error:-3!

Anuj Kr's picture

You can do a hostfile entry of host "pasoncom", is that is already in place, you may ignore DNS error.

**** Anuj

Jaime_Vazquez's picture

I just saw the posted comments for this thread and need to make some major changes for the environment.

First. RHEL 5.9 BMR client/Boot Server support started with NBU 7.6.0.1 (GA) release. It is not supported in NBU 7.5.0.6 release. .That is part of the cause of the SRT creation problem. And yes, the OS compatibility listing is incorrect for this.  I will report it to the proper team.

The Tech arrticle noted does indeed reflect the base line cause of the OS load errors, but for Suse 11 SP2. RHEL 5.9 is at a hgher 3.X kernel versioning as well.

The update release version of the OS should be as high or higher than the client image being restored. This is important for RH 5.9 as it introduced a new kernel release.The release major number needs to match. i.e. a RHEL 5.X SRT is needed to restore RHEL 5.X client images. RHEL 6.X SRT will not do and a Prepare To Restore will fail if you try to use the wrong version.

Just to be clear on Red Hat Linux supported levels:

Red Hat Version 4.X is supported up to NBU 7.1.0.X. It is not supported at 7.5 and later.
Red Hat Version 5.0 through 5.7 are supported on NBU 7.0 or later.
Red Hat Version 5.8 support requires NBU 7.5.0.5 or later.
Red Hat Version 5.9 requires NBU 7.6.0.1 or later.
Red Hat Version 6.0 through 6.3 are supported on NBU 7.5.0.5 or later.
Red Hat Version 6.4 requires 7.6 or later.
Red Hat Version 6.5 Requiems 7.6.0.3 or later.

Only 64 bit installs are supported with NBU 7.X.

Jaime_Vazquez's picture

Please look at this article for better details on BMR Boot Servers and SRT creation.  I have just updated it to reflect latest NBU 7.6 information and cleared out old NBU 6.5 information. 

Requirements for Bare Metal Restore (BMR) Boot Servers 
http://www.symantec.com/docs/TECH87607