1838365 Members
3307 Online
110125 Solutions
New Discussion

Re: ifconfig in 11.31

 
SOLVED
Go to solution
Valik_1
Advisor

ifconfig in 11.31

Hello!
I've got a strange and curious problem. After modifying ip at SAM all network parametres are failed. And then I see that ifconfig lan0 for example has no results. Strange.... Does anybody know how to repair ifconfig ??? THX in advance. I really need it ;)
17 REPLIES 17
Hasan  Atasoy
Honored Contributor

Re: ifconfig in 11.31

hi valik ;

please check your system with

swverify -F \*
there is no ifconfig patch at this moment ; if you have any backup please restore ifconfig from your backup otherwise you can use attached ifconfig from my system .

root@mytest[/usr/sbin]#what ifconfig
ifconfig:
$Revision: B.11.31_LR
skt_skt
Honored Contributor

Re: ifconfig in 11.31

here the scenario does not looks like missing ifconfig..

could you post
"netstat -wi".

I would recommed to run "set_parms network" if the server is NOT live
whiteknight
Honored Contributor

Re: ifconfig in 11.31

Valik,

check /etc/rc.config.d/netconf make sure your modified IP address are update date.

#set_parms ip_address to make sure your ip address working properly

WK
Problem never ends, you must know how to fix it
Valik_1
Advisor

Re: ifconfig in 11.31

Hi to everyone! Many thks for your feeds. I really appreciate it and really confused with problem I have.
So netstat reply after ifconfig was missed

# netstat -wi
Name Mtu Network Address Ipkts Ierrs Opkts
Oerrs Coll
lo0 32808 loopback localhost 832 0 832
0 0
Valik_1
Advisor

Re: ifconfig in 11.31

to Hasan
It seems you were right. swcheck shows some errors.

ERROR: File "/usr/sbin/ifconfig" should have mtime "1168630733" but
the actual mtime is "1198592503".
ERROR: File "/usr/sbin/ifconfig" should have size "150080" bytes but
the actual size is "0" bytes.
Hasan  Atasoy
Honored Contributor

Re: ifconfig in 11.31

hi valik ;
then you need to restore that file if you have backups.

Hasan.
Valik_1
Advisor

Re: ifconfig in 11.31

to Hasan:
But the nature of the problem is strange isnt't?
Hasan  Atasoy
Honored Contributor

Re: ifconfig in 11.31

yes ;

is there any problem other than ifconfig in swverify log ?


Hasan.
Valik_1
Advisor

Re: ifconfig in 11.31

I think yes.

NOTE: Checking "/opt/gwlm/jre" symbolic link.
NOTE: The "/opt/gwlm/jre" symbolic link is set to
"/opt/java1.4/jre".
NOTE: Checking for installed "Jre14,r>=1.4.2".
NOTE: Located the installed prerequisite Jre software.
ERROR: File "/usr/sbin/ifconfig" should have mtime "1168630733" but
the actual mtime is "1198592503".
ERROR: File "/usr/sbin/ifconfig" should have size "150080" bytes but
the actual size is "0" bytes.
ERROR: Fileset "Networking.NET2-RUN,l=/,r=B.11.31" had file errors.
WARNING: Directory "/var/tmp" should have mode "1777" but the actual
mode is "777".
WARNING: Fileset "OS-Core.UX-CORE,l=/,r=B.11.31" had file warnings.
WARNING: Directory "/var/tmp" should have mode "1777" but the actual
mode is "777".
WARNING: Fileset "DHCPv4.DHCPV4-AUX,l=/,r=B.11.31" had file warnings.
ERROR: File "/usr/sam/tui/fs/lv/lvCreateForm" should have mtime
"1166714900" but the actual mtime is "1192624320".
ERROR: File "/usr/sam/tui/fs/lv/lvCreateForm" should have size "5672"
bytes but the actual size is "6464" bytes.
ERROR: File "/usr/sam/tui/fs/vg/vgCreateForm" should have mtime
"1166714908" but the actual mtime is "1192624125".
ERROR: File "/usr/sam/tui/fs/vg/vgCreateForm" should have size "3093"
bytes but the actual size is "4630" bytes.
ERROR: Fileset "FileSystemsWeb.FS-TUI,l=/,r=B.11.31.02" had file
errors.
WARNING: Directory "/var/tmp" should have mode "1777" but the actual
mode is "777".
WARNING: Fileset "Gated-Mrouted.ROUTEV4-AUX,l=/,r=B.11.31" had file
warnings.
WARNING: Directory "/var/tmp" should have mode "1777" but the actual
mode is "777".
WARNING: Fileset "NTP.NTP-AUX,l=/,r=B.11.31" had file warnings.
WARNING: Directory "/var/tmp" should have mode "1777" but the actual
mode is "777".
WARNING: Fileset "NameService.BIND-AUX,l=/,r=B.11.31" had file
warnings.
WARNING: Directory "/var/tmp" should have mode "1777" but the actual
mode is "777".
WARNING: Fileset "RAMD.RAMIPV6-AUX,l=/,r=B.11.31" had file warnings.
Valik_1
Advisor

