cancel
Showing results for 
Search instead for 
Did you mean: 

Cancatenate the nof3 files gives error

eomaber
Level 4

Hi All, While preparing the upgrade of netbackup 7.5 to 7.5.0.7, I have downloaded the client package from the following link: http://www.symantec.com/business/support/index?page=content&id=TECH209037 However, the first package .1of3 is giving an error while cat the three files "1of3,, 2of3 and 3of3"

# cat "NB_CLT_7.5.0.7_tar-split.1of3" "NB_CLT_7.5.0.7_tar-split.2of3" "NB_CLT_7.5.0.7_tar-split.3of3" > "NB_CLT_7.5.0.7.tar"

cat: cannot open NB_CLT_7.5.0.7_tar-split.1of3

I tried to cat two of them "2of3 and 3of3" and it worked fine. I want to know if this file as put on the website is really not correct. If so, is there any other place from where I can take the tar file.

Thanks

 

1 ACCEPTED SOLUTION

Accepted Solutions

eomaber
Level 4

Hi,

 

I have downloaded again the first package and I could cancatenate using:

 

C:\>copy /b "C:\Users\eomaber\Downloads\Veritas\NB_CLT_7.5.0.7_tar-split.1of3"+"C:\Users\eomaber\Downloads\Symantec\NB_CLT_7.5.0.
7_tar-split.2of3"+"C:\Users\eomaber\Downloads\Symantec\NB_CLT_7.5.0.7_tar-split.
3of3" "NB_CLT_7.5.0.7.tar"
C:\Users\eomaber\Downloads\Veritas\NB_CLT_7.5.0.7_tar-split.1of3
C:\Users\eomaber\Downloads\Symantec\NB_CLT_7.5.0.7_tar-split.2of3
C:\Users\eomaber\Downloads\Symantec\NB_CLT_7.5.0.7_tar-split.3of3
        1 file(s) copied.

C:\>dir
 Volume in drive C is System
 Volume Serial Number is A6E9-7E02

 Directory of C:\

20/12/2014  09:56    <DIR>          .
20/12/2014  09:56    <DIR>          ..
20/12/2014  10:01     4,331,776,512 NB_CLT_7.5.0.7.tar

So, I don't know if it will work under Unix... Anyway, I'm waiting the upload to server to finish and let you know.

View solution in original post

10 REPLIES 10

RamNagalla
Moderator
Moderator
Partner    VIP    Certified

did you verify the file after download... does it givng the correct MD5 value..?

may be it got corrupted while downloading...?

eomaber
Level 4

After transferring it to the server, it gives the right md5 value:

 # digest -a md5 NB_CLT_7.5.0.7_tar-split.lof3
474bfaafdce5bb07e1d7e189064f8014

And from the website:

NB_CLT_7.5.0.7-tar-split.1of3 fixes for the NetBackup 7.5 on UNIX/Linux clients. MD5: 474bfaafdce5bb07e1d7e189064f8014 SHA1: 97e265671e24919197bbc304a6d6611118cd9b2b

 

 

 

eomaber
Level 4

Hi,

 

I have downloaded again the first package and I could cancatenate using:

 

C:\>copy /b "C:\Users\eomaber\Downloads\Veritas\NB_CLT_7.5.0.7_tar-split.1of3"+"C:\Users\eomaber\Downloads\Symantec\NB_CLT_7.5.0.
7_tar-split.2of3"+"C:\Users\eomaber\Downloads\Symantec\NB_CLT_7.5.0.7_tar-split.
3of3" "NB_CLT_7.5.0.7.tar"
C:\Users\eomaber\Downloads\Veritas\NB_CLT_7.5.0.7_tar-split.1of3
C:\Users\eomaber\Downloads\Symantec\NB_CLT_7.5.0.7_tar-split.2of3
C:\Users\eomaber\Downloads\Symantec\NB_CLT_7.5.0.7_tar-split.3of3
        1 file(s) copied.

C:\>dir
 Volume in drive C is System
 Volume Serial Number is A6E9-7E02

 Directory of C:\

20/12/2014  09:56    <DIR>          .
20/12/2014  09:56    <DIR>          ..
20/12/2014  10:01     4,331,776,512 NB_CLT_7.5.0.7.tar

So, I don't know if it will work under Unix... Anyway, I'm waiting the upload to server to finish and let you know.

Marianne
Level 6
Partner    VIP    Accredited Certified

cat: cannot open NB_CLT_7.5.0.7_tar-split.1of3

It seems that this file was not present in the directory where you tried to join them.

Did you manage to join and extract them in the meantime?

eomaber
Level 4

Hi Marianne,

The file was there in the directory, but I couldn't cancatenate the three files in unix.

It was successful under Windows. I didn't have time to re-verify again the package as the upgrade activity was urgent.

Thanks for your support.

 

jim_dalton
Level 6

Mvdb is right...the file was not there, probably you misnamed it slightly or typed the name in incorrectly. Cat only knows about the file existing, other than that it doesnt care, it will concatenate whatever you throw at it.

In fact I can see the error from here. Theres the letter "l" in the name and youve typed in to concat a file with the number "1" in. Poor.

 # digest -a md5 NB_CLT_7.5.0.7_tar-split.lof3
474bfaafdce5bb07e1d7e189064f8014

cat: cannot open NB_CLT_7.5.0.7_tar-split.1of3

See?

I claim my points: that is the correct solution!

Jim

revarooo
Level 6
Employee

Jim is right! Well spotted.

Marianne
Level 6
Partner    VIP    Accredited Certified

I was right too!! 

NB_CLT_7.5.0.7_tar-split.1of3 was NOT in the folder.

NB_CLT_7.5.0.7_tar-split.lof3 != NB_CLT_7.5.0.7_tar-split.1of3 

revarooo
Level 6
Employee

Marianne, indeed you were.

jim_dalton
Level 6

Also true mvdb, but that isnt the solution.

Jim