View previous topic :: View next topic |
Author |
Message |
randomaze Bodhisattva
Joined: 21 Oct 2003 Posts: 9985
|
Posted: Sun Feb 04, 2007 3:31 pm Post subject: |
|
|
questo topic tratta lo stesso problema, anche se sulla eth0.
questo post (Iniziato qui) è analogo al precedente, ovvero ha il problema sulla eth0, e fanno un un curioso workaround.
qui il problema è lo stesso e la soluzione sembra essere l'etc-update. _________________ Ciao da me! |
|
Back to top |
|
|
.:chrome:. Advocate
Joined: 19 Feb 2005 Posts: 4588 Location: Brescia, Italy
|
Posted: Sun Feb 04, 2007 3:47 pm Post subject: |
|
|
reinstalla baselayout
a questo punto la colpa è sua
non è che hai fatto un upgrade alla 1.13 e poi il downgrade alla 1.12, vero? |
|
Back to top |
|
|
canduc17 l33t
Joined: 11 Oct 2005 Posts: 795 Location: Ferrara, Italy
|
Posted: Sun Feb 04, 2007 4:06 pm Post subject: |
|
|
No, il downgrade non so neanche come si fà...
Ho provato a fare etc-update e quello che mi salta fuori è Code: | candooc canduc # etc-update
Scanning Configuration files...
The following is the list of files which need updating, each
configuration file is followed by a list of possible replacement files.
1) /etc/skel/.bashrc (2)
2) /etc/udev/rules.d/05-udev-early.rules (1)
3) /etc/udev/rules.d/50-udev.rules (1)
4) /etc/ssl/misc/CA.pl (1)
5) /etc/ssl/misc/CA.sh (1)
6) /etc/DIR_COLORS (2)
7) /etc/bash/bashrc (2)
8) /etc/init.d/bootmisc (1)
9) /etc/init.d/checkfs (2)
10) /etc/init.d/checkroot (2)
11) /etc/conf.d/clock (1)
12) /etc/init.d/clock (2)
13) /etc/conf.d/consolefont (1)
14) /etc/init.d/consolefont (1)
15) /etc/conf.d/domainname (1)
16) /etc/init.d/domainname (1)
17) /etc/fonts/fonts.dtd (1)
18) /etc/init.d/halt.sh (2)
19) /etc/host.conf (1)
20) /etc/conf.d/hostname (1)
21) /etc/init.d/hostname (1)
22) /etc/inputrc (1)
23) /etc/modules.autoload.d/kernel-2.6 (1)
24) /etc/conf.d/keymaps (1)
25) /etc/init.d/keymaps (1)
26) /etc/init.d/localmount (2)
27) /etc/make.conf.example (2)
28) /etc/cron.weekly/makewhatis (1)
29) /etc/man.conf (1)
30) /etc/init.d/modules (1)
31) /etc/init.d/nscd (1)
32) /etc/ssl/openssl.cnf (1)
33) /etc/modules.d/ppp (1)
34) /etc/profile (1)
35) /etc/conf.d/rc (2)
36) /etc/rc.conf (2)
37) /etc/tomcat-5.5/server-minimal.xml (1)
38) /etc/tomcat-5.5/server.xml (1)
39) /etc/services (1)
40) /etc/init.d/shutdown.sh (2)
41) /etc/conf.d/slmodem (1)
42) /etc/init.d/syndaemon (1)
43) /etc/conf.d/tomcat-5.5 (1)
44) /etc/init.d/tomcat-5.5 (1)
45) /etc/tomcat-5.5/tomcat-users.xml (1)
46) /etc/udev/udev.conf (1)
Please select a file to edit by entering the corresponding number.
(don't use -3, -5, -7 or -9 if you're unsure what to do)
(-1 to exit) (-3 to auto merge all remaining files)
(-5 to auto-merge AND not use 'mv -i')
(-7 to discard all updates)
(-9 to discard all updates AND not use 'rm -i'): | Tra questi file c'era anche /etc/init.d/net.lo ed io l'ho selezionato per aggiornarlo, mi ha fatto vedere un file incomprensibile che confrontava la configurazione vecchia con la nuova, e una volta spinto q (uscita) mi ha fatto vedere il seguente menù: Code: | File: /etc/init.d/._cfg0000_50-net.lo
1) Replace original with update
2) Delete update, keeping original as is
3) Interactively merge original with update
4) Show differences again
Please select from the menu above (-1 to ignore this update): | A questo punto ho digitato 2 per mantenere la configurazione originale, ma lanciando ancora /etc/init.d/net.lo mi dà l'errore di sempre.
Ora se faccio etc-update il file di configurazione per net.lo non cè più...
Ho già riemerso baselayout 3 volte, ma- L'errore che mi dà è sempre quello
- Non riappare nel menù di etc-update il file /etc/init.d/net.lo
Penso di aver sbagliato quando mi chiedeva di rimpiazzare o mantenere il file di configurazione, spero ci sia una soluzione... _________________ A cow enters a supermarket, does an handstand and dies. (Public toilet graffito) |
|
Back to top |
|
|
.:chrome:. Advocate
Joined: 19 Feb 2005 Posts: 4588 Location: Brescia, Italy
|
Posted: Sun Feb 04, 2007 6:07 pm Post subject: |
|
|
ma perché non li fai gli aggiornamenti, visto che te lo chiede?
se mantieni le configurazioni vecchie, che senso ha aggiornare baselayout? |
|
Back to top |
|
|
randomaze Bodhisattva
Joined: 21 Oct 2003 Posts: 9985
|
Posted: Sun Feb 04, 2007 6:22 pm Post subject: |
|
|
canduc17, chiariamo una cosa: se non aggiorni i files di configurazione è assolutamente normale che le cose non funzionino a dovre.
A giudicare dalla tua lista non hai mai fatto etc-update (o dispatch-conf o altro tool similare)...
canduc17 wrote: | 1) /etc/skel/.bashrc (2)
4) /etc/ssl/misc/CA.pl (1)
5) /etc/ssl/misc/CA.sh (1)
6) /etc/DIR_COLORS (2)
/etc/init.d/bootmisc (1)
9) /etc/init.d/checkfs (2)
10) /etc/init.d/checkroot (2)
12) /etc/init.d/clock (2)
14) /etc/init.d/consolefont (1)
16) /etc/init.d/domainname (1)
17) /etc/fonts/fonts.dtd (1)
1 /etc/init.d/halt.sh (2)
21) /etc/init.d/hostname (1)
22) /etc/inputrc (1)
23) /etc/modules.autoload.d/kernel-2.6 (1)
25) /etc/init.d/keymaps (1)
26) /etc/init.d/localmount (2)
27) /etc/make.conf.example (2)
2 /etc/cron.weekly/makewhatis (1)
29) /etc/man.conf (1)
30) /etc/init.d/modules (1)
31) /etc/init.d/nscd (1)
39) /etc/services (1)
40) /etc/init.d/shutdown.sh (2)
42) /etc/init.d/syndaemon (1)
44) /etc/init.d/tomcat-5.5 (1)
|
Reputo improbabile che tu abbia modificato qualcosa nelle configurazioni dei files qui sopra, quindi puoi tranquillamente usare i nuovi files.
Quote: | 2) /etc/udev/rules.d/05-udev-early.rules (1)
3) /etc/udev/rules.d/50-udev.rules (1)
7) /etc/bash/bashrc (2)
11) /etc/conf.d/clock (1)
13) /etc/conf.d/consolefont (1)
15) /etc/conf.d/domainname (1)
19) /etc/host.conf (1)
20) /etc/conf.d/hostname (1)
24) /etc/conf.d/keymaps (1)
32) /etc/ssl/openssl.cnf (1)
33) /etc/modules.d/ppp (1)
34) /etc/profile (1)
35) /etc/conf.d/rc (2)
36) /etc/rc.conf (2)
37) /etc/tomcat-5.5/server-minimal.xml (1)
3 /etc/tomcat-5.5/server.xml (1)
41) /etc/conf.d/slmodem (1)
43) /etc/conf.d/tomcat-5.5 (1)
45) /etc/tomcat-5.5/tomcat-users.xml (1)
46) /etc/udev/udev.conf (1) |
Alcuni dei files qui sopra invece probabilmente sono stati da te modificati, quindi dovresti armarti di pazioenza e andare a vedere le differenze e adattare le tue personalizzazioni ai nuovi files di configurazione. _________________ Ciao da me! |
|
Back to top |
|
|
canduc17 l33t
Joined: 11 Oct 2005 Posts: 795 Location: Ferrara, Italy
|
Posted: Sun Feb 04, 2007 9:59 pm Post subject: |
|
|
Mi dispiace, ma questa pagina dell'handbook proprio mi mancava...
Quindi, se non ho capito male, ogni volta che faccio un'aggiornamento devo fare etc-update e fare ordine tra i file di configurazione vecchi e nuovi...
Ma mi sà che con net.lo mi sono dato la zappa sui piedi e ho mantenuto il file vecchio, mentre invece dovevo tenere quello nuovo...
E adesso? _________________ A cow enters a supermarket, does an handstand and dies. (Public toilet graffito) |
|
Back to top |
|
|
randomaze Bodhisattva
Joined: 21 Oct 2003 Posts: 9985
|
Posted: Sun Feb 04, 2007 10:14 pm Post subject: |
|
|
Succede...
...comunque, per la cronaca io mi trovo meglio con dispatch-conf.
Quote: | Quindi, se non ho capito male, ogni volta che faccio un'aggiornamento devo fare etc-update e fare ordine tra i file di configurazione vecchi e nuovi... |
In generale, alla fine di ogni aggiornamento portage ti avvisa che ci sono un certo numero di files di configurazione da aggiornare. Poi se usi etc-update, dispatch-conf o lo fai a mano va bene tutto: basta che lo fai!
Quote: | Ma mi sà che con net.lo mi sono dato la zappa sui piedi e ho mantenuto il file vecchio, mentre invece dovevo tenere quello nuovo...
E adesso? |
Basta dare:
Code: | emerge -1 baselayout |
_________________ Ciao da me! |
|
Back to top |
|
|
.:chrome:. Advocate
Joined: 19 Feb 2005 Posts: 4588 Location: Brescia, Italy
|
Posted: Sun Feb 04, 2007 10:20 pm Post subject: |
|
|
canduc17 wrote: | Mi dispiace, ma questa pagina dell'handbook proprio mi mancava...
Quindi, se non ho capito male, ogni volta che faccio un'aggiornamento devo fare etc-update e fare ordine tra i file di configurazione vecchi e nuovi... |
sì, ma basterebbe leggere l'output di emerge. lo dice anche lui!
canduc17 wrote: | Ma mi sà che con net.lo mi sono dato la zappa sui piedi e ho mantenuto il file vecchio, mentre invece dovevo tenere quello nuovo...
E adesso? |
dato che appartiene a baselayout, reinstalla baselayout
emerge --oneshot baselayout |
|
Back to top |
|
|
canduc17 l33t
Joined: 11 Oct 2005 Posts: 795 Location: Ferrara, Italy
|
Posted: Mon Feb 05, 2007 7:54 am Post subject: |
|
|
Ho fatto Code: | emerge -1 baselayout | e alla fine della compilazione mi ha dato questo messaggio Code: | >>> Regenerating /etc/ld.so.cache...
>>> Original instance of package unmerged safely.
* Creating directories and .keep files.
* Some of these might fail if they're read-only mounted
* filesystems, for example /dev or /proc. That's okay!
* Updating module dependencies...
* Please be sure to update all pending '._cfg*' files in /etc,
* else things might break at your next reboot! You can use 'etc-update'
* to accomplish this:
*
* # etc-update
* The domainname init script has been removed in this version.
* Consult //etc/conf.d/net.example for details about how
* to apply dns/nis information to the loopback interface.
>>> Regenerating /etc/ld.so.cache...
>>> sys-apps/baselayout-1.12.6 merged.
|
Allora sono andato a leggermi il net.example, per capire come mettere a posto net.lo, ma non c'è spiegato niente che mi serva...
Le uniche cose che ho fatto, leggendo l'esempio sono state:- Aggiungere a /etc.conf.d/net questa riga:
Code: | dns_domain_lo="candomain" |
Aggiornare la prima riga di /etc/hosts così: Code: | 127.0.0.1 candooc.candomain candooc localhost |
Ma l'interfaccia di loopback continua a non partire, dandomi il solito errore... _________________ A cow enters a supermarket, does an handstand and dies. (Public toilet graffito) |
|
Back to top |
|
|
bandreabis Advocate
Joined: 18 Feb 2005 Posts: 2495 Location: イタリアのロディで
|
Posted: Mon Feb 05, 2007 7:57 am Post subject: |
|
|
Non ho capito se hai dato etc-update. _________________ Il numero di post non fa di me un esperto! Anzi! |
|
Back to top |
|
|
canduc17 l33t
Joined: 11 Oct 2005 Posts: 795 Location: Ferrara, Italy
|
Posted: Mon Feb 05, 2007 8:10 am Post subject: |
|
|
Certo... _________________ A cow enters a supermarket, does an handstand and dies. (Public toilet graffito) |
|
Back to top |
|
|
randomaze Bodhisattva
Joined: 21 Oct 2003 Posts: 9985
|
Posted: Mon Feb 05, 2007 8:25 am Post subject: |
|
|
Io nel file /etc/conf.d/net non ho riferimenti a net.lo quindi non dovrebbe servire neanche a te.
Ricapitoliamo un attimo.
Adesso hai fatto etc-update e non hai nessun file di configurazione da aggiornare?
Cosa contiene /etc/conf.d/net?
Dici che il messaggio all'avvio è sempre lo stesso... sicuro? Non ce ne sono altri prima/dopo? _________________ Ciao da me! |
|
Back to top |
|
|
canduc17 l33t
Joined: 11 Oct 2005 Posts: 795 Location: Ferrara, Italy
|
Posted: Mon Feb 05, 2007 8:58 am Post subject: |
|
|
Esatto, ho fatto etc-update e non ho nessun file di configurazione da aggiornare...
etc/conf.d/net adesso è così: Code: | #dns_domain_lo="candomain"
config_eth0=("dhcp")
dhcp_eth0="nontp nonis"
|
Escludendo un errore a caricare i driver ALSA, che non credo c'entri molto, gli errori al boot sono solo: Code: | * Starting syslog-ng ... [ ok ]
* Starting D-BUS system messagebus ... [ ok ]
* Starting Hardware Abstraction Layer daemon ... [ ok ]
* Setting up kdm ... [ ok ]
/etc/init.d/net.lo: line 34: /lib/rcscripts/net.modules.d/helpers.d/functions: No such file or directory
* Starting
* no interface module has been loaded
/etc/init.d/net.eth0: line 34: /lib/rcscripts/net.modules.d/helpers.d/functions: No such file or directory
* Starting
* no interface module has been loaded
* ERROR: cannot start netmount as net.lo could not start
* ...
* Starting mysql (/etc/mysql/my.cnf)
* MySQL NOT started (0) [ !! ]
* ERROR: cannot start apache2 as net.lo could not start
* Starting Tomcat ... [ ok ]
* Starting vixie-cron ... [ ok ]
* Starting local ... [ ok ]
|
Non capisco come fà a dirmi che ha fatto partire Tomcat, se poi: Code: | candooc canduc # rc-status default
Runlevel: default
xdm [ started ]
dbus [ started ]
hald [ started ]
local [ started ]
mysql [ stopped ]
vixie-cron [ started ]
syslog-ng [ started ]
tomcat-5.5 [ stopped ]
net.eth0 [ stopped ]
netmount [ stopped ]
apache2 [ stopped ]
|
_________________ A cow enters a supermarket, does an handstand and dies. (Public toilet graffito) |
|
Back to top |
|
|
crisandbea Veteran
Joined: 03 Jul 2005 Posts: 1778 Location: BOSCO (SA) ... ma domiciliato a Bologna....
|
Posted: Mon Feb 05, 2007 9:13 am Post subject: |
|
|
canduc17 wrote: | Esatto, ho fatto etc-update e non ho nessun file di configurazione da aggiornare...
etc/conf.d/net adesso è così: Code: | #dns_domain_lo="candomain"
config_eth0=("dhcp")
dhcp_eth0="nontp nonis"
|
Escludendo un errore a caricare i driver ALSA, che non credo c'entri molto, gli errori al boot sono solo: Code: | * Starting syslog-ng ... [ ok ]
* Starting D-BUS system messagebus ... [ ok ]
* Starting Hardware Abstraction Layer daemon ... [ ok ]
* Setting up kdm ... [ ok ]
/etc/init.d/net.lo: line 34: /lib/rcscripts/net.modules.d/helpers.d/functions: No such file or directory
* Starting
* no interface module has been loaded
/etc/init.d/net.eth0: line 34: /lib/rcscripts/net.modules.d/helpers.d/functions: No such file or directory
* Starting
* no interface module has been loaded
* ERROR: cannot start netmount as net.lo could not start
* ...
* Starting mysql (/etc/mysql/my.cnf)
* MySQL NOT started (0) [ !! ]
* ERROR: cannot start apache2 as net.lo could not start
* Starting Tomcat ... [ ok ]
* Starting vixie-cron ... [ ok ]
* Starting local ... [ ok ]
|
Non capisco come fà a dirmi che ha fatto partire Tomcat, se poi: Code: | candooc canduc # rc-status default
Runlevel: default
xdm [ started ]
dbus [ started ]
hald [ started ]
local [ started ]
mysql [ stopped ]
vixie-cron [ started ]
syslog-ng [ started ]
tomcat-5.5 [ stopped ]
net.eth0 [ stopped ]
netmount [ stopped ]
apache2 [ stopped ]
|
|
per togliere un servizio dall'avvio devi fare: Code: | rc-update del <servizio> default |
le cose che dovresti avere in /etc/conf.d/net sono: Code: |
modules_eth0=( "dhcpcd" )-->se usi dhclient sostituisci dhcpcd con dhclient
config_eth0=( "dhcp" )
modules=( "dhcpcd" ) -->se usi dhclient sostituisci dhcpcd con dhclient
dhcpcd_eth0="-t 5" -->solo se vuoi che dopo 5 secondi se il router nn ti assegna l'ip, dhcpcd si stoppi. |
ciauz |
|
Back to top |
|
|
Onip Advocate
Joined: 02 Sep 2004 Posts: 2912 Location: Parma (Italy)
|
Posted: Mon Feb 05, 2007 9:15 am Post subject: |
|
|
Io non ho ancora capito se tu hai aggiornato il file /etc/init.d/net.lo alla nuova versione. Prima hai detto di aver tenuto il vecchio e di non riuscire più a metterlo, poi dici di avere aggiornato tutti i file di configurazione, ma stranamente, l'errore rimane sempre quello...
Nel caso tu non lo abbia aggiornato qui trovi il mio che è relativo al seguente baselayout
Code: |
onip @ Hal9000 ~ $ eix -I baselayout
[I] sys-apps/baselayout
Available versions: 1.11.15-r3 1.12.4-r7 1.12.5-r2 1.12.6 ~1.12.8-r1 ~1.12.8-r2 ~1.12.8-r5 ~1.12.9 [M]~1.13.0_alpha10-r2 [M]~1.13.0_alpha11-r1 [M]~1.13.0_alpha11-r2 [M]~1.13.0_alpha12
Installed: 1.12.6(19:13:07 03/11/2006)(-bootstrap -build -static unicode)
Homepage: http://www.gentoo.org/
Description: Filesystem baselayout and init scripts
|
Byez
p.s. per scaricare il file ti conviene usare wget _________________ Linux Registered User n. 373835
Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum |
|
Back to top |
|
|
canduc17 l33t
Joined: 11 Oct 2005 Posts: 795 Location: Ferrara, Italy
|
Posted: Mon Feb 05, 2007 9:46 am Post subject: |
|
|
Io ho detto a rc-update di cancellare il net.lo nuovo e tenere quello vecchio.
Dopo (quando net.lo era sparito dalla lista di etc-update) ho aggiornato i file o mantenuto quelli vecchi come consigliava randomaze.
Ho scaricato il tuo file, ma non è dello stesso tipo del mio. Ho rinominato il mio net.lo.vecchio e ho messo in /etc/init.d il tuo.
Ma in konqueror mi dice che mentre il mio è di tipo File Header C++, il tuo è di tipo File sorgente Objective-C.
All'avvio, non mi ha dato errori e speravo di aver risolto; invece rc-status boot mi dà sempre il servizio net.lo stopped.
A sistema avviato, se cerco di far partire il tuo file manualmente mi dice: Code: | candooc canduc # /etc/init.d/net.lo start
bash: /etc/init.d/net.lo: Permission denied
|
_________________ A cow enters a supermarket, does an handstand and dies. (Public toilet graffito) |
|
Back to top |
|
|
crisandbea Veteran
Joined: 03 Jul 2005 Posts: 1778 Location: BOSCO (SA) ... ma domiciliato a Bologna....
|
Posted: Mon Feb 05, 2007 9:50 am Post subject: |
|
|
canduc17 wrote: |
A sistema avviato, se cerco di far partire il tuo file manualmente mi dice: Code: | candooc canduc # /etc/init.d/net.lo start
bash: /etc/init.d/net.lo: Permission denied
|
|
ovvio devi dare quel comando come utente root.
ciauz |
|
Back to top |
|
|
canduc17 l33t
Joined: 11 Oct 2005 Posts: 795 Location: Ferrara, Italy
|
Posted: Mon Feb 05, 2007 9:52 am Post subject: |
|
|
Vedi il cancelletto? L'ho fatto da utente root!
Mi sono sbagliato, anche al boot mi dice Permission Denied... _________________ A cow enters a supermarket, does an handstand and dies. (Public toilet graffito) |
|
Back to top |
|
|
Onip Advocate
Joined: 02 Sep 2004 Posts: 2912 Location: Parma (Italy)
|
Posted: Mon Feb 05, 2007 9:55 am Post subject: |
|
|
Code: | onip @ Hal9000 ~ $ ls -l /etc/init.d/net.lo
-rwxr-xr-x 1 root root 30341 3 nov 19:13 /etc/init.d/net.lo |
Controlla che i permessi siano uguali. _________________ Linux Registered User n. 373835
Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum |
|
Back to top |
|
|
crisandbea Veteran
Joined: 03 Jul 2005 Posts: 1778 Location: BOSCO (SA) ... ma domiciliato a Bologna....
|
Posted: Mon Feb 05, 2007 10:09 am Post subject: |
|
|
canduc17 wrote: | Vedi il cancelletto? L'ho fatto da utente root!
Mi sono sbagliato, anche al boot mi dice Permission Denied... |
sorry non avevo visto il # ; verifica ciò che ha detto Onip.
ciauz |
|
Back to top |
|
|
canduc17 l33t
Joined: 11 Oct 2005 Posts: 795 Location: Ferrara, Italy
|
Posted: Mon Feb 05, 2007 10:16 am Post subject: |
|
|
Ok. 90% del problema risolto!
Ho modificato i permessi del file e adesso l'interfaccia, di loopback, mysql e tomcat partono e funzionano come prima.
L'unica magagna rimasta è: Code: | candooc canduc # rc-status default
Runlevel: default
xdm [ started ]
dbus [ started ]
hald [ started ]
local [ started ]
mysql [ started ]
vixie-cron [ started ]
syslog-ng [ started ]
tomcat-5.5 [ started ]
net.eth0 [ stopped ]
netmount [ stopped ]
apache2 [ stopped ]
| Questi 3 servizi non partono: la causa prima è forse netmount? _________________ A cow enters a supermarket, does an handstand and dies. (Public toilet graffito) |
|
Back to top |
|
|
crisandbea Veteran
Joined: 03 Jul 2005 Posts: 1778 Location: BOSCO (SA) ... ma domiciliato a Bologna....
|
Posted: Mon Feb 05, 2007 10:25 am Post subject: |
|
|
canduc17 wrote: | Ok. 90% del problema risolto!
Ho modificato i permessi del file e adesso l'interfaccia, di loopback, mysql e tomcat partono e funzionano come prima.
L'unica magagna rimasta è: Code: | candooc canduc # rc-status default
Runlevel: default
xdm [ started ]
dbus [ started ]
hald [ started ]
local [ started ]
mysql [ started ]
vixie-cron [ started ]
syslog-ng [ started ]
tomcat-5.5 [ started ]
net.eth0 [ stopped ]
netmount [ stopped ]
apache2 [ stopped ]
| Questi 3 servizi non partono: la causa prima è forse netmount? |
che errori ti dà al boot ???
ciauz |
|
Back to top |
|
|
canduc17 l33t
Joined: 11 Oct 2005 Posts: 795 Location: Ferrara, Italy
|
Posted: Mon Feb 05, 2007 10:33 am Post subject: |
|
|
Scusami, hai ragione...
Ecco gli errori: Code: | * Starting eth0
* Bringing up eth0
* dhcp
* Running dhcpcd ... [ !! ]
* ERROR: cannot start netmount as net.eth0 could not start
* ...
* Starting mysql (/etc/mysql/my.cnf) [ ok ]
* ERROR: cannot start apache2 as net.eth0 could not start
* Starting Tomcat ... [ ok ]
* Starting vixie-cron ... [ ok ]
* Starting local ... [ ok ]
|
Non so se centra, ma questi errori me li dà sia col cavo inserito nella presa ethernet o meno... _________________ A cow enters a supermarket, does an handstand and dies. (Public toilet graffito) |
|
Back to top |
|
|
crisandbea Veteran
Joined: 03 Jul 2005 Posts: 1778 Location: BOSCO (SA) ... ma domiciliato a Bologna....
|
Posted: Mon Feb 05, 2007 10:36 am Post subject: |
|
|
canduc17 wrote: | Scusami, hai ragione...
Ecco gli errori: Code: | * Starting eth0
* Bringing up eth0
* dhcp
* Running dhcpcd ... [ !! ]
* ERROR: cannot start netmount as net.eth0 could not start
* ...
* Starting mysql (/etc/mysql/my.cnf) [ ok ]
* ERROR: cannot start apache2 as net.eth0 could not start
* Starting Tomcat ... [ ok ]
* Starting vixie-cron ... [ ok ]
* Starting local ... [ ok ]
|
Non so se centra, ma questi errori me li dà sia col cavo inserito nella presa ethernet o meno... |
hai installato ??? oppure usi ??? se usi dhclient devi inserire al posto di dhcpcd in /etc/conf.d/net dhclient.
ciauz |
|
Back to top |
|
|
Onip Advocate
Joined: 02 Sep 2004 Posts: 2912 Location: Parma (Italy)
|
Posted: Mon Feb 05, 2007 10:48 am Post subject: |
|
|
controlla che il file /etc/init.d/net.eth0 sia un link simbolico a net.lo
Code: |
onip @ Hal9000 ~ $ ls -l /etc/init.d/net.eth0
lrwxrwxrwx 1 root root 6 3 nov 19:13 /etc/init.d/net.eth0 -> net.lo
|
Il problema che ti rimane è far partire net.eth0, da quello, come puoi leggere anche dall'output, dipendono poi gli altri due.
In futuro ricordati di usare sempre un tool per aggiornare i file di configurazione. Io, personalmente, ti consiglio dispatch-conf che, fra le altre cose, tiene una copia di backup dei file che sostituisci. Sia che tu scelga etc-updte o dispatch-conf fai il merge dele configurazioni sempre con criterio, cioè tieniti alla larga dagli aggiornamenti automatici.
@crisandbea
La sua configurazione del dhcp penso sia già a posto, ha detto che prima tutto funzionava _________________ Linux Registered User n. 373835
Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum |
|
Back to top |
|
|
|