- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Swinstall doesn't work on vmguest after hostna...
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
10-22-2007 04:52 AM
10-22-2007 04:52 AM
Created a guest called pcvm0103
Loaded 11.31 ENT-OE
Stopped the guest.
Removed the disk from the guest.
Created a new guest pcvm0105 and gave the disk to it instead.
Started pcvm0105
Booted fine (as host pcvm0103)
Ran set_parms hostname
Reboot
Came up as pcvm0105.
Swinstall fails with:
Could not start a management session for "pcvm0105:". The system
administrator for host "pcvm0105" may have disabled the swagentd
daemon or there may be a networking problem affecting the operation.
If the swagentd daemon has been disabled, it can be enabled by the
system administrator on "pcvm0105" by setting the
"SW_ENABLE_SWAGENTD" entry in /etc/rc.config.d/swconfig to "1" and
executing "/usr/sbin/swagentd -r".
Agent is running - can stop/start it at will.
Tried a swacl -l root
Got back:
#
# swacl Installed Software Access Control List
#
# For host: pcvm0105:/
#
# Date: Mon Oct 22 10:25:38 2007
#
ERROR: An unexpected error occurred while performing the requested
operation on the "root" ACL at "pcvm0105:/". The system
administrator for host "pcvm0105" may have disabled the daemon
or there may be a networking problem affecting the operation
or an ACL file may have been improperly removed. If the
swagentd daemon has been disabled, it can be enabled by the
system administrator on host "pcvm0105" by setting the
"SW_ENABLE_SWAGENTD" entry in /etc/rc.config.d/swconfig to "1"
and executing "/usr/sbin/swagentd -r".
All config files are okay (that I know of).
root@pcvm0105 [ / ]
# uname -a
HP-UX pcvm0105 B.11.31 U ia64 0756383664 unlimited-user license
root@pcvm0105 [ / ]
# hostname
pcvm0105
# ps -ef |grep swagent
root 2389 1 0 09:05:07 ? 0:00 /usr/sbin/swagentd -r
Question is, what do I have to change in the software distributer to get swinstall working?
Thanks...Geoff
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2007 05:20 AM
10-22-2007 05:20 AM
Re: Swinstall doesn't work on vmguest after hostname change
I imagine restarting the guest system would resolve the problem. But thats to easy so I'm guessing you don't want to do that.
Contents of /etc/nsswitch.conf ?
New installs don't put one in place.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2007 05:26 AM
10-22-2007 05:26 AM
Re: Swinstall doesn't work on vmguest after hostname change
All networking is configured correctly:
# cat /etc/nsswitch.conf
#
# /etc/nsswitch.files:
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# does not use any name services.
#
passwd: files winbind
group: files winbind
hosts: dns [NOTFOUND=CONTINUE] files
# cat /etc/resolv.conf
domain mydomain.net
nameserver 192.168.162.157
nameserver 192.168.162.6
Everything is okay - swlist, show_patches, works fine.
I just can't make any changes - swinstall, swacl, swverify - all fail.
cd /var/adm/sw/security
# strings *
# default_realm=pcvm0105
any_other:r----
# default_realm=pcvm0105
num_entries=2
user:root:0
group:sys:0
# default_realm=pcvm0105
user_obj:rwict
any_other:r----
# default_realm=pcvm0105
user_obj:rwict
any_other:r----
default -sdu-
-sdu-
default
That looks fine as well.
Somehow, I need to reintialize the software distributor?
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2007 06:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2007 08:17 AM
10-22-2007 08:17 AM
Re: Swinstall doesn't work on vmguest after hostname change
http://docs.hp.com/en/5992-2146/apcs02.html?btnNext=next%A0%BB
But I can't find install-sd anywhere on the OE dvd's.
Even tried the latest:
http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=SD
install-sd just does not exist - yet why is it in the doc?
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2007 08:53 AM
10-22-2007 08:53 AM
Re: Swinstall doesn't work on vmguest after hostname change
Yet, it doesn't look like bastille is setup...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2007 09:41 AM
10-22-2007 09:41 AM
Re: Swinstall doesn't work on vmguest after hostname change
Anyways - guess what - even though I thought the hosts file was correct - it wasn't!
And neither was netconf!
Both had the ip's of the old server!
I did a set_parms on hostname - I should have done network as well!
The reason I though they were okay was - the ip's are only off by 1 digit - so at first glance it looked okay...
Sigh......
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2007 10:05 AM
10-22-2007 10:05 AM
Re: Swinstall doesn't work on vmguest after hostname change
Occam's razor.
Regards! :-))
...JRF...