﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-Understanding Java-随笔分类-Linux</title><link>http://www.blogjava.net/botson/category/30544.html</link><description /><language>zh-cn</language><lastBuildDate>Tue, 01 Apr 2008 16:01:51 GMT</lastBuildDate><pubDate>Tue, 01 Apr 2008 16:01:51 GMT</pubDate><ttl>60</ttl><item><title>Linux下执行程序时发生错误: cannot restore segment prot after reloc: Permission denied</title><link>http://www.blogjava.net/botson/archive/2008/04/01/190191.html</link><dc:creator>Jam Chan</dc:creator><author>Jam Chan</author><pubDate>Tue, 01 Apr 2008 12:44:00 GMT</pubDate><guid>http://www.blogjava.net/botson/archive/2008/04/01/190191.html</guid><wfw:comment>http://www.blogjava.net/botson/comments/190191.html</wfw:comment><comments>http://www.blogjava.net/botson/archive/2008/04/01/190191.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/botson/comments/commentRss/190191.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/botson/services/trackbacks/190191.html</trackback:ping><description><![CDATA[<div>原来这是SELinux搞的鬼，解决办法有两个</div>
<div>1. 使用chcon 命令</div>
<div>示例: chcon -t texrel_shlib_t
/usr/local/rsi/idl_6.1/bin/bin.linux.x86/*.so</div>
<div>2. 禁止掉SELinux</div>
<div>更改/etc/sysconfig/selinux 文件的内容为 SELINUX=disabled</div>
<div>&nbsp;</div>
<div>这个问题参考了以下链接</div>
<div><a href="http://www.rsinc.com/services/techtip.asp?ttid=3092"><font color="#004377">http://www.rsinc.com/services/techtip.asp?ttid=3092</font></a></div>
<img src ="http://www.blogjava.net/botson/aggbug/190191.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/botson/" target="_blank">Jam Chan</a> 2008-04-01 20:44 <a href="http://www.blogjava.net/botson/archive/2008/04/01/190191.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>