network script failing on bootup...

General discussion Forum. All YDL related question which are not Install or Beginner questions.

network script failing on bootup...

Postby gutow » 09 Sep 2008, 17:48

On boot up into level 5 the network script has started failing on my old PPC G4 mac running ydl 6.0 with the latest updates as of 9/9/08. It was working. I can still manually activate my network card. So I'm clueless. Here is the error message. Any idea what is damaged? Thanks, Jonathan.

/etc/init.d/network: line 51: /bin/ls: cannot execute binary file
Configured devices:
lo
Currently active devices:
lo eth0
gutow
ydl newbie
ydl newbie
 
Posts: 3
Joined: 21 May 2005, 14:05

Re: network script failing on bootup...

Postby ppietro » 09 Sep 2008, 23:39

gutow wrote:On boot up into level 5 the network script has started failing on my old PPC G4 mac running ydl 6.0 with the latest updates as of 9/9/08. It was working. I can still manually activate my network card. So I'm clueless. Here is the error message. Any idea what is damaged? Thanks, Jonathan.

/etc/init.d/network: line 51: /bin/ls: cannot execute binary file
Configured devices:
lo
Currently active devices:
lo eth0


We need to see Line 51 of your /etc/init.d/network file.

Cheers,
Paul
User avatar
ppietro
Site Admin
Site Admin
 
Posts: 4965
Joined: 13 Sep 2007, 22:18

Re: network script failing on bootup...

Postby gutow » 10 Sep 2008, 13:47

Sorry, I should have thought of that. The lines are below. However, they should be the same as everyone else's as I am using the default installation. I assume some compiled file got damaged. I just don't know which to replace. Thanks for any advice.

Jonathan

Lines 49-52 of /etc/init.d/network
# find all the interfaces besides loopback.
# ignore aliases, alternative configurations, and editor backup files
interfaces=$(ls ifcfg* | \
LANG=C sed -e "$__sed_discard_ignored_files" \
-e '/\(ifcfg-lo\|:\|ifcfg-.*-range\)/d' \
-e '/ifcfg-[A-Za-z0-9\._-]\+$/ { s/^ifcfg-//g;s/[0-9]/ &/}' | \
LANG=C sort -k 1,1 -k 2n | \
LANG=C sed 's/ //')
gutow
ydl newbie
ydl newbie
 
Posts: 3
Joined: 21 May 2005, 14:05


Return to General

Who is online

Users browsing this forum: No registered users and 46 guests

cron