LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-30-2014, 01:37 AM   #1
tshepang
LQ Newbie
 
Registered: Mar 2012
Posts: 21

Rep: Reputation: Disabled
Network functions line 144 is_false error when i start the network RHEL 6.4


I'm running RHEL 6.4 64Bit

Configured a static interface but on service network start I get the following error

./network-functions: line 144: is_false: command not found
./network-functions: line 144: is_false: command not found
./network-functions: line 144: is_false: command not found

Below is the lines from /etc/sysconfig/network-functions


143 fi
144 ! is_false $NM_CONTROLLED && is nm_running && USE_NM=true
145 if [ -z "$UUID" -a "$USE_NM" = "true" ]; then
146 UUID=$(get_uuid_by_config $CONFIG)
147 fi
 
Old 07-30-2014, 03:58 AM   #2
SIG_SEGV
Member
 
Registered: Jul 2012
Location: Banglore, INDIA
Distribution: Fedora-Core
Posts: 70

Rep: Reputation: 11
Have you added that line yourself (144) ....

The rest of lines other than line 144 represent a sheel script.

And as per error There is no cmd is_false in shell
 
Old 07-30-2014, 08:34 AM   #3
tshepang
LQ Newbie
 
Registered: Mar 2012
Posts: 21

Original Poster
Rep: Reputation: Disabled
line 144 is part of the network-functions under /etc/sysconfig/network-scripts/network-functions.

To answer your question I did not edit the file at all.

What I found out is that NM_CONTROLLED is read from the interface configuration.By setting NM_CONTROLLED=no fixed the problem.And also did a chkconfig off on NetworkManager.


[root@server network-scripts]# cat ifcfg-eth0
DEVICE="eth0"
BOOTPROTO="static"
BROADCAST="x.x.x.x"
DNS1="x.x.x.x"
GATEWAY="x.x.x.x"
HWADDR="x:x:x:x"
IPADDR="x.x.x.x"
NETMASK="x.x.x.x"
NM_CONTROLLED="no"
ONBOOT="yes"
TYPE="Ethernet"
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RHEL 6 64Bit - Network Problem - Network Card Not Recognized? red.hive Linux - Networking 7 10-20-2012 03:23 PM
[SOLVED] ./network start shows error RTNETLINK answers: File exists Error adding address [ip] FlatBallFlyer Linux - Networking 4 09-27-2010 07:15 PM
NETWORK problem in RHEL -- Compaq Desktop -- SIOCGIFFLAGS error: No such device mani123456 Linux - Newbie 1 08-17-2008 06:22 AM
Network won't start with RHEL 3.0 up4 AMD64 nForce4 a4rj9w300zx Red Hat 1 02-13-2005 10:32 AM
Upgraded to new kernel via redhat network and cannot start X. Fatal Server Error. Gen13 Red Hat 5 10-25-2003 12:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration