- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: swlist, 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
02-26-2007 06:31 AM
02-26-2007 06:31 AM
I wanna check and install some pathes into my HP-UX PA-RISC B.11.11 system. but when I run
# swlist
# Initializing...
# Contacting target "sys069"...
ERROR: Could not contact host "sys069". Make sure the hostname is
correct and an absolute pathname is specified (beginning with
"/").
ERROR: More information may be found in the daemon logfile on this
target (default location is sys069:/var/adm/sw/swagentd.log).
I stop and start swagentd daemond so many times, but doen't work.
I need your kindly helps, thank you very much.
brgs
-Gary
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2007 06:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2007 06:45 AM
02-26-2007 06:45 AM
Re: swlist, error
When I use swlist -l product | grep ... the same error responds like swlist.
And swinstall SD Install said error could not contact host "sys069".
As you know, I wanna install DST change patches into system.
-Gary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2007 07:39 AM
02-26-2007 07:39 AM
Re: swlist, error
check and make sure that the swagentd daemon is running ..
# ps -ef | grep swagentd
If not start it ..
#/usr/sbin/swagentd start
rgds/ James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2007 07:44 AM
02-26-2007 07:44 AM
Re: swlist, error
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2007 07:56 AM
02-26-2007 07:56 AM
Re: swlist, error
thanks for your reply,
I have stop and start swagentd so many times, here is the detail:
# swlist -l product
# Initializing...
# Contacting target "sys069"...
ERROR: Could not contact host "sys069". Make sure the hostname is
correct and an absolute pathname is specified (beginning with
"/").
ERROR: More information may be found in the daemon logfile on this
target (default location is sys069:/var/adm/sw/swagentd.log).
# ps -ef | grep swagentd
root 27408 24685 1 15:48:54 pts/th 0:00 grep swagentd
root 26302 1 0 14:21:32 ? 0:00 /usr/sbin/swagentd -r
# /sbin/init.d/swagentd stop
The swagentd daemon is stopped.
# /sbin/init.d/swagentd start
#
# ps -ef | grep swagentd
root 27439 1 0 15:50:38 ? 0:00 /usr/sbin/swagentd -r
root 27445 24685 1 15:50:49 pts/th 0:00 grep swagentd
# swlist
# Initializing...
# Contacting target "srs069"...
ERROR: Could not contact host "srs069". Make sure the hostname is
correct and an absolute pathname is specified (beginning with
"/").
ERROR: More information may be found in the daemon logfile on this
target (default location is srs069:/var/adm/sw/swagentd.log).
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2007 10:29 AM
02-26-2007 10:29 AM
Re: swlist, error
What results do you get when you do a nslookup on your short, and full hostname? Looks like it has something to do with that. I really think that you have a problem with resolving your hostname properly.
This may work for you as well. If you know your IP address on your box try the following;
# export RPC_SUPPORTED_NETADDRS=ip:n.n.n.n
# /usr/sbin/swagentd -r
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2007 10:28 PM
02-26-2007 10:28 PM
Re: swlist, error
According me your system is facing host name resolution problem.
1.first check your /etc/hosts file.
If the HOSTNAME and/or IP have changed, it is important to confirm these changes were made correctly. Incomplete changes will cause inconsistent information, so consider using the set_parms command to be safe.
2.then also check by nslookup command:
nslookup is a program to query Internet domain name servers. nslookup has been extended to follow the configured name resolution algorithm of the host and to query NIS, as well as, DNS and host tables.
By default, nslookup accesses name services for name and address resolution based on the policy information obtained from the switch configuration file /etc/nsswitch.conf
3.I suggest for good practice check netconf file
/etc/rc.config.d/netconf
4.Find the HP-UX revision of your system by entering:
uname -a
5.Find the version of SD installed by entering:
what /usr/sbin/swinstall
6.Verify that SD is properly installed by entering:
swverify SW-\*
7.Look at the contents of the log files under /var/adm/sw/sw*.log. It may be helpful to have the data for the entire session. In SD log files, sessions are delineated by lines beginning with =========. (If there is too much data in the log, locate the first sign of trouble and the next several error messages.)
8.You may also want to have available information from the swagent.log files stored in depots (for example, /var/spool/sw/swagent.log). The swagent daemon creates these when it reads or writes from a depot containing information written by swagent. Depots at other locations have a similar swagent.log.
9.swagent daemon
The roles of UNIX target and source systems require two processes known as the daemon and agent. For most purposes, the distinction between these two processes is invisible to the user and they can be viewed as a single process.
Each SD command interacts with the daemon and agent to perform its requested tasks.
The swagentd daemon process must be scheduled before a UNIX system is available as a target or source system. This can be done either manually or in the system start-up script. The swagent agent process is executed by swagentd to perform specific software management tasks
so,after changes restart the process.
Then to check & install pathches use swlist & swinstall commands.
Refer follwing site:
http://docs.hp.com/en/SD/faq.html
Regards,
Reshma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2007 10:30 PM
02-26-2007 10:30 PM
Re: swlist, error
If your query is solved,then can you please assign the points.
Thanks & Regards,
Reshma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2007 12:41 AM
02-27-2007 12:41 AM
Re: swlist, error
Buddies, Have a great day
-Gary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2007 12:55 AM
02-27-2007 12:55 AM
Re: swlist, error
Thanks. Now your problem is resolved. so please assign the points to reward the answers.
Thanks & Regards,
Reshma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2007 01:02 AM
02-27-2007 01:02 AM
Re: swlist, error
Do you got the points?
I am sorry I forgot.
brgs
-Gary