Find the answer to your Linux question:
Results 1 to 3 of 3
Hai Friends ., when i am doing service network restart which shows msg like this ! What is this msg shows ?.. Kindly tell me .. [root@localhost ~]# service network ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2010
    Posts
    31

    when i am doing service network restart which shows msg like this !


    Hai Friends .,
    when i am doing service network restart which shows msg like this !
    What is this msg shows ?.. Kindly tell me ..


    [root@localhost ~]# service network restart
    ifcfg-eth0: line 3: syntax error near unexpected token `newline'
    ifcfg-eth0: line 3: `IPV6ADDR=<IPv6-IP-Address>'
    Shutting down interface eth0: ifcfg-eth0: line 3: syntax error near unexpected token `newline'
    ifcfg-eth0: line 3: `IPV6ADDR=<IPv6-IP-Address>'
    ifcfg-eth0: line 3: syntax error near unexpected token `newline'
    ifcfg-eth0: line 3: `IPV6ADDR=<IPv6-IP-Address>'
    ifcfg-eth0: line 3: syntax error near unexpected token `newline'
    ifcfg-eth0: line 3: `IPV6ADDR=<IPv6-IP-Address>'
    ERROR : [ipv6_test_device_status] Missing parameter 'device' (arg 1)
    ifcfg-eth0: line 3: syntax error near unexpected token `newline'
    ifcfg-eth0: line 3: `IPV6ADDR=<IPv6-IP-Address>'
    [ OK ]
    Shutting down loopback interface: [ OK ]
    SIOCGIFFLAGS: No such device
    Bringing up loopback interface: /etc/sysconfig/network-scripts/ifup-aliases: line 102: /sbin/ifconfig: No such file or directory
    [ OK ]
    Bringing up interface eth0: ifcfg-eth0: line 3: syntax error near unexpected token `newline'
    ifcfg-eth0: line 3: `IPV6ADDR=<IPv6-IP-Address>'
    ifcfg-eth0: line 3: syntax error near unexpected token `newline'
    ifcfg-eth0: line 3: `IPV6ADDR=<IPv6-IP-Address>'
    Usage: grep [OPTION]... PATTERN [FILE]...
    Try `grep --help' for more information.
    Usage: grep [OPTION]... PATTERN [FILE]...
    Try `grep --help' for more information.
    ifcfg-eth0: line 3: syntax error near unexpected token `newline'
    ifcfg-eth0: line 3: `IPV6ADDR=<IPv6-IP-Address>'
    ERROR : [ipv6_test_device_status] Missing parameter 'device' (arg 1)
    ifcfg-eth0: line 3: syntax error near unexpected token `newline'
    ifcfg-eth0: line 3: `IPV6ADDR=<IPv6-IP-Address>'
    /etc/sysconfig/network-scripts/ifup-aliases: line 102: /sbin/ifconfig: No such file or directory
    Missing config file ifcfg-ifcfg-eth0.
    Command line is not complete. Try option "help"

    whether i need to change any setting for ipv6 related things!

    Regards
    Saravanan G

  2. #2
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    whether i need to change any setting for ipv6 related things!
    Do you use IPv6 in your current setup?
    If you're not using it, you could just disable it entirely.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  3. #3
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,356
    Your network config is not valid.
    Code:
    ifcfg-eth0: line 3: syntax error near unexpected token `newline'
    ifcfg-eth0: line 3: `IPV6ADDR=<IPv6-IP-Address>'
    Can you please post the output of the following here in CODE tags?
    Code:
    ls -la /sbin/ifconfig
    cat /etc/sysconfig/network-scripts/ifcfg-eth0
    You must always face the curtain with a bow.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •