how to monitor a server (mapserver)

北城以北 提交于 2019-12-11 13:50:02

问题


¿how can I know that things have happened rafters or on my server?, I've had a problem with a server in my care and that can not be causing these errors because they are not replaced an archives of any kind and no has done nothing wrong in applying for any suggestions

http://obtra.univalle.edu.co/obtra/index.php?site=carto

these are the errors:

Warning: [MapServer Error]: msLoadSymbolSet(): First token must be SYMBOLSET, this doesn't look like a symbol file. in /var/www/obtra/vcauca.php on line 25

Warning: Failed to open map file obtra_1.map in /var/www/obtra/vcauca.php on line 25

Fatal error: Call to a member function getLayerByName() on a non-object in /var/www/obtra/vcauca.php on line 33

thanks for any response


回答1:


Starting from MapServer version 5.4, symbolset files must be enclosed with SYMBOLSET ... END tags:

SYMBOLSET

 SYMBOL
 ...
 END

 SYMBOL
 ...
 END

END

Check that the symbolset file you are using is enclosed with this tags. The other two errors are related to the first one, as Mapscript is unable to parse the map file and fetch the map object.



来源:https://stackoverflow.com/questions/2225843/how-to-monitor-a-server-mapserver

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!