|
|
发表于 2007-10-17 17:15:34
|
显示全部楼层
找到了个更好的解决办法
(原来的很容易把setroubleshoot搞崩溃)
把Zend相应的文件(*.so)和目录
拷贝到/usr/lib/php/modules/目录下
再一更改一下php.ini文件的相关内容
最后设置一下上下文关联就可以了
setroubleshoot也不会崩溃了
========
setroubleshoot怎么这么的身娇肉贵的?
还是会崩溃- Oct 18 10:42:09 www setroubleshoot: 2007-10-18 10:42:09,212 [rpc.ERROR] exception UnicodeEncodeError: 'ascii' codec can't encode characters in position 127-128: ordinal not in range(128) Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/setroubleshoot/rpc.py", line 697, in handle_client_io self.receiver.feed(data) File "/usr/lib/python2.4/site-packages/setroubleshoot/rpc.py", line 536, in feed self.process() File "/usr/lib/python2.4/site-packages/setroubleshoot/rpc.py", line 528, in process self.dispatchFunc(self.header, self.body) File "/usr/lib/python2.4/site-packages/setroubleshoot/rpc.py", line 738, in default_request_handler self.emit_rpc(rpc_id, 'method_return', rpc_callback_def, *return_args) File "/usr/lib/python2.4/site-packages/setroubleshoot/rpc.py", line 643, in emit_rpc rpc_xml = convert_rpc_to_xml(rpc_id, rpc_def, *args) File "/usr/lib/python2.4/site-packages/setroubleshoot/rpc.py", line 174, in convert_rpc_to_xml arg_node.addChild(arg_value.get_xml_
- Oct 18 10:42:09 www setroubleshoot: 2007-10-18 10:42:09,217 [avc.ERROR] Plugin Exception plugins.disable_trans Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/setroubleshoot/analyze.py", line 260, in analyze_avc report_receiver.report_problem(report) File "/usr/lib/python2.4/site-packages/setroubleshoot/server.py", line 152, in report_problem send_alert_notification(siginfo) File "/usr/lib/python2.4/site-packages/setroubleshoot/server.py", line 87, in send_alert_notification client.alert(siginfo) File "/usr/lib/python2.4/site-packages/setroubleshoot/rpc.py", line 352, in rpc_func self.emit_rpc(rpc_id, 'signal', rpc_def, *args) File "/usr/lib/python2.4/site-packages/setroubleshoot/rpc.py", line 643, in emit_rpc rpc_xml = convert_rpc_to_xml(rpc_id, rpc_def, *args) File "/usr/lib/python2.4/site-packages/setroubleshoot/rpc.py", line 174, in convert_rpc_to_xml arg_node.addChild(arg_value.get_xml_nodes(doc, arg_name)) File "/usr/lib/python2.4/site-packages/setroubl
- Oct 18 10:42:09 www setroubleshoot: 2007-10-18 10:42:09,295 [avc.ERROR] Plugin Exception plugins.catchall Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/setroubleshoot/analyze.py", line 260, in analyze_avc report_receiver.report_problem(report) File "/usr/lib/python2.4/site-packages/setroubleshoot/server.py", line 152, in report_problem send_alert_notification(siginfo) File "/usr/lib/python2.4/site-packages/setroubleshoot/server.py", line 87, in send_alert_notification client.alert(siginfo) File "/usr/lib/python2.4/site-packages/setroubleshoot/rpc.py", line 352, in rpc_func self.emit_rpc(rpc_id, 'signal', rpc_def, *args) File "/usr/lib/python2.4/site-packages/setroubleshoot/rpc.py", line 643, in emit_rpc rpc_xml = convert_rpc_to_xml(rpc_id, rpc_def, *args) File "/usr/lib/python2.4/site-packages/setroubleshoot/rpc.py", line 174, in convert_rpc_to_xml arg_node.addChild(arg_value.get_xml_nodes(doc, arg_name)) File "/usr/lib/python2.4/site-packages/setroubleshoo
- Oct 18 10:46:03 www setroubleshoot: 2007-10-18 10:46:03,910 [rpc.ERROR] exception UnicodeEncodeError: 'ascii' codec can't encode characters in position 127-128: ordinal not in range(128) Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/setroubleshoot/rpc.py", line 697, in handle_client_io self.receiver.feed(data) File "/usr/lib/python2.4/site-packages/setroubleshoot/rpc.py", line 536, in feed self.process() File "/usr/lib/python2.4/site-packages/setroubleshoot/rpc.py", line 528, in process self.dispatchFunc(self.header, self.body) File "/usr/lib/python2.4/site-packages/setroubleshoot/rpc.py", line 738, in default_request_handler self.emit_rpc(rpc_id, 'method_return', rpc_callback_def, *return_args) File "/usr/lib/python2.4/site-packages/setroubleshoot/rpc.py", line 643, in emit_rpc rpc_xml = convert_rpc_to_xml(rpc_id, rpc_def, *args) File "/usr/lib/python2.4/site-packages/setroubleshoot/rpc.py", line 174, in convert_rpc_to_xml arg_node.addChild(arg_value.get_xml
复制代码
[awei@www ~]$ date
2007年 10月 20日 星期六 14:14:54 CST
刚刚在英文环境下正常通过 。
不知道会不会是中文版本的问题? |
|