Re: Problem with "swreg" or "swacl" (294 Views)
Reply
Occasional Visitor
Ives
Posts: 1
Registered: ‎07-24-2012
Message 1 of 5 (346 Views)

Problem with "swreg" or "swacl"

Hi.

Somebody can help me this.I want install powerpath with my user root, but the messages tell me that i don't have permissions.

# swinstall -x autoreboot=true -x mount_all_filesystems=false -s /tmp/powerpath/EMCPower.HPUX.PI.5.1.SP2.GA.b113.tar EMCPower

=======  07/25/12 09:31:00 EAT  BEGIN swinstall SESSION
         (non-interactive) (jobid=hp2-0026)

       * Session started for user "root@hp2".
         
       * Beginning Selection

       * Target connection succeeded for "hp2:/".
ERROR:   "hp2:/tmp/powerpath/EMCPower.HPUX.PI.5.1.SP2.GA.b113.tar":
         You do not have permission for this operation.  The depot
         owner, system administrator, or alternate root owner may need
         to use the "swreg" or "swacl" command to give you permission.
         Or, to manage applications designed and packaged for
         nonprivileged mode, see the "run_as_superuser" option in the
         "sd" man page.
       * Source connection failed for
         "hp2:/tmp/powerpath/EMCPower.HPUX.PI.5.1.SP2.GA.b113.tar".
WARNING: More information may be found in the daemon logfile on this
         target (default location is hp2:/var/adm/sw/swagentd.log).
       * Selection had errors.
         
         

=======  07/25/12 09:47:16 EAT  END swinstall SESSION (non-interactive)
         (jobid=hp2-0026)

 

then i try to restart swagentd

#/sbin/init.d/swagentd stop
#/sbin/init.d/swagentd start

 

But the problem is not resolved

Acclaimed Contributor
Dennis Handly
Posts: 25,190
Registered: ‎03-06-2006
Message 2 of 5 (339 Views)

Re: Problem with "swreg" or "swacl"

I assume that /tmp/powerpath/EMCPower.HPUX.PI.5.1.SP2.GA.b113.tar is a file and is on a local filesystem?

bdf /tmp/powerpath/EMCPower.HPUX.PI.5.1.SP2.GA.b113.tar  # not NFS?

 

Any other error messages in /var/adm/sw/swagentd.log?

Frequent Advisor
Chirag Parikh
Posts: 51
Registered: ‎11-06-2007
Message 3 of 5 (317 Views)

Re: Problem with "swreg" or "swacl"

Hi,

Please register the software executable / depot before installing. Untar first this tar file and select executable / depot file for swreg.

swreg -l

Then do installation.

Regards,
Chirag Parikh
Acclaimed Contributor
Dennis Handly
Posts: 25,190
Registered: ‎03-06-2006
Message 4 of 5 (311 Views)

Re: Problem with "swreg" or "swacl"

>Please register the software executable / depot before installing.

 

If this is really a tape depot, this isn't needed.

 

>Untar first this tar file

 

You should not be untarring tape depots.  And in fact, the file should be renamed as *.depot.

Frequent Advisor
Arockiasamy K
Posts: 38
Registered: ‎03-02-2011
Message 5 of 5 (294 Views)

Re: Problem with "swreg" or "swacl"

Hi,

 

  Just restart the swagentd. That will work...

Regards,
Arockiasamy K
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.