Forum

Incorrect value for...
 
Notifications
Retirer tout

Incorrect value for 'Log file name'

3 Posts
2 Utilisateurs
0 Reactions
3,012 Vu
(@verduinj)
Posts: 3
Active Member
Début du sujet
 
[#4270]

All,

This problem has been brought up before but none of the previously provided answers have solved the problem for me.

I have installed Projeqtor on a Centos 7 server, loaded specifically for use by Projeqtor. Upon first configuration, I get through everything correctly only to find the "incorrect value for 'Log file name', cannot write to such a file : check access rights" error message at the end. It has been stated that the "files" folder and all sub-folders need to be owned by the apache user on Centos and have at least 755 privileges. I did this and got the same error. I then opened the rights up as far as I am aware they can be, as shown below:

4 drwxrwxrwx. 10 apache apache 4096 Apr 2 21:22 .
4 drwxrwxrwx. 12 apache apache 4096 Apr 2 21:23 ..
0 drwxrwxrwx. 3 apache apache 35 Apr 2 21:22 attach
0 drwxrwxrwx. 2 apache apache 22 Apr 2 21:22 config
0 drwxrwxrwx. 2 apache apache 35 Apr 2 21:22 cron
0 drwxrwxrwx. 2 apache apache 6 Apr 2 21:22 images
0 drwxrwxrwx. 2 apache apache 6 Apr 2 21:22 import
4 -rwxrwxrwx. 1 apache apache 1256 Apr 2 21:22 index.php
0 drwxrwxrwx. 2 apache apache 22 Apr 2 21:22 logs
0 drwxrwxrwx. 2 apache apache 22 Apr 2 21:22 report
0 drwxrwxrwx. 2 apache apache 6 Apr 2 21:22 thumbs

Even at this, I get the same error message as before. I even tried creating a new files folder and subfolders outside of the /var/www/html/projeqtor structure with the same wide open privileges and again, same error message.

Does anyone have any ideas on how I am to configure this to get past this error during config?

Thanks for any help you can provide.

Jim Verduin


 
Posté : 14 Avr PM 23:044
(@babynus)
Posts: 14952
Membre Admin
 

It must be because of SELinux, installed by default on CentOS

Here is some help (I hope)
https://blog.lysender.com/2015/07/centos-7-selinux-php-apache-cannot-writeaccess-file-no-matter-what/


 
Posté : 14 Avr PM 23:044
(@verduinj)
Posts: 3
Active Member
Début du sujet
 

Thanks babynus. I will look through that.


 
Posté : 15 Avr AM 02:044
Share:
Retour en haut