Recent Posts by alberto

Subscribe to Recent Posts by alberto 9 post(s) found

Sep 5, 2008
Avatar alberto 9 post(s)

Topic: BitNami en español / Clon servidor Liferay

Este es el mysqld.log

080820 02:03:54 mysqld started
080820 2:03:55 InnoDB: Started; log sequence number 0 25886419
080820 2:03:55 [Note] /opt/liferay-5.0.1-0/mysql/bin/mysqld.bin: ready for connections.
Version: ‘5.0.45’ socket: ’/opt/liferay-5.0.1-0/mysql/tmp/mysql.sock’ port: 3306 MySQL Community Server (GPL)
080821 2:00:12 [Note] /opt/liferay-5.0.1-0/mysql/bin/mysqld.bin: Normal shutdown

080821 2:00:12 InnoDB: Starting shutdown…
080821 2:00:16 InnoDB: Shutdown completed; log sequence number 0 25887274
080821 2:00:16 [Note] /opt/liferay-5.0.1-0/mysql/bin/mysqld.bin: Shutdown complete

080821 02:00:16 mysqld ended

080821 02:03:46 mysqld started
080821 2:03:47 InnoDB: Started; log sequence number 0 25887274
080821 2:03:47 [Note] /opt/liferay-5.0.1-0/mysql/bin/mysqld.bin: ready for connections.
Version: ‘5.0.45’ socket: ’/opt/liferay-5.0.1-0/mysql/tmp/mysql.sock’ port: 3306 MySQL Community Server (GPL)
080822 2:00:10 [Note] /opt/liferay-5.0.1-0/mysql/bin/mysqld.bin: Normal shutdown

080822 2:00:10 InnoDB: Starting shutdown…
080822 2:00:13 InnoDB: Shutdown completed; log sequence number 0 25893472
080822 2:00:13 [Note] /opt/liferay-5.0.1-0/mysql/bin/mysqld.bin: Shutdown complete

080822 02:00:13 mysqld ended

080822 02:03:42 mysqld started
080822 2:03:42 InnoDB: Started; log sequence number 0 25893472
080822 2:03:42 [Note] /opt/liferay-5.0.1-0/mysql/bin/mysqld.bin: ready for connections.
Version: ‘5.0.45’ socket: ’/opt/liferay-5.0.1-0/mysql/tmp/mysql.sock’ port: 3306 MySQL Community Server (GPL)
080822 11:26:16 [Note] /opt/liferay-5.0.1-0/mysql/bin/mysqld.bin: Normal shutdown

080822 11:26:16 InnoDB: Starting shutdown…
080822 11:26:18 InnoDB: Shutdown completed; log sequence number 0 25901184
080822 11:26:18 [Note] /opt/liferay-5.0.1-0/mysql/bin/mysqld.bin: Shutdown complete

080822 11:26:18 mysqld ended

080822 11:35:36 mysqld started
080822 11:35:36 InnoDB: Started; log sequence number 0 25901184
080822 11:35:36 [Note] /opt/liferay-5.0.1-0/mysql/bin/mysqld.bin: ready for connections.
Version: ‘5.0.45’ socket: ’/opt/liferay-5.0.1-0/mysql/tmp/mysql.sock’ port: 3306 MySQL Community Server (GPL)
080822 12:25:56 [Note] /opt/liferay-5.0.1-0/mysql/bin/mysqld.bin: Normal shutdown

080822 12:25:58 InnoDB: Starting shutdown…
080822 12:44:07 mysqld started
080822 12:44:07 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files…
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer…
080822 12:44:07 InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 0 25902059.
InnoDB: Doing recovery: scanned up to log sequence number 0 25902059
080822 12:44:07 InnoDB: Started; log sequence number 0 25902059
080822 12:44:07 [Note] /opt/liferay-5.0.1-0/mysql/bin/mysqld.bin: ready for connections.
Version: ‘5.0.45’ socket: ’/opt/liferay-5.0.1-0/mysql/tmp/mysql.sock’ port: 3306 MySQL Community Server (GPL)
080823 2:00:10 [Note] /opt/liferay-5.0.1-0/mysql/bin/mysqld.bin: Normal shutdown

