Solved

loganalyzer on suse entrprise

Posted on 2013-12-25
3
476 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 78

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 78

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

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

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

In my time as an SEO for the last 2 years and in the questions I have assisted with on here I have always seen the need to redirect from non-www urls to their www versions. For instance redirecting http://domain.com (http://domain.com) to http…
If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

688 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