Koozali.org: home of the SME Server
Other Languages => Español => Topic started by: Pepegarci on December 08, 2014, 12:37:50 PM
-
Hola,
soy usuario desde la versión 6. He instaldo la versión 9 pero tengo problemas con la navegación, parece que no resuelve correctamente. El problema se da incluso al intentar actualizar:
----
Loaded plugins: fastestmirror, smeserver
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=os error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
Error: Cannot find a valid baseurl for repo: base
yum update 14: Could failed: 256
----
Tran mucho probar he coseguido actualizar añadiendo un servidor DNS externo:
nano /etc/resolv.conf
y añadiendo la linea
nameserver 8.8.8.8
de esta manera he podido actualizar sme9 y tras el reinicio la configuración de /etc/resolv.conf vuelve a ser la inical: nameserver 174.28.0.1 (DNS liocal) y no deja navegar.
Si vuelvo a colocar un DNS externo si deja navegar.
Alguien con el mismo problema?
Saludos
-
Hola y bienvenido,
can explain a bit more about how you installed SME Server 9 ? Did you try to perform a restore from a backup ? Do you have interconnection at all ? etc etc.
Manually modifying /etc/resolv.conf is NOT the SME Server way and those changes will not last.
Did you say you are using SME Server since version 6?
guest
-
Hola,
Instalación limpia. No se ha realizado ningun restore. Es la primera vez que nos pasa algo así, y soy usuario de SME desde 2006.
Configuración:
Parámetros de Red
Modo de Servidor servergateway-private
Dirección IP local / máscara de subred 174.28.0.1/255.255.255.0
Dirección IP externa / máscara de subred 192.168.0.100/255.255.255.0
Puerta de enlace 192.168.0.1
Redes locales adicionales 174.28.0.0/255.255.255.0
Servidor DHCP enabled
Comienzo del rango de dirección DHCP 174.28.0.65
Fin del rango de dirección DHCP 174.28.0.250
Nombres del servidor
Servidor DNS 174.28.0.1
Servidor Web www.garage.local
Servidor proxy proxy.garage.local:3128
Servidor FTP ftp.garage.local
Servidores de correo SMTP, POP e IMAP mail.garage.local
Información de dominio
Dominio primario garage.local
Dominios virtuales garage.local
Sitio Web primario http://www.garage.local
Administrador del servidor https://csastre/server-manager/
Panel de contraseña de usuario https://csastre/user-password/
Direcciones de Email cuenta@garage.local
nombre.apellido@garage.local
nombre_apellido@garage.local
SME Server 9.0
Copyright 1999-2006 Mitel Corporation
Todos los derechos reservados.
Copyright (C) 2013 Koozali Foundation, Inc.
=====
Unicamente permite actualizar el sistema si se modifica manualmente los servidores dns. (nano /etc/resolv.conf)
Las Ultimas actualizaciones realizadas:
Please Wait - Yum Running (postreposetup)
Loaded plugins: fastestmirror, smeserver
Setting up Update Process
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=os error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
Could not retrieve mirrorlist http://mirrorlist.contribs.org/mirrorlist/smeaddons-9 error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.contribs.org'"
Could not retrieve mirrorlist http://mirrorlist.contribs.org/mirrorlist/smeextras-9 error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.contribs.org'"
Could not retrieve mirrorlist http://mirrorlist.contribs.org/mirrorlist/smeos-9 error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.contribs.org'"
Could not retrieve mirrorlist http://mirrorlist.contribs.org/mirrorlist/smeupdates-9 error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.contribs.org'"
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=updates error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
* base: mirror.trueinter.net
* smeaddons: mirror.pialasse.com
* smeextras: mirror.pialasse.com
* smeos: mirror.pialasse.com
* smeupdates: mirror.pialasse.com
* updates: centos.mirror.xtratelecom.es
Resolving Dependencies
--> Running transaction check
---> Package curl.i686 0:7.19.7-40.el6_6.1 will be updated
---> Package curl.i686 0:7.19.7-40.el6_6.3 will be an update
---> Package e-smith-pop3.noarch 0:2.4.0-1.el6.sme will be updated
---> Package e-smith-pop3.noarch 0:2.4.0-2.el6.sme will be an update
--> Processing Dependency: stunnel for package: e-smith-pop3-2.4.0-2.el6.sme.noarch
---> Package libcurl.i686 0:7.19.7-40.el6_6.1 will be updated
---> Package libcurl.i686 0:7.19.7-40.el6_6.3 will be an update
---> Package system-config-firewall-base.noarch 0:1.2.27-7.1.el6 will be updated
---> Package system-config-firewall-base.noarch 0:1.2.27-7.2.el6_6 will be an update
--> Running transaction check
---> Package stunnel.i686 0:4.29-3.el6_4 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Updating:
curl i686 7.19.7-40.el6_6.3 updates 194 k
e-smith-pop3 noarch 2.4.0-2.el6.sme smeupdates 31 k
libcurl i686 7.19.7-40.el6_6.3 updates 173 k
system-config-firewall-base noarch 1.2.27-7.2.el6_6 updates 434 k
Installing for dependencies:
stunnel i686 4.29-3.el6_4 base 121 k
Transaction Summary
================================================================================
Install 1 Package(s)
Upgrade 4 Package(s)
Total download size: 953 k
Downloading Packages:
--------------------------------------------------------------------------------
Total 676 kB/s | 953 kB 00:01
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : libcurl-7.19.7-40.el6_6.3.i686 1/9
Installing : stunnel-4.29-3.el6_4.i686 2/9
Updating : e-smith-pop3-2.4.0-2.el6.sme.noarch 3/9
Updating : system-config-firewall-base-1.2.27-7.2.el6_6.noarch 4/9
Updating : curl-7.19.7-40.el6_6.3.i686 5/9
Cleanup : curl-7.19.7-40.el6_6.1.i686 6/9
Cleanup : libcurl-7.19.7-40.el6_6.1.i686 7/9
Cleanup : e-smith-pop3-2.4.0-1.el6.sme.noarch 8/9
Cleanup : system-config-firewall-base-1.2.27-7.1.el6.noarch 9/9
Migrating existing database domains
Migrating existing database configuration
Migrating existing database yum_repositories
Migrating existing database yum_updates
Migrating existing database hosts
Migrating existing database mailpatterns
Migrating existing database networks
Migrating existing database yum_available
Migrating existing database yum_installed
Migrating existing database accounts
Migrating existing database spamassassin
Migrating existing database backups
Verifying : stunnel-4.29-3.el6_4.i686 1/9
Verifying : libcurl-7.19.7-40.el6_6.3.i686 2/9
Verifying : system-config-firewall-base-1.2.27-7.2.el6_6.noarch 3/9
Verifying : e-smith-pop3-2.4.0-2.el6.sme.noarch 4/9
Verifying : curl-7.19.7-40.el6_6.3.i686 5/9
Verifying : curl-7.19.7-40.el6_6.1.i686 6/9
Verifying : e-smith-pop3-2.4.0-1.el6.sme.noarch 7/9
Verifying : system-config-firewall-base-1.2.27-7.1.el6.noarch 8/9
Verifying : libcurl-7.19.7-40.el6_6.1.i686 9/9
Dependency Installed:
stunnel.i686 0:4.29-3.el6_4
Updated:
curl.i686 0:7.19.7-40.el6_6.3
e-smith-pop3.noarch 0:2.4.0-2.el6.sme
libcurl.i686 0:7.19.7-40.el6_6.3
system-config-firewall-base.noarch 0:1.2.27-7.2.el6_6
Complete!
=====
Please Wait - Yum Running (prereposetup)
Loaded plugins: fastestmirror, smeserver
Setting up Update Process
Loading mirror speeds from cached hostfile
* base: mirror.trueinter.net
* smeaddons: mirror.pialasse.com
* smeextras: mirror.pialasse.com
* smeos: mirror.pialasse.com
* smeupdates: mirror.pialasse.com
* updates: centos.mirror.xtratelecom.es
Resolving Dependencies
--> Running transaction check
---> Package dovecot.i686 1:2.0.9-7.el6_5.1 will be updated
---> Package dovecot.i686 1:2.0.9-8.el6_6.1 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Updating:
dovecot i686 1:2.0.9-8.el6_6.1 updates 1.9 M
Transaction Summary
================================================================================
Upgrade 1 Package(s)
Total download size: 1.9 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : 1:dovecot-2.0.9-8.el6_6.1.i686 1/2
Cleanup : 1:dovecot-2.0.9-7.el6_5.1.i686 2/2
Verifying : 1:dovecot-2.0.9-8.el6_6.1.i686 1/2
Verifying : 1:dovecot-2.0.9-7.el6_5.1.i686 2/2
Updated:
dovecot.i686 1:2.0.9-8.el6_6.1
Complete!
=====
reboot
=====
...probando navegación en variar url:
ERROR
El URL solicitado no se ha podido conseguir
Se encontró el siguiente error al intentar recuperar la dirección URL: http://contribs.org/
Incapaz de determinar la dirección IP a partir del nombre de la máquina contribs.org
El servidor DNS devolvió:
Server Failure: The name server was unable to process this query.
Esto significa que el caché no ha sido capaz de resolver el nombre de máquina presente en la URL. Compruebe que la dirección sea correcta.
Su administrador del caché es admin@garage.local.
Generado Tue, 09 Dec 2014 18:39:05 GMT por csastre.garage.local (squid/3.1.10)
=====
ERROR
El URL solicitado no se ha podido conseguir
Se encontró el siguiente error al intentar recuperar la dirección URL: http://rediris.es/
Incapaz de determinar la dirección IP a partir del nombre de la máquina rediris.es
El servidor DNS devolvió:
Server Failure: The name server was unable to process this query.
Esto significa que el caché no ha sido capaz de resolver el nombre de máquina presente en la URL. Compruebe que la dirección sea correcta.
Su administrador del caché es admin@garage.local.
Generado Tue, 09 Dec 2014 19:27:26 GMT por csastre.garage.local (squid/3.1.10)
=====
ERROR
El URL solicitado no se ha podido conseguir
Se encontró el siguiente error al intentar recuperar la dirección URL: http://movistar.es/
Incapaz de determinar la dirección IP a partir del nombre de la máquina movistar.es
El servidor DNS devolvió:
Server Failure: The name server was unable to process this query.
Esto significa que el caché no ha sido capaz de resolver el nombre de máquina presente en la URL. Compruebe que la dirección sea correcta.
Su administrador del caché es admin@garage.local.
Generado Tue, 09 Dec 2014 18:34:57 GMT por csastre.garage.local (squid/3.1.10)
=====
Saludos
pepe
-
Suggest you paste the output of
ifconfig
route
config show ExternalInterface
config show InternalInterface
config show LocalIP
config show GatewayIP
config show dnscache
config show dnscache.forwarder-service
config show tinydns
Just so we can see what is set.
Although there may be quicker ways, it may be worth logging in as admin at the console and running through the setup routine again. Make sure you remove the external DNS if it is set. This should reset all your network config and regenerate all the files correctly.
(others may suggest a different route, but at least we will have a baseline)
You then try and ping, traceroute etc and see what happens.
B. Rgds
John
-
[root@csastre ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:21:5A:16:33:71
inet addr:174.28.0.1 Bcast:174.28.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:708 errors:0 dropped:0 overruns:0 frame:0
TX packets:1007 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:73722 (71.9 KiB) TX bytes:908231 (886.9 KiB)
Interrupt:19 Memory:f0180000-f01a0000
eth1 Link encap:Ethernet HWaddr 00:C0:26:A3:98:8B
inet addr:192.168.0.100 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1116 errors:0 dropped:0 overruns:0 frame:0
TX packets:1013 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:931913 (910.0 KiB) TX bytes:87544 (85.4 KiB)
Interrupt:20 Base address:0x4000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:826 errors:0 dropped:0 overruns:0 frame:0
TX packets:826 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:104322 (101.8 KiB) TX bytes:104322 (101.8 KiB)
=====
# ip route show
174.28.0.0/24 dev eth0 proto kernel scope link src 174.28.0.1
192.168.0.0/24 dev eth1 proto kernel scope link src 192.168.0.100
default via 192.168.0.1 dev eth1
[root@csastre ~]#
=====
# config show ExternalInterface
ExternalInterface=interface
Broadcast=192.168.0.255
Configuration=static
Driver=8139too
Gateway=192.168.0.1
IPAddress=192.168.0.100
Name=eth1
Netmask=255.255.255.0
Network=192.168.0.0
=====
# config show InternalInterface
InternalInterface=interface
Broadcast=174.28.0.255
Configuration=static
Driver=unknown
IPAddress=174.28.0.1
NICBondingOptions=miimon=200 mode=active-backup
Name=eth0
Netmask=255.255.255.0
Network=174.28.0.0
=====
# config show LocalIP
LocalIP=174.28.0.1
=====
# config show dnscache
dnscache=service
TCPPort=53
UDPPort=53
access=private
status=enabled
=====
# config show dnscache.forwarder-service
=====
# config show tinydns
tinydns=service
UDPPorts=53
access=localhost
status=enabled
=====
...
# cat /etc/resolv.conf
domain garage.local
nameserver 174.28.0.1
=====
# arp -a
pc-00066.garage.local (174.28.0.66) at 00:15:60:b3:6a:45 [ether] on eth0
? (192.168.0.1) at 5c:4c:a9:6c:59:0e [ether] on eth1
[root@csastre ~]# ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:21:5a:16:33:71 brd ff:ff:ff:ff:ff:ff
inet 174.28.0.1/24 brd 174.28.0.255 scope global eth0
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
link/ether 00:c0:26:a3:98:8b brd ff:ff:ff:ff:ff:ff
inet 192.168.0.100/24 brd 192.168.0.255 scope global eth1
[root@csastre ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
174.28.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth1
[root@csastre ~]# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
174.28.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth1
=====
Otras pruebas realizadas sin exito:
config delete dnscache
config delete dnscache.forwarder
signal-event post-upgrade ; signal-event reboot
Gracias.
-
It looks like you have reversed eth0 and eth1 information.
Did you do a full 'yum update' after installation?
-
¿invertido información eth0 y eth1.?
Donde?
He vuelto a instalar desde el principio, tras descargar una nueva iso y el problema persiste.
Unicamente consigo actualizar o navegar si modifico etc/resolv.conf
saludos.
-
Can you confirm your EXTERNAL IP address and your LOCAL IP / network ?
From the looks of you config you have the following set :
# config show ExternalInterface
ExternalInterface=interface
Gateway=192.168.0.1
IPAddress=192.168.0.100
Name=eth1
# config show InternalInterface
InternalInterface=interface
IPAddress=174.28.0.1
Name=eth0
Netmask=255.255.255.0
Network=174.28.0.0
This look back to front ?
I would imagine that your INTERNAL network should be 192.168.0.x and your EXTERNAL IP is 174.28.0.1 ???
Please check and let us know.
B. Rgds
John