02-26-2016 02:35 PM
# 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
Solved! Go to Solution.
02-29-2016 01:39 PM
All you can really do is remount it without noexec, perform the operation and then remount with noexec
02-27-2016 09:21 PM
02-29-2016 06:18 AM
I have now.
Was hoping someone had run into this issue & perhaps had a fix or workaround.
02-29-2016 10:41 AM
Do you perhaps have some security on the server that does not allow loading from /tmp?
02-29-2016 10:43 AM
Aka perhaps temp is mounted as noexec?
02-29-2016 11:03 AM
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% /
02-29-2016 01:27 PM
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
02-29-2016 01:39 PM
All you can really do is remount it without noexec, perform the operation and then remount with noexec
03-01-2016 06:44 AM
Alternate workaround:
export TEMP=/usr/openv/tmp
and then run nbdeployutil