Jump to content
  • 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
Link to comment
Share on other sites

10 answers to this question

Recommended Posts

  • 0
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 by rmon
Link to comment
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.

Link to comment
Share on other sites

  • 0
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?

Link to comment
Share on other sites

  • 0
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 by Zack-
Link to comment
Share on other sites

  • 0
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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.