如何监视服务器(地图服务器) [英] how to monitor a server (mapserver)

查看:107
本文介绍了如何监视服务器(地图服务器)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

¿我怎么知道事情发生在r子上或在我的服务器上??我在照顾服务器时遇到问题,并且不会导致这些错误,因为它们没有被替换为任何种类的档案并且申请任何建议都没有做错任何事情

¿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

这些是错误:

警告:[MapServer错误]:msLoadSymbolSet():第一个标记必须为SYMBOLSET,这看起来不像符号文件.在第25行的/var/www/obtra/vcauca.php中

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

警告:无法在第25行的/var/www/obtra/vcauca.php中打开地图文件obtra_1.map

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

致命错误:在第33行的/var/www/obtra/vcauca.php中的非对象上调用成员函数getLayerByName()

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

感谢您的答复

推荐答案

从MapServer版本5.4开始,符号集文件必须使用SYMBOLSET ... END标记括起来:

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

SYMBOLSET

 SYMBOL
 ...
 END

 SYMBOL
 ...
 END

END

检查您正在使用的符号集文件是否包含在此标签中.其他两个错误与第一个错误有关,因为Mapscript无法解析地图文件并无法获取地图对象.

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.

这篇关于如何监视服务器(地图服务器)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