Solved

loganalyzer on suse entrprise

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

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…
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…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

821 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