Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

Incorrect value for...
 
Notifications
Clear all

Incorrect value for 'Log file name', cannot write to such a file : check access

5 Posts
3 Users
0 Reactions
3,383 Views
(@juliolep)
Posts: 5
Active Member
Topic starter
 
[#6226]

Hello guys,
I'm trying to install on a VM (CentOS7 + PHP 7.1) the application but I always have this error message: incorrect value for 'Log file name', cannot write to such a file : check access rights.
I tried to:
> Give the full access rights (777) to apache user but it's not working.
Your help would be really aprreciated
Thanks


 
Posted : 02 Sep 2019 18H20
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

If access rights are correct on folder, then possibly a security application locks access
In most cases, it is Selinux.


 
Posted : 04 Sep 2019 22H18
(@syncmasta)
Posts: 6
Active Member
 

Hej,

what are "the correct rights" on that folder? Which user want to write?


 
Posted : 26 Sep 2019 17H09
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

You must give write access rights to PHP user.
On linux Debian based (Ubuntu, Fedora)

chown -R www-data: /var/wwww/html/projeqtor/files
chmod -R 755 /var/wwww/html/projeqtor/files

On linux RedHat based (CentOs)

chown -R apache: /var/wwww/html/projeqtor/files
chmod -R 755 /var/wwww/html/projeqtor/files

 
Posted : 26 Sep 2019 19H56
(@juliolep)
Posts: 5
Active Member
Topic starter
 

Hello guys,
Found the problem thanks for your help:
> Made apache user the owner of the folders
> Gave the proper right to the folder
> Allowed in SELinux
Subject can be closed


 
Posted : 26 Sep 2019 20H39
Share:

Scroll to Top