Re: ifconfig in 11.31

another one
ERROR: Verify failed Networking.NET2-RUN,l=/,r=B.11.31

--
WARNING: Verified with warnings OS-Core.UX-CORE,l=/,r=B.11.31

--
WARNING: Verified with warnings DHCPv4.DHCPV4-AUX,l=/,r=B.11.31

--
ERROR: Verify failed FileSystemsWeb.FS-TUI,l=/,r=B.11.31.02

---
WARNING: Verified with warnings Gated-Mrouted.ROUTEV4-AUX,l=/,r=B.11.31

---

WARNING: Verified with warnings NTP.NTP-AUX,l=/,r=B.11.31
Verified NTP.NTP-ENG-A-MAN,l=/,r=B.11.31
Verified NTP.NTP-JPN-E-MAN,l=/,r=B.11.31
Verified NTP.NTP-JPN-S-MAN,l=/,r=B.11.31
Verified NTP.NTP-RUN,l=/,r=B.11.31
WARNING: Verified with warnings NameService.BIND-AUX,l=/,r=B.11.31

----
WARNING: Verified with warnings RAMD.RAMIPV6-AUX,l=/,r=B.11.31
Hasan  Atasoy
Honored Contributor

Re: ifconfig in 11.31

hi valik ;

it is possible to compare ifconfig change date & your ip change date ? both refers to same date or not ? perhaps a problem occured before ifconfig change , appears in your ifconfig change.


Hasan
Valik_1
Advisor

Re: ifconfig in 11.31

Date and time is appr. the same.

Hasan  Atasoy
Honored Contributor

Re: ifconfig in 11.31

it is possible to share /var/sam/log/samlog file ?
Valik_1
Advisor

Re: ifconfig in 11.31

where can i dend it to you?
Hasan  Atasoy
Honored Contributor
Solution

Re: ifconfig in 11.31

once upon a time :) ı encountered the same problem. system did not have tape device and ifconfig erased . I cannot give ip to system. so I copied the ifconfig ( I send it you before ) to an san disk assigned disk to that system . imported vg and solved the problem. you need to recover ifconfig first . copy from another system if you have or got it from my previous reply.

Hasan.
Dennis Handly
Acclaimed Contributor

Re: ifconfig in 11.31

>I think yes.

I really don't see many other errors.
There is the repeated warning about a missing sticky bit on /var/tmp.

And the two lvCreateForm files seemed to be changed. (If SAM allows the file to be changed it shouldn't be under swverify control.)
Valik_1
Advisor

Re: ifconfig in 11.31

OK
Many thank to everybody! Problem is solved by copy ifconfig to damaged node.
I'm happy now.
to Hasan - respect!!!! :)