Operating System - HP-UX
1753553 Members
4655 Online
108795 Solutions
New Discussion юеВ

HP UX system Not in network

 
Newgen
New Member

HP UX system Not in network

Our UAT is on HP-UX server whose version is 11.31 and Due to maintainence activity we have to shutdown the server.But when we restarted the server it acquired some new IP and that is why we were unable to connect.But when we have taken the console and look out the directory structure in which ifconfig file size was present was of O bytes and there many more files which was of O bytes.Has anyone face this issue before ?????????

Any help will be appreciated
5 REPLIES 5
Michael Steele_2
Honored Contributor

Re: HP UX system Not in network

I can only think you've missed something in syslog.log

I am thinking you did a network boot to your ignite server or you have a dhcp server and you acquired an dhcp ip address.

what does
nslookup hostname
...say?
Support Fatherhood - Stop Family Law
Michael Steele_2
Honored Contributor

Re: HP UX system Not in network

What does..
arp -a
...say?
Support Fatherhood - Stop Family Law
Bill Hassell
Honored Contributor

Re: HP UX system Not in network

It is very unusual to have a server setup to get a new IP address when rebooted. While you can setup HP-UX for DHCP, it is never recommended. I assume that the directory you are looking at is /usr/sbin. Files never change to zero bytes unless someone (with a root login) has destroyed them. This is not a bug in the HP_UX OS, it is a bad script or a bad root user making mistakes or purposely breaking your system.

If you can run the command:

swverify \*

then look at the /var/adm/sw/swverify.log to see how many programs and files have been compromised. You may have to restore from your Ignite-UX backup if the damage is extensive.


Bill Hassell, sysadmin
Michael Steele_2
Honored Contributor

Re: HP UX system Not in network

Please provide more information. Are you saying /usr/sbin/ifconfig and many other HPUX commands are zero bytes?

please post

bdf
bdf /usr
who -r
Support Fatherhood - Stop Family Law
Bob_Vance
Esteemed Contributor

Re: HP UX system Not in network

Have seen it with a corrupted filesystem and/or disk error.

This looks bad, as Bill said.

Can you look, as Michael mentioned, in
/var/adm/syslog/syslog.log
?
Also, look in
/var/mail/root
and see if any interesting errors in there.

bv
"The lyf so short, the craft so long to lerne." - Chaucer