LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   what is wrong in my glpi installation? (https://www.linuxquestions.org/questions/linux-newbie-8/what-is-wrong-in-my-glpi-installation-4175453864/)

nami 03-13-2013 12:51 AM

what is wrong in my glpi installation?
 
hai all...
I am trying to install glpi on my ubuntu 12.04,but after the unpacking of tarball,changing ownership and changing the modes of config and files, i cannot connect to the glpi through localhost....
i get the followung error:


Forbidden

You don't have permission to access /glpi/ on this server.
Apache/2.2.22 (Ubuntu) Server at localhost Port 80


please help me to overcome this problem asap!!

fortran 03-13-2013 02:03 AM

Have you tried
Code:

$ chmod 777 backups/dump
$ chmod 777 glpi/config
$ chmod 777 docs

or change the glpi directory's permission according to requirement.
If you extract the directory in /var/www or /opt/lampp/htdocs, the default permission of the directory is drwxrwxr-x that is 775 that is too much open.
If I set 755, I can still access the login page without forbidden error as well as all inner pages.
Code:

chmod -R 755 glpi

nami 03-13-2013 05:01 AM

thanx ...but i didnot use 777 but 0740 for mode changing...will there be some problem if i use 777 instead of 0740??

fortran 03-13-2013 09:18 AM

The permission is for security purpose, if no one is accessing except you then you can give 777 for your project.

nami 03-15-2013 05:01 AM

.thanx 4 your suppport!!now im facing another prob while configuring glpi..
when i clicked to ocsng mode,to import its data..i just added my ocsng password in ocsng-server id in setup tab..after that it shows that "the Connection to the OCSNG database failed" ..before that it showed that the connection was established..!!
i badly need help for this..
reply asap!!

fortran 03-15-2013 06:12 AM

Can you connect your ocsng database through command line.
If you can connect it through command line, it will be connected through ocsng mode too.


Id the databse name is correct? The default name is 'ocsweb'. Does the database exist?
Have you filled correct username and password?
The default username & password is ocs & blank.

Make sure they all are correct.

nami 03-20-2013 11:24 PM

I have created the ocsweb database and what i did is absent-mindedly i entered password as 'admin',this updation resulted in vanishing of other tabs in ocsng mode other than search.Can't i recover the error i made?

anjumanu321 03-21-2013 09:13 AM

Quote:

Originally Posted by nami (Post 4915673)
I have created the ocsweb database and what i did is absent-mindedly i entered password as 'admin',this updation resulted in vanishing of other tabs in ocsng mode other than search.Can't i recover the error i made?

Hi Nami,

Can you provide the link for the glpi documentation.

Thanks,
Anji

nami 03-22-2013 12:44 AM

Hi anjumanu,
www.glpi-project.org and http://www.ubuntugeek.com/glpi-it-an...-software.html helped me alot in installation and configuration of glpi.I suggest you to refer the 'ubuntugeek' website for detailed description.

cheers..
thanks


All times are GMT -5. The time now is 04:30 PM.