080823 2:00:10 InnoDB: Starting shutdown…
080823 2:00:13 InnoDB: Shutdown completed; log sequence number 0 25902924
080823 2:00:13 [Note] /opt/liferay-5.0.1-0/mysql/bin/mysqld.bin: Shutdown complete

080823 02:00:13 mysqld ended

080823 02:03:01 mysqld started
080823 2:03:01 InnoDB: Started; log sequence number 0 25902924
080823 2:03:02 [Note] /opt/liferay-5.0.1-0/mysql/bin/mysqld.bin: ready for connections.
Version: ‘5.0.45’ socket: ’/opt/liferay-5.0.1-0/mysql/tmp/mysql.sock’ port: 3306 MySQL Community Server (GPL)
080824 2:00:10 [Note] /opt/liferay-5.0.1-0/mysql/bin/mysqld.bin: Normal shutdown

080824 2:00:10 InnoDB: Starting shutdown…
080824 2:00:11 InnoDB: Shutdown completed; log sequence number 0 25903799
080824 2:00:11 [Note] /opt/liferay-5.0.1-0/mysql/bin/mysqld.bin: Shutdown complete

080824 02:00:11 mysqld ended

080824 02:03:06 mysqld started
080824 2:03:07 InnoDB: Started; log sequence number 0 25903799
080824 2:03:07 [Note] /opt/liferay-5.0.1-0/mysql/bin/mysqld.bin: ready for connections.
Version: ‘5.0.45’ socket: ’/opt/liferay-5.0.1-0/mysql/tmp/mysql.sock’ port: 3306 MySQL Community Server (GPL)
080825 2:00:10 [Note] /opt/liferay-5.0.1-0/mysql/bin/mysqld.bin: Normal shutdown

080825 2:00:10 InnoDB: Starting shutdown…
080825 2:00:13 InnoDB: Shutdown completed; log sequence number 0 25904654
080825 2:00:13 [Note] /opt/liferay-5.0.1-0/mysql/bin/mysqld.bin: Shutdown complete

080825 02:00:13 mysqld ended

080825 02:03:06 mysqld started
080825 2:03:07 InnoDB: Started; log sequence number 0 25904654
080825 2:03:07 [Note] /opt/liferay-5.0.1-0/mysql/bin/mysqld.bin: ready for connections.
Version: ‘5.0.45’ socket: ’/opt/liferay-5.0.1-0/mysql/tmp/mysql.sock’ port: 3306 MySQL Community Server (GPL)
080826 2:00:10 [Note] /opt/liferay-5.0.1-0/mysql/bin/mysqld.bin: Normal shutdown

080826 2:00:10 InnoDB: Starting shutdown…
080826 2:00:13 InnoDB: Shutdown completed; log sequence number 0 25912619
080826 2:00:13 [Note] /opt/liferay-5.0.1-0/mysql/bin/mysqld.bin: Shutdown complete

080826 02:00:13 mysqld ended

080826 02:03:14 mysqld started
080826 2:03:14 InnoDB: Started; log sequence number 0 25912619
080826 2:03:14 [Note] /opt/liferay-5.0.1-0/mysql/bin/mysqld.bin: ready for connections.
Version: ‘5.0.45’ socket: ’/opt/liferay-5.0.1-0/mysql/tmp/mysql.sock’ port: 3306 MySQL Community Server (GPL)
080827 2:00:10 [Note] /opt/liferay-5.0.1-0/mysql/bin/mysqld.bin: Normal shutdown

080827 2:00:10 InnoDB: Starting shutdown…
080827 2:00:12 InnoDB: Shutdown completed; log sequence number 0 26174785
080827 2:00:12 [Note] /opt/liferay-5.0.1-0/mysql/bin/mysqld.bin: Shutdown complete

080827 02:00:12 mysqld ended

