View previous topic :: View next topic |
Author |
Message |
Neuromancien l33t

Joined: 03 Dec 2003 Posts: 867
|
Posted: Sun Mar 20, 2005 10:54 pm Post subject: [boot] Erreurs au démarrage (résolu) |
|
|
Bonsoir,
Lors du démarrage j'ai le message suivant :
Code: | Problem starting needed services.
"netmount" was not started
Problem starting needed services.
"apache2" was not started |
Et je n'ai plus l'accès au réseau. _________________ emerge --info
dmesg
lspci
.config
Last edited by Neuromancien on Sun Apr 17, 2005 9:05 am; edited 1 time in total |
|
Back to top |
|
 |
kernelsensei Bodhisattva


Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Sun Mar 20, 2005 10:57 pm Post subject: |
|
|
ca c'est la consequence, netmount et apache ne demarrent pas car le reseau n'a pas pu demarrer !
ca fait quoi si tu essaye de demarrer tes interfaces a la main ?
Code: | /etc/init.d/net.eth0 start |
par exemple ?
un rc-status donne quoi ? _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
 |
Neuromancien l33t

Joined: 03 Dec 2003 Posts: 867
|
Posted: Sun Mar 20, 2005 11:12 pm Post subject: |
|
|
kernel_sensei wrote: | ca c'est la consequence, netmount et apache ne demarrent pas car le reseau n'a pas pu demarrer !
ca fait quoi si tu essaye de demarrer tes interfaces a la main ?
Code: | /etc/init.d/net.eth0 start |
par exemple ? |
Code: | sh-2.05b# /etc/init.d/net.eth0 start
* Bringing eth0 up via DHCP... [ ok ]
* eth0 received address 192.168.0.8
|
Là j'ai la connexion réseau...
kernel_sensei wrote: |
un rc-status donne quoi ? |
Code: | sh-2.05b# rc-status
Runlevel: default
net.eth0 [ started ]
netmount [ off ]
webmin [ started ]
numlock [ started ]
apache2 [ off ]
hotplug [ started ] |
Je peux lancer Apache à partir de Webmin. _________________ emerge --info
dmesg
lspci
.config
Last edited by Neuromancien on Sun Mar 20, 2005 11:15 pm; edited 1 time in total |
|
Back to top |
|
 |
kernelsensei Bodhisattva


Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Sun Mar 20, 2005 11:14 pm Post subject: |
|
|
etrange .. et pourtant tu n'as pas d'acces au reseau ?
ifconfig -a donne quoi ?
ca dit quoi quand tu demarres les services apache2 et netmount a la main ? _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
 |
Neuromancien l33t

Joined: 03 Dec 2003 Posts: 867
|
Posted: Sun Mar 20, 2005 11:19 pm Post subject: |
|
|
kernel_sensei wrote: | etrange .. et pourtant tu n'as pas d'acces au reseau ?
ifconfig -a donne quoi ?
ca dit quoi quand tu demarres les services apache2 et netmount a la main ? |
Si, j'ai l'accès au réseau après la commande /etc/init.d/net.eth0 start. Apache fonctionne si je démarre manuellement. _________________ emerge --info
dmesg
lspci
.config
Last edited by Neuromancien on Sun Mar 20, 2005 11:23 pm; edited 1 time in total |
|
Back to top |
|
 |
Neuromancien l33t

Joined: 03 Dec 2003 Posts: 867
|
Posted: Sun Mar 20, 2005 11:23 pm Post subject: |
|
|
Autre problème : les scripts PHP ne sont pas exécutés. _________________ emerge --info
dmesg
lspci
.config |
|
Back to top |
|
 |
kernelsensei Bodhisattva


Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Sun Mar 20, 2005 11:25 pm Post subject: |
|
|
Neuromancien wrote: | Autre problème : les scripts PHP ne sont pas exécutés. |
ouais mais ca a priori c'est pas en relation avec ce thread non ?
Autrement, je ne comprends pas trop ... ca demarre a la main mais pas automatiquement ... moi je propose de refaire un rc-update del puis un rc-update add sur le contenu de ton runlevel ! _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
 |
Neuromancien l33t

Joined: 03 Dec 2003 Posts: 867
|
Posted: Sun Mar 20, 2005 11:35 pm Post subject: |
|
|
kernel_sensei wrote: | Autrement, je ne comprends pas trop ... ca demarre a la main mais pas automatiquement ... moi je propose de refaire un rc-update del puis un rc-update add sur le contenu de ton runlevel ! |
Je viens d'essayer, sans résultat.  _________________ emerge --info
dmesg
lspci
.config |
|
Back to top |
|
 |
