Loading...
Loading...
A NetWorker UNIX or AIX client is configured to use a "pre command" script containing the `powermt display` command.The "Pre command" script runs successfully, but the powermt command within the script fails. Example: + /usr/sbin/powermt display Command failed. If the command is changed to truss /usr/sbin/powermt display, the output shows: Error: “Command failed" statx("CuDvDr", 0x2FF1CE70, 76, 0) Err#2 ENOENT kopen("CuDvDr", O_RDONLY) Err#2 ENOENT kfcntl(1, F_GETFL, 0x00000008) = 67108865
The Err#2 ENOENT means that the file is not found in the path that the script is calling out. "CuDvDr" Cannot be found in the directory that the script is being run.ODM spreads its files over the file system. These three directories are all used for storing files that are related to ODM: /usr/lib/objrepos/usr/share/lib/objrepos/etc/objrepos The AIX host is missing the operating system variable "ODMDIR=/etc/objrepos".
Set the environment variable in the script:ODMDIR=/etc/objreposThe output from running the script shows Example: NSRENV_RPCPORT_SERVICE=7937-9936, NSRENV_RPCPORT_CONNECTION=0-0, LANG=en_US PATH=/usr/local/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/bin:/usr/bin/X11:/sbin:.:/opt/emc/SYMCLI/bin NSR_JOB_TYPE_VALUE=pre job LOCPATH=/usr/lib/nls/loc NSR_STD_MSG_FD=25:26:27 NO_CLU_QUERY=TRUE NSR_JOB_PARENT_JOBID=128857 NSR_SHUTDOWN_STDIO=1 NSR_CATCH_CHILD_STDOUT=ON ODMDIR=/etc/objrepos NSR_MAST=nsrexecd PWD=/ TZ=CST6CDT NSRENV_PMAPS={390113 NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat:/usr/lib/nls/msg/%l.%c/%N:/usr/lib/nls/msg/%l.%c/%N.cat
Click on a version to see all relevant bugs
Dell Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.