080827 02:03:18 mysqld started
080827 2:03:19 InnoDB: Started; log sequence number 0 26174785
080827 2:03:19 [Note] /opt/liferay-5.0.1-0/mysql/bin/mysqld.bin: ready for connections.
Version: ‘5.0.45’ socket: ’/opt/liferay-5.0.1-0/mysql/tmp/mysql.sock’ port: 3306 MySQL Community Server (GPL)
080828 2:00:10 [Note] /opt/liferay-5.0.1-0/mysql/bin/mysqld.bin: Normal shutdown

080828 2:00:10 InnoDB: Starting shutdown…
080828 2:00:13 InnoDB: Shutdown completed; log sequence number 0 26309171
080828 2:00:13 [Note] /opt/liferay-5.0.1-0/mysql/bin/mysqld.bin: Shutdown complete

080828 02:00:13 mysqld ended

080828 02:03:10 mysqld started
080828 2:03:10 InnoDB: Started; log sequence number 0 26309171
080828 2:03:10 [Note] /opt/liferay-5.0.1-0/mysql/bin/mysqld.bin: ready for connections.
Version: ‘5.0.45’ socket: ’/opt/liferay-5.0.1-0/mysql/tmp/mysql.sock’ port: 3306 MySQL Community Server (GPL)
080829 2:00:10 [Note] /opt/liferay-5.0.1-0/mysql/bin/mysqld.bin: Normal shutdown

080829 2:00:12 InnoDB: Starting shutdown…
080829 2:00:16 InnoDB: Shutdown completed; log sequence number 0 26325941
080829 2:00:16 [Note] /opt/liferay-5.0.1-0/mysql/bin/mysqld.bin: Shutdown complete

080829 02:00:16 mysqld ended

080903 13:30:05 mysqld started
080903 13:30:06 InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: ‘create’.
InnoDB: Cannot continue operation.
080903 13:30:06 mysqld ended

080903 13:32:59 mysqld started
080903 13:33:00 InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: ‘create’.
InnoDB: Cannot continue operation.
080903 13:33:00 mysqld ended

080903 13:41:16 mysqld started
080903 13:41:17 InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: ‘create’.
InnoDB: Cannot continue operation.
080903 13:41:17 mysqld ended

080903 15:34:13 mysqld started
080903 15:34:16 InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: ‘create’.
InnoDB: Cannot continue operation.
080903 15:34:16 mysqld ended

080903 15:34:37 mysqld started
080903 15:34:40 InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: ‘create’.
InnoDB: Cannot continue operation.
080903 15:34:40 mysqld ended

080904 14:37:13 mysqld started
080904 14:37:15 InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: ‘create’.
InnoDB: Cannot continue operation.
080904 14:37:15 mysqld ended

080904 23:22:37 mysqld started
080904 23:22:41 InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: ‘create’.
InnoDB: Cannot continue operation.
080904 23:22:41 mysqld ended

080904 23:31:04 mysqld started
080904 23:31:04 InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: ‘create’.
InnoDB: Cannot continue operation.
080904 23:31:04 mysqld ended

tiene pinta de permisos, no?? Puede ser que al copiar el directorio como root cambien los permisos de la carpetas en MySQL? en ese caso , en los permisos debería aparecer el user mysql con permisos. no?

 
Sep 5, 2008
Avatar alberto 9 post(s)

Topic: BitNami en español / Clon servidor Liferay

Buenos dias!

Este es el resultado que he obtenido despues de copiar de mi backup, del server original, el directorio en la máquina virtual. Los directorio de origen y destino son los mismos:

El problema es que Mysql no arranca, he comprobado los procesos y MySQL no esta arrancado…

Al ejecutar el servicio de MySQL unicamente

./ctlscript.sh start
mysql
Starting mysqld.bin daemon with databases from /opt/liferay-5.0.1-0/mysql/data

/opt/liferay-5.0.1-0/mysql/scripts/ctl.sh : mysql could not be started

STOPPING server from pid file /opt/liferay-5.0.1-0/mysql/data/pwdoc2.powerdataib.com.pid
080904 23:22:41 mysqld ended

Al ejecutar todos servicios: (Mysql y tomcat)

