Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/var/lib/init.d/depcache: line 5: connectspeed: No such file
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
flud
n00b
n00b


Joined: 11 Feb 2004
Posts: 3

PostPosted: Sat May 22, 2004 7:11 am    Post subject: /var/lib/init.d/depcache: line 5: connectspeed: No such file Reply with quote

I updated a bunch of config files (about 250 worth) in my /etc directory yesterday and have been getting the following error ever since.

Quote:

* Caching service dependencies...
/var/lib/init.d/depcache: line 5: connectspeed: No such file or directory


This happens on system startup and whenever I emerge a package. I have already tried re-emerging baselayout, and the problem still remains. Additionally, perusing the file in question (/var/lib/init.d/depcache) didn't give me much insight into the problem. Has anyone ever seen or know how to fix this problem?

Thanks,
flud
Back to top
View user's profile Send private message
avendesora
Veteran
Veteran


Joined: 16 Aug 2002
Posts: 1739
Location: Betelgeuse vicinity

PostPosted: Sat May 22, 2004 9:11 am    Post subject: Reply with quote

What happens when you run "/sbin/depscan.sh" as root?

Please post some of that file (around line 5).
Back to top
View user's profile Send private message
flud
n00b
n00b


Joined: 11 Feb 2004
Posts: 3

PostPosted: Sat May 22, 2004 11:33 am    Post subject: Reply with quote

I am getting the exact same results when I run /sbin/depscan.sh as root. The error doesn't seem to be originating in the depscan.sh script itself, rather somewhere deeper in the file /var/lib/init.d/depcache.

So, I have been reading a ton of depcache/depscan related threads and found a nice tip, which suggested to try the following as root...

Code:

source /var/lib/init.d/depcache


and got the following results...

Quote:

...
RCSCRIPT modules
MTIME 1085154872
NEED checkroot hostname
USE isapnp
RCSCRIPT rwbs
MTIME 1063273058
-bash: connectspeed: No such file or directory
NEED net
RCSCRIPT net.eth0
MTIME 1085154872
USE hotplug pcmcia
RCSCRIPT samba
MTIME 1084010812
NEED net
USE cupsd
...


Looks like the Roger Wilco basestation related script is giving me problems. I will investigate further.

Thanks,
flud
Back to top
View user's profile Send private message
flud
n00b
n00b


Joined: 11 Feb 2004
Posts: 3

PostPosted: Sat May 22, 2004 11:46 am    Post subject: Problem solved. It was /etc/conf.d/rwbs Reply with quote

Problem solved. The problem ended up being in the file /etc/conf.d/rwbs, which I assume was installed like that by the rwbs-0.27 ebuild. I don't think I ever touched that file previously. I'm not sure why I hadn't seen the error before now.

Code:

# Roger Wilco base station configuration
#
# $ rwbs --help reads:
# usage: ./rwbs [-b(ackwardcompat)] [-t(est)] [-s(tatic)] [-p <passwd>] [-u <udpport>] [-x
<connectspeed>] [$
#    connectspeed is an integer measuring the allocated broadcast
#     capacity for the channel host.  The recommended value is 1.
#     Higher values will cause the RWBS to use its additional broadcast capacity
#     to help relay transmissions, at the expense of scalability.


As you can see, there was an errant carraige return before connect speed. I removed the <CR> and all is working fine now.
Back to top
View user's profile Send private message
leo.fontenelle
Tux's lil' helper
Tux's lil' helper


Joined: 29 May 2005
Posts: 129
Location: Ribeirão Preto, Brasil

PostPosted: Thu Jun 16, 2005 8:52 pm    Post subject: Reply with quote

Based on a similar incident, maybe you opened the file with "nano" and not "nano -w", and saved what you thought it was a non-change.

A similar problem can happen when you remove a "#" from a comment...
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4924
Location: Gothenburg, Sweden

PostPosted: Thu Jun 16, 2005 8:53 pm    Post subject: Reply with quote

There is also an FAQ for this: https://forums.gentoo.org/viewtopic-t-53821.html

Moved from Portage & Programming to Duplicate Threads.
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.freenode.net
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum