Operating System - HP-UX
1846636 Members
1518 Online
110256 Solutions
New Discussion

Re: node name disappeared

 
SOLVED
Go to solution
jayachandran.g
Regular Advisor

node name disappeared

hi all

i have 2 hp server (rp5740) in cluster noe i have edited its netconf file and changed the date afterhalting the cluster.

then i gave a reeboot once it got rebooted one of the uservers nodename is displayed as "unknown".

now i have reverted back the netconf file then again i gave a reboot but still it is shwoing the same.


i started hostname script manually it is showing "inetd(37) lin 7 syntax error (' "

what may be the possible errors.
9 REPLIES 9
Florian Heigl (new acc)
Honored Contributor
Solution

Re: node name disappeared

possible error: escape characters in netconf -> do
cd /etc/rc.config.d/
mv netconf netconf.sav
strings netconf.sav > netconf
chmod 444 netconf

and test using either reboot or /sbin/init.d/net stop && start (in runlevel 1, if I may ask You for that)
yesterday I stood at the edge. Today I'm one step ahead.
jayachandran.g
Regular Advisor

Re: node name disappeared

Hi

i have tried what you have told me. but still there the problem is there.

the problem is from rc1.d "S112kminit" is the first place where it is showing the error then it continued. This is according to log files. rc.log

is thee any other solution for this.
baiju_3
Esteemed Contributor

Re: node name disappeared


What changes did u made to netconf ?

Where is the nodename showing unknown ?

in cmviewcl or in hostname command .

Please check the status of your cluster.

Pls post more details.

Regards,
BL.
Good things Just Got better (Plz,not stolen from advertisement -:) )
David Child_1
Honored Contributor

Re: node name disappeared

For a temporary fix try;

uname -S yournodename

This will only change it until next reboot and is limited to 8 characters.

Also, can you post your inetd.conf file (or just check out entry 7 -- is it ident?)

David
David Child_1
Honored Contributor

Re: node name disappeared

One other problem could be related to the netconf file. Its a problem with the way some startup scripts run (more importantly how they parse the rc.config.d files);

Here is the code from the hostname startup script:

<-snip->
start)
if [ -f /etc/rc.config ] ; then
. /etc/rc.config
else
echo "ERROR: /etc/rc.config defaults file MISSING"
fi
<-snip->

Since it simply sources *all* files in /etc/rc.config.d, if you have netconf and netconf.sav it will first source netconf, then netconf.sav. So if you had a problem in the original netconf and moved it to netconf.sav, you will still have that problem.

Some startup scripts source their corresponding /etc/rc.config.d file, but to be safe I never make backup copies in /etc/rc.config.d. I always save them to another location.

David
Thayanidhi
Honored Contributor

Re: node name disappeared

What did you edit in netconf? Is it hostname?
You should have used set_parms!

Try to simply source netconf and see any error is there.
. /etc/rc.config.d/netconf

view rc.log for possible errors.

If you changed the hostname(s) you should possibly change the corresponding cluster configuration files too.

Regds
TT
Attitude (not aptitude) determines altitude.
jayachandran.g
Regular Advisor

Re: node name disappeared

Hi

i got the solution. According to the rc.log, error was in the script S112kminit.

i ran that script in debugging mode
"sh -x S112kminit".. there i got the place where it got stucked.. and it is not netconf file instead it is some other file.

i copied the same from the other server and i ran it.

now it is working.


thank for your help.


jayachandran.g
Regular Advisor

Re: node name disappeared

Before i close this case

never have a unwanted file in /etc/rc.config.d dir becos when ever server is coming up kminit takes all the file in consideration.

thanks all


jayachandran.g
Regular Advisor

Re: node name disappeared

i'm closing the thread thaks for all of your valuable response.