cancel
Showing results for 
Search instead for 
Did you mean: 

7.7.1 nbdeployutil broken on RedHat6

Will_Restore
Level 6

# nbdeployutil --gather

Can't load /tmp/p2xtmp/auto/attributes/attributes.so for module attributes: /tmp/p2xtmp/auto/attributes/attributes.so: failed to map segment from shared object: Operation not permitted at PERL2EXE_STORAGE/Dynaloader.pm

Compiliation failed in nbdeployutil line 6

 

1 ACCEPTED SOLUTION

Accepted Solutions

mnolan
Level 6
Employee Accredited Certified

All you can really do is remount it without noexec, perform the operation and then remount with noexec

View solution in original post

8 REPLIES 8

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified
Have you logged a call with Veritas?

Will_Restore
Level 6

I have now.  blush

 

Was hoping someone had run into this issue & perhaps had a fix or workaround.

 

mnolan
Level 6
Employee Accredited Certified

Do you perhaps have some security on the server that does not allow loading from /tmp? 

mnolan
Level 6
Employee Accredited Certified

Aka perhaps temp is mounted as noexec?

cbsi_nbu_team
Level 3

Will,

I also have nbu 7.7.1 on RHEL6, and didn't see the same issue as you did 

# nbdeployutil --gather
NetBackup Deployment Utility, version 7.7.1
Gathering license deployment information...
  Discovered master server nbu1
co  Output for nbu1 at: /usr/openv/var/global/reports/20160229_185656_nbu1
Gather DONE
Execution time: 1 min 9 secs
To create a report for this master server, run one of the following:
  capacity   : nbdeployutil --report --capacity /usr/openv/var/global/reports/20160229_185656_nbu1
  traditional: nbdeployutil --report --traditional /usr/openv/var/global/reports/20160229_185656_nbu1

# uname -a
Linux nbu1 2.6.32-573.el6.x86_64 #1 SMP Wed Jul 1 18:23:37 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux

# cat /etc/*elease|tail -1
Red Hat Enterprise Linux Server release 6.7 (Santiago)

# cat /usr/openv/netbackup/bin/version
NetBackup-RedHat2.6.18 7.7.1

# ls -ld /tmp
drwxrwxrwt 8 root root 4096 Feb 29 18:58 /tmp

# df -k /tmp
Filesystem           1K-blocks    Used Available Use% Mounted on
/dev/mapper/vg_nbu1-lv_root
                      51475068 8937204  39916424  19% /

Will_Restore
Level 6

Yes, that is the trouble.  nbdeployutil is trying to execute in /tmp

 

noexec on /tmp is a security requirement:  https://www.stigviewer.com/stig/red_hat_enterprise_linux_6/2015-05-26/finding/V-57569

 

 

mnolan
Level 6
Employee Accredited Certified

All you can really do is remount it without noexec, perform the operation and then remount with noexec

Will_Restore
Level 6

Alternate workaround:

export TEMP=/usr/openv/tmp

and then run nbdeployutil