EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #00718


< 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.
>
>
> *** 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,

Sorry for coming again and again with a same issue. But since one month I
am trying to solve the problem, but I can not. I have solved the problems
which I have sent earlier which are actually fedora related.Now
/var/log/messages provides these issues:::

Jun 14 14:18:33 idserver setroubleshoot: SELinux is preventing
/usr/sbin/httpd from using the signull access on a process. For complete
SELinux messages. run sealert -l 199caa1e-02bb-4ea1-a3c6-4670ff84cc9d

Jun 14 14:18:47 idserver setroubleshoot: SELinux is preventing
/usr/sbin/httpd from setattr access on the directory 06. For complete
SELinux messages. run sealert -l 6373476f-11e7-436d-8011-6b9aa2734276

Jun 14 14:18:48 idserver setroubleshoot: SELinux is preventing
/usr/sbin/httpd from create access on the file 1.xml. For complete SELinux
messages. run sealert -l 9f7951aa-0638-4455-af0e-9492a02100f3

Jun 14 14:18:48 idserver setroubleshoot: SELinux is preventing
/usr/sbin/httpd from create access on the file 1.xml. For complete SELinux
messages. run sealert -l 9f7951aa-0638-4455-af0e-9492a02100f3

    When I run sealert------ I get no hints. So, What can I can do about
these SELinux related problems. I have set SELinux in Permissive mode.

Plz. have a kind look on these SELinux related issues and provide me a
solution "why SELinux is preventing....." so that I can succeed in file
uploading.

With thanks & regards
Mon.