LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: bbbush

周五20:00 #fedora-cn IRC 聚会 2007-08-03

[复制链接]
发表于 2007-8-4 11:06:59 | 显示全部楼层
非常感谢兄弟:-D
回复 支持 反对

使用道具 举报

发表于 2007-10-17 17:15:34 | 显示全部楼层
找到了个更好的解决办法
(原来的很容易把setroubleshoot搞崩溃)
把Zend相应的文件(*.so)和目录
拷贝到/usr/lib/php/modules/目录下
再一更改一下php.ini文件的相关内容
最后设置一下上下文关联就可以了
setroubleshoot也不会崩溃了
========
setroubleshoot怎么这么的身娇肉贵的?
还是会崩溃
  1. 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_
  2. 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
  3. 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
  4. 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
刚刚在英文环境下正常通过 。
不知道会不会是中文版本的问题?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表