?
Solved

swinstall

Posted on 2009-02-11
3
Medium Priority
?
1,980 Views
Last Modified: 2013-12-06
I'm having trouble installing HP CIM Extension agent on an HP-UX 11.11. I'm a novice at this so please bear with me.
I went to HP web site and found the agent installation depot, copied the file to a directory on the HP-UX.  Then I run # swinstall -s APPQcime.depot APPQcime in the directory where I copied the depot.  I received an error message "sh: swinstall: not found".
0
Comment
Question by:shong1997
  • 2
3 Comments
 
LVL 29

Expert Comment

by:Michael Worsham
ID: 23612652
Try doing 'where swinstall' to see if the swinstall is found in your $PATH environment.

SWinstall is usually found under /usr/sbin/swinstall
0
 

Author Comment

by:shong1997
ID: 23612882
I have gone a lot further this time, but still received an error when executing the swinstall.  

$ ./swinstall -s /tmp/se/AppQcime.depot APPQcime
WARNING: Could not create the session directory
         "/home/kz4mcd/.sw/sessions/":  Permission denied (13).  This
         directory is where a session's selections are stored.
WARNING: Could not create the session directory
         "/home/kz4mcd/.sw/targets/":  Permission denied (13).  This
         directory is where a session's selections are stored.
WARNING: Could not create the session directory
         "/home/kz4mcd/.sw/software/":  Permission denied (13).  This
         directory is where a session's selections are stored.

=======  02/11/09 11:06:50 EST  BEGIN swinstall SESSION
         (non-interactive)

       * Session started for user "kz4mcd@fledns02".

       * Beginning Selection
ERROR:   "fledns02:/":  You do not have the required permissions to
         select this target.  Check permissions using the "swacl"
         command or see your system administrator for assistance.  Or,
         to manage applications designed and packaged for nonprivileged
         mode, see the "run_as_superuser" option in the "sd" man page.
       * Target connection failed for "fledns02:/".
ERROR:   More information may be found in the daemon logfile on this
         target (default location is
         fledns02:/var/adm/sw/swagentd.log).
       * Selection had errors.
0
 
LVL 29

Accepted Solution

by:
Michael Worsham earned 2000 total points
ID: 23612920
swinstall needs to be run as either 'sudo' or root.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month15 days, 17 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question