EPrints Technical Mailing List Archive

Message: #00704


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Re: Cann't upload file


>
>>
>> Hi Tim,
>> I have done everything according to your advice. And the selinux mode is
>> permissive.Still, I can not make any upload. I am unable to fix the
>> problem.
>> So, What can I do for this??
>>
>> With thanks&  regards
>> Man
>>
>
> Can you look if there's some message in /var/log/apache2/error.log ,
> when you try to upload?
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: http://www.eprints.org/tech.php/
> *** EPrints community wiki: http://wiki.eprints.org/
>
Hi,

Thanks a lot!

As per your advice, there is no such important message
in /var/log/apache2/error.log.
But I got a long list of messages in /var/log/messages as follows::

Jun 12 10:10:18 localhost dbus: avc:  received setenforce notice
(enforcing=0)
Jun 12 10:10:18 localhost dbus: avc:  received setenforce notice
(enforcing=0)

Jun 12 10:35:23 localhost setroubleshoot: [avc.ERROR] Plugin Exception
httpd_write_content #012Traceback (most recent call last):#012  File
"/usr/lib/python2.7/site-packages/setroubleshoot/analyze.py", line 191, in
analyze_avc#012    report = plugin.analyze(avc)#012  File
"/usr/share/setroubleshoot/plugins/httpd_write_content.py", line 59, in
analyze#012    self.fix_description, self.fix_cmd)#012TypeError: report()
takes at most 2 arguments (7 given)

Jun 12 10:35:24 localhost setroubleshoot: [avc.ERROR] Plugin Exception
catchall_boolean #012Traceback (most recent call last):#012  File
"/usr/lib/python2.7/site-packages/setroubleshoot/analyze.py", line 191, in
analyze_avc#012    report = plugin.analyze(avc)#012  File
"/usr/share/setroubleshoot/plugins/catchall_boolean.py", line 78, in
analyze#012    fix, fix_cmd, level="green")#012TypeError: report() takes
at most 2 arguments (8 given)

Jun 12 10:35:28 localhost setroubleshoot: [avc.ERROR] Plugin Exception
httpd_bad_labels #012Traceback (most recent call last):#012  File
"/usr/lib/python2.7/site-packages/setroubleshoot/analyze.py", line 191, in
analyze_avc#012    report = plugin.analyze(avc)#012  File
"/usr/share/setroubleshoot/plugins/httpd_bad_labels.py", line 63, in
analyze#012    fix_description, self.fix_cmd)#012AttributeError: 'plugin'
object has no attribute 'fix_cmd'

Jun 12 10:35:28 localhost setroubleshoot: [avc.ERROR] Plugin Exception
catchall #012Traceback (most recent call last):#012  File
"/usr/lib/python2.7/site-packages/setroubleshoot/analyze.py", line 191, in
analyze_avc#012    report = plugin.analyze(avc)#012  File
"/usr/share/setroubleshoot/plugins/catchall.py", line 64, in analyze#012  
 self.fix_description, self.fix_cmd)#012TypeError: report() takes at most
2 arguments (7 given)

I can not fix these problems. So, please have a look on these messages and
provide me a solution.

With thanks & regards
Mon.