Forum

[SOLVED] incorrect ...
 
Notifications
Retirer tout

[SOLVED] incorrect value for 'Log file name', cannot write to such a file : check access

4 Posts
2 Utilisateurs
0 Reactions
675 Vu
(@maurice-faramelli)
Posts: 4
Active Member
Début du sujet
 
[#9892]

Hello

I get the following error when trying to initiate the system
incorrect value for 'Log file name', cannot write to such a file : check access
I'm using CentOS 9
the files are accessible for user apache and are set to mode 755
the file is referenced as ../files/logs/projeqtor_$(date).log
I tried to replace it with an absolute value where apache is the owner and the mode 755 ie. /share/files/logs/projeqtor_$(date).log

I would appreciate help

Thank you


 
Posté : 13/07/2025 7:17 pm
(@babynus)
Posts: 14952
Membre Admin
 

I tried to replace it with an absolute value where apache is the owner and the mode 755 ie. /share/files/ l ogs/projeqtor_$(date).log

Yes it is exactly what you need.
If this does not work, probably you have some blocking fetaure such as selinux. Try and disable it.


 
Posté : 13/07/2025 7:31 pm
(@maurice-faramelli)
Posts: 4
Active Member
Début du sujet
 

Hi
I disabled the firewall and tried again
Unfortunately the error remains

Any ideas

Thank you


 
Posté : 14/07/2025 11:43 am
(@maurice-faramelli)
Posts: 4
Active Member
Début du sujet
 

Hi
Actually the reason was selinux
My mistake. I had to update the selinux configuration file, using the command to deactivate it is not enough. I resets when rebooting

Thank you so much
 


 
Posté : 14/07/2025 5:26 pm
Share:
Retour en haut