1826909 Members
3046 Online
109705 Solutions
New Discussion

installer problem

 
SOLVED
Go to solution
Sauvik Basu
Advisor

installer problem

Whenever I am trying to install a patch on HP-UX 11.00 I am getting this message:


ERROR: Could not contact host "hp380d". 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 hp380d:/var/adm/sw/swagentd.log).


The /var/adm/sw/swagentd.log file says :

======= 05/13/05 05:21:06 EDT BEGIN swagentd (pid = 145).

WARNING: Failure registering as Remote Procedure Call server using
protocol sequence "ncacn_ip_tcp" with endpoint "2121". No
addresses (dce / rpc)
* Checking job queue at 1 minute intervals.
* Started install agent on "/" for root@localhost, pid=148,
05/13/05 05:21:09 EDT
NOTE: The target "/" does not exist and will be created. pid=148
05/13/05 05:21:09 EDT
* Started source agent on "/tmp/ign_configure/SD_CDROM" for
root@localhost, pid=151, 05/13/05 05:21:10 EDT
* Agent pid=151 completed. 05/13/05 05:22:22 EDT
* Agent pid=148 completed. 05/13/05 06:29:41 EDT
* Started install agent on "/" for root@localhost, pid=4131,
05/13/05 06:36:25 EDT
* Started source agent on "/tmp/ign_configure/SD_CDROM" for
root@localhost, pid=4134, 05/13/05 06:36:27 EDT
* Agent pid=4131 completed. 05/13/05 06:42:21 EDT
* Removed job "loopback-0001" for "root@localhost". 05/13/05
06:42:21 EDT
* Agent pid=4134 completed. 05/13/05 06:42:21 EDT
* Started install agent on "/" for root@localhost, pid=6575,
05/13/05 07:02:32 EDT
* Started source agent on "/tmp/ign_configure/SD_CDROM/HWE1100"
for root@localhost, pid=6578, 05/13/05 07:02:35 EDT
* Agent pid=6575 completed. 05/13/05 07:43:21 EDT
* Removed job "loopback-0002" for "root@localhost". 05/13/05
07:43:21 EDT
* Agent pid=6578 completed. 05/13/05 07:43:22 EDT

======= 05/13/05 07:49:06 EDT BEGIN swagentd (pid = 63).

WARNING: Failure registering as Remote Procedure Call server using
protocol sequence "ncacn_ip_tcp" with endpoint "2121". No
addresses (dce / rpc)
* Checking job queue at 1 minute intervals.
* Started configure agent on "/" for root@localhost, pid=66,
05/13/05 07:49:09 EDT

======= 05/13/05 07:53:58 EDT END swagentd (pid = 63).


======= 05/13/05 07:54:01 EDT BEGIN swagentd (pid = 2024).

WARNING: Failure registering as Remote Procedure Call server using
protocol sequence "ncacn_ip_tcp" with endpoint "2121". No
addresses (dce / rpc)
* Checking job queue at 1 minute intervals.
* Started configure agent on "/" for root@localhost, pid=2437,
05/13/05 07:55:16 EDT
* Agent pid=2437 completed. 05/13/05 07:56:09 EDT
* Started configure agent on "/" for root@localhost, pid=2709,
05/13/05 07:56:12 EDT
* Agent pid=2709 completed. 05/13/05 07:56:27 EDT
* Started configure agent on "/" for root@localhost, pid=2717,
05/13/05 07:56:30 EDT

======= 05/13/05 07:58:49 EDT END swagentd (pid = 2024).


======= 05/13/05 07:58:52 EDT BEGIN swagentd (pid = 2884).

WARNING: Failure registering as Remote Procedure Call server using
protocol sequence "ncacn_ip_tcp" with endpoint "2121". No
addresses (dce / rpc)
* Checking job queue at 1 minute intervals.

======= 05/13/05 17:37:54 IST BEGIN swagentd (pid = 1115).

WARNING: An attempt to get the network host entry for "hp380d" failed.
This may result in denial of access to users and agents at
this host. Check the spelling of this name, then your
"/etc/hosts" file, or your "/etc/resolv.conf" file and DNS
resolver configuration. The nslookup program may be helpful
in isolating this problem.
* Checking job queue at 1 minute intervals.


Please help.
7 REPLIES 7
Steve Steel
Honored Contributor

Re: installer problem

Hi

WARNING: An attempt to get the network host entry for "hp380d" failed.

try nslookup hp380d
nslookup ip_of_hp380d

Need to give same result


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Robert-Jan Goossens
Honored Contributor

Re: installer problem

Hi,

# grep HOSTNAME /etc/rc.config.d/netconf

# grep IP_ADDRESS /etc/rc.config.d/netconf

Check the /etc/hosts file

ip-address hostname loghost
127.0.0.1 localhost loopback

# nslookup ip-address
# nslookup hostname

Should be the same.
Restart the swagentd if yuou have changed something.

# swagentd -r

Regards,
Robert-Jan
Bharat Katkar
Honored Contributor

Re: installer problem

Hi,

1. Check hostname
2. Restart swagentd deamon

For checking hostname:

# hostname
hostname returned by this command should be the one specified in /etc/hosts. If not not make it similar.
Also check /etc/nsswitch.conf and /etc/resolv.conf file becuase this is used for hostname resolution.

For setting up hostname use:
# set_parms hostname
(This will reboot the server)

If hostname is Okay and all files are configured properly then you can try restarting the swagentd deamon.

Hope that helps.
Regards,
You need to know a lot to actually know how little you know
Sauvik Basu
Advisor

Re: installer problem

The output of the nslookup commands are:


# nslookup hp380d
Name Server: avro.skytechsolutions.intra
Address: 172.20.1.25

Trying DNS
*** avro.skytechsolutions.intra can't find hp380d: Non-existent domain
# nslookup 172.20.1.24
Name Server: avro.skytechsolutions.intra
Address: 172.20.1.25

Trying DNS
Name: hp380d.skytechsolutions.intra
Address: 172.20.1.24.
Now what do I do?
Robert-Jan Goossens
Honored Contributor

Re: installer problem

Hi,

Edit your /etc/hosts file

172.20.1.24 hp380d loghost
127.0.0.1 localhost loopback

Check your /etc/nsswitch.conf

hosts: files dns

Restart the swagentd daemon
# swagentd -r

Try swinstall again.

Robert-Jan
Sauvik Basu
Advisor

Re: installer problem

I have edited the /etc/hosts file and now it looks like this:

# @(#)hosts $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.
#

172.20.1.24 hp380d loghost
127.0.0.1 localhost loopback.




But,I don't find any nsswitch.conf file.
What do I do?
Robert-Jan Goossens
Honored Contributor
Solution

Re: installer problem

Hi,

# cd /etc
# cp nsswitch.files nsswitch.conf
edit the nsswitch.conf

hosts: files dns

Regards,
Robert-Jan