Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RESOLVED] /var/lib/init.d/depcache error - typo in conf.d/
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
makmortiv
n00b
n00b


Joined: 16 Sep 2003
Posts: 49
Location: Southern California

PostPosted: Mon Sep 20, 2004 8:22 am    Post subject: [RESOLVED] /var/lib/init.d/depcache error - typo in conf.d/ Reply with quote

brand new system with a clean install, but while emerging packages I'm seeing the following error message...

Code:
/var/lib/init.d/depcache: line 14: 192.168.56.9: command not found


Now I know that "192.168.56.9" is the IP that i've assigned to this box, and I've checked to see if there was a problem in /etc/conf.d/net but saw no problems. Also checked out line 14 of depcache...and it's a blank line. even the line above is an end quote. So where this is getting called I really don't know. So far it hasn't cause any problems as far as I can tell. Any ideas?


Last edited by makmortiv on Sun Mar 12, 2006 5:37 am; edited 2 times in total
Back to top
View user's profile Send private message
hecatomb
Guru
Guru


Joined: 02 Sep 2004
Posts: 525

PostPosted: Mon Sep 20, 2004 11:10 am    Post subject: Reply with quote

The error is not in /var/lib/init.d/depcache.

The problem may occour when you put some crap in config files under /etc/conf.d/

I'm not able to say where you will find it but maybe this helps:

Code:
find /etc -exec grep "192.168.56.9" {} /dev/null \;
Back to top
View user's profile Send private message
makmortiv
n00b
n00b


Joined: 16 Sep 2003
Posts: 49
Location: Southern California

PostPosted: Mon Sep 20, 2004 6:42 pm    Post subject: Reply with quote

pimpin....I may have actually nailed it before trying that. I had a feeling that it had something to do with /etc/conf.d/net (and that little script snipet just helped verify it...after the fact) awesome...thanx :D

Yeah this morning I went back through /etc/conf.d/net and found where I'd accidentally hit "$" instead of "#" to comment out a line...slick me :mrgreen: Maybe I should stop working on servers at 2 in the morning......naaaaaaaah
Back to top
View user's profile Send private message
slam633
n00b
n00b


Joined: 01 Oct 2004
Posts: 40
Location: Fear me, for I am truly evil.

PostPosted: Fri Jan 07, 2005 9:39 pm    Post subject: Reply with quote

I'm having a problem with env-update, the error message I get is:

/var/lib/init.d/depcache: line 1: /etc/conf.d/net:: No such file or directory

Several post direct me here, so I tried several variations of this find command , but only get an "missing argument".

I checked out line 1 in depcache, it's /sbin/functions.sh, and that is an valid target.

Got any ideas?
_________________
"Beer is proof God loves us, and wants us to be happy. Ben Franklin"
Back to top
View user's profile Send private message
Thunrida
n00b
n00b


Joined: 14 Jul 2004
Posts: 24

PostPosted: Sat Jan 22, 2005 9:21 pm    Post subject: Reply with quote

Many posts link to this one, so I will just post solution of my problem here.

I had this problem:
* Caching service dependencies...
/var/lib/init.d/depcache: line 1668: syntax error: unexpected end of file

After erasing everything in conf.d, I went into init.d and after deleting
vixie-cron, the problem dissapeared. (It was act of desperation, after all other steps have failed, to search for problem in this way).

Wrote this just for info, that it's not always conf.d problem.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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