- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- swinstall problem
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-03-2002 06:03 PM
07-03-2002 06:03 PM
swinstall problem
[root@tsm2-px:/tmp]#swinstall -s /tmp/PHSS_26138.depot
Starting the terminal version of swinstall...
To move around in swinstall:
- use the "Tab" key to move between screen elements
- use the arrow keys to move within screen elements
- use "Ctrl-F" for context-sensitive help anywhere in swinstall
On screens with a menubar at the top like this:
------------------------------------------------------
|File View Options Actions Help|
| ---- ---- ------- ------------------------------- ---|
- use "Tab" to move from the list to the menubar
- use the arrow keys to move around
- use "Return" to pull down a menu or select a menu item
- use "Tab" to move from the menubar to the list without selecting a menu item
- use the spacebar to select an item in the list
On any screen, press "CTRL-K" for more information on how to use the keyboard.
Press "Return" to continue...
you specify an incorrect display.
ERROR: The interactive UI failed to start. If you wish to run
non-interactively, you must specify some software as part of
the swinstall command.
how can i deal with this problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 06:21 PM
07-03-2002 06:21 PM
Re: swinstall problem
9 times out of ten there will be a lock file somewhere stopping you from using it.
/var/adm/sw/*.log
I think that swagentd.log and swinstall.log should give you enough info for this.
Generally though, as I said, it's either a lock file or a file missing that's the problem. Don't be too concerned.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 06:36 PM
07-03-2002 06:36 PM
Re: swinstall problem
NOTE: The interactive UI was invoked, since no software was
specified.
* Session started for user "root@tsm2-px".
* The interactive UI failed to start. If you wish to run
non-interactively, you must specify some software as part of
the swinstall command.
======= 07/04/02 09:56:47 EAT END swinstall SESSION (interactive)
======= 07/04/02 10:37:17 EAT BEGIN swinstall SESSION (interactive)
NOTE: The interactive UI was invoked, since no software was
specified.
* Session started for user "root@tsm2-px".
* The interactive UI failed to start. If you wish to run
non-interactively, you must specify some software as part of
the swinstall command.
======= 07/04/02 10:37:20 EAT END swinstall SESSION (interactive)
i find these in swinstall.log,but nothing in swagentd.log about today's error
and i still dont know how to deal with it:(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 07:21 PM
07-03-2002 07:21 PM
Re: swinstall problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 07:25 PM
07-03-2002 07:25 PM
Re: swinstall problem
non-interactively
#swinstall -x patch_match_target=true -x auto_reboot=false -s /tmp/PHSS_26138.depot
Thanks
G Manikandan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 07:32 PM
07-03-2002 07:32 PM
Re: swinstall problem
and
#swinstall -x patch_match_target=true -x auto_reboot=false -s /tmp/PHSS_26138.depot
ERROR: While reading the command line an error was found for the
option "-x auto_reboot". The keyword or its value may be
incorrect or the keyword does not apply to this command.
ERROR: Command line parsing failed
help help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 07:37 PM
07-03-2002 07:37 PM
Re: swinstall problem
-x auto_reboot=true
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 07:43 PM
07-03-2002 07:43 PM
Re: swinstall problem
The option -x auto_reboot=true is
if the patch requires a auto reboot the server is automatically rebooted else the ch is just installed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 07:52 PM
07-03-2002 07:52 PM
Re: swinstall problem
# echo $DISPLAY
If it returns something like:
machinename:0.0
Then try doing:
# unset DISPLAY
Now try invoking swinstall again and see what happens.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 07:59 PM
07-03-2002 07:59 PM
Re: swinstall problem
device.
* "tsm2-px:/tmp/PHSS_26138.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.
so strange,in other machine ,i use :
swinstall -s /tmp/PHSS_26138.depot
and have no problem
btw:there three file about PHSS_26138:
-rw-rw-rw- 1 root sys 1306905 Jul 4 09:56 PHSS_26138
-rw-r--r-- 1 root sys 1679360 Jan 20 00:34 PHSS_26138.depot
-rw-r--r-- 1 root sys 50569 Feb 12 04:47 PHSS_26138.text
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 08:25 PM
07-03-2002 08:25 PM
Re: swinstall problem
Your own system is not able to resolve its name.
Can you do one thing. Just register the depot first and then try the installation.
# swreg -l depot /tmp/PHSS_26138.depot
# swinstall -x autoreboot=true -s /tmp/PHSS_26138.depot PHSS_26138
-Sukant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 08:35 PM
07-03-2002 08:35 PM
Re: swinstall problem
sh: DISPLAY: Parameter not set.
[root@tsm2-px:/tmp]#swreg -l depot /tmp/PHSS_26138.depot
======= 07/04/02 12:36:49 EAT BEGIN swreg SESSION (non-interactive)
* Session started for user "root@tsm2-px".
* Beginning Selection
* Targets: tsm2-px
* Objects: /tmp/PHSS_26138.depot
* Selection succeeded.
======= 07/04/02 12:36:49 EAT END swreg SESSION (non-interactive)
[root@tsm2-px:/tmp]#swinstall -x patch_match_target=true -s /tmp/PHSS_26138.depot
======= 07/04/02 11:59:52 EAT BEGIN swinstall SESSION
(non-interactive)
* Session started for user "root@tsm2-px".
* Beginning Selection
* Target connection succeeded for "tsm2-px:/".
* "tsm2-px:/tmp/PHSS_26138.depot": This source is a tape
device.
* "tsm2-px:/tmp/PHSS_26138.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.
NOTE: The patch match operation failed to find patches for target
software on "tsm2-px" which passed the filter.
NOTE: Cannot continue the "swinstall" task.
======= 07/04/02 11:59:55 EAT END swinstall SESSION (non-interactive)
it doesnt work :((((
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 09:11 PM
07-03-2002 09:11 PM
Re: swinstall problem
Then now restart the swagentd daemon and try the installation.
# ps -ef|grep swagentd
root 1688 1 0 Jun 28 ? 0:04 /usr/sbin/swagentd -r
root 9553 9546 1 10:45:23 ttyp1 0:00 grep swagentd
# kill -9 1688
# /usr/sbin/swagentd -r
#
-Sukant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2002 09:51 PM
07-03-2002 09:51 PM
Re: swinstall problem
To install the patch from the command line you can also avoid using -x patch_match_target=true. You can use the command:
swinstall -s /tmp/PHSS_26138.depot \*
or
swinstall -s /tmp/PHSS_26138.depot PHSS_26138
Regards,
Mateja
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2002 01:50 AM
07-04-2002 01:50 AM
Re: swinstall problem
looks like you try to install a patch which ist NOT valid for your system!
Maybe it's a workstation patch but you are on a server or vs. versa?
Else try
swinstall -s /tmp/PHSS_12345 '*'
Just my $0.02,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2002 07:53 PM
07-04-2002 07:53 PM
Re: swinstall problem
i have got it
use:
export TERM=vt100
everything is ok
thanks everyone