yuk159 Veteran


Joined: 18 Apr 2003 Posts: 1803 Location: noumea ,nouvelle-caledonie
|
Posted: Sun Mar 20, 2005 11:49 pm Post subject: |
|
|
rc-update add net.eth0 default && rc default _________________ The box said: "Requires Windows 98/2000/XP/NT, or better."
So, I installed LINUX!
Instagram |
|
Back to top |
|
 |
Neuromancien l33t

Joined: 03 Dec 2003 Posts: 867
|
Posted: Sun Mar 20, 2005 11:51 pm Post subject: |
|
|
yuk159 wrote: | rc-update add net.eth0 default && rc default |
Code: | sh-2.05b# rc-update add net.eth0 default && rc default
* net.eth0 already installed in runlevel default; skipping |
_________________ emerge --info
dmesg
lspci
.config |
|
Back to top |
|
 |
yuk159 Veteran


Joined: 18 Apr 2003 Posts: 1803 Location: noumea ,nouvelle-caledonie
|
Posted: Sun Mar 20, 2005 11:59 pm Post subject: |
|
|
Et ton interface réseau ne démarre toujours pas au boot ? _________________ The box said: "Requires Windows 98/2000/XP/NT, or better."
So, I installed LINUX!
Instagram |
|
Back to top |
|
 |
Neuromancien l33t

Joined: 03 Dec 2003 Posts: 867
|
Posted: Mon Mar 21, 2005 12:21 am Post subject: |
|
|
yuk159 wrote: | Et ton interface réseau ne démarre toujours pas au boot ? |
Non.  _________________ emerge --info
dmesg
lspci
.config |
|
Back to top |
|
 |
Neuromancien l33t

Joined: 03 Dec 2003 Posts: 867
|
Posted: Mon Mar 21, 2005 12:26 am Post subject: |
|
|
C'est Apache 2 qui fait tout planter. Si je désactive le service au démarrage, tout fonctionne parfaitement ! _________________ emerge --info
dmesg
lspci
.config |
|
Back to top |
|
 |
yuk159 Veteran


Joined: 18 Apr 2003 Posts: 1803 Location: noumea ,nouvelle-caledonie
|
Posted: Mon Mar 21, 2005 12:33 am Post subject: Astuce: Une mise en forme peut être appliquée au texte sé |
|
|
Apache démarre avant la carte réseau ?
Pour les paquets installés essaye qpkg -I _________________ The box said: "Requires Windows 98/2000/XP/NT, or better."
So, I installed LINUX!
Instagram |
|
Back to top |
|
 |
Neuromancien l33t

Joined: 03 Dec 2003 Posts: 867
|
Posted: Mon Mar 21, 2005 12:40 am Post subject: Re: Astuce: Une mise en forme peut être appliquée au texte |
|
|
yuk159 wrote: | Apache démarre avant la carte réseau ? |
Comment vérifier ça ? _________________ emerge --info
dmesg
lspci
.config |
|
Back to top |
|
 |
Neuromancien l33t

Joined: 03 Dec 2003 Posts: 867
|
|
Back to top |
|
 |
krinn Watchman


Joined: 02 May 2003 Posts: 7471
|
Posted: Tue Mar 22, 2005 1:54 am Post subject: |
|
|
rc-status
Te les montres dans l'ordre de chargement je crois (pas sur)
et
rc-status boot
ps: verifie bien que tu as net.lo au boot
Sinon si tu es courageux:
rc-update del net.eth0
rc-update add net.eth0 boot
Et hop, sur qu'il demarrre avant apache... |
|
Back to top |
|
 |
Neuromancien l33t

Joined: 03 Dec 2003 Posts: 867
|
Posted: Thu Mar 24, 2005 9:47 am Post subject: |
|
|
krinn wrote: | Sinon si tu es courageux:
rc-update del net.eth0
rc-update add net.eth0 boot
Et hop, sur qu'il demarrre avant apache... |
Ca ne fonctionne pas...  _________________ emerge --info
dmesg
lspci
.config |
|
Back to top |
|
 |
Enlight Advocate


Joined: 28 Oct 2004 Posts: 3519 Location: Alsace (France)
|
Posted: Thu Mar 24, 2005 12:43 pm Post subject: |
|
|
Regarde les depend! |
|
Back to top |
|
 |
geekounet Bodhisattva


