Operating System - HP-UX
1855912 Members
8883 Online
104107 Solutions
New Discussion

Re: set_parms hanging on 10.20

 
Nivesh Patnaik
Frequent Advisor

set_parms hanging on 10.20

I have a 10.20 system with the following
patches...

# swlist -l product |grep -i -e CDE -e xser
CDE B.10.20 HP-UX CDE User Interface
PHSS_25348 B.10.00.00.AA CDE msg catalog OCT2001 Periodic Patch
PHSS_26583 B.10.00.00.AA Xserver cumulative patch
PHSS_27426 B.10.00.00.AA CDE Runtime Patch
Xserver B.10.20 HP-UX X Server
# swlist -l product |grep -i set_parms
PHCO_14039 B.10.00.00.AA Set_parms year 2000 patch
#


When I try set_parms initial or set_parms ip_address and get to the window where I can change the IP, I enter the new IP and click on OK, which causes the window to hang with the busy cursor. Eventually I get a message on my
parent dtterm saying that the graphics interface could not continue, and that I can
continue in terminal mode. I have to manually
kill the GUI by finding out the vue process id.

Here is what I found so far. When I click on the OK button after entering the new IP, a call is made to the EditHosts() function which goes ahead and updates the IP address in /etc/hosts. Then a call is made to the function PokeX() which checks if the Xserver is available by issuing the command /usr/bin/X11/xset -q which hangs.

I tried this at the console without using set_parms to duplicate the problem.
hostname is A1 and IP is A2.
CDE is started.
At the command line I do "/usr/bin/X11/xset -q" and it spits out information on my current session.
I then manually change the IP for A1 to B2 in /etc/hosts.
I try "/usr/bin/X11/xset -q" at the command line and it hangs.
I change the IP back to A2 in /etc/hosts and xset -q works.

Has anyone encountered such a problem with set_parms?

Also, any cases of set_parms hanging when setting the gateway? I know nslookup is used. Would that cause the hang?

Thanks,
-Nivesh
I gave him his drink as usual. Some men can't hold their arsenic.
9 REPLIES 9
T G Manikandan
Honored Contributor

Re: set_parms hanging on 10.20

Can you stop cde OR
login into the console using "command line login" from CDE

Then go into the Command line mode and try this.

Please do not use CDE for changing ip/hostname.
Nivesh Patnaik
Frequent Advisor

Re: set_parms hanging on 10.20

There is more than one way to change the hostname, IP and gateway, but I have to specifically get it to work using set_parms. It worked fine on an ancient 10.20 system with patches going way back to 2000.
I gave him his drink as usual. Some men can't hold their arsenic.
T G Manikandan
Honored Contributor

Re: set_parms hanging on 10.20

The other options would be changing the /etc/rc.config.d/netconf
for the hostname and ip-address changes and then rebooting the machine

This is because CDE would require proper ip & name resolution.
T G Manikandan
Honored Contributor

Re: set_parms hanging on 10.20

Use set_parms,but use it from the command line login and not inside CDE
T G Manikandan
Honored Contributor

Re: set_parms hanging on 10.20

Load this set_parms patchhttp://www1.itrc.hp.com/service/patch/patchDetail.do?patchid=PHCO_22956&context=hpux:800:10:20

PHCO_22956 should resolve it.
T G Manikandan
Honored Contributor

Re: set_parms hanging on 10.20

you had just installed the PHCO_22957 for the set_parms date.

This time you have to go with PHCO_22956
Nivesh Patnaik
Frequent Advisor

Re: set_parms hanging on 10.20

I installed PHSS_22956 and rebooted the system for good measure. No luck. Still hangs with set_parms ip_address although the patch description specifically states that there is a fix for the ip_address hang.

I am in the process of installing patches for CDE and X11...PHSS- 26640, 29201, 29204 and 29126.

I will test again after that.
I gave him his drink as usual. Some men can't hold their arsenic.
Nivesh Patnaik
Frequent Advisor

Re: set_parms hanging on 10.20

Still no luck. Unless someone knows of a fix, I may just have to take the advice of not running CDE when using set_parms.
I gave him his drink as usual. Some men can't hold their arsenic.
Kasper Haitsma
Trusted Contributor

Re: set_parms hanging on 10.20

Hello,

The answer was in two note's of

T G Manikandan

Use set_parms, but use it from the command line login and NOT INSIDE CDE. This is because CDE would require proper ip & name resolution.

Since you are modifying these, after the modification, the connection from the process to the CDE/X-display is lost!
It depends