On 01/15/05 23:08, Bastian Balthazar Bux wrote:
Peng ha scritto:

On 01/15/05 21:49, Bastian Balthazar Bux wrote:

Peng ha scritto:

On 01/15/05 18:59, Bastian Balthazar Bux wrote:

Peng ha scritto:

Yes, I know it's because I configured the thing horribly. Anyway, when doing things like emerging something, at the end right after it says it's caching the package's dependencies, it will display an error saying that line one of /var/lib/init.d/depcache tried to execute a command with the name of my network and that, of course, the command could not be found. It also says it twice while booting, not sure where, but I think it's also stuff within /var/lib/init.d/.

Do any of you know where I probably screwed things up to make it do this?

Now, excuse me while I go find a paper bag to put on my head so that none of you will know who I am. :P






try
# cd /etc
# grep -rils "your_network_name" *

if nothing is found try changing the network name and see if the message change accordingly, if so ... boh

ciao
francesco

--
[email protected] mailing list



That command mentioned conf.d/domainname, dnsdomainname, and hosts. I think it's the first one that's causing the problem... Should I delete it?


Also, I rebooted just now, and it mentioned /sbin/rc trying to execute it.

# mv dnsdomainname dnsdomainname.old

it's not used any more

#conf.d/domainname should look like this
OVERRIDE=1
#DNSDOMAIN="you-may-uncomment-and-put-your-domain-here"
#NISDOMAIN=""


#hosts should look like this (you can add your hostname on the same line and after "localhost")
127.0.0.1 localhost
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts



if reverting to theese defaults doesn't work try emerge sys-apps/baselayout
# emerge sys-apps/baselayout


good luck



Err... What all would emerging baselayout overwrite? Or would I have to run etc-update to get it to overwrite the things, and should I then just have it update those files? I'm confused.


No, don't blindly etc-update all, baselayout has a lot of important config files, if u emerge it you must make a coscient use of etc-update or dispatch-conf.
Cut and paste the text in the appropriate files.
If you already have emerged it ok go to update them all wit etc-update but look at the output, it run a program called diff to show the differences between your current installed files and the ne ones from the last emerge baselayout.
You probably should choose to override conf.d/domainname & conf.d/hostname
I know my englis may be not clear, if you still not understand please ask again I will try a different answer

The sad part is that there are a lot of American kids with much worse English than you... In fifth grade, we had German penpals who had only been learning English for a year (maybe two, actually), and my teacher once pointed out that they had much better English than most of my class. Yay for the Florida school system. Bleh.


Err... What all can I put in the 127.0.0.1 line in hosts?

"127.0.0.1 localhost <computer>.<network> <computer>" ?

Thank you very much for your help...

--
[email protected] mailing list



Reply via email to