Operating System - HP-UX
1757191 Members
3005 Online
108858 Solutions
New Discussion юеВ

swagent.log warning messages after applying patches (hpux 11.23 itanium)

 
SOLVED
Go to solution
Donald Thaler_1
Advisor

swagent.log warning messages after applying patches (hpux 11.23 itanium)

i'm getting these warnings in the swagent.log after applying a number of patches

WARNING: Directory "/" should have group,gid "root,0" but the actual
group,gid is "sys,3".

does something like this need to be fixed ?
7 REPLIES 7
Robert-Jan Goossens
Honored Contributor

Re: swagent.log warning messages after applying patches (hpux 11.23 itanium)

Hi Don,

Yes you need to change the permission of the root directory to root:root.

# cd /
# chown root:root .

# ls -lad .
and check if the permissions are correct.

Regards,
Robert-Jan
James R. Ferguson
Acclaimed Contributor
Solution

Re: swagent.log warning messages after applying patches (hpux 11.23 itanium)

Hi:

This is a consequence of 'swverify' running as part of the installation process. The IPD (Installed Product Database) has values for modes and timestamps that it expects to see. The actual values for your directories don't match. In this case this is really immaterial.

At any time, if you like, you can do:

# swverify \*

...to see what might be amiss. Add a '-F' to "fix" what doesn't match the IPD.

Regards!

...JRF...
AVV
Super Advisor

Re: swagent.log warning messages after applying patches (hpux 11.23 itanium)

Seems your directory permissions or /root are currently not set as root but as sys. Please check the same and change.
Jupinder Bedi
Respected Contributor

Re: swagent.log warning messages after applying patches (hpux 11.23 itanium)

chown root:root is perfect
All things excellent are as difficult as they are rare
Dennis Handly
Acclaimed Contributor

Re: swagent.log warning messages after applying patches (hpux 11.23 itanium)

>I'm getting these warnings in the swagent.log after applying a number of patches

It is possible the patch was packaged incorrectly with "/" having the wrong group.

Doing the "swverify -F" that JRF mention may just flop them back and forth.
Donald Thaler_1
Advisor

Re: swagent.log warning messages after applying patches (hpux 11.23 itanium)

permission of / was root:root..
ran swverify -F \*

the previous warnings no longer show up in the swverify.log.. does that mean the -F fixed the problem causing the previous warnings ??
Johnson Punniyalingam
Honored Contributor

Re: swagent.log warning messages after applying patches (hpux 11.23 itanium)

>>>the previous warnings no longer show up in the swverify.log.. does that mean the -F fixed the problem causing the previous warnings ??swverify -F \* <<

Yes , It did the trick

-F
Runs vendor-specific fix scripts to correct and report problems on installed software. The fix script can create missing directories, correct file modifications (mode, owner, group, major, and minor), and recreate symbolic links

Thanks,
Johnson
Problems are common to all, but attitude makes the difference