Zentyal Forum, Linux Small Business Server
International => Spanish => Topic started by: x22bcn on June 14, 2013, 11:06:19 am
-
Me pasa lo mismo que aquí http://forum.zentyal.org/index.php/topic,11736.msg47668.html#msg47668 (no resuelto)
Tengo instalado Zentyal 3.0.21 desde hace 5 días en un servidor casero.
Cuando le digo reiniciar Zentyal, el módulo network no se reinicia.
sudo service restart zentyal
En cambio, si reinicio el módulo sólo si se reinicia correctamente
sudo service zentyal network restart
Quizás tenga algo que ver que he ido instalando módulos conforme los he ido necesitando.
Si necesitáis algún dato más, o algún archivo log decidme cual y os lo pongo.
Gracias
-
Entiendo que
sudo service restart zentyal
es una errata no?
Ya que la sintaxis correcta seria sudo service zentyal restart
-
;D jajaja perdon.
si, el orden está mal.
mi amiga dislexia es muy fiel
-
Entonces cuando haces un
sudo service zentyal restart
dices que no se te reinicia network?
Si reinicias el servidor, network se inicia?
-
si. al arrancar sin problemas, pero reiniciar desde consola no funciona.
el sistema queda inaccesible desde red.
realmente es un problema si se tiene que hacer una actualización de paquetes desde una sesión ssh.
como haya un paquete que quiera reiniciar las ethernet el sistema se queda desconectado
-
Entiendo el problema, pero si puedes copiar los logs del sistema seria ideal, de todas formas si no inicia el DHCP es por falta o mala configuracion de las tarjetas eth.
Verificaste que todo este en orden?
-
Buscando en el log la parte relacionada con el reinicio defectuoso de network sale esto:
2013/06/17 09:24:07 INFO> Service.pm:861 EBox::Module::Service::restartService - Restarting service for module: network
2013/06/17 09:24:08 ERROR> Sudo.pm:233 EBox::Sudo::_rootError - root command set -e
/usr/share/zentyal-network/flush-fwmarks
/sbin/ip route flush table 101
/sbin/ip route add default via 192.168.1.1 dev eth1 src 192.168.1.2 table 101
/sbin/ip rule add from 192.168.1.1 table 101
/sbin/ip rule add fwmark 1/0xFF table 101
/sbin/ip rule add table main
/sbin/iptables -t mangle -A PREROUTING -m mark --mark 0/0xff -j MARK --set-mark 1
/sbin/iptables -t mangle -A OUTPUT -m mark --mark 0/0xff -j MARK --set-mark 1 failed.
Error output: RTNETLINK answers: No such process
Command output: .
Exit value: 2
Por si sirve también pongo el archivo generado /etc/network/interfaces
auto lo eth0 eth1
iface lo inet loopback
iface eth0 inet static
address 192.168.0.2
netmask 255.255.255.0
broadcast 192.168.0.255
iface eth1 inet static
address 192.168.1.2
netmask 255.255.255.0
broadcast 192.168.1.255
Gracias por vuestro tiempo
-
Buscando en el log la parte relacionada con el reinicio defectuoso de network sale esto:
2013/06/17 09:24:07 INFO> Service.pm:861 EBox::Module::Service::restartService - Restarting service for module: network
2013/06/17 09:24:08 ERROR> Sudo.pm:233 EBox::Sudo::_rootError - root command set -e
/usr/share/zentyal-network/flush-fwmarks
/sbin/ip route flush table 101
/sbin/ip route add default via 192.168.1.1 dev eth1 src 192.168.1.2 table 101
/sbin/ip rule add from 192.168.1.1 table 101
/sbin/ip rule add fwmark 1/0xFF table 101
/sbin/ip rule add table main
/sbin/iptables -t mangle -A PREROUTING -m mark --mark 0/0xff -j MARK --set-mark 1
/sbin/iptables -t mangle -A OUTPUT -m mark --mark 0/0xff -j MARK --set-mark 1 failed.
Error output: RTNETLINK answers: No such process
Command output: .
Exit value: 2
Por si sirve también pongo el archivo generado /etc/network/interfaces
auto lo eth0 eth1
iface lo inet loopback
iface eth0 inet static
address 192.168.0.2
netmask 255.255.255.0
broadcast 192.168.0.255
iface eth1 inet static
address 192.168.1.2
netmask 255.255.255.0
broadcast 192.168.1.255
Gracias por vuestro tiempo
Por SSH ejecuta el siguiente comando y dame el resultado.
sudo /etc/init.d/networking restart
-
Realizando la siguiente acción desde consola ssh
sudo /etc/init.d/networking restart
El resultado es
* Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces
* Reconfiguring network interfaces...
resolvconf: Error: /etc/resolv.conf isn't a symlink, not doing anything.
resolvconf: Error: /etc/resolv.conf isn't a symlink, not doing anything.
resolvconf: Error: /etc/resolv.conf isn't a symlink, not doing anything.
ssh stop/waiting
ssh start/running, process 26344
resolvconf: Error: /etc/resolv.conf isn't a symlink, not doing anything.
ssh stop/waiting
ssh start/running, process 26394
Y deja de resolver dns
Al ejecutar
sudo service zentyal network restart
Vuelve a comportarse todo de manera normal
Gracias
-
Realizando la siguiente acción desde consola ssh
sudo /etc/init.d/networking restart
El resultado es
* Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces
* Reconfiguring network interfaces...
resolvconf: Error: /etc/resolv.conf isn't a symlink, not doing anything.
resolvconf: Error: /etc/resolv.conf isn't a symlink, not doing anything.
resolvconf: Error: /etc/resolv.conf isn't a symlink, not doing anything.
ssh stop/waiting
ssh start/running, process 26344
resolvconf: Error: /etc/resolv.conf isn't a symlink, not doing anything.
ssh stop/waiting
ssh start/running, process 26394
Y deja de resolver dns
Al ejecutar
sudo service zentyal network restart
Vuelve a comportarse todo de manera normal
Gracias
Verifica los parametro DNS en Zentyal.
Adicional a esto ve que todas las tarjetas de RED esten activas:
Ejecuta lo siguiente y me copias el resultado:
sudo ifconfig
Lo otro es que, tengas actualizado el Kernel de Zentyal y sus Headers
Para actualizar el Kernel de Zentyal debes hacerlo por WEB-GUI, una vez lo hagas actualiza los headers con el siguiente comando:
sudo apt-get update
sudo apt-get install linux-headers-$(uname -r)
Reinicia y me comentas si todo levanta bien en Zentyal.
Saludos!
-
La salida de sudo ifconfig
eth0 Link encap:Ethernet direcciónHW 00:24:1d:d4:0b:80
Direc. inet:192.168.0.2 Difus.:192.168.0.255 Másc:255.255.255.0
ACTIVO DIFUSIÓN FUNCIONANDO MULTICAST MTU:1500 Métrica:1
Paquetes RX:100966 errores:0 perdidos:2 overruns:0 frame:0
Paquetes TX:268274 errores:0 perdidos:0 overruns:0 carrier:0
colisiones:0 long.colaTX:1000
Bytes RX:13190644 (13.1 MB) TX bytes:332218045 (332.2 MB)
eth1 Link encap:Ethernet direcciónHW 00:30:84:87:57:90
Direc. inet:192.168.1.2 Difus.:192.168.1.255 Másc:255.255.255.0
ACTIVO DIFUSIÓN FUNCIONANDO MULTICAST MTU:1500 Métrica:1
Paquetes RX:1096274 errores:0 perdidos:0 overruns:0 frame:0
Paquetes TX:583188 errores:0 perdidos:0 overruns:0 carrier:0
colisiones:0 long.colaTX:1000
Bytes RX:1476267408 (1.4 GB) TX bytes:50911412 (50.9 MB)
lo Link encap:Bucle local
Direc. inet:127.0.0.1 Másc:255.0.0.0
ACTIVO BUCLE FUNCIONANDO MTU:16436 Métrica:1
Paquetes RX:38614 errores:0 perdidos:0 overruns:0 frame:0
Paquetes TX:38614 errores:0 perdidos:0 overruns:0 carrier:0
colisiones:0 long.colaTX:0
Bytes RX:54228402 (54.2 MB) TX bytes:54228402 (54.2 MB)
Las dns tiene como primera la 127.0.0.1 y luego las de opendns
El ordenador arranca sin problemas, pero continua quedando desconectado al reiniciar el servicio zentyal.
Gracias