<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: cleanup returns You must be superuser to run this command. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cleanup-returns-you-must-be-superuser-to-run-this-command/m-p/3703565#M249780</link>
    <description>Have you read the /var/adm/cleanup.log in case it gives more detail?&lt;BR /&gt;&lt;BR /&gt;Mark Syder (like the drink but spelt different)</description>
    <pubDate>Thu, 05 Jan 2006 11:02:26 GMT</pubDate>
    <dc:creator>MarkSyder</dc:creator>
    <dc:date>2006-01-05T11:02:26Z</dc:date>
    <item>
      <title>cleanup returns You must be superuser to run this command.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cleanup-returns-you-must-be-superuser-to-run-this-command/m-p/3703559#M249774</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;    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&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;=================&lt;BR /&gt;&lt;BR /&gt;Committing patches superseded at least 5 time(s) ...&lt;BR /&gt;ERROR:   swmodify(1M) encountered problems committing the&lt;BR /&gt;         superseded patches:&lt;BR /&gt;&lt;BR /&gt;ERROR:   You must be superuser to run this command.&lt;BR /&gt;All information has been logged to /var/adm/cleanup.log.&lt;BR /&gt;### Cleanup program completed at 01/05/06  09:40:54&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Jan 2006 10:46:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cleanup-returns-you-must-be-superuser-to-run-this-command/m-p/3703559#M249774</guid>
      <dc:creator>Alvin Crofts_1</dc:creator>
      <dc:date>2006-01-05T10:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: cleanup returns You must be superuser to run this command.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cleanup-returns-you-must-be-superuser-to-run-this-command/m-p/3703560#M249775</link>
      <description>Are you running this as root? Does the UID=0?&lt;BR /&gt;&lt;BR /&gt;What is the return from the 'id' command?</description>
      <pubDate>Thu, 05 Jan 2006 10:50:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cleanup-returns-you-must-be-superuser-to-run-this-command/m-p/3703560#M249775</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2006-01-05T10:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: cleanup returns You must be superuser to run this command.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cleanup-returns-you-must-be-superuser-to-run-this-command/m-p/3703561#M249776</link>
      <description>Alvin,&lt;BR /&gt;&lt;BR /&gt;Any of the SD update commands, including cleanup and swmodify, require that they be run as root.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 05 Jan 2006 10:53:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cleanup-returns-you-must-be-superuser-to-run-this-command/m-p/3703561#M249776</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2006-01-05T10:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: cleanup returns You must be superuser to run this command.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cleanup-returns-you-must-be-superuser-to-run-this-command/m-p/3703562#M249777</link>
      <description>I am running it as root.</description>
      <pubDate>Thu, 05 Jan 2006 10:55:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cleanup-returns-you-must-be-superuser-to-run-this-command/m-p/3703562#M249777</guid>
      <dc:creator>Alvin Crofts_1</dc:creator>
      <dc:date>2006-01-05T10:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: cleanup returns You must be superuser to run this command.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cleanup-returns-you-must-be-superuser-to-run-this-command/m-p/3703563#M249778</link>
      <description>I am running it as root. # id&lt;BR /&gt;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)&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Jan 2006 10:56:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cleanup-returns-you-must-be-superuser-to-run-this-command/m-p/3703563#M249778</guid>
      <dc:creator>Alvin Crofts_1</dc:creator>
      <dc:date>2006-01-05T10:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: cleanup returns You must be superuser to run this command.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cleanup-returns-you-must-be-superuser-to-run-this-command/m-p/3703564#M249779</link>
      <description>Hi Alvin:&lt;BR /&gt;&lt;BR /&gt;Try restarting the 'swagentd' daemon:&lt;BR /&gt;&lt;BR /&gt;# /usr/sbin/swagentd -r&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 05 Jan 2006 11:01:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cleanup-returns-you-must-be-superuser-to-run-this-command/m-p/3703564#M249779</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-01-05T11:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: cleanup returns You must be superuser to run this command.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cleanup-returns-you-must-be-superuser-to-run-this-command/m-p/3703565#M249780</link>
      <description>Have you read the /var/adm/cleanup.log in case it gives more detail?&lt;BR /&gt;&lt;BR /&gt;Mark Syder (like the drink but spelt different)</description>
      <pubDate>Thu, 05 Jan 2006 11:02:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cleanup-returns-you-must-be-superuser-to-run-this-command/m-p/3703565#M249780</guid>
      <dc:creator>MarkSyder</dc:creator>
      <dc:date>2006-01-05T11:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: cleanup returns You must be superuser to run this command.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cleanup-returns-you-must-be-superuser-to-run-this-command/m-p/3703566#M249781</link>
      <description>Couple of log files to look at.&lt;BR /&gt;/var/adm/cleanup.log &amp;amp; /tmp/cleanup.$$&lt;BR /&gt;&lt;BR /&gt;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?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Jan 2006 11:03:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cleanup-returns-you-must-be-superuser-to-run-this-command/m-p/3703566#M249781</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2006-01-05T11:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: cleanup returns You must be superuser to run this command.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cleanup-returns-you-must-be-superuser-to-run-this-command/m-p/3703567#M249782</link>
      <description>Whoami returns root as does id. In this example I selected 5 as there is only one that is at 5.  The cleanup.log has the following:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;### Cleanup program started at 01/05/06  09:49:29&lt;BR /&gt;Commit patches superseded at least 5 time(s) on 'hpk220'.&lt;BR /&gt;Obtaining superseded patch information...done.&lt;BR /&gt;&lt;BR /&gt;The following patches superseded at least 5 time(s) can be committed:&lt;BR /&gt;&lt;BR /&gt;Superseded  # Times Superseded  Disk Space in /var/adm/sw/save  Superseded By&lt;BR /&gt;==========  ==================  ==============================  =============&lt;BR /&gt;PHKL_23609           5                   110592 bytes             PHKL_25166&lt;BR /&gt;&lt;BR /&gt;WARNING: When a patch is committed, the files saved to /var/adm/sw/save&lt;BR /&gt;         during the installation of the patch are removed.  If&lt;BR /&gt;         these saved files are not present, then the patch cannot&lt;BR /&gt;         be removed from the system via swremove(1M).&lt;BR /&gt;&lt;BR /&gt;         If these files in /var/adm/sw/save must be removed, HP&lt;BR /&gt;         recommends that the /var/adm/sw/save directory first be&lt;BR /&gt;         backed up.  If it should become necessary to remove the&lt;BR /&gt;         patch in the future, the files must be recovered from the&lt;BR /&gt;         backup prior to removing the patch.&lt;BR /&gt;&lt;BR /&gt;         If you have not already created a backup of /var/adm/sw/save,&lt;BR /&gt;         you may wish to do so before proceeding with the patch&lt;BR /&gt;         commit operation.&lt;BR /&gt;&lt;BR /&gt;Would you still like to commit these patches? y&lt;BR /&gt;Committing patches superseded at least 5 time(s) ...&lt;BR /&gt;ERROR:   swmodify(1M) encountered problems committing the&lt;BR /&gt;         superseded patches:&lt;BR /&gt;&lt;BR /&gt;ERROR:   You must be superuser to run this command.&lt;BR /&gt;All information has been logged to /var/adm/cleanup.log.&lt;BR /&gt;### Cleanup program completed at 01/05/06  09:49:29&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Jan 2006 11:11:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cleanup-returns-you-must-be-superuser-to-run-this-command/m-p/3703567#M249782</guid>
      <dc:creator>Alvin Crofts_1</dc:creator>
      <dc:date>2006-01-05T11:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: cleanup returns You must be superuser to run this command.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cleanup-returns-you-must-be-superuser-to-run-this-command/m-p/3703568#M249783</link>
      <description>I don't know if this will have anything to do with it or not but double check your network id.  Do an nslookup on the hostname and make sure its correct and then do a reverse lookup nslookup by the ip address and make sure it uses the same service for both.&lt;BR /&gt;&lt;BR /&gt;I have found that the sw commands tend to report that they have problems that are actually unrelated to the real problem.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Beyond that, you may try manually committing that patch with the gui swmodify to see if gives you a different error.&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Jan 2006 12:31:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cleanup-returns-you-must-be-superuser-to-run-this-command/m-p/3703568#M249783</guid>
      <dc:creator>Howard Marshall</dc:creator>
      <dc:date>2006-01-05T12:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: cleanup returns You must be superuser to run this command.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cleanup-returns-you-must-be-superuser-to-run-this-command/m-p/3703569#M249784</link>
      <description>Thanks for the recommendations. I compared the sw* files in the /usr/sbin on the 11i machine that I am having problems with compared with the /usr/sbin/sw* files on a 11.0 machine that I have and the dates on the problem machine are a year older than the ones running on the 11.0 machine so I have downloaded the latest patch set (again) and will select anything that appears to be a sw* program and do a force overwrite.   I am able to swconfig the file but swmodify falls flat on its face again complaining about permissions.</description>
      <pubDate>Thu, 05 Jan 2006 13:50:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cleanup-returns-you-must-be-superuser-to-run-this-command/m-p/3703569#M249784</guid>
      <dc:creator>Alvin Crofts_1</dc:creator>
      <dc:date>2006-01-05T13:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: cleanup returns You must be superuser to run this command.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cleanup-returns-you-must-be-superuser-to-run-this-command/m-p/3703570#M249785</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Just a thought, could you check the permisions of your executables in the /usr/sbin directory ?&lt;BR /&gt;&lt;BR /&gt;# ll /usr/sbin/cleanup&lt;BR /&gt;etc&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Thu, 05 Jan 2006 13:55:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cleanup-returns-you-must-be-superuser-to-run-this-command/m-p/3703570#M249785</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2006-01-05T13:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: cleanup returns You must be superuser to run this command.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cleanup-returns-you-must-be-superuser-to-run-this-command/m-p/3703571#M249786</link>
      <description>After copying the newer versions of the sw* files to the /usr/sbin directory the cleanup ran as advertised.   How I ended up with old /usr/sbin/sw* files who knows.  Thanks so much for all of the recomendations</description>
      <pubDate>Thu, 05 Jan 2006 14:17:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cleanup-returns-you-must-be-superuser-to-run-this-command/m-p/3703571#M249786</guid>
      <dc:creator>Alvin Crofts_1</dc:creator>
      <dc:date>2006-01-05T14:17:38Z</dc:date>
    </item>
  </channel>
</rss>

