[Wms2go-users] Antwort: Re: Antwort: Re: Antwort: Re: Antwort: Re: wms2go, problems with sending jo
Brought to you by:
terrestris
From: <Eri...@dl...> - 2012-03-28 13:15:58
|
One stepp ahead..... logfile is in var/log and folders in var/www applied (job1, job2 etc) in the new jobfolders are folders like wms2go_name, but without content. wms2go_pus.log file message for one job ( it's for all the same message) last line: isn't it one slash to much in the path? Found a job, details: Array ( [id] => 4 [jobinfo] => {"title":"teste","configuration":[{"layersWms":["Blattschnitte","Harbour","Kilometermarken","Gewaessernetz","Wasserstrassenklassen","Gewaessernamen"],"layersWfs":[],"urlWms":[" http://wsvmapserv.wsv.bund.de/ienc?","http://wsvmapserv.wsv.bund.de/ienc? ","http://wsvmapserv.wsv.bund.de/wms_bwastr?"," http://wsvmapserv.wsv.bund.de/wms_bwastr?"," http://wsvmapserv.wsv.bund.de/wms_bwastr?"," http://wsvmapserv.wsv.bund.de/wms_bwastr? "],"urlWfs":[],"bbox0":801898.7472689,"bbox1":"6485863.9820469","bbox2":"804344.73217366","bbox3":"6488615.7150648","currentZoom":10,"maxZoom":10,"email":"eri...@dl..."}]} [timestamp] => 16:19:09.382964 [status] => queued ) ************************************************************ ************************************************************ start processing of job 4 at Wed, 28 Mar 12 15:05:01 +0200 ************************************************************ ************************************************************ Getting first WMS Tile ... ************************************************************ ************************************************************ Getting first WMS Tile complete ************************************************************ ************************************************************ Filling Tiles Array ... ************************************************************ ************************************************************ Filling of Tiles Array complete ************************************************************ ************************************************************ Getting Tiles from Server ... ************************************************************ ************************************************************ Getting of Tiles from Server complete ************************************************************ ************************************************************ File /var/www/job4_teste/wms2go_teste//client/configs/application.conf.js is not writeable Aborting proces..... Mit freundlichen Grüßen im Auftrag - - Erik Heinen DIENSTLEISTUNGSZENTRUM LÄNDLICHER RAUM RHEINHESSEN - NAHE - HUNSRÜCK Rüdesheimer Str. 60 - 68 55545 Bad Kreuznach Telefon: 0671 / 820 - 431 Telefax: 0671 / 820 - 400 e-mail: Eri...@dl... Internet: www.dlr-rnh.rlp.de Von: Daniel Koch <ko...@te...> An: wms...@li... Datum: 28.03.2012 11:22 Betreff: Re: [Wms2go-users] Antwort: Re: Antwort: Re: Antwort: Re: wms2go, problems with sending jobs Is there an entry in your database (browse table tbl_jobs) after sending a job? What is the response in firebug (should be: {"response": "INSERT OK"} )? Case 1: no entry present: - check your db connection string in pgsql.conf.php Case 2: entry present, but no files on filesystem: - setting up a cronjob using this way: In terminal: crontab -e paste the following line: */1 * * * * php /var/www/wms2go-pus-light-1.0/jobhandler.php >> /var/log/wms2go_pus.log (remember to match the paths to your environment!) - after this you should be able to find the log-file Daniel Am 28.03.2012 09:45, schrieb Eri...@dl...: Changed the variable wms2goInterfaces, seems better.... Mh, there's no logfile in var/log I've got this in the wms2go-cronjob.sh */5 * * * * /var/www/data/wms2go-pus-light-1.0/wms2go-cronjob.sh #!/bin/bash cd /var/www/data/wms2go-pus-light-1.0/ date >> /var/log/wms2go_pickup.log php /var/www/data/wms2go-pus-light-1.0/jobhandler.php >> /var/log/wms2go_pickup.log Don't know where I'm wrong..... :-( Mit freundlichen Grüßen im Auftrag - - Erik Heinen DIENSTLEISTUNGSZENTRUM LÄNDLICHER RAUM RHEINHESSEN - NAHE - HUNSRÜCK Rüdesheimer Str. 60 - 68 55545 Bad Kreuznach Telefon: 0671 / 820 - 431 Telefax: 0671 / 820 - 400 e-mail: Eri...@dl... Internet: www.dlr-rnh.rlp.de Von: Daniel Koch <ko...@te...> An: wms...@li... Datum: 27.03.2012 16:40 Betreff: Re: [Wms2go-users] Antwort: Re: Antwort: Re: wms2go, problems with sending jobs Am 27.03.2012 14:27, schrieb Eri...@dl...: Thx, after installing php5-gd captcha problem is fixed. After that I had to rename my wms2go-pus-light-1.0 fiolder to PickUpScript, to start jobhandler.php. You can do it this way or change the interface path (variable wms2goInterfaces) in wms2go-ol-puc-1.0/configs/application.conf.js to if1 : '../wms2go-pus-light-1.0/jobhandler.php' Now I get sucess-message after sending the fprm. "Der Job wurde erfolgreich angelegt und wird bearbeitet. Sie erhalten eine Email, sobald die Bearbeitung abgeschlossen ist" But nothing happens, neither on filesystem nor in database. Please have a look at the wms2go logfile wms2go_pus.log in /var/log (you can use this in terminal to open the last 50 lines only: tail -50 wms2go_pus.log ). Is this file available? In case: What's the last entry? Is the cronjob running? You can either using the cronjob.sh or create it manual: In terminal: crontab -e paste the following line: */1 * * * * php /var/www/wms2go-pus-light-sourceforge/jobhandler.php >> /var/log/wms2go_pus.log Daniel Mit freundlichen Grüßen im Auftrag - - Erik Heinen DIENSTLEISTUNGSZENTRUM LÄNDLICHER RAUM RHEINHESSEN - NAHE - HUNSRÜCK Rüdesheimer Str. 60 - 68 55545 Bad Kreuznach Telefon: 0671 / 820 - 431 Telefax: 0671 / 820 - 400 e-mail: Eri...@dl... Internet: www.dlr-rnh.rlp.de Von: Daniel Koch <ko...@te...> An: wms...@li... Datum: 27.03.2012 13:46 Betreff: Re: [Wms2go-users] Antwort: Re: wms2go, problems with sending jobs The function imagecreate() needs GD-support. Please check if the package php5-gd is installed, otherwise install it by using: apt-get install php5-gd (and restart apache: /etc/init.d/apache2 restart) Am 27.03.2012 13:17, schrieb Eri...@dl...: Hey Daniel, thx for reply. I followed all the steps in "Projekthandbuch". apache2, the php staff and postgres is installed and seems to work. Maybe I've done something wrong within konfiguration. My apacher error log says: [Tue Mar 27 12:59:23 2012] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function imagecreate() in /var/www/data/wms2go-ol-puc-1.0/php/captcha/securimage/securimage.php on line 675, referer: http://localhost/data/wms2go-ol-puc-1.0/index_dev.html Firebug after trying to send the form: Ext.getCmp("regcaptchatext") is undefined [Bei diesem Fehler anhalten] captch...t.getCmp('regcaptchatext').getValue() Terres...ndow.js (Zeile 376) So it seems to me something wrong with the captcha. Mit freundlichen Grüßen im Auftrag - - Erik Heinen DIENSTLEISTUNGSZENTRUM LÄNDLICHER RAUM RHEINHESSEN - NAHE - HUNSRÜCK Rüdesheimer Str. 60 - 68 55545 Bad Kreuznach Telefon: 0671 / 820 - 431 Telefax: 0671 / 820 - 400 e-mail: Eri...@dl... Internet: www.dlr-rnh.rlp.de Von: Daniel Koch <ko...@te...> An: wms...@li... Datum: 27.03.2012 10:54 Betreff: Re: [Wms2go-users] wms2go, problems with sending jobs Hello Erik, thank you for your interest in wms2go! The captcha formular (and also the sending option) is using php to be generated. Please check, if php is installed on your machine. Assuming you are running on linux, type this in terminal: dpkg -l | grep php The following packages are necessary: php5, php5-cli, php5-psql Futhermore you've to install apache and postgresql. See the help files for more details ( http://wms2go.svn.sourceforge.net/viewvc/wms2go/wms2go-help-1.0/). Daniel -- B.Sc. Geograph Daniel Koch - Studentischer Mitarbeiter - terrestris GmbH & Co. KG Pützchens Chaussee 56 53227 Bonn Tel: +49 (0)228 / 96 28 99 -53 Fax: +49 (0)228 / 96 28 99 -57 Email: ko...@te... Web: http://www.terrestris.de Amtsgericht Bonn, HRA 6835 Komplementärin: terrestris Verwaltungsgesellschaft mbH vertreten durch: Hinrich Paulsen, Till Adams ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Wms2go-users mailing list Wms...@li... https://lists.sourceforge.net/lists/listinfo/wms2go-users ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Wms2go-users mailing list Wms...@li... https://lists.sourceforge.net/lists/listinfo/wms2go-users -- B.Sc. Geograph Daniel Koch - Studentischer Mitarbeiter - terrestris GmbH & Co. KG Pützchens Chaussee 56 53227 Bonn Tel: +49 (0)228 / 96 28 99 -53 Fax: +49 (0)228 / 96 28 99 -57 Email: ko...@te... Web: http://www.terrestris.de Amtsgericht Bonn, HRA 6835 Komplementärin: terrestris Verwaltungsgesellschaft mbH vertreten durch: Hinrich Paulsen, Till Adams ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Wms2go-users mailing list Wms...@li... https://lists.sourceforge.net/lists/listinfo/wms2go-users ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Wms2go-users mailing list Wms...@li... https://lists.sourceforge.net/lists/listinfo/wms2go-users -- B.Sc. Geograph Daniel Koch - Studentischer Mitarbeiter - terrestris GmbH & Co. KG Pützchens Chaussee 56 53227 Bonn Tel: +49 (0)228 / 96 28 99 -53 Fax: +49 (0)228 / 96 28 99 -57 Email: ko...@te... Web: http://www.terrestris.de Amtsgericht Bonn, HRA 6835 Komplementärin: terrestris Verwaltungsgesellschaft mbH vertreten durch: Hinrich Paulsen, Till Adams ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Wms2go-users mailing list Wms...@li... https://lists.sourceforge.net/lists/listinfo/wms2go-users ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Wms2go-users mailing list Wms...@li... https://lists.sourceforge.net/lists/listinfo/wms2go-users -- B.Sc. Geograph Daniel Koch - Studentischer Mitarbeiter - terrestris GmbH & Co. KG Pützchens Chaussee 56 53227 Bonn Tel: +49 (0)228 / 96 28 99 -53 Fax: +49 (0)228 / 96 28 99 -57 Email: ko...@te... Web: http://www.terrestris.de Amtsgericht Bonn, HRA 6835 Komplementärin: terrestris Verwaltungsgesellschaft mbH vertreten durch: Hinrich Paulsen, Till Adams ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Wms2go-users mailing list Wms...@li... https://lists.sourceforge.net/lists/listinfo/wms2go-users |