[Gfoss] errore mapserver

Salve a tutti,
ho un webgis in locale fatto con mapserver/pmapper. Da un giorno all’altro il webgis non parte più e mapserver mi da una serie di errori:

Warning: ms_newMapObj(): [MapServer Error]: loadOutputFormat(): OUTPUTFORMAT clause references driver GD/JPEG, but this driver isn’t configured. in /var/www/pmapper-4.0/incphp/globals.php on line 60 Warning: ms_newMapObj(): [MapServer Error]: msOutputFormatValidate(): OUTPUTFORMAT png has IMAGEMODE RGB/RGBA, which is not supported for GD drivers. in /var/www/pmapper-4.0/incphp/globals.php on line 60 Fatal error: Uncaught exception ‘MapScriptException’ with message ‘Failed to open map file “/var/www/pmapper-4.0/config/fra/pmapper_fra.map”’ in /var/www/pmapper-4.0/incphp/globals.php:60 Stack trace: #0 /var/www/pmapper-4.0/incphp/globals.php(60): ms_newMapObj(‘/var/www/pmappe…’) #1 /var/www/pmapper-4.0/map.phtml(37): require_once(‘/var/www/pmappe…’) #2 {main} thrown in /var/www/pmapper-4.0/incphp/globals.php on line 60

Prima tutto funzionava perfettamente. Credo che l’origine del problema sia da ricercare in qualche aggiornamento che ha incasinato tutto. Ovviamente ho provato a reinstallare da repo sia il webserver (apache) che mapserver, pmapper e mapscript, senza alcun risultato. Qualcuno sa cosa potrebbe essere successo?

Grazie e saluti a tutti!

Piccola aggiunta: non mi funziona più neanche il server wms che avevo costruito con mapserver sempre in locale. Se faccio partire l’applicazione basata su openlayer il layer wms non viene più visualizzato mentre quando provo a puntare il browser sull’indirizzo del servizio wms (http://localhost/cgi-bin/mapserv?map=/var/www/pmapper/config/florawms/florawms.map) questo è quello che esce:

msProcessProjection(): Projection library error. no options found in ‘init’ file

Come si incasinasse con le proiezioni. Possibile?


Da: Francesco Geri francescogeri@yahoo.it
A: GFOSS.it gfoss@lists.gfoss.it
Inviato: Martedì 5 Luglio 2011 17:19
Oggetto: [Gfoss] errore mapserver

Salve a tutti,
ho un webgis in locale fatto con mapserver/pmapper. Da un giorno all’altro il webgis non parte più e mapserver mi da una serie di errori:

Warning: ms_newMapObj(): [MapServer Error]: loadOutputFormat(): OUTPUTFORMAT clause references driver GD/JPEG, but this driver isn’t configured. in /var/www/pmapper-4.0/incphp/globals.php on line 60 Warning: ms_newMapObj(): [MapServer Error]: msOutputFormatValidate(): OUTPUTFORMAT png has IMAGEMODE RGB/RGBA, which is not supported for GD drivers. in /var/www/pmapper-4.0/incphp/globals.php on line 60 Fatal error: Uncaught exception ‘MapScriptException’ with message ‘Failed to open map file “/var/www/pmapper-4.0/config/fra/pmapper_fra.map”’ in /var/www/pmapper-4.0/incphp/globals.php:60 Stack trace: #0 /var/www/pmapper-4.0/incphp/globals.php(60): ms_newMapObj(‘/var/www/pmappe…’) #1 /var/www/pmapper-4.0/map.phtml(37): require_once(‘/var/www/pmappe…’) #2 {main} thrown in /var/www/pmapper-4.0/incphp/globals.php on line 60

Prima tutto funzionava perfettamente. Credo che l’origine del problema sia da ricercare in qualche aggiornamento che ha incasinato tutto. Ovviamente ho provato a reinstallare da repo sia il webserver (apache) che mapserver, pmapper e mapscript, senza alcun risultato. Qualcuno sa cosa potrebbe essere successo?

Grazie e saluti a tutti!


Iscriviti all’associazione GFOSS.it: http://www.gfoss.it/drupal/iscrizione
Gfoss@lists.gfoss.it
http://lists.gfoss.it/cgi-bin/mailman/listinfo/gfoss
Questa e’ una lista di discussione pubblica aperta a tutti.
Non inviate messaggi commerciali.
I messaggi di questa lista non rispecchiano necessariamente
le posizioni dell’Associazione GFOSS.it.
518 iscritti al 3.6.2011

Il 05 luglio 2011 17:19, Francesco Geri <francescogeri@yahoo.it> ha scritto:

Prima tutto funzionava perfettamente. Credo che l'origine del problema sia
da ricercare in qualche aggiornamento che ha incasinato tutto. Ovviamente ho
provato a reinstallare da repo sia il webserver (apache) che mapserver,
pmapper e mapscript, senza alcun risultato. Qualcuno sa cosa potrebbe essere
successo?

Per caso hai aggiornato anche MapServer alla versione 6 ?
In questo caso credo che serva pmapper da svn.

Ciao
Luca

--
Luca Casagrande
twitter: lucacasagrande

Esatto. Aggiornato alla 6. Allora il problema è quello. Grazie mille!


Da:luca.casagrande@gmail.comluca.casagrande@gmail.com
A: Francesco Geri francescogeri@yahoo.it
Cc: GFOSS.it gfoss@lists.gfoss.it
Inviato: Martedì 5 Luglio 2011 19:32
Oggetto: Re: [Gfoss] errore mapserver

Il 05 luglio 2011 17:19, Francesco Geri <francescogeri@yahoo.it> ha scritto:

Prima tutto funzionava perfettamente. Credo che l’origine del problema sia
da ricercare in qualche aggiornamento che ha incasinato tutto. Ovviamente ho
provato a reinstallare da repo sia il webserver (apache) che mapserver,
pmapper e mapscript, senza alcun risultato. Qualcuno sa cosa potrebbe essere
successo?

Per caso hai aggiornato anche MapServer alla versione 6 ?
In questo caso credo che serva pmapper da svn.

Ciao
Luca


Luca Casagrande
twitter: lucacasagrande