Archive for octubre 2012

h1

Error zip: start of central directory not found, zipfile corrupt.

25/10/2012

Si al descomprimir ficheros grandes, generalmente de más de 4 gigabytes, ocurre el siguiente error:

carlos@pc:~/downloads$ unzip Fichero.mayor.que.4.gigas.zip

Archive: Fichero.mayor.que.4.gigas.zip
warning [Fichero.mayor.que.4.gigas.zip ]: 4727417070 extra bytes at beginning or within zipfile
(attempting to process anyway)
error [Fichero.mayor.que.4.gigas.zip ]: start of central directory not found;
zipfile corrupt.
(please check that you have transferred or created the zipfile in the
appropriate BINARY mode and that you have compiled UnZip properly)

Se soluciona arreglándolo con las opciones «-FFv»:

carlos@pc:~/downloads$ zip -FFv Fichero.mayor.que.4.gigas.zip --out Fichero.mayor.que.4.gigas.FIXED.zip

h1

Subsonic HTTP ERROR 503, SERVICE_UNAVAILABLE

05/10/2012

Si al utilizar la aplicación web Subsonic ocurre el siguiente error en el navegador:

HTTP ERROR: 503

SERVICE_UNAVAILABLE
RequestURI=/

Powered by jetty://

se soluciona, aunque algo drasticamente, eliminando la base de datos antigua. Para ello, realizar los siguientes pasos:

$ /etc/init.d/subsonic stop
$ sudo mv /var/subsonic/db /var/subsonic/db_ANTIGUA
$ /etc/init.d/subsonic start

Recordar que esto borrará los usuarios creados, por lo que será necesario crearlos de nuevo.