View previous topic :: View next topic |
Author |
Message |
computx Tux's lil' helper
Joined: 29 Oct 2002 Posts: 109 Location: northeast missouri
|
Posted: Thu Apr 24, 2003 8:22 am Post subject: /sbin/runscrip.sh error |
|
|
I just reinstalled my system with gentoo 1.4 rc4
I notice on bootup or when starting or stopping a service from /etc/init.d an error.
/sbin/runscript.sh: line 36: 2:: command not found
I am not much of a programmer and just eyeballing the script doesnt show up anything glaring to me. line 36 looks like this.
# (1) Source /etc/conf.d/basic to get common configuration.
the next line is
# (2) Source /etc/conf.d/${myservice} to get initscript-specific
these lines appear commented out to me.
anyone have an idea of what is happeniing?
services are starting and stopping ok so it is just cosmetic but bothersome to try to watch your boot with the error coming up so often. |
|
Back to top |
|
|
GenKiller n00b
Joined: 04 Mar 2003 Posts: 66 Location: United States of America
|
Posted: Thu Apr 24, 2003 8:21 pm Post subject: |
|
|
I had this same problem when installing with r3. Unfortunetly I could not find a fix, and resorted to using an r2 disk, instead. _________________ http://www.digital-drip.com |
|
Back to top |
|
|
lurid Guru
Joined: 12 Mar 2003 Posts: 595 Location: Florida
|
Posted: Thu Apr 24, 2003 10:16 pm Post subject: |
|
|
I had this problem too. It was because I read something wrong and made a stupid mistake. /etc/rc.conf says this:
Code: | # Set protocols to the protocols that you plan to use. Gentoo Linux will only
# enable module auto-loading for these protocols, eliminating annoying module
# not found errors.
# Num Protocol
# 1: Unix
# 2: IPv4
# 3: Amateur Radio AX.25
# 4: IPX
# 5: DDP / appletalk
# 6: Amateur Radio NET/ROM
# 9: X.25
# 10: IPv6
# 11: ROSE / Amateur Radio X.25 PLP
# 19: Acorn Econet
|
So reading that I uncommented several of those thinking thats how you enable them. Wrong. It created the errors you mentioned on every single service. Commenting those lines again fixed it. I dunno if you did this too, or if I was the only stupid person, but either way it fixed the problem. |
|
Back to top |
|
|
computx Tux's lil' helper
Joined: 29 Oct 2002 Posts: 109 Location: northeast missouri
|
Posted: Fri Apr 25, 2003 1:39 am Post subject: runscript.sh error |
|
|
Yeah I did the same stupid thing. Uncommented the line concerning ivp4.
My excuse is it was 3.30 am when I was doing this. err yeah thats gotta be it. thanks for helping me find it. I would have never thought of looking in the rc.conf file. |
|
Back to top |
|
|
lurid Guru
Joined: 12 Mar 2003 Posts: 595 Location: Florida
|
Posted: Fri Apr 25, 2003 5:23 am Post subject: |
|
|
Well, it was my first time installing Gentoo.. *cough* Right, so at least I'm not the only one. lol, I feel much better now. |
|
Back to top |
|
|
|