Operating System - HP-UX
1833843 Members
2317 Online
110063 Solutions
New Discussion

Software Disttibutor Problem

 
Lee Abell
Frequent Advisor

Software Disttibutor Problem

I have an 11.0 depot created. When we try to swpackage to the depot from one box we get the error message below. When we move the source code to another box it works fine. The SWACL permissions are identical for both boxes. HELP! Thanks!


when I ran our Preview script this time (and it hung at postinstall), when I ctrl-C'd out of the hang I got the following:

* Reading the fileset "mail_files" at line 155.
* /soe/dev/Ready2Package/Package/sh/SOE_Mail (/sh/SOE_Mail)
* /soe/dev/Ready2Package/Package/sh/SOE_Mail_Alias
(/sh/SOE_Mail_Alias)
* postinstall (/soe/dev/Ready2Package/sh/post_install)

ERROR: An unexpected internal error occurred in SD in file s_aclmgr.c
($Revision: 5.3 $), at line 1413. Please provide this
information to your SD support representative.
WARNING: Exiting due to keyboard interrupt.
5 REPLIES 5
Jeff Schussele
Honored Contributor

Re: Software Disttibutor Problem

Hi Paula,

Not 100% sure this is your problem, but we've seen strangeness like this in situations where systems were Ignited from another's image.
Turned out to be the default_realm name in /var/adm/sw/security files not matching the actual hostname of that system. The _ACLs wre OK - just the name didn't match.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Erik Heckers
Advisor

Re: Software Disttibutor Problem

Some ideas:

* Check what patches are installed - any difference?

* Are there symbolic links pointing from the
source code to a outside location (so the
target of the link isn't the same on both
machines)

* Try to package to a depot-file not a directory-depot, e.g. swpackage ... -x target_type=tape @ /var/tmp/test.depot
Does it work now?

Erik
if power_on; then
Lee Abell
Frequent Advisor

Re: Software Disttibutor Problem

hp35:/var/adm/sw/security # swacl -l depot
#
# swacl Depot Access Control List
#
Now I'm getting this error when I do an swacl -l depot. I haven't chagned anythign on the system. I looked at the _ACL and it looks ok to me. HELP!!


# For depot: hp35:/var/spool/sw
#
# Date: Mon Aug 25 11:52:33 2003
#

ERROR: RPC exception: "Communications failure (dce / rpc)" 08/25/03
11:57:08 EDT
ERROR: An unexpected error occurred while performing the requested
operation on the "depot" ACL at "hp35:/var/spool/sw". This is
probably the result of a failed Remote Procedure Call to a
daemon, a failure in the SD ACL manager, or the improper
removal of the ACL. If this problem persists, contact your
system administrator.
hp35:/var/adm/sw/security #
Lee Abell
Frequent Advisor

Re: Software Disttibutor Problem

I got past the first error message. It was a problem with NFS not SD. But now I am getting this error message. Any thoughts??? Thanks!


ERROR: Cannot modify the existing product "SOE" in the target
"/var/spool/sw": permission denied. You are not authorized to
modify this product. Your system administrator can grant you
super-user privilege with the swacl command. To package
without super-user privilege, set the "run_as_superuser"
option to "false". Excluding the product from this session.
ERROR: All products have been excluded because create and/or modify
permission in the target depot "/var/spool/sw" has been
denied. Terminating this session.

======= 08/25/03 12:20:49 EDT END swpackage SESSION
Jeff Schussele
Honored Contributor

Re: Software Disttibutor Problem

Hi (again) Paula,

I assume you know that you should be root to manipulate any depots, so I'll move past that.

Next thing to try would be to bounce swagentd on both the local & remote systems.

/usr/sbin/swagentd -r

Then try again.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!