Jump to content
  • 0

Flux CP Permission Denied


rmon

Question


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  80
  • Reputation:   2
  • Joined:  04/27/16
  • Last Seen:  

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

  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  80
  • Reputation:   2
  • Joined:  04/27/16
  • Last Seen:  

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

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Forum Manager
  • Topic Count:  282
  • Topics Per Day:  0.06
  • Content Count:  3123
  • Reputation:   1617
  • Joined:  03/26/12
  • Last Seen:  

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

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   2
  • Joined:  11/17/16
  • Last Seen:  

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

  • Group:  Members
  • Topic Count:  59
  • Topics Per Day:  0.01
  • Content Count:  396
  • Reputation:   53
  • Joined:  07/24/12
  • Last Seen:  

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

  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  80
  • Reputation:   2
  • Joined:  04/27/16
  • Last Seen:  

Guys, 

Kindly share first where do you host your fluxcp, 

I only know how to fix it on CentOS

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  71
  • Topics Per Day:  0.03
  • Content Count:  167
  • Reputation:   8
  • Joined:  12/30/16
  • Last Seen:  

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

  • -1

  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  64
  • Reputation:   1
  • Joined:  02/18/12
  • Last Seen:  

tell me how to fix it bro? @rmon

Link to comment
Share on other sites

  • -1

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  62
  • Reputation:   0
  • Joined:  03/18/12
  • Last Seen:  

How to fix it ?

Link to comment
Share on other sites

  • -1

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  17
  • Reputation:   1
  • Joined:  08/17/13
  • Last Seen:  

Anyone knows how to solve this

 

Please @rmongive a hint.

Link to comment
Share on other sites

×
×
  • Create New...