Zend Server CE su OSX: lighttpd is not running

Dopo l’ultimo aggiornamento di Zend Server CE sull’iMac con Snow Leopard l’interfaccia web utente ha smesso di funzionare e l’indirizzo http://localhost:10081 risultava irragiungibile, così come il phpMyAdmin presente sullo stesso url.

Subito ho provato con il tentativo di riavvio di Zend Server da riga di comando:

iMacJazzo:log root# /usr/local/zend/bin/zendctl.sh start
Starting Zend Server 5.6.0 ..
Starting Deployment [OK]
[17.02.2012 13:13:18 SYSTEM] watchdog for zdd is running.
[17.02.2012 13:13:18 SYSTEM] zdd is running.
Starting Zend Server Monitor node [OK]
[17.02.2012 13:13:19 SYSTEM] watchdog for monitor is running.
[17.02.2012 13:13:19 SYSTEM] monitor is running.
/usr/local/zend/bin/apachectl start [OK]
spawn-fcgi: child spawned successfully: PID: 1367
Starting Zend Server GUI [Lighttpd] [OK]
[17.02.2012 13:13:21 SYSTEM] watchdog for lighttpd is not running.
[17.02.2012 13:13:21 SYSTEM] lighttpd is not running.
Starting Java bridge [OK]
[17.02.2012 13:13:21 SYSTEM] watchdog for java_daemon is running.
[17.02.2012 13:13:21 SYSTEM] java_daemon is running.
Starting JobQueue [OK]
[17.02.2012 13:13:22 SYSTEM] watchdog for jqd is running.
[17.02.2012 13:13:22 SYSTEM] jqd is running.
Zend Server started...

Da qui mi sono reso conto che c’era un problema su lighttpd. Con qualche ricerca ho trovato questo ottimo post sull’avvio di lighttpd in modalità debug:

# sudo /usr/local/zend/bin/lighttpdctl.sh --debug start

L’errore, come descritto anche nel post qui sopra, sta nei permessi della directoy: /usr/local/zend/etc/tls/
Per correggere l’errore basta inviare il comando:

# sudo chmod -R 775 /usr/local/zend/etc/tls/

Rilanciando lighttpd tutto fila liscio:

iMacJazzo:conf root# /usr/local/zend/bin/lighttpdctl.sh --debug start
spawn-fcgi: socket is already in use, can't spawn
[17.02.2012 13:24:02 SYSTEM] watchdog for lighttpd is not running.
[17.02.2012 13:24:02 SYSTEM] lighttpd is not running.
Starting Zend Server GUI [Lighttpd] [OK]
[17.02.2012 13:24:03 SYSTEM] waiting for process 1748
[17.02.2012 13:24:03 SYSTEM] Executing: /usr/local/zend/gui/lighttpd/sbin/lighttpd -m /usr/local/zend/gui/lighttpd/lib -f /usr/local/zend/gui/lighttpd/etc/lighttpd.conf -D
[17.02.2012 13:24:03 SYSTEM] watchdog for lighttpd is running.
[17.02.2012 13:24:03 SYSTEM] lighttpd is running.

Lascia un commento

Il tuo indirizzo email non sarà pubblicato. I campi obbligatori sono contrassegnati *