- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: swinstall error.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2004 12:52 AM
07-19-2004 12:52 AM
swinstall error.
we are trying to install patches on HP-UX 10.20, depot file is copied in hard disk. While installing, swinstall stops installation with error " logfile on this target or source. Possibly the media is read-only or there is a permission problem. Check the daemon"
more over the installer is assuming that the source is from tape drive, where as depot file is on hard disk.
swinstall -x match_target=true -s /users/sysadmin/222/PHKL_9270.depot
======= 07/16/04 20:08:43 IST BEGIN swinstall SESSION
(non-interactive)
* Session started for user "root@pcsphp2".
* Beginning Selection
* Target connection succeeded for "pcsphp2:/".
* "pcsphp2:/users/sysadmin/222/PHKL_9270.depot": This source is
a tape device.
* "pcsphp2:/users/sysadmin/222/PHKL_9270.depot": Cannot open
the logfile on this target or source. Possibly the media is
read-only or there is a permission problem. Check the daemon
logfile and "/var/tmp/swagent.log" on this host for more
information.
ERROR: Cannot continue the "swinstall" task.
* Selection had errors.
======= 07/16/04 20:08:50 IST END swinstall SESSION (non-interactive)
Please suggest in solving this problem.
Thanks in Adv..
Krishna.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2004 12:57 AM
07-19-2004 12:57 AM
Re: swinstall error.
Try doing this:
# cd /users/sysadmin/222/
# swinstall -s ./PHKL_9270.depot
See if it works.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2004 01:49 AM
07-19-2004 01:49 AM
Re: swinstall error.
Check the permission of PHKL_9270.depot ,located it at /tmp directory and use the swinstall from / now.
get the list of products or file-sets from the depot using as like
swlist -s /tmp/PHKL_9270.depot
Install the products,
swinstall -s /tmp/PHKL_9270.depot -x match_target=true
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2004 02:30 AM
07-19-2004 02:30 AM
Re: swinstall error.
bharat,
Tried ur suggestion, swinstall started SAM and stopped at error " Could not contact host "./PHKL_9270.depot". Make sure the hostname is correct."....
Muthukumar,
Non-Interactive installation started and stoped with following error.
# swinstall -s /tmp/PHKL_9270.depot -x match_target=true PHKL_9270
======= 07/16/04 22:37:02 IST BEGIN swinstall SESSION
(non-interactive)
* Session started for user "root@pcsphp2".
* Beginning Selection
* Target connection succeeded for "pcsphp2:/".
* "pcsphp2:/tmp/PHKL_9270.depot": This source is a tape device.
* "pcsphp2:/tmp/PHKL_9270.depot": Cannot open the logfile on
this target or source. Possibly the media is read-only or
there is a permission problem. Check the daemon logfile and
"/var/tmp/swagent.log" on this host for more information.
ERROR: No software has been selected.
ERROR: Cannot continue the "swinstall" task.
* Selection had errors.
======= 07/16/04 22:37:09 IST END swinstall SESSION (non-interactive)
... i am unable to understand why installer is assuming source as tape... when -s switch specify the source from harddisk...
thanks and rgds..
krishna..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2004 02:47 AM
07-19-2004 02:47 AM
Re: swinstall error.
Try to start the swinstall without the -x option as normally as,
swinstall -s /tmp/PHKL_9270.depot
Is there any message's in the deomon log(swagentd).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2004 02:50 AM
07-19-2004 02:50 AM
Re: swinstall error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2004 05:48 PM
07-19-2004 05:48 PM
Re: swinstall error.
Plz.. find the following errors.
# swinstall -s /tmp/PHKL_9270.depot PHKL_9270
======= 07/17/04 13:17:09 IST BEGIN swinstall SESSION
(non-interactive)
* Session started for user "root@pcsphp2".
* Beginning Selection
* Target connection succeeded for "pcsphp2:/".
* "pcsphp2:/tmp/PHKL_9270.depot": This source is a tape device.
* "pcsphp2:/tmp/PHKL_9270.depot": Cannot open the logfile on
this target or source. Possibly the media is read-only or
there is a permission problem. Check the daemon logfile and
"/var/tmp/swagent.log" on this host for more information.
ERROR: Could not apply the software selection "PHKL_9270" because
there are no product variations that are compatible with the
destination host(s). To select incompatible software, specify
the "-x allow_incompatible=true" option on the command line.
* Software selection failed for "pcsphp2:/tmp/PHKL_9270.depot".
ERROR: No software has been selected.
ERROR: Cannot continue the "swinstall" task.
* Selection had errors.
======= 07/17/04 13:17:15 IST END swinstall SESSION (non-interactive)
# tail swagentd.log
NOTE: The target "/tmp/PHKL_9270.depot" currently open for reading
is a tape. pid=19621 07/17/04 13:17:14 IST
* Agent pid=19620 completed. 07/17/04 13:17:14 IST
* Agent pid=19621 completed. 07/17/04 13:17:15 IST.
# tail swagent.log
======= 07/17/04 13:17:12 IST BEGIN install AGENT SESSION (pid=19620)
(jobid=pcsphp2-0248)
* Agent session started for user "root@pcsphp2". (pid=19620)
======= 07/17/04 13:17:14 IST END install AGENT SESSION (Cancelled)
(pid=19620) (jobid=pcsphp2-0248)
suggest me how i can change the source from tape to directory...
i think by changing source the problem will be fixed..
Rgds,
Krishna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2004 07:17 PM
07-19-2004 07:17 PM
Re: swinstall error.
Lets get some details sorted out.
1) when you unshared the patch did you get any error.
2) cksum of the patch is correct?
3) if you had problems for the above to questions then download the patch again and perform the checks again.
4) First check
# swlist -s /tmp/PHKL_9270.depot
and see if you get any errors. Fix errors.
5) Perform swinstall -s /tmp/PHKL_9270.depot.
6) If you still get errors then restart the swagentd
# /sbin/init.d/swagentd stop
# /sbin/init.d/swagentd start
Let us know how it goes.
Cheers,
Mohan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2004 09:59 PM
07-20-2004 09:59 PM
Re: swinstall error.
get the permission with ls -l /tmp/PHKL_9270.depot; if it is file (_rx.... ) then use file PHKL_9270.depot
If you are installing this software depot which located in tape drive to harddisk, then mount the tape drive into harddisk with mount command.
The use swinstall -s /path to mount point/ .. or copy to /tmp/ directory.. with the permission to install it.
Can use try swinstall as ,
To avoid getting the package is avaible in tape drive,
swinstall -s /tmp/PHKL_9270.depot -x source_type=directory
permission problem(s):
swinstall -l -s /tmp/PHKL_9270.depot
or
swinstall -l -s /tmp/PHKL_9270.depot -x write_remote_files=false
or use fully as,
swinstall -l -s /tmp/PHKL_9270.depot -x source_type=directory write_remote_files=true
see swinstall man page for -l option and write_remote_files.
I don't have 10.20 and that depot to test.
Regards,
Muthukumar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2004 07:56 AM
07-21-2004 07:56 AM
Re: swinstall error.
swinstall -x logfile=/tmp/logfile -x match_target=true -s /users/sysadmin/222/PHKL_9270.depot
Kim