Joined: 11 Oct 2004 Posts: 3772
|
Posted: Thu Mar 24, 2005 10:35 pm Post subject: |
|
|
J'ai le même problème depuis que je suis passé au wifi. Des fois ça marche tout seul, d'autres fois non. Il n'y aurai s pas un petit moment à attendre avant que la carte wifi ne soit initialisé et en état de marche ? Je pense que le pb vient de là, que l'interface wlan0 n'existe pas encore à ce moment là, ce qui fait que le service réseau ne démarre pas.
Je me trompe peut-être, je n'y connais pas grand chose de ce côté là. |
|
Back to top |
|
 |
Neuromancien l33t

Joined: 03 Dec 2003 Posts: 867
|
|
Back to top |
|
 |
kernelsensei Bodhisattva


Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Sun Mar 27, 2005 11:18 pm Post subject: |
|
|
ta carte reseau est une pcmcia ?
car moi j'avais exactement ce style de probleme avec ma carte wifi pcmcia ...
j'ai resolu le probleme en enlevant net.eth1 (ma carte wifi) des runlevels et en mettant UNIQUEMENT pcmcia dans le runlevel [/b]boot[/b]
sinon, le support de ta carte est en dur ou en module ? essaye de jouer avec ca .. ca pourrait marcher _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
 |
Neuromancien l33t

Joined: 03 Dec 2003 Posts: 867
|
Posted: Sun Mar 27, 2005 11:59 pm Post subject: |
|
|
kernel_sensei wrote: | ta carte reseau est une pcmcia ?
car moi j'avais exactement ce style de probleme avec ma carte wifi pcmcia ...
j'ai resolu le probleme en enlevant net.eth1 (ma carte wifi) des runlevels et en mettant UNIQUEMENT pcmcia dans le runlevel [/b]boot[/b]
sinon, le support de ta carte est en dur ou en module ? essaye de jouer avec ca .. ca pourrait marcher |
Non ce n'est pas une carte Wifi PCMCIA... Par contre, elle est détectée par Coldplug que j'avais ajouté au niveau d'exécution "default", or la doc indique désormais de l'ajouter au niveau "boot". Le problème vient peut-être de là ? _________________ emerge --info
dmesg
lspci
.config |
|
Back to top |
|
 |
kernelsensei Bodhisattva


Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Mon Mar 28, 2005 12:04 am Post subject: |
|
|
Neuromancien wrote: | kernel_sensei wrote: | ta carte reseau est une pcmcia ?
car moi j'avais exactement ce style de probleme avec ma carte wifi pcmcia ...
j'ai resolu le probleme en enlevant net.eth1 (ma carte wifi) des runlevels et en mettant UNIQUEMENT pcmcia dans le runlevel [/b]boot[/b]
sinon, le support de ta carte est en dur ou en module ? essaye de jouer avec ca .. ca pourrait marcher |
Non ce n'est pas une carte Wifi PCMCIA... Par contre, elle est détectée par Coldplug que j'avais ajouté au niveau d'exécution "default", or la doc indique désormais de l'ajouter au niveau "boot". Le problème vient peut-être de là ? |
ben essaye ..  _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
 |
Brayan n00b

Joined: 19 Dec 2004 Posts: 7
|
Posted: Fri Apr 01, 2005 8:46 pm Post subject: |
|
|
Exactement le meme probleme avec Apache et Apache2
si apache* n'est pas lancé au démarage aucun pb avec le réseau, lorsque je l'ajoute "rc-update add apache default" j'ai alors les mêmes problèmes que Neuromancien a savoir
Quote: | Problem starting needed services.
"netmount" was not started
Problem starting needed services.
"apache2" was not started |
en revanche lorsque je relance le réseau manuellement pas de problème. Voici aussi un pitit "rc-update show"
Code: | root@Gentoo brayan # /etc/init.d/net.eth0 start
* Bringing eth0 up (192.168.1.2)... [ ok ]
* Setting default gateway (192.168.1.1)... [ ok ]
root@Gentoo brayan # rc-update show
alsasound | boot
apache |
apache2 | default
aumix |
bootmisc | boot
bttrack |
checkfs | boot
checkroot | boot
clock | boot
coldplug | default
consolefont | boot
crypto-loop |
cupsd |
domainname |
esound |
famd |
gpm |
hdparm |
hostname | boot
hotplug | default
keymaps | boot
linux-logo |
lisa |
local | default nonetwork
localmount | boot
modules | boot
mysql |
nessusd |
net.eth0 | default
net.lo | default
netmount | default
nscd |
numlock |
portmap |
reslisa |
rmnologin | boot
rsyncd |
samba |
serial | boot
snort |
sshd |
sysklogd |
urandom | boot
xdm | default
xfs |
root@Gentoo brayan # |
Voila, si vous voyez un truc qui cloche, n'hésitez pas :]
Bonne continuation aux Gentooïtes  |
|
Back to top |
|
 |
|