OCS Inventory NG Forums

OCS Inventory NG, an OpenSource computer inventory and package deployement system for Windows and Unix

You are not logged in.

#1 2008-08-06 15:27:12

wbilel
Member
Registered: 2008-08-04
Posts: 3

probleme whith dbconfig.ini.php

Hello !

I use Ubuntu 8 after installation when i try to connect in ocs i have this error message :
ERROR: can't write in directory (on dbconfig.inc.php), please set the required rights in order to install ocsinventory (you should remove the write mode after the installation is successfull)

please help me to solve this problem how i can allow permission to this file and where i found him ?

I'm novice please give me the detail " command line "

Thank you .

Offline

#2 2008-08-06 15:38:08

goneri
Banned
From: Paris
Registered: 2007-06-01
Posts: 2,281

Re: probleme whith dbconfig.ini.php

You can do:
chown -R www-data /the/directory/location

Cheers

Offline

#3 2008-08-13 00:59:00

jamalparit
Member
From: Asia
Registered: 2008-08-13
Posts: 1
Website

Re: probleme whith dbconfig.ini.php

Dear wbilel

You should try this :-

1. Find the correct path for the dbconfig.inc.php - use this command

cd
cd ..
find / -name dbconfig.inc.php

Ok for me,it will return the path here :-

/usr/share/ocsinventory-server/ocsreports/dbconfig.inc.php

After that u just use this command to change it right

cd /usr/share/ocsinventory-server/ocsreports/
chmod 666 dbconfig.inc.php

Ok .. Please try and give the feedback here :

Thank You


Visit Free Library - http://www.semua2ada.com/

Offline

#4 2008-11-26 16:54:06

iscbustos
Member
Registered: 2008-11-26
Posts: 2

Re: probleme whith dbconfig.ini.php

Hi, I've tried to follow the solution posted by jamalparit, but when i run the command
find / -name dbconfig.inc.php

don't get any answer like the file doesn't exist.

I hope some one can help me.

I'm installing OCS Inventory server 1.01 over ubuntu server 8.10

I've already install a lampp server.

Thanks.

Offline

#5 2008-12-19 22:12:02

uanimosity
Member
Registered: 2007-08-22
Posts: 11

Re: probleme whith dbconfig.ini.php

I'm in the same boat as above, I do not get an answer returned. Using opensuse 11.1

Offline

#6 2009-01-22 12:40:27

goneri
Banned
From: Paris
Registered: 2007-06-01
Posts: 2,281

Re: probleme whith dbconfig.ini.php

Well this find command is invalide since the dbconfig.inc.php doesn't exist ( yet big_smile )

Try that instead :

find / -type d -name 'ocsreports'

Offline

#7 2009-06-29 12:00:14

ssoto
Member
Registered: 2009-06-29
Posts: 4

Re: probleme whith dbconfig.ini.php

I changed the perms to /usr/share/ocsinventory-reports/ocsreports/dbconfig.inc.php by chmod and it works!

Lot thanks.

Offline

#8 2010-03-22 12:24:55

meticulous
Member
Registered: 2010-03-22
Posts: 5

Re: probleme whith dbconfig.ini.php

I've tried to CHMOD to 777 and still fails.....
Please help

Offline

Board footer

Powered by FluxBB

Serveur dédié, hébergement web, infogérance et nom  de domaine - NFrance Conseil