Solved

loganalyzer on suse entrprise

Posted on 2013-12-25
3
459 Views
Last Modified: 2014-01-29
I m configuring a log analyzer for central log server on suse enterprise linux 11.2.I configure the apache with php i tested the test page.then accordingly i copied the loganalyzer file from src directory to the /srv/www/htdocs
 and give all the proper permissions but when i open my browser i found the error  

You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.

i m usinf the followinf link

http://loganalyzer.adiscon.com/doc/install.html
0
Comment
Question by:kastro Abbasi
  • 2
3 Comments
 
LVL 77

Expert Comment

by:arnold
ID: 39739120
run ls -Z to see whether you have SElinux enforcing restrictions.

ls -l for the files in question.
they have to have group/world readable (755 -rw-rw-rw)
the folder/directory they are needs to have at least (711 drwx---x--x no directory browsing/listing alllowed even if enabled in the httpd.conf or 755 drwxr-xr-x with directory browsing enabled in httpd.conf)

permissions on

An error is not descriptive enough.
Which error code are you getting 401, 403 405, 5xx?
0
 

Author Comment

by:kastro Abbasi
ID: 39739188
i am getting an error code 403 and for permission i have checked by giving full permission.
i also created an index.php  ,index.tml for testing and put this file /srv/www/htdocs and i get the test page but the loganalyzer files are not working
0
 
LVL 77

Accepted Solution

by:
arnold earned 500 total points
ID: 39739418
what are the permissions on the directory
ls -l /srv/| grep www
ls -l /srv/www | grep htdocs
ls -l /srv/www/htdocs | grep "one of the files"
you need to have
the last three of the permissions as r for a file and r-x for a directory.
403 means the user with whose credential apache/httpd runs (apache/nobody or nobody/nobody) does not have rights to access the file.
ls
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
Fine Tune your automatic Updates for Ubuntu / Debian
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now