- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- drd runcmd says root doesn't have enough permissio...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2010 01:44 PM
06-03-2010 01:44 PM
RWOrac02:/# drd runcmd swlist
======= 06/03/10 14:40:06 PDT BEGIN Executing Command On Inactive System Image (user=root) (jobid=RWOrac02)
* Checking for Valid Inactive System Image
* Analyzing Command To Be Run On Inactive System Image
* Locating Inactive System Image
* Accessing Inactive System Image for Command Execution
* Setting Up Environment For Command Execution
* Executing Command On Inactive System Image
* Executing command: "/usr/sbin/swlist"
ERROR: Permission is denied for the current operation. There is no
entry for user id 0 in the user database. Check /etc/passwd
and/or the NIS user database.
ERROR: Could not initialize security. This process does not have
super-user privilege.
ERROR: Command executed on inactive system image returned an error
- The command "/usr/sbin/swlist" failed.
* Executing Command On Inactive System Image failed with 1 error.
* Cleaning Up After Command Execution On Inactive System Image
======= 06/03/10 14:40:33 PDT END Executing Command On Inactive System Image failed with 1 error. (user=root) (jobid=RWOrac02)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2010 01:49 PM
06-03-2010 01:49 PM
Re: drd runcmd says root doesn't have enough permissions
ERROR: Permission is denied for the current operation. There is no entry for user id 0 in the user database. Check /etc/passwd and/or the NIS user database.
Have you checked your /etc/passwd file? Is it correct?
Are you using anything like NIS, NIS+, or LDAP?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2010 02:22 PM
06-03-2010 02:22 PM
Re: drd runcmd says root doesn't have enough permissions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2010 02:31 PM
06-03-2010 02:31 PM
Re: drd runcmd says root doesn't have enough permissions
root:stuffHere:0:3:moreStuffHere...
After that what do you see returned from the commands "id" and "swlist"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2010 02:46 PM
06-03-2010 02:46 PM
Re: drd runcmd says root doesn't have enough permissions
here is my root entry minus the password.
root:XXXXXXXXXXX:0:3::/:/usr/bin/sh
id returns fine
RWOrac02\:/# id
uid=0(root) gid=3(sys) groups=0(root),1(other),2(bin),4(adm),5(daemon),6(mail),7(lp),20(users)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2010 03:05 PM
06-03-2010 03:05 PM
Re: drd runcmd says root doesn't have enough permissions
Also, can you run "bdf" to see if the clone is still partly mounted, nad
"ps -ef | grep sw" and "ps -ef | grep fsdaemon" to see if multiple swagentd processes or multiple fsdaemon processes are running?
Thanks,
Judy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2010 03:14 PM
06-03-2010 03:14 PM
Re: drd runcmd says root doesn't have enough permissions
RWOrac02\:/# drd runcmd update-ux -s rwhpcab1:/var/11v3i/march-2010
======= 06/03/10 14:03:00 PDT BEGIN Executing Command On Inactive System Image (user=root) (jobid=RWOrac02)
* Checking for Valid Inactive System Image
* Analyzing Command To Be Run On Inactive System Image
* Locating Inactive System Image
* Accessing Inactive System Image for Command Execution
* Setting Up Environment For Command Execution
* Executing Command On Inactive System Image
* Using unsafe patch list version 20080324
* Starting swagentd for drd runcmd
* User supplied command: "/usr/sbin/update-ux -s rwhpcab1:/var/11v3i/march-2010"
* Executing command: "/opt/swm/bin/swmoeupdate -s rwhpcab1:/var/11v3i/march-2010"
======= 06/03/10 14:03:20 PDT BEGIN Operating Environment Update (user=root) (jobid=000005)
* Reading Target System's Installed Product Database (IPD)
* Target IPD: RWOrac02
* Reading Source Depot(s)
* Source depot: rwhpcab1:/var/11v3i/march-2010
* Choosing Operating Environment
* The chosen operating environment (OE) is: "HPUX11i-HA-OE".
NOTE: Loading *temporary* update tools that do not affect the running system and will be removed when the OE update is finished
* Analyzing OE Update Tools To Be Installed
* Analysis Summary
- Reboot needed: No
- Kernel build needed: No
- Number of check scripts run: 12 (0 excluded, 0 failed)
- Install: 20 filesets
* Loading OE Update Tools
* Installing fileset "SW-GETTOOLS.PRE-UPDATE,r=B.11.31.1003" (1 of 20).
* Installing fileset "SW-GETTOOLS.SD-SUPPORT,r=B.11.31.1003" (2 of 20).
* Installing fileset "SW-GETTOOLS.SD2-SUPPORT,r=B.11.31.1003" (3 of 20).
* Installing fileset "SWMTRANS.SWMT-ENG-A-HELP,r=A.3.5.1.186" (4 of 20).
* Installing fileset "SWMTRANS.SWMT-ENG-A-MAN,r=A.3.5.1.186" (5 of 20).
* Installing fileset "SWMTRANS.SWMT-JPN-E-HELP,r=A.3.5.1.186" (6 of 20).
* Installing fileset "SWMTRANS.SWMT-JPN-E-MAN,r=A.3.5.1.186" (7 of 20).
* Installing fileset "SWMTRANS.SWMT-JPN-S-HELP,r=A.3.5.1.186" (8 of 20).
* Installing fileset "SWMTRANS.SWMT-JPN-S-MAN,r=A.3.5.1.186" (9 of 20).
* Installing fileset "SWMTRANS.SWMT-RUN,r=A.3.5.1.186" (10 of 20).
* Installing fileset "Update-UX.SD-AGENT,r=B.11.31.1003.346" (11 of 20).
* Installing fileset "Update-UX.SD-CMDS,r=B.11.31.1003.346" (12 of 20).
* Installing fileset "Update-UX.SD-FRE-I-MSG,r=B.11.31.1003.346" (13 of 20).
* Installing fileset "Update-UX.SD-GER-I-MSG,r=B.11.31.1003.346" (14 of 20).
* Installing fileset "Update-UX.SD-JPN-E-MSG,r=B.11.31.1003.346" (15 of 20).
* Installing fileset "Update-UX.SD-JPN-S-MSG,r=B.11.31.1003.346" (16 of 20).
* Installing fileset "Update-UX.SD-KOR-E-MSG,r=B.11.31.1003.346" (17 of 20).
* Installing fileset "Update-UX.SD-TCH-B-MSG,r=B.11.31.1003.346" (18 of 20).
* Installing fileset "Update-UX.SD-TCH-H-MSG,r=B.11.31.1003.346" (19 of 20).
* Installing fileset "Update-UX.UUX2-OS-LIBS,r=B.11.31.1003.346" (20 of 20).
* Configuring OE Update Tools
ERROR: Unable to determine the status of the external Software Distributor command (pid: 29203): No child processes (errno=10).
NOTE: Loading *temporary* update tools that do not affect the running system and will be removed when the OE update is finished
failed with 1 error.
* Removing Temporary Update Tools
ERROR: Permission is denied for the current operation. There is no
entry for user id 0 in the user database. Check /etc/passwd
and/or the NIS user database.
ERROR: Could not initialize security. This process does not have
super-user privilege.
======= 06/03/10 14:04:28 PDT END Operating Environment Update failed with 3 errors. (user=root) (jobid=000005)
* Stopping swagentd for drd runcmd
ERROR: You must be superuser to run this command.
ERROR: Cannot stop swagentd for drd runcmd. For more information,
refer to /var/adm/sw/swagentd.log on the inactive system
image.
ERROR: Command executed on inactive system image returned an error
- One or more postcommands for /usr/sbin/update-ux failed.
- The command "/opt/swm/bin/swmoeupdate -s rwhpcab1:/var/11v3i/march-2010" failed.
- The postcommand "/opt/drd/wrappers/stop_swagentd" fails with the return code "1".
* Executing Command On Inactive System Image failed with 1 error.
* Cleaning Up After Command Execution On Inactive System Image
ERROR: Unmounting the file system fails.
- Unmounting the clone image fails.
- The "umount" command returned "1". The "sync" command returned "0". The error messages produced are the following: "umount: cannot unmount /dev/drd00/lvol8 : Device busy
umount: return error 1.
"
* Cleaning Up After Command Execution On Inactive System Image failed with 1 error.
======= 06/03/10 14:04:32 PDT END Executing Command On Inactive System Image failed with 2 errors. (user=root) (jobid=RWOrac02)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2010 03:15 PM
06-03-2010 03:15 PM
Re: drd runcmd says root doesn't have enough permissions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2010 03:20 PM
06-03-2010 03:20 PM
Re: drd runcmd says root doesn't have enough permissions
Can you check
http://www.hp.com/go/drd and click on the release notes on the right side of the page and look at about page 22 (or search for "There is no entry for user id 0").
Does this match your nsswitch.conf situation?
Thanks,
Judy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2010 03:33 PM
06-03-2010 03:33 PM
Re: drd runcmd says root doesn't have enough permissions
RWOrac02\:/etc# drd runcmd update-ux -pv -s rwhpcab1:/var/11v3i/march-2010
======= 06/03/10 16:30:21 PDT BEGIN Executing Command On Inactive System Image (user=root) (jobid=RWOrac02)
* Checking for Valid Inactive System Image
* Analyzing Command To Be Run On Inactive System Image
* Locating Inactive System Image
* Preparing Inactive System Image For Command Execution
* Selected inactive system image "sysimage_001" on disk "/dev/disk/disk255".
* Accessing Inactive System Image for Command Execution
* Setting Up Environment For Command Execution
* Executing Command On Inactive System Image
/opt/drd/wrappers/start_fsdaemon[22]: start_fsdaemon: not found.
* Stopping swagentd for drd runcmd
/opt/drd/wrappers/stop_fsdaemon[22]: stop_fsdaemon: not found.
ERROR: Command executed on inactive system image returned an error
- One or more postcommands for /usr/sbin/update-ux failed.
- One or more precommands for /usr/sbin/update-ux failed. /usr/sbin/update-ux will not be executed.
- The precommand "/opt/drd/wrappers/start_fsdaemon" fails with the return code "1".
- The postcommand "/opt/drd/wrappers/stop_fsdaemon" fails with the return code "1".
* Executing Command On Inactive System Image failed with 1 error.
* Cleaning Up After Command Execution On Inactive System Image
======= 06/03/10 16:30:51 PDT END Executing Command On Inactive System Image failed with 1 error. (user=root) (jobid=RWOrac02)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2010 03:40 PM
06-03-2010 03:40 PM
SolutionThe probem is fixed in DRD releate 3.6, which will be available on media in September and on the web this summer (proabably in July).
The problem would go away if you re-cloned, thus making the releases of DRD match, but here a quicker work-around is to copy the file /opt/drd/wrappers/common_utils to the clone as follows:
# drd mount
# cp /var/opt/drd/mnts/sysimage_001/opt/drd/wrappers/common_utils /var/opt/drd/mnts/sysimage_001/opt/drd/wrappers/common_utils.orig
# cp /opt/drd/wrappers/common_utils /var/opt/drd/mnts/sysimage_001/opt/drd/wrappers/common_utils
After doing this, you may want to go ahead and install the new DRD to the clone (using drd runmcd) to get rid of the swverify error introduced by the cp above.
Thanks,
Judy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2010 03:51 PM
06-03-2010 03:51 PM
Re: drd runcmd says root doesn't have enough permissions
Thanks again.
Mike