You are not logged in.

#1 2009-05-06 10:30:00

b0uncyfr0
Member
Registered: 2008-05-11
Posts: 140

Invalid token on line 63 rc.conf-(Solved)-

Im getting a strange message when starting and stoppping kernel daemons. It has "invalid token symbol 63". Something to do with INTERFACES=(eth0). Somehow its being read as 'INTERFACES=(eth0)'.

This '' do not show up in nano or kwrite when i try to edit rc.conf. How do i get rid of them?

Last edited by b0uncyfr0 (2009-05-06 14:32:31)

Offline

#2 2009-05-06 12:29:42

sjovan
Member
Registered: 2009-04-24
Posts: 23

Re: Invalid token on line 63 rc.conf-(Solved)-

Hi, could you paste your:

ifconfig

the whole error msg

and

/etc/rc.conf

Offline

#3 2009-05-06 13:26:57

b0uncyfr0
Member
Registered: 2008-05-11
Posts: 140

Re: Invalid token on line 63 rc.conf-(Solved)-

When the kernel gets to the loadng of daemon part, the daemons load fine but they also have this under it "Unexpected syntax error near token '(". Then it also says "   error on line 63 'INTERFACES=(eth0)'   "

I think the problem is those '' around INTERFACES=eth0. I tried to edit them out but they were not visible. Heres my rc.conf


#
# /etc/rc.conf - Main Configuration for Arch Linux
#

# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="en_US.utf8"
HARDWARECLOCK="local"
USEDIRECTISA="no"
TIMEZONE="Australia/Sydney"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(#snd_pcsp)

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="Arch"

# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
#
# DHCP:     Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#
eth0="eth0 192.168.1.10 netmask 255.255.255.0 broadcast 192.168.1.255"
INTERFACES=(eth0)

# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it

gateway="default gw 192.168.1.1"
ROUTES=(gateway)

# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)

# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(fam  vboxdrv syslog-ng hal sensors g15daemon alsa network kdm netfs crond)

Last edited by b0uncyfr0 (2009-05-06 13:27:29)

Offline

#4 2009-05-06 13:37:25

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Invalid token on line 63 rc.conf-(Solved)-

Here's your problem:

MODULES=(#snd_pcsp)

P.S. Please use code tags when posting conf files etc.

Offline

#5 2009-05-06 13:49:34

b0uncyfr0
Member
Registered: 2008-05-11
Posts: 140

Re: Invalid token on line 63 rc.conf-(Solved)-

Awesome thanks it worked. But im still having one more annoyance. The network part always says FAIL but my internet works fine. Is there something wrong in my settings?

Offline

#6 2009-05-06 13:57:10

TigTex
Member
From: Portugal
Registered: 2008-06-19
Posts: 301

Re: Invalid token on line 63 rc.conf-(Solved)-

Re-arange your daemons to

DAEMONS=(@syslog-ng hal @fam @sensors @netfs @crond g15daemon vboxdrv @alsa @network kdm )

probably you dont need netfs. g15daemon and vboxdrv... don't know them.

its not suposed to give errors like this. And it will speedup things a little


.::. TigTex @ Portugal .::.

Offline

#7 2009-05-06 14:03:26

b0uncyfr0
Member
Registered: 2008-05-11
Posts: 140

Re: Invalid token on line 63 rc.conf-(Solved)-

g15daemon is for my g15 keyboard and vboxdrv is the driver for virtualbox. Is vboxdrv supposed to go in daemon's or modules?

Offline

#8 2009-05-06 14:05:52

xdeusx
Member
Registered: 2007-10-15
Posts: 168

Re: Invalid token on line 63 rc.conf-(Solved)-

b0uncyfr0 wrote:

g15daemon is for my g15 keyboard and vboxdrv is the driver for virtualbox. Is vboxdrv supposed to go in daemon's or modules?

modules

Offline

#9 2009-05-06 14:07:06

TigTex
Member
From: Portugal
Registered: 2008-06-19
Posts: 301

Re: Invalid token on line 63 rc.conf-(Solved)-

Check if vboxdrv exists inside /etc/rc.d folder... if not... it's a module. Try modinfo vboxdrv (if its a module, it will return some information about it).


.::. TigTex @ Portugal .::.

Offline

#10 2009-05-06 14:13:17

b0uncyfr0
Member
Registered: 2008-05-11
Posts: 140

Re: Invalid token on line 63 rc.conf-(Solved)-

Yep its a module. Thanks a lot guys. Not only did i fix my problems but i increased my boot speed too. Its lighting fast. Now if only GRUB wouldnt take so damn long.

P.S= i got rid of fam. is it needed?

Last edited by b0uncyfr0 (2009-05-06 14:13:59)

Offline

#11 2009-05-06 14:16:36

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Invalid token on line 63 rc.conf-(Solved)-

install gamin and remove fam from daemon list.


Give what you have. To someone, it may be better than you dare to think.

Offline

#12 2009-05-06 14:32:13

b0uncyfr0
Member
Registered: 2008-05-11
Posts: 140

Re: Invalid token on line 63 rc.conf-(Solved)-

Right well guess this thread is solved. Thanks for the help guys. Appreciate it. big_smile

Offline

Board footer

Powered by FluxBB