LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   network gone down (https://www.linuxquestions.org/questions/fedora-35/network-gone-down-833351/)

mohdsuboor23 09-20-2010 10:06 AM

network gone down
 
Hi,
plz helpme on this.
im not able to ping nor able to restart the services.....i dont know wht happened.its giving the error.........
/etc/sysconfig/network-scripts/ifup-eth:/ sbin/arping :/lib/ld-linux.so 2:bad ELF interpreter: No such file or directory
Error,some other host already uses address.im having 3 ethernet cards...
this is my main server of company.plz any know abutthis its urgent.

repo 09-20-2010 10:13 AM

Which distribution?
Did you installed something previous to the start of the problem?
Seems to me you installed 64 bit software on a 32 bit system or 32 bit software on a 64 bit system.

Kind regards

mohdsuboor23 09-20-2010 10:17 AM

Quote:

Originally Posted by repo (Post 4103402)
Which distribution?
Did you installed mething previous to the start of the problem?
Seems to me you installed 64 bit software on a 32 bit system or 32 bit software on a 64 bit system.

Kind regards

no i havent installanythng. im using 32-bit system...is this happening because someone hacked my system.or its giving error called some other host already uses address.plz helpme on this

adamwonski 09-20-2010 10:47 AM

What output do you get just by using this command?:
> arping
bad ELF interpreter?

mohdsuboor23 09-20-2010 11:16 AM

ya exactly.im able to ping from other systems.but it is not ping to his own ipaddress nor anycommand is giving any results.plz helpme .my job at stake plz

adamwonski 09-20-2010 11:23 AM

so that binary is the cause of ifup-eth failing - as a temporary solution comment out the whole "if" section like this:
# if ! arping -q -c 2 -w 3 -D -I ${REALDEVICE} ${IPADDR} ; then
# echo $"Error, some other host already uses address ${IPADDR}."
# exit 1
# fi
and bring up your interfaces. Then reinstall arping and uncomment the "if" section.

BUT if it's a duplicate IP then you have to resolve that problem first - either find the other host using this IP, or choose another one for the server in question. Are there other people in your company who can change IPs? Ask around

Also does any other binary give this output? Something from iputils package specifically? like tracepath?

mohdsuboor23 09-20-2010 11:28 AM

my network ethernet card is showing in active.when im trying to active that its giving some other host is using the same address.i cant change address bcz its server ip all are connected to that only.so plz telme wht to do

mohdsuboor23 09-20-2010 11:39 AM

tnx for ur reply.but which conf file to edit my nic card is inactive at this stage.those ip addresss are conected to other server so no one is using that except other server ......so wht should i do now

adamwonski 09-20-2010 12:04 PM

sorry, I don't understand your explanations about IPs - calm down and try to explain it again.

Looking at your initial post, I thought you were running /etc/sysconfig/network-scripts/ifup-eth - or maybe ifup? service network restart? Or what did you run to get this message? Why did you run it in the first place? Trying to restart interfaces to resolve connectivity problems?

mohdsuboor23 09-21-2010 01:08 AM

look friend.now i have recognize the problem.the problem is my nic cards are not getting up.when im trying to get up the interfaces by service network restart its giving the error."bad elf interpreter"no such file or directory.some other host may be using the address.so i want to up my nic cards but its not happening.i cant change my ip addresses on those cards.so plz telme wht to do ...

mohdsuboor23 09-21-2010 01:18 AM

this is the error its coming when im trying to service network restart
/etc/sysconfig/netwok-scripts/ifup-eth: /sbin/arping /lib/ld-linux.so.2:bad elf interpreter:no such file or directory Error,some other host already uses address 192.x.x.x.
plz anyone telme how to resolve this

adamwonski 09-21-2010 02:01 AM

ok, so to make "service network restart" work you can try to edit /etc/sysconfig/network-scripts/ifup-eth file and comment out the whole "if" section like this (search for "arping" word to locate it):
# if ! arping -q -c 2 -w 3 -D -I ${REALDEVICE} ${IPADDR} ; then
# echo $"Error, some other host already uses address ${IPADDR}."
# exit 1
# fi
and bring up your interfaces now using "service network restart". Then reinstall arping and uncomment the "if" section in /etc/sysconfig/network-scripts/ifup-eth file. There are other ways to bring up interfaces, but if you leave arping broken, next time "service network (re)start" is run (/etc/inid.d/network script) for whatever reason - you'll get the same problem.

Look for all "arping" words, and comment out lines containing it, I have:
# update ARP cache of neighboring computers
# arping -q -A -c 1 -I ${REALDEVICE} ${IPADDR}
# ( sleep 2;
# arping -q -U -c 1 -I ${REALDEVICE} ${IPADDR} ) > /dev/null 2>&1 < /dev/null &

adamwonski 09-21-2010 02:10 AM

instead of editing this file you could also try something like this:
% mv /usr/sbin/arping /usr/sbin/arping.broken
% ln -s /bin/true /usr/sbin/arping

mohdsuboor23 09-21-2010 02:34 AM

Quote:

Originally Posted by adamwonski (Post 4104157)
instead of editing this file you could also try something like this:
% mv /usr/sbin/arping /usr/sbin/arping.broken
% ln -s /bin/true /usr/sbin/arping

thanks very much 4 ur support.but should i type the above 2 commands to solve the issue.will this 2 commands will solve the issue.or i need to do this in eth-up.plz telme bcz its our main server so icant do much experiment on that.those 2 commands will solve the issue?????

repo 09-21-2010 02:47 AM

Quote:

Error,some other host already uses address 192.x.x.x.
First find the host that is using the IP

Kind regards


All times are GMT -5. The time now is 04:12 PM.