View previous topic :: View next topic |
Author |
Message |
makmortiv n00b
Joined: 16 Sep 2003 Posts: 49 Location: Southern California
|
Posted: Mon Sep 20, 2004 8:22 am Post subject: [RESOLVED] /var/lib/init.d/depcache error - typo in conf.d/ |
|
|
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 |
|
|
hecatomb Guru
Joined: 02 Sep 2004 Posts: 525
|
Posted: Mon Sep 20, 2004 11:10 am Post subject: |
|
|
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 |
|
|
makmortiv n00b
Joined: 16 Sep 2003 Posts: 49 Location: Southern California
|
Posted: Mon Sep 20, 2004 6:42 pm Post subject: |
|
|
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
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 Maybe I should stop working on servers at 2 in the morning......naaaaaaaah |
|
Back to top |
|
|
slam633 n00b
Joined: 01 Oct 2004 Posts: 40 Location: Fear me, for I am truly evil.
|
Posted: Fri Jan 07, 2005 9:39 pm Post subject: |
|
|
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 |
|
|
Thunrida n00b
Joined: 14 Jul 2004 Posts: 24
|
Posted: Sat Jan 22, 2005 9:21 pm Post subject: |
|
|
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 |
|
|
|