• 0
rmon

Flux CP Permission Denied

Question

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 by rmon

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

also check permissions to folders inside html, in this case   data/tmp  seems not having permissions

Share this post


Link to post
Share on other sites
  • 0
13 minutes ago, 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

Edited by rmon

Share this post


Link to post
Share on other sites
  • 0
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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now