c:\> netsh interface ip set address name="lan" static 172.16.0.18 255.255.0.0 172.16.0.1 1
I think it's not necessary to explain the sintaxis, just dont forget the "1" at the end.
And check, that network connection is called "lan", if you have "Local area connection" you'll have to change it
;)
Tuesday, February 12, 2008
Cambiar una IP por comandos en Ms. Windows
c:\> netsh interface ip set address name="lan" static 172.16.0.18 255.255.0.0 172.16.0.1 1
Creo no es necesario explicar la sintaxis, sólo que no te olvides del "1" al final
Y ojo, esa conexión de red se llama "lan", si tienes "Conexión de área local" tendrás que cambiarla.
;)
Creo no es necesario explicar la sintaxis, sólo que no te olvides del "1" al final
Y ojo, esa conexión de red se llama "lan", si tienes "Conexión de área local" tendrás que cambiarla.
;)
OracleCSService no puede inicializar al instalar Oracle10g al instalarlo sobre Win2k3 en español
Si estás instalando Oracle 10g sobre Ms. Windows 2003 Server en español (o Win2k, etc.) y la instalación falla justo cuando la barrita azul llega al 63% al intentar iniciar el servicio OracleCSService, esto te puede ayudar.
Contenido
[1] Si aún no instalas Oracle 10g
[2] Si lo instalaste ignorando el error de que OracleCSService no inicializa.
[1] El servicio OracleCSService busca el administrador en el grupo "Administrators" (en inglés), y también busca el usuario AUTHORITY. Para solucionar eso, sólo debes renombrar el grupo Administradores por "Administrators", no hay problema porque Administrador seguirá dentro de ese grupo. Luego agrega el usuario AUTHORITY y ponle de contraseña SYSTEM, y agrégalo al grupo "Administrators".
Luego de eso, instala Oracle 10g y todo saldrá bien.
[2] Si ya lo instalaste pasando ese error
Si ya lo instalaste pasando ese error, debes reconstruir local.ocr luego de agregar los usuarios que menciono en el punto [1]. Pare esto verifica que local.ocr existe en
"<$ORACLE_HOME>\cdata\localhost". Ten en cuenta que ORACLE_HOME en Oracle10g se encuentra en el registro, y no como variable del sistema como en versiones anteriores.
Luego ejecuta esto:
c:\> clscfg -local -o <$ORACLE_HOME> -l SPANISH_SPAIN.WE8MSWIN1252
Ahora el fichero local.ocr debería estar bien (en binario)
Inicia el servicio con:
c:\> net start oraclecsservice
Y Listo.
;)
Contenido
[1] Si aún no instalas Oracle 10g
[2] Si lo instalaste ignorando el error de que OracleCSService no inicializa.
[1] El servicio OracleCSService busca el administrador en el grupo "Administrators" (en inglés), y también busca el usuario AUTHORITY. Para solucionar eso, sólo debes renombrar el grupo Administradores por "Administrators", no hay problema porque Administrador seguirá dentro de ese grupo. Luego agrega el usuario AUTHORITY y ponle de contraseña SYSTEM, y agrégalo al grupo "Administrators".
Luego de eso, instala Oracle 10g y todo saldrá bien.
[2] Si ya lo instalaste pasando ese error
Si ya lo instalaste pasando ese error, debes reconstruir local.ocr luego de agregar los usuarios que menciono en el punto [1]. Pare esto verifica que local.ocr existe en
"<$ORACLE_HOME>\cdata\localhost". Ten en cuenta que ORACLE_HOME en Oracle10g se encuentra en el registro, y no como variable del sistema como en versiones anteriores.
Luego ejecuta esto:
c:\> clscfg -local -o <$ORACLE_HOME> -l SPANISH_SPAIN.WE8MSWIN1252
Ahora el fichero local.ocr debería estar bien (en binario)
Inicia el servicio con:
c:\> net start oraclecsservice
Y Listo.
;)
Problem with SQUID blocking web access to high ports
If you have squid 2.6 under Linux (probably RHEL/CentOS) and everything works perfectly but it's not possible to load
http://www.site.com:7779 <-- yeah that's Oracle ;)
and you see this error:
ERROR
The requested URL could not be retrieved
--------------------------------------------------------------------------------
While trying to retrieve the URL: http://www.site.com:7779
The following error was encountered:
Connection to Failed
The system returned:
(13) Permission denied
The remote host or network may be down. Please try the request again.
Your cache administrator is admin@site.com
--------------------------------------------------------------------------------
Generated Tue, 12 Feb 2008 12:55:49 GMT by PROXY.site.com (squid/2.6.STABLE6)
then the problem is SELINUX. Check the logs and create new rules to allow that action. If you dont know how then you should disable SELINUX:
Edit /etc/selinux/config and change "enforce" for "disabled" (permissive will generate logs for everything it blocks without really blocking it)
So you dont need to restart just disable it with this command for now (after rebooting the config will take effect so no problem):
$ setenforce 0 <-- you disable it like this
Then you verify:
$ sestatus <-- It must show you "disabled"
Hope it helps ;)
Hugo Martin
http://www.site.com:7779 <-- yeah that's Oracle ;)
and you see this error:
ERROR
The requested URL could not be retrieved
--------------------------------------------------------------------------------
While trying to retrieve the URL: http://www.site.com:7779
The following error was encountered:
Connection to Failed
The system returned:
(13) Permission denied
The remote host or network may be down. Please try the request again.
Your cache administrator is admin@site.com
--------------------------------------------------------------------------------
Generated Tue, 12 Feb 2008 12:55:49 GMT by PROXY.site.com (squid/2.6.STABLE6)
then the problem is SELINUX. Check the logs and create new rules to allow that action. If you dont know how then you should disable SELINUX:
Edit /etc/selinux/config and change "enforce" for "disabled" (permissive will generate logs for everything it blocks without really blocking it)
So you dont need to restart just disable it with this command for now (after rebooting the config will take effect so no problem):
$ setenforce 0 <-- you disable it like this
Then you verify:
$ sestatus <-- It must show you "disabled"
Hope it helps ;)
Hugo Martin
Problema con SQUID, error al navegar hacia webs con puertos altos (Ej.7779)
Si tienes squid 2.6 bajo Linux (RHEL/CentOS probablemente) y todo funciona perfecto, pero alguien no puede navegar a
http://www.sitio.com:7779
y le aparece este error:
ERROR
The requested URL could not be retrieved
--------------------------------------------------------------------------------
While trying to retrieve the URL: http://www.sitio.com:7779
The following error was encountered:
Connection to Failed
The system returned:
(13) Permission denied
The remote host or network may be down. Please try the request again.
Your cache administrator is admin@sitio.com
--------------------------------------------------------------------------------
Generated Tue, 12 Feb 2008 12:55:49 GMT by PROXY.sitio.com (squid/2.6.STABLE6)
entonces el problema está en SELINUX, verifica los logs y crea nuevas reglas para permitir esa acción. Si no sabes cómo entonces te conviene deshabilitar SELINUX:
Edita /etc/selinux/config y cambia "enforce" por "disabled" (permissive te va a generar logs por todo lo que bloquee sin bloquearlo realmente)
Para que no reinicies, sólo cambialo con esto:
$ setenforce 0 <-- asñi lo deshabilitas
Luego verificas con:
$ sestatus <-- debería mostrarte "disabled"
Espero te sirva ;)
Hugo Martin
http://www.sitio.com:7779
y le aparece este error:
ERROR
The requested URL could not be retrieved
--------------------------------------------------------------------------------
While trying to retrieve the URL: http://www.sitio.com:7779
The following error was encountered:
Connection to Failed
The system returned:
(13) Permission denied
The remote host or network may be down. Please try the request again.
Your cache administrator is admin@sitio.com
--------------------------------------------------------------------------------
Generated Tue, 12 Feb 2008 12:55:49 GMT by PROXY.sitio.com (squid/2.6.STABLE6)
entonces el problema está en SELINUX, verifica los logs y crea nuevas reglas para permitir esa acción. Si no sabes cómo entonces te conviene deshabilitar SELINUX:
Edita /etc/selinux/config y cambia "enforce" por "disabled" (permissive te va a generar logs por todo lo que bloquee sin bloquearlo realmente)
Para que no reinicies, sólo cambialo con esto:
$ setenforce 0 <-- asñi lo deshabilitas
Luego verificas con:
$ sestatus <-- debería mostrarte "disabled"
Espero te sirva ;)
Hugo Martin
Hola :)
Estoy creando este blog para poner rapidamente las soluciones que encuentro a problemas con los que muchos se pueden topar.
Espero sea de ayuda ;)
Hugo Martin
Espero sea de ayuda ;)
Hugo Martin
HI
Hi there
I'm creating this to share the solutions I've found to problems that may happen to anyone.
Hope it helps you.
Hugo Martin
I'm creating this to share the solutions I've found to problems that may happen to anyone.
Hope it helps you.
Hugo Martin
Subscribe to:
Posts (Atom)