./ctlscript.sh start

Starting mysqld.bin daemon with databases from /opt/liferay-5.0.1-0/mysql/data

STOPPING server from pid file /opt/liferay-5.0.1-0/mysql/data/pwdoc2.powerdataib.com.pid

080904 23:31:04 mysqld ended

/opt/liferay-5.0.1-0/mysql/scripts/ctl.sh : mysql could not be started

Using CATALINA_BASE: /opt/liferay-5.0.1-0/apache-tomcat
Using CATALINA_HOME: /opt/liferay-5.0.1-0/apache-tomcat

Using CATALINA_TMPDIR: /opt/liferay-5.0.1-0/apache-tomcat/temp
Using JRE_HOME: /opt/liferay-5.0.1-0/java

/opt/liferay-5.0.1-0/apache-tomcat/scripts/ctl.sh : tomcat started

Alguna idea??

Gracias

 
Sep 3, 2008
Avatar alberto 9 post(s)

Topic: BitNami en español / Clon servidor Liferay

Muchas gracias chicos!!

Que velocidad!!

Pues la cuestión es que cuando intenté ejectuar el script ctlhscript que arranca los servicios, simplemente no hacía nada! yo lo asocié al hecho de que la máquina virtual no tenia instalado el paquete de bitnami y posiblemente Mysql no se estaba ejectuando por no estar instalado…

Bueno, voy a probarlo de nuevo como me decis y os cuento!

GRacias!!!!

 
Sep 3, 2008
Avatar alberto 9 post(s)

Topic: BitNami en español / Clon servidor Liferay

Buenos dias!

Estoy intentando hacer un clon del servidor que contiene el entorno Liferay.

Actualmente tengo un back-up del servidor en el que copio todo el directorio de la instalación (/opt/liferay-5.0.1), tambien he creado una máquina virtual con el mismo SO que el servidor (Red Hat).

La cuestión es:

¿He intentado copiar el directorio de instalación directamente en la máquina virtual, supongo que esto no ha funcionado porqué no tiene instalado el MySQL, ejecuto el script de arranque de servicios pero no hace nada?

¿Otra opción podría ser , realizar una nueva instalacion del paquete bitnami-liferay en la máquina virtual y substituir las carpetas “clave” que contienen los datos, como por ejemplo la carpeta “data”(/opt/liferay/mysql/data) ?

Gracias de antemano

 
Aug 26, 2008
Avatar alberto 9 post(s)

Topic: BitNami en español / Error 2002 Mysql Bitnami-Liferay

Beltran! Mil gracias!

Esto de irse de vacaciones no es bueno, uno se queda en “la parra”

Han funcionado los dos comandos perfectamente! Lo curioso es que yo siempre he usado el segundo…pero algo debería de estar escribiendo mal…

Thanks!

 
Aug 25, 2008
Avatar alberto 9 post(s)

Topic: BitNami en español / Error 2002 Mysql Bitnami-Liferay

Hola!

Tengo instalado el paquete bitnami-liferay-5.0.1-0-linux-installer.bin en una máquina con RedHat 4. Llevo meses funcionando perfectamente con el programa y todos sus servicios , pero hoy la volver de vacaciones , despues de 1 mes de inactividad no me deja conectarme a Mysql (mysql -u root -p) para establecer nuevos permisos de acceso a las BBDD, el error obtenido es: ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘mysql.sock’ (2)
Lo curioso del caso es que los servcios están arrancados y el Portal Liferay funciona correctamente (entorno web) pero al intentar acceder a la administración de MySQL obtengo el error.

Esta es la salida de mysqld.log :

080824 02:03:06 mysqld started
080824 2:03:07 InnoDB: Started; log sequence number 0 25903799
080824 2:03:07 [Note] /opt/liferay-5.0.1-0/mysql/bin/mysqld.bin: ready for connections.
Version: ‘5.0.45’ socket: ’/opt/liferay-5.0.1-0/mysql/tmp/mysql.sock’ port: 3306 MySQL Community Server (GPL)
080825 2:00:10 [Note] /opt/liferay-5.0.1-0/mysql/bin/mysqld.bin: Normal shutdown

