Forum

incorrect value for...
 
Notifications
Retirer tout

incorrect value for 'Log file name', cannot write to such a file : chec

6 Posts
2 Utilisateurs
0 Reactions
737 Vu
(@jszczygiel)
Posts: 8
Active Member
Début du sujet
 
[#9899]

Hello,
On Linux Zorin 17.3 Pro, I try to install projeqtor. During the install process, I cannot solve this error "incorrect value for 'Log file name', cannot write to such a file : check access rights".
I tried several changes to access rights to logs directory, but without success.
Can you help me please?
Thanks, 
Joseph


 
Posté : 18/07/2025 5:10 pm
(@babynus)
Posts: 14952
Membre Admin
 

If rights are correct, try and disable selinux


 
Posté : 18/07/2025 5:15 pm
(@jszczygiel)
Posts: 8
Active Member
Début du sujet
 

Thanks you for your help.
1. SElinux seems not installed:  sestatus not found
2. Rights accesses are listed below in /var/www/

jsz@jsz-HW2:~$ cd /var/www
jsz@jsz-HW2:/var/www$ ll
total 12
drwxr-xr-x  3 root root 4096 juil. 17 18:56 ./
drwxr-xr-x 17 root root 4096 juil. 12 22:21 ../
drwxr-xr-x 15 root root 4096 juil. 17 18:56 projeqtor/

jsz@jsz-HW2:/var/www$ cd projeqtor
jsz@jsz-HW2:/var/www/projeqtor$ ll
total 184
drwxr-xr-x 15 root root  4096 juil. 17 18:56 ./
drwxr-xr-x  3 root root  4096 juil. 17 18:56 ../
drwxrwxrwx  2 root root  4096 juil. 17 18:56 api/
drwxrwxrwx  2 root root  4096 juil. 17 18:56 cache/
drwxrwxrwx  2 root root 12288 juil. 17 18:56 db/
drwxrwxrwx  3 root root  4096 juil. 17 18:56 docs/
drwxrwxrwx 29 root root  4096 juil. 17 18:56 external/
drwxrwxrwx 10 root root  4096 juil. 17 18:56 files/
-rwxrwxrwx  1 root root  7622 juil. 17 18:56 index.php*
-rwxrwxrwx  1 root root 36377 juil. 17 18:56 license.txt*
drwxrwxrwx  4 root root 32768 juil. 17 18:56 model/
drwxrwxrwx  3 root root  4096 juil. 17 18:56 plugin/
-rwxrwxrwx  1 root root  3184 juil. 17 18:56 readme.txt*
drwxrwxrwx  4 root root  4096 juil. 17 18:56 report/
drwxrwxrwx  2 root root  4096 juil. 17 18:56 simulation/
drwxrwxrwx  6 root root  4096 juil. 17 18:56 sso/
drwxrwxrwx  3 root root 36864 juil. 17 18:56 tool/
drwxrwxrwx  8 root root 12288 juil. 17 18:56 view/
jsz@jsz-HW2:/var/www/projeqtor$

sz@jsz-HW2:/var/www/projeqtor$ cd files
jsz@jsz-HW2:/var/www/projeqtor/files$ ll
total 44
drwxrwxrwx 10 root root 4096 juil. 17 18:56 ./
drwxr-xr-x 15 root root 4096 juil. 17 18:56 ../
drwxrwxrwx  3 root root 4096 juil. 17 18:56 attach/
drwxrwxrwx  2 root root 4096 juil. 17 18:56 config/
drwxrwxrwx  2 root root 4096 juil. 17 18:56 cron/
drwxrwxrwx  2 root root 4096 juil. 17 18:56 images/
drwxrwxrwx  2 root root 4096 juil. 17 18:56 import/
-rwxrwxrwx  1 root root 1256 juil. 17 18:56 index.php*
drwxrwxrwx  2 root root 4096 juil. 17 18:56 logs/
drwxrwxrwx  2 root root 4096 juil. 17 18:56 report/
drwxrwxrwx  2 root root 4096 juil. 17 18:56 thumbs/
jsz@jsz-HW2:/var/www/projeqtor/files$ 

jsz@jsz-HW2:/var/www/projeqtor/files$ cd logs
jsz@jsz-HW2:/var/www/projeqtor/files/logs$ ll
total 12
drwxrwxrwx  2 root root 4096 juil. 17 18:56 ./
drwxrwxrwx 10 root root 4096 juil. 17 18:56 ../
-rwxrwxrwx  1 root root 1256 juil. 17 18:56 index.php*
jsz@jsz-HW2:/var/www/projeqtor/files/logs$ ^C
jsz@jsz-HW2:/var/www/projeqtor/files/logs$ 

I also tried :
drwxrwxrwx 15 root root 4096 juil. 17 18:56 projeqtor/

with the same result.

 


 
Posté : 18/07/2025 6:13 pm
(@jszczygiel)
Posts: 8
Active Member
Début du sujet
 

Found!

CONTEXT
xampp on Zorin 17.3 Pro.
and there was also a php, mysql and apache installed via snap.

ERRORS:
access rights was about files and tool directory.

FIXES:
sudo chown -R daemon:daemon /opt/lampp/htdocs/projeqtor/files
sudo chmod -R 755 /opt/lampp/htdocs/projeqtor/files

and
sudo chown -R daemon:daemon /opt/lampp/htdocs/projeqtor/tool
sudo chmod -R 755 /opt/lampp/htdocs/projeqtor/tool


 
Posté : 21/07/2025 4:12 pm
(@jszczygiel)
Posts: 8
Active Member
Début du sujet
 

Thank you Babynus for your help.

How can I close this point, please?


 
Posté : 21/07/2025 4:14 pm
(@babynus)
Posts: 14952
Membre Admin
 

Point marked as solved


 
Posté : 27/07/2025 1:54 pm
Share:
Retour en haut