On Wednesday, March 4, 2015 at 11:42:26 AM UTC-8, alexus wrote:
>
> after some troubleshooting, i found that it was selinux that caused that..
>
> for now i put it in permissive mode, but I'd like to know how to tweak it 
> so it can remain in enforcing mode.
>
> On Wednesday, March 4, 2015 at 2:07:51 PM UTC-5, RjOllos wrote:
>>
>> On Wednesday, March 4, 2015 at 9:53:46 AM UTC-8, alexus wrote:
>>>
>>> I keep getting following error inside of my apache's error_log:
>>>
>>>  mod_wsgi (pid=23016): Exception occurred processing WSGI script 
>>> '/var/www/html/trac/X/cgi-bin/trac.wsgi'.
>>>  Traceback (most recent call last):
>>>    File "/var/www/html/trac/X/cgi-bin/trac.wsgi", line 30, in 
>>> application
>>>      from trac.web.main import dispatch_request
>>>  ImportError: No module named trac.web.main
>>>
>>> system:
>>>
>>> # uname -a
>>> Linux X 3.10.0-123.20.1.el7.x86_64 #1 SMP Wed Jan 21 09:45:55 EST 2015 
>>> x86_64 x86_64 x86_64 GNU/Linux
>>> # rpm -q httpd mod_wsgi python
>>> httpd-2.4.6-19.el7_0.x86_64
>>> mod_wsgi-3.4-12.el7_0.x86_64
>>> python-2.7.5-16.el7.x86_64
>>> # ll /usr/lib/python2.7/site-packages/Trac-1.0.4-py2.7.egg
>>> -rw-r--r--. 1 root root 1986947 Mar  4 12:51 /usr/lib/python2.7/site-
>>> packages/Trac-1.0.4-py2.7.egg
>>> # 
>>>
>>>
>>> any help would be appreciate, thanks!
>>>
>>
>> Do you have any other symptoms, or do the errors seem to be benign? I'm 
>> not suggesting you shouldn't be interested in finding the cause, just 
>> wondering about the scope of the problem. 
>>
>
I haven't worked with SELinux in years, but we have some documentation on 
the wiki (and please feel free to improve it):

http://trac.edgewall.org/wiki/TracWithSeLinux
http://trac.edgewall.org/wiki/TracOnFedoraCore#SELinux
http://trac.edgewall.org/wiki/TracOnRhel5#SELinuxconfiguration 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to