080825 2:00:10 InnoDB: Starting shutdown…
080825 2:00:13 InnoDB: Shutdown completed; log sequence number 0 25904654
080825 2:00:13 [Note] /opt/liferay-5.0.1-0/mysql/bin/mysqld.bin: Shutdown complete

080825 02:00:13 mysqld ended

080825 02:03:06 mysqld started
080825 2:03:07 InnoDB: Started; log sequence number 0 25904654
080825 2:03:07 [Note] /opt/liferay-5.0.1-0/mysql/bin/mysqld.bin: ready for connections.
Version: ‘5.0.45’ socket: ’/opt/liferay-5.0.1-0/mysql/tmp/mysql.sock’ port: 3306 MySQL Community Server (GPL)

Gracias de antemano

 
May 16, 2008
Avatar alberto 9 post(s)

Topic: BitNami en español / LifeRay en Red Hat 4

Beltran! Genial!!! Ha funcionado perfectamente!

una cuestión! y espero no molestarte más…

En el archivo README.txt se especifica:

  1. Customize application on Linux or OS X

If you have enough RAM available and want to reduce delays, you can change
ctlscript.sh by replacing this line:

export JAVA_OPTS=”-XX:MaxPermSize=512m -Xms256m -Xmx512m”

with

export JAVA_OPTS=”-XX:MaxPermSize=512m -Xms512m -Xmx1024m”

Pretendia modificar el ctlscript.sh para realizar dicha modificación pero no encuentro esa linea! no existe! Es possible? si es así. la añado? donde? en que zona del ctlscript.sh?

Gracias

 
May 16, 2008
Avatar alberto 9 post(s)

Topic: BitNami en español / LifeRay en Red Hat 4

Hola Beltran

Lo tengo instalado en una Red Hat 4, como Juan!

El caso es que la instalación y parada/arranque de los servicios siempre lo hago como root ( por si las moscas)

No tengo mucha idea de linux… ya te advierto! jeje.

Mi problema principalmente es que una vez instalado el Stack, liferay funciona correctamente, y puedo reiniciar el servidor, arrancar ctlscript.sh y todo funciona a la perfección pero por alguna razon…depues de usar unas semanas Liferay y configurarlo, un dia me muestra el error :

java.lang.ArrayIndexOutOfBoundsException: 0 com.liferay.portal.util.PortalInstances._getDefaultCompanyId(PortalInstances.java:217)

com.liferay.portal.util.PortalInstances._getCompanyId(PortalInstances.java:171) .......
....... etc…..

Esto a que puede ser debido?

Ahora mismo he reinstalado el stack y funciona bien, asi que no puedo darte el estado del ctlscript.sh. Solo quier saber que hacer en caso de que me vuelva a salir el error!

Otra duda de novatillo, para que al arrancar http://127.0.0.1:8080/ aparezca directamente la pagina con el login de Liferay? como lo puedo hacer? Debe ser creando una nueva instancia/organización?

Gracias !

 
May 15, 2008
Avatar alberto 9 post(s)

Topic: BitNami en español / LifeRay en Red Hat 4

Buenas noches!

Tengo el mismo problema que Juan!

No consigo que liferay funcione una vez paro los servicios y los vuelvo a levantar! Siempre obtengo el mismo error:

java.lang.ArrayIndexOutOfBoundsException: 0 com.liferay.portal.util.PortalInstances._getDefaultCompanyId(PortalInstances.java:217)

com.liferay.portal.util.PortalInstances._getCompanyId(PortalInstances.java:171) com.liferay.portal.util.PortalInstances.getCompanyId(PortalInstances.java:72) com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.doFilter(VirtualHostFilter.java:114) com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:98) com.liferay.portal.servlet.filters.sessionid.SessionIdFilter.doFilter(SessionIdFilter.java:81)

Podrias indecarme que pasos debo seguir para solucionarlo? Comentas que la base de datos no esta arrancada pero he verificado que Mysql está running!