- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: cleanup returns You must be superuser to run t...
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
01-05-2006 02:46 AM
01-05-2006 02:46 AM
cleanup returns You must be superuser to run this command.
Have very little room left in /var and when I run cleanup (as root on local machine) get the following error. swmodify returns pretty much the same message
=================
Committing patches superseded at least 5 time(s) ...
ERROR: swmodify(1M) encountered problems committing the
superseded patches:
ERROR: You must be superuser to run this command.
All information has been logged to /var/adm/cleanup.log.
### Cleanup program completed at 01/05/06 09:40:54
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2006 02:50 AM
01-05-2006 02:50 AM
Re: cleanup returns You must be superuser to run this command.
What is the return from the 'id' command?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2006 02:53 AM
01-05-2006 02:53 AM
Re: cleanup returns You must be superuser to run this command.
Any of the SD update commands, including cleanup and swmodify, require that they be run as root.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2006 02:55 AM
01-05-2006 02:55 AM
Re: cleanup returns You must be superuser to run this command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2006 02:56 AM
01-05-2006 02:56 AM
Re: cleanup returns You must be superuser to run this command.
uid=0(root) gid=3(sys) groups=0(root),1(other),2(bin),4(adm),5(daemon),6(mail),7(lp),20(users),104(netx)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2006 03:01 AM
01-05-2006 03:01 AM
Re: cleanup returns You must be superuser to run this command.
Try restarting the 'swagentd' daemon:
# /usr/sbin/swagentd -r
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2006 03:02 AM
01-05-2006 03:02 AM
Re: cleanup returns You must be superuser to run this command.
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2006 03:03 AM
01-05-2006 03:03 AM
Re: cleanup returns You must be superuser to run this command.
/var/adm/cleanup.log & /tmp/cleanup.$$
The /usr/sbin/cleanup file can be viewed. There is a section cheking the 'whoami' return. If you issue the 'whoami' command what is return?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2006 03:11 AM
01-05-2006 03:11 AM
Re: cleanup returns You must be superuser to run this command.
### Cleanup program started at 01/05/06 09:49:29
Commit patches superseded at least 5 time(s) on 'hpk220'.
Obtaining superseded patch information...done.
The following patches superseded at least 5 time(s) can be committed:
Superseded # Times Superseded Disk Space in /var/adm/sw/save Superseded By
========== ================== ============================== =============
PHKL_23609 5 110592 bytes PHKL_25166
WARNING: When a patch is committed, the files saved to /var/adm/sw/save
during the installation of the patch are removed. If
these saved files are not present, then the patch cannot
be removed from the system via swremove(1M).
If these files in /var/adm/sw/save must be removed, HP
recommends that the /var/adm/sw/save directory first be
backed up. If it should become necessary to remove the
patch in the future, the files must be recovered from the
backup prior to removing the patch.
If you have not already created a backup of /var/adm/sw/save,
you may wish to do so before proceeding with the patch
commit operation.
Would you still like to commit these patches? y
Committing patches superseded at least 5 time(s) ...
ERROR: swmodify(1M) encountered problems committing the
superseded patches:
ERROR: You must be superuser to run this command.
All information has been logged to /var/adm/cleanup.log.
### Cleanup program completed at 01/05/06 09:49:29
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2006 04:31 AM
01-05-2006 04:31 AM
Re: cleanup returns You must be superuser to run this command.
I have found that the sw commands tend to report that they have problems that are actually unrelated to the real problem.
You may also want to double check the ownership and permissions on the password file, and the sw directories. As if thatâ s not enough, you may try removing or reducing some large log files from /var/adm. There may not be enough free space on var to create a list file or something and its translating that as a permissions issue.
Beyond that, you may try manually committing that patch with the gui swmodify to see if gives you a different error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2006 05:50 AM
01-05-2006 05:50 AM
Re: cleanup returns You must be superuser to run this command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2006 05:55 AM
01-05-2006 05:55 AM
Re: cleanup returns You must be superuser to run this command.
Just a thought, could you check the permisions of your executables in the /usr/sbin directory ?
# ll /usr/sbin/cleanup
etc
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2006 06:17 AM
01-05-2006 06:17 AM