Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

loganalyzer on suse entrprise

Posted on 2013-12-25
3
Medium Priority
?
504 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 80

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 80

Accepted Solution

by:
arnold earned 2000 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

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

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

Hello EE, Today we will learn how to send all your network traffic through Tor which is useful to get around censorship and being tracked all together to a certain degree. This article assumes you will be using Linux, have a minimal knowledge of …
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
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…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses
Course of the Month7 days, 20 hours left to enroll

610 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