[CentOS-es] Problemas con Sitio web

Joel Barrios darkshram en gmail.com
Vie Sep 25 18:48:04 UTC 2009


A menos de que tenga una eth1 con una ip del segmento 192.168.31.0/24,
el problema es muy sencillo. La IP que pusiste en eth0 es 192.168.0.1,
con máscara de subred 255.255.255.0. Tu ruteador esta en una red
completamente diferente: 192.168.31.121. Tu IP debe estar en el mismo
segmento del ruteador o nunca va a tener salida.

El día 25 de septiembre de 2009 09:07, Rolando Arteaga
<roly08042 en cha.jovenclub.cu> escribió:
>
> :)
>
> hola esto es lo que sale con los comandos que me diste....dime que puede
> estar mal pk yo ni idea..
>
>
> [root en localhost ~]# ping -c3 192.168.0.1
> PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
> 64 bytes from 192.168.0.1: icmp_seq=1 ttl=64 time=0.032 ms
> 64 bytes from 192.168.0.1: icmp_seq=2 ttl=64 time=0.026 ms
> 64 bytes from 192.168.0.1: icmp_seq=3 ttl=64 time=0.020 ms
>
> --- 192.168.0.1 ping statistics ---
> 3 packets transmitted, 3 received, 0% packet loss, time 1999ms
> rtt min/avg/max/mdev = 0.020/0.026/0.032/0.005 ms
> [root en localhost ~]# ping -c3 192.168.31.122
> PING 192.168.31.122 (192.168.31.122) 56(84) bytes of data.
> 64 bytes from 192.168.31.122: icmp_seq=1 ttl=64 time=0.033 ms
> 64 bytes from 192.168.31.122: icmp_seq=2 ttl=64 time=0.025 ms
> 64 bytes from 192.168.31.122: icmp_seq=3 ttl=64 time=0.026 ms
>
> --- 192.168.31.122 ping statistics ---
> 3 packets transmitted, 3 received, 0% packet loss, time 2000ms
> rtt min/avg/max/mdev = 0.025/0.028/0.033/0.003 ms
> [root en localhost ~]# ping -c3 192.168.54.4
> PING 192.168.54.4 (192.168.54.4) 56(84) bytes of data.
> 64 bytes from 192.168.54.4: icmp_seq=1 ttl=62 time=108 ms
> 64 bytes from 192.168.54.4: icmp_seq=2 ttl=62 time=115 ms
> 64 bytes from 192.168.54.4: icmp_seq=3 ttl=62 time=121 ms
>
> --- 192.168.54.4 ping statistics ---
> 3 packets transmitted, 3 received, 0% packet loss, time 1999ms
> rtt min/avg/max/mdev = 108.348/115.196/121.988/5.575 ms
> [root en localhost ~]# ifconfig eth0
> eth0      Link encap:Ethernet  HWaddr 00:12:3F:24:7D:64
>          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
>          inet6 addr: fe80::212:3fff:fe24:7d64/64 Scope:Link
>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>          RX packets:9481 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:9981 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:1000
>          RX bytes:6617909 (6.3 MiB)  TX bytes:5052089 (4.8 MiB)
>          Interrupt:66
>
> [root en localhost ~]# route -n
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> 192.168.31.120  0.0.0.0         255.255.255.252 U     0      0        0 eth0
> 192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
> 169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth0
> 0.0.0.0         192.168.31.121  0.0.0.0         UG    0      0        0 eth0
> [root en localhost ~]#
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Significa que no tienes salida a Internet. Verifica que tengas bien
> :) configurados los parámetros de red y que los DNS que definiste en
> :) /etc/resolv.conf funcionen.
> :)
> :) ping -c3 ip-que-tenga-tu-servidor
> :) ping -c3 ip-que-tenga-tu-ruteador
> :) ping -c3 ip-que-tenga-tu-dns
> :)
> :) Para diagnosticar, ejecuta:
> :)
> :) ifconfig eth0
> :) route -n
> :) host es.centos.org
> :)
> :) Si hay que corregir, editas /etc/resolv.conf y
> :) /etc/sysconfig/network-scripts/ifcfg-eth0
> :)
> :) Todo lo anterior suponiendo que tienes una IP pública asignada por tu
> :) proveedor de servicio, o bien una dirección IP específica para red
> :) local como lo establece el RFC1918.
> :)
> :) El día 24 de septiembre de 2009 17:00, Rolando Arteaga
> :) <roly08042 en cha.jovenclub.cu> escribió:
> :)>
> :)> :)
> :)>
> :)> hola me da este error elyum y no he podido solucionarlo..
> :)>
> :)>
> :)> yum install php-mysql
> :)> Could not retrieve mirrorlist
> :)> http://mirrorlist.centos.org/?release=5&arch=i386&repo=os error was
> :)> [Errno 4] IOError: <urlopen error (113, "No existe ninguna ruta hasta el
> :)> `host'")>
> :)> Error: Cannot retrieve repository metadata (repomd.xml) for repository:
> :)> base. Please verify its path and try again
> :)>
> :)> salu2s
> :)>
> :)>
> :)>
> :)>
> :)>
> :)>
> :)>
> :)>
> :)>
> :)>
> :)>
> :)>
> :)>
> :)> ya probaste con
> :)> :)
> :)> :) yum install php5 php5-mysql
> :)> :)
> :)> :)
> :)> :) ???'
> :)> :)
> :)> :)
> :)> :)
> :)> :) Rolando Arteaga escribió:
> :)> :)> :)
> :)> :)> :) :)
> :)> :)> :) :) Hola a todos, mi problemas es el siquiente instale en centos
> :)> 5.2,
> :)> :)> :) apache,
> :)> :)> :) :) php y mysql, tenia un archivo de .sql, con las bases de datos
> :)> de
> :)> :)> mi
> :)> :)> :) sitio
> :)> :)> :) :) web.
> :)> :)> :) :)
> :)> :)> :) :)
> :)> :)> :) :) cree una base de datos y descomprimi por desirlo de alguna
> :)> manera
> :)> :)> las
> :)> :)> :) :) tablas de .sql en la base de datos. todo perfecto.
> :)> :)> :) :)
> :)> :)> :) :)
> :)> :)> :) :) utilizo un CMS en ente caso el Fusion version 7.
> :)> :)> :) :)
> :)> :)> :) :) pase el sitio web a var/www/html/    todo perfecto
> :)> :)> :) :)
> :)> :)> :) :) pero cuando trato arrancar por el navegador el sitio web, me
> :)> carga
> :)> :)> en
> :)> :)> :) :) blanco el sitio....
> :)> :)> :) :)
> :)> :)> :) :)
> :)> :)> :) :) espero me puedan ayudar un salu2
> :)> :)> :) :)
> :)> :)> :) :) hola agrgando mas informacion, trate de instalar el joomla y
> :)> me da
> :)> :)> este
> :)> :)> :) error por favor help...
> :)> :)> :)
> :)> :)> :) Database Error: Unable to connect to the database:The MySQL
> :)> adapter
> :)> :)> :) "mysql" is not available.
> :)> :)> :)
> :)> :)>
> :)> :)> *********************************
> :)> :)>
> :)> :)>
> :)> :)>
> :)> :)> hola listeros trato de instalar php-mysql y me devuelve este error,
> :)> es
> :)> :)> desir el .rpm.....este es el error
> :)> :)>
> :)> :)>
> :)> :)> Cannot retrieve repository metadata (repomd.xml) for repository:
> :)> base.
> :)> :)> Please verify its path and try again
> :)> :)>
> :)> :)>
> :)> :)> gracias por la aydua si sabes de donde pueda descargar el rpm
> :)> php-mysql,
> :)> :)> o
> :)> :)> melo pueden enviara al correo se lo agradeceria....para poder
> :)> resolver
> :)> :)> mi
> :)> :)> problema..
> :)> :)>
> :)> :)> un salu2 y gracias
> :)> :)>
> :)> :)> _______________________________________________
> :)> :)> CentOS-es mailing list
> :)> :)> CentOS-es en centos.org
> :)> :)> http://lists.centos.org/mailman/listinfo/centos-es
> :)> :)>
> :)> :)>
> :)> :)
> :)> :)
> :)>
> :)>
> :)> --
> :)>
> :)>
> :)>
> :)> *********************************
> :)> ******* Rolando Arteaga *********
> :)> *********************************
> :)>
> :)> _______________________________________________
> :)> CentOS-es mailing list
> :)> CentOS-es en centos.org
> :)> http://lists.centos.org/mailman/listinfo/centos-es
> :)>
> :)
> :)
> :)
> :) --
> :) Joel Barrios Dueñas.
> :) Director General Alcance Libre.
> :) http://www.AlcanceLibre.org/
> :) La libertad del conocimiento al alcance de quien la busca.
> :)
>
>
> --
>
>
>
> *********************************
> ******* Rolando Arteaga *********
> *********************************
>
>



-- 
Joel Barrios Dueñas.
Director General Alcance Libre.
http://www.AlcanceLibre.org/
La libertad del conocimiento al alcance de quien la busca.


Más información sobre la lista de distribución CentOS-es