Login

RSS Syndication

feed image
feed image
feed image
feed image
feed image
Home Forum
Welcome, Guest
Please Login or Register.    Lost Password?

Writing database configuration to settings.php
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: Writing database configuration to settings.php
#1026
Writing database configuration to settings.php 8 Months, 1 Week ago Karma: 0
I have problem during the instalation proccess. You can check the imagen attached. In the NagiosQL Installation: Finishing Setup

Warning: fopen(/var/www/mrtg/interno/nagiosql3/config/settings.php) [function.fopen]: failed to open stream: Success in /var/www/mrtg/interno/nagiosql3/install/functions/func_installer.php on line 114

Writing database configuration to settings.php failed
Could not open settings.php in config directory for writing!

What do i have to do in this case??

Best Regards

CA
carmas
carmas
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1028
Re:Writing database configuration to settings.php 8 Months, 1 Week ago Karma: 2
Hi,
please verify that the webserver user is able to write a configuration file to the /config directory.

Cheers,

Rouven
rouven
rouven
NagiosQL Developer
Posts: 251
graphgraph
User Offline Click here to see the profile of this user
ICQ#: 47315142 Gender: Male NagiosQL Location: Hamburg, Germany Birthday: 03/19
The administrator has disabled public write access.
 
#1030
Re:Writing database configuration to settings.php 8 Months, 1 Week ago Karma: 0
Here is the directory config
root@nagioschv:/var/www/mrtg/interno/nagiosql3/config# ls -la
total 48
drw-rw-rw- 3 nagios nagios 4096 2009-07-03 08:17 .
drwxrwxrwx 8 nagios nagios 4096 2009-07-01 14:23 ..
-rwxrwxrwx 1 nagios nagios 22997 2009-04-28 08:32 fieldvars.php
drwxrwxr-x 10 nagios nagios 4096 2009-05-20 09:21 locale
-rwxrwxrwx 1 nagios nagios 9307 2009-04-28 08:32 main.css

Best Regards

CA
carmas
carmas
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1031
Re:Writing database configuration to settings.php 8 Months, 1 Week ago Karma: 2

drw-rw-rw-

this doesn't look like the webserver user is able to enter this directory
rouven
rouven
NagiosQL Developer
Posts: 251
graphgraph
User Offline Click here to see the profile of this user
ICQ#: 47315142 Gender: Male NagiosQL Location: Hamburg, Germany Birthday: 03/19
The administrator has disabled public write access.
 
#1032
Re:Writing database configuration to settings.php 8 Months, 1 Week ago Karma: 0
what command i must use for that reuven

Best Regards

CA
carmas
carmas
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1033
Re:Writing database configuration to settings.php 8 Months, 1 Week ago Karma: 2
Just check the directory permissions for the above directories. You webserver needs at least +x for the directories to enter.
rouven
rouven
NagiosQL Developer
Posts: 251
graphgraph
User Offline Click here to see the profile of this user
ICQ#: 47315142 Gender: Male NagiosQL Location: Hamburg, Germany Birthday: 03/19
The administrator has disabled public write access.
 
Go to topPage: 12