rmon Posted November 10, 2017 Posted November 10, 2017 (edited) Hi Guys, Need some help, i just installed LAMP on my centos7, tried to run fluxcp but its giving me error already chmod -R 777 /var/www/html/ Also chown -R apache /var/www/html/ Also restarted systemctl restart httpd.service Also changed suexec https://palatana.wordpress.com/2014/09/25/disable-suexec-in-apache/ Warning: fopen(data/tmp/ConfigServers.cache.php): failed to open stream: Permission denied in /var/www/html/lib/Flux.php on line 275 Critical Error An error was encountered during the lifetime of the application. This could be due to a variety of problems, such as a bug in the application. However, normally it is caused by misconfiguration. Exception Details Error: Flux_Error Message: Failed to write data/tmp/ConfigServers.cache.php permission error or data/tmp not exist in Flux::parseConfigFile() File: /var/www/html/lib/Flux.php:236 File Line Function/Method /var/www/html/lib/Flux.php 277 Flux::raise() /var/www/html/lib/Flux.php 335 Flux::parseConfigFile() /var/www/html/lib/Flux.php 121 Flux::parseServersConfigFile() /var/www/html/index.php 69 Flux::initialize() Exception Trace As String #0 /var/www/html/lib/Flux.php(277): Flux::raise('Failed to write...') #1 /var/www/html/lib/Flux.php(335): Flux::parseConfigFile('config/servers....') #2 /var/www/html/lib/Flux.php(121): Flux::parseServersConfigFile('config/servers....') #3 /var/www/html/index.php(69): Flux::initialize(Array) #4 {main} Edited November 11, 2017 by rmon
0 rmon Posted November 11, 2017 Author Posted November 11, 2017 (edited) On 11/11/2017 at 4:24 PM, Cyro said: also check permissions to folders inside html, in this case data/tmp seems not having permissions Hi Cyro, All of them are already 777 , including data/tmp chmod -R 777 /var/www/html/ Also chown -R apache /var/www/html/ Also restarted systemctl restart httpd.service I have fixed the issue Thanks Guys Edited November 11, 2017 by rmon
0 Cyro Posted November 11, 2017 Posted November 11, 2017 also check permissions to folders inside html, in this case data/tmp seems not having permissions
0 Akkarin Posted January 5, 2018 Posted January 5, 2018 On 11/11/2017 at 7:41 PM, rmon said: I have fixed the issue Thanks Guys It's generally helpful to update the original post with how you resolved your issue, incase any users have a similar problem in the future.
0 fzxree1010 Posted July 22, 2020 Posted July 22, 2020 On 11/11/2017 at 4:33 PM, rmon said: Hi Cyro, All of them are already 777 , including data/tmp chmod -R 777 /var/www/html/ Also chown -R apache /var/www/html/ Also restarted systemctl restart httpd.service I have fixed the issue Thanks Guys How do you fix this issue?
0 rmon Posted July 25, 2020 Author Posted July 25, 2020 Guys, Kindly share first where do you host your fluxcp, I only know how to fix it on CentOS
0 Onairda Posted September 13, 2021 Posted September 13, 2021 On 7/25/2020 at 8:16 PM, rmon said: Guys, Kindly share first where do you host your fluxcp, I only know how to fix it on CentOS we both host in centos kindly share the fix. all folders have 777 access
-1 vitox Posted June 3, 2019 Posted June 3, 2019 Anyone knows how to solve this Please @rmongive a hint.
-1 Jayz Posted July 22, 2020 Posted July 22, 2020 (edited) On 6/4/2019 at 7:39 AM, vitox said: Anyone knows how to solve this Please @rmongive a hint. Just add 777 chmod permission on data/logs and tmp folder Edited July 22, 2020 by Zack-
Question
rmon
Hi Guys,
Need some help, i just installed LAMP on my centos7,
tried to run fluxcp but its giving me error
already
chmod -R 777 /var/www/html/
Also chown -R apache /var/www/html/
Also restarted systemctl restart httpd.service
Also changed suexec
https://palatana.wordpress.com/2014/09/25/disable-suexec-in-apache/
Warning: fopen(data/tmp/ConfigServers.cache.php): failed to open stream: Permission denied in /var/www/html/lib/Flux.php on line 275
Critical Error
An error was encountered during the lifetime of the application.
This could be due to a variety of problems, such as a bug in the application.
However, normally it is caused by misconfiguration.
Exception Details
Error: Flux_Error
Message: Failed to write data/tmp/ConfigServers.cache.php permission error or data/tmp not exist in Flux::parseConfigFile()
File: /var/www/html/lib/Flux.php:236
Exception Trace As String
Edited by rmon10 answers to this question
Recommended Posts