Solved

loganalyzer on suse entrprise

Posted on 2013-12-25
3
475 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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
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.

739 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