- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: hp-ux 11.11 swinstall problems
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-11-2005 02:30 PM
07-11-2005 02:30 PM
hp-ux 11.11 swinstall problems
======= 07/12/05 00:15:29 EDT BEGIN swinstall SESSION
(non-interactive) (jobid=hulk-0011)
* Session started for user "root@hulk".
* Beginning Selection
ERROR: Could not contact host "hulk". Make sure the hostname is
correct and an absolute pathname is specified (beginning with
"/").
* Target connection failed for "hulk:/".
ERROR: More information may be found in the daemon logfile on this
target (default location is hulk:/var/adm/sw/swagentd.log).
* Selection had errors.
======= 07/12/05 00:15:29 EDT END swinstall SESSION (non-interactive)
(jobid=hulk-0011)
bash-2.04#
I tried restarting swagentd and removing the lock file but it still fails.
HELP!
soap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2005 02:41 PM
07-11-2005 02:41 PM
Re: hp-ux 11.11 swinstall problems
bash-2.04# cp /etc/nsswitch.files /etc/nsswitch.conf
bash-2.04# swinstall gcc_3.4.2_hppa-hp-hpux11.11_depot gcc
======= 07/12/05 00:34:20 EDT BEGIN swinstall SESSION
(non-interactive) (jobid=hulk-0012)
* Session started for user "root@hulk".
* Beginning Selection
ERROR: "hulk:/": 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 "hulk:/".
ERROR: More information may be found in the daemon logfile on this
target (default location is hulk:/var/adm/sw/swagentd.log).
* Selection had errors.
======= 07/12/05 00:34:20 EDT END swinstall SESSION (non-interactive)
(jobid=hulk-0012)
bash-2.04# swacl
ERROR: A valid edit level is needed for the successful execution of
"swacl"(). The valid levels are:"host", "depot", "root",
"product", "product_template", "global_product_template" or
"global_soc_template".
bash-2.04#
Whats the problem and how can I fix it?
Thanks,
soap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2005 04:50 PM
07-11-2005 04:50 PM
Re: hp-ux 11.11 swinstall problems
Check if your ip and name resolution is ok.
# nslookup hulk
# nslookup ip_of_hulk
Check below files for errors.
/etc/rc.config.d/netconf
/etc/hosts
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2005 12:17 AM
07-12-2005 12:17 AM
Re: hp-ux 11.11 swinstall problems
Using /etc/hosts on: hulk
looking up FILES
Name: hulk
Address: 192.168.0.21
bash-2.04# nslookup 192.168.0.21
Using /etc/hosts on: hulk
looking up FILES
Name: hulk
Address: 192.168.0.21
bash-2.04#
I checked /etc/rc.config.d/netconf and /etc/hosts, they look fine to me:
bash-2.04# cat /etc/rc.config.d/netconf
# netconf: configuration values for core networking subsystems
#
# @(#)B.11.11_LR $Revision: 1.6.119.6 $ $Date: 97/09/10 15:56:01 $
#
# HOSTNAME: Name of your system for uname -S and hostname
#
# OPERATING_SYSTEM: Name of operating system returned by uname -s
# ---- DO NOT CHANGE THIS VALUE ----
#
# LOOPBACK_ADDRESS: Loopback address
# ---- DO NOT CHANGE THIS VALUE ----
#
# IMPORTANT: for 9.x-to-10.0 transition, do not put blank lines between
# the next set of statements
HOSTNAME="hulk"
OPERATING_SYSTEM=HP-UX
LOOPBACK_ADDRESS=127.0.0.1
# Internet configuration parameters. See ifconfig(1m), autopush(1m)
#
# INTERFACE_NAME: Network interface name (see lanscan(1m))
#
# IP_ADDRESS: Hostname (in /etc/hosts) or IP address in decimal-dot
# notation (e.g., 192.1.2.3)
#
# SUBNET_MASK: Subnetwork mask in decimal-dot notation, if different
# from default
#
# BROADCAST_ADDRESS: Broadcast address in decimal-dot notation, if
# different from default
#
# INTERFACE_STATE: Desired interface state at boot time.
# either up or down, default is up.
#
# DHCP_ENABLE Determines whether or not DHCP client functionality
# will be enabled on the network interface (see
# auto_parms(1M), dhcpclient(1M)). DHCP clients get
# their IP address assignments from DHCP servers.
# 1 enables DHCP client functionality; 0 disables it.
#
# For each additional network interfaces, add a set of variable assignments
# like the ones below, changing the index to "[1]", "[2]" et cetera.
#
# IMPORTANT: for 9.x-to-10.0 transition, do not put blank lines between
# the next set of statements
INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=192.168.0.21
SUBNET_MASK[0]=255.255.255.0
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=1
# Internet routing configuration. See route(1m), routing(7)
#
# ROUTE_DESTINATION: Destination hostname (in /etc/hosts) or host or network
# IP address in decimal-dot notation, preceded by the word
# "host" or "net"; or simply the word "default".
#
# ROUTE_MASK: Subnetwork mask in decimal-dot notation, or C language
# hexadecimal notation. This is an optional field.
# A IP address, subnet mask pair uniquely identifies
# a subnet to be reached. If a subnet mask is not given,
# then the system will assign the longest subnet mask
# of the configured network interfaces to this route.
# If there is no matching subnet mask, then the system
# will assign the default network mask as the route's
# subnet mask.
#
# ROUTE_GATEWAY: Gateway hostname (in /etc/hosts) or IP address in
# decimal-dot notation. If local interface, must use the
# same form as used for IP_ADDRESS above (hostname or
# decimal-dot notation). If loopback interface, i.e.,
# 127.0.0.1, the ROUTE_COUNT must be set to zero.
#
# ROUTE_COUNT: An integer that indicates whether the gateway is a
# remote interface (one) or the local interface (zero)
# or loopback interface (e.g., 127.*).
#
# ROUTE_ARGS: Route command arguments and options. This variable
# may contain a combination of the following arguments:
# "-f", "-n" and "-p pmtu".
#
# For each additional route, add a set of variable assignments like the ones
# below, changing the index to "[1]", "[2]" et cetera.
#
# IMPORTANT: for 9.x-to-10.0 transition, do not put blank lines between
# the next set of statements
ROUTE_DESTINATION[0]=default
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]=192.168.0.1
ROUTE_COUNT[0]=1
ROUTE_ARGS[0]=""
# Dynamic routing daemon configuration. See gated(1m)
#
# GATED: Set to 1 to start gated daemon.
# GATED_ARGS: Arguments to the gated daemon.
GATED=0
GATED_ARGS=""
#
# Router Discover Protocol daemon configuration. See rdpd(1m)
#
# RDPD: Set to 1 to start rdpd daemon
#
RDPD=0
#
# Reverse ARP daemon configuration. See rarpd(1m)
#
# RARP: Set to 1 to start rarpd daemon
#
RARP=0
LANCONFIG_ARGS[0]=ether
bash-2.04# cat /etc/hosts
# @(#)B.11.11_LRhosts $Revision: 1.9.214.1 $ $Date: 96/10/08 13:20:01 $
#
# The form for each entry is:
#
#
# For example:
# 192.1.2.34 hpfcrm loghost
#
# See the hosts(4) manual page for more information.
# Note: The entries cannot be preceded by a space.
# The format described in this file is the correct format.
# The original Berkeley manual page contains an error in
# the format description.
#
192.168.0.21 hulk
127.0.0.1 localhost loopback
bash-2.04#
Any more ideas?
TIA,
soap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2005 12:19 AM
07-12-2005 12:19 AM
Re: hp-ux 11.11 swinstall problems
bash-2.04# swinstall gcc_3.4.2_hppa-hp-hpux11.11_depot gcc
======= 07/12/05 10:13:20 EDT BEGIN swinstall SESSION
(non-interactive) (jobid=hulk-0014)
* Session started for user "root@hulk".
* Beginning Selection
ERROR: "hulk:/": 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 "hulk:/".
ERROR: More information may be found in the daemon logfile on this
target (default location is hulk:/var/adm/sw/swagentd.log).
* Selection had errors.
======= 07/12/05 10:13:21 EDT END swinstall SESSION (non-interactive)
(jobid=hulk-0014)
bash-2.04#
Thanks,
soap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2005 02:12 AM
07-12-2005 02:12 AM
Re: hp-ux 11.11 swinstall problems
bash-2.04# swinstall gcc_3.4.2_hppa-hp-hpux11.11_depot gcc
======= 07/12/05 12:06:58 EDT BEGIN swinstall SESSION
(non-interactive) (jobid=hulk-0021)
* Session started for user "root@hulk".
* Beginning Selection
* Target connection succeeded for "hulk:/".
ERROR: There is currently no depot software on host "hulk" at
location "/var/spool/sw". Make sure that an absolute pathname
is specified for location (beginning with "/").
* Source connection failed for "hulk:/var/spool/sw".
WARNING: More information may be found in the daemon logfile on this
target (default location is hulk:/var/adm/sw/swagentd.log).
* Selection had errors.
======= 07/12/05 12:07:00 EDT END swinstall SESSION (non-interactive)
(jobid=hulk-0021)
bash-2.04#
Someone please help...
soap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2005 06:04 AM
07-12-2005 06:04 AM
Re: hp-ux 11.11 swinstall problems
# swinstall -s /tmp/gcc_3.4.2_hppa-hp-hpux11.11_depot \*
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2005 03:20 AM
07-26-2005 03:20 AM
Re: hp-ux 11.11 swinstall problems
# default_realm=
num_entries=2
user:root:0
group:sys:0
a dirty (but workable fix) is also to change the permissions entry in _ACL for any_other from r---- to crwit and restart swagentd.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2005 03:20 AM
07-27-2005 03:20 AM
Re: hp-ux 11.11 swinstall problems
-s
then the absolute path to the depot to be installed.
swinstall -s absolute path to depot.