Operating System - HP-UX
1834483 Members
3774 Online
110067 Solutions
New Discussion

workstation not accepting new IP settings

 
SOLVED
Go to solution
Ron Murphy_1
Advisor

workstation not accepting new IP settings

We recently changed our IP addressing for all workstations and servers. All went well except for one HP/UX 10.20 workstation. when the Ip was changed it did not take. the IP for the interface now shows all 0s. On bootup there are some errors and it hangs on NFS server busy. One of the errors is as follows: ERROR: lan0 interface: ifconfig: ioctl (SIOCSIFADDR): Can't assign requested address
"/sbin/rc2.d/S008net.sd start" FAILED.

I attempted to install an ARPA patch and that did not goes so well either. Several rpc errors occurred. Could someone suggest some things to try to resolve this IP issue and get this workstation booting normally again? I've included the rc.log file and the swagentd.log file.
16 REPLIES 16
melvyn burnard
Honored Contributor

Re: workstation not accepting new IP settings

so what exactly did you change, and how did you change it?
Also, what do your netconf file and hosts file have in them??

My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Ron Murphy_1
Advisor

Re: workstation not accepting new IP settings

Well, unfortunately I wasn't the one who chagned the IP, I'm just the one who has to correct the problem. Anyway, as far as I know, within SAM the IP, subnet mask and default gateway address was changed. I have included the hosts and netconf file in a zip file for review. Thanks for your quick response.
Patrick Wallek
Honored Contributor

Re: workstation not accepting new IP settings

Ron,
I have a feeling you are having the same exact problem as this thread.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=769597
Ron Murphy_1
Advisor

Re: workstation not accepting new IP settings

I think you're right but I have been unsuccessful with a resolution. an HP rep sent me this information but it still did not resolve the issue.

2. Create a text file called nettune_script with the following line:

/usr/contrib/bin/nettune -s ip_check_subnet_addr 0

3. mv nettune_script /sbin/init.d

4. chmod 555 /sbin/init.d/nettune_script

5. chgrp bin /sbin/init.d/nettune_script

6. chown bin /sbin/init.d/nettune_script

7. cd /sbin/rc2.d

8. ln -s /sbin/init.d/nettune_script /sbin/rc2.d/S006subnet

any other suggestions?

Ron Kinner
Honored Contributor

Re: workstation not accepting new IP settings

Definitely an RFC 1122 issue.

Overriding this with nettune was not allowed until PHNE_13287 which is now included in recommended patch:

Patch Name: PHNE_19936

Patch Description: s800 10.20 cumulative ARPA Transport patch

http://www1.itrc.hp.com/service/patch/patchDetail.do?BC=patch.breadcrumb.main|patch.breadcrumb.search|&patchid=PHNE_19936&context=hpux:800:10:20

Is that the patch you tried to install? Hopefully you did not use:

PHNE_20834 which does not work well with single processor systems.

PHNE_22507 (Latest) might also be OK.

Ron
Ron Murphy_1
Advisor

Re: workstation not accepting new IP settings

I tried to apply patch PHNE_22506 since the workstation is s700 10.20. However, when I ran the patch several rpc errors were generated and the install did not complete. These errors I got from the swinstall.log file. The first error was: RPC Exception: "Communications failure (dce/rpc)".

Next error msg.: A remote procedure call to a daemon has failed. Could not start a management session for "cp354:/". make sure the host is accessible from the network and that it's daemon, swagentd, is running.
-Target connection failed for "cp354:/"

Final message: More information may be found in the daemon log file on this target. Defafult location: /var/adm/sw/swagentd.log.
-Selection had errors.

Anyway, I checked the RC.log file and it appeared that swagentd started on boot up. Do you think I should try a different patch or can you suggest a better approach?
Robert-Jan Goossens_1
Honored Contributor

Re: workstation not accepting new IP settings

Hi Ron,

Check this doc.

http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000067424739

Change the settings on your workstation (temp) to simulate a stand alone server, install the patch and undo the changes to the network settings after the patch install.

Hope this helps,
Robert-Jan

Robert-Jan Goossens_1
Honored Contributor

Re: workstation not accepting new IP settings

Ron Murphy_1
Advisor

Re: workstation not accepting new IP settings

I gave this a try and received the follwoing error in swagentd.log: Failure registering as Remote Procedure Call server using protocol sequence "ncacn_ip_tcp" with endpoint "2121". No addresses.
*Stopping swagentd program. Process ID (1509).
Do you know what might cause this error?
Robert-Jan Goossens_1
Honored Contributor

Re: workstation not accepting new IP settings

Failure registering as remote procedure call server using
protocol sequence ncacn_ip_tcp with endpoint 2121. No
addresses dce/rpc.

To solve this problem, execute the following commands:

1. cd /var/adm/sw/queue

2. mkdir /tmp/queue

3. find . -print | cpio -pdmux /tmp/queue

4. rm -rf /var/adm/sw/queue/*
Ron Murphy_1
Advisor

Re: workstation not accepting new IP settings

Thanks for your help. That soleved the RPC issue. There is still another error when I run the swinstall. Error: There is no depot software on host "cp354" at location "/var/spool/sw". Source connection failed for "cp354: /var/spool/sw". I went to the /var/spool directory but there was no sw directory. Is this something I should have created and added files to?
Robert-Jan Goossens_1
Honored Contributor

Re: workstation not accepting new IP settings

What command did you use ?

swinstall -s /tmp/ PHNE_22506

Regards,
Robert-Jan
Ron Murphy_1
Advisor

Re: workstation not accepting new IP settings

This is the format provided by HP in the patch documentation for PHNE_22506:
swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHNE_22506.depot
Patrick Wallek
Honored Contributor
Solution

Re: workstation not accepting new IP settings

If you are putting the command all on a single line, omit the \ in the command line you give.

The \ is used to show continuation to the next line and is not really part of the command.

# swinstall -x autoreboot=true -x match_target=true -s /tmp/PHNE_22506.depot
Ron Murphy_1
Advisor

Re: workstation not accepting new IP settings

Thanks for all your help. I'm new to UNIX so I needed it. The patch was successful and it accepted the Ip address and Subnet mask. We're back in business. Thanks again.
Ron Murphy_1
Advisor

Re: workstation not accepting new IP settings

Problem has been resolved by previous post. Once the patch was installed the script to bypass subnet checking worked.