Home > Error Failed > Error Failed To Open Directory /var/lib/awstats Permission Denied

Error Failed To Open Directory /var/lib/awstats Permission Denied


Register a new account Sign in Already have an account? or at least made an official ubuntu howto. Subscribe to our mailing list so that you won't miss announcements, updates, bug fixes of iRedMail. [ Closed ] Inaccessible permissions after scripts run - SA-update / AWstats iRedMail →iRedMail Support Reply ↓ avb 2008/01/16 Keeeping awstats or any other oss web apps on their default /awstats location is lame and stupid. navigate to this website

I don't believe the ScriptAlias directive for the cgi-bin directory is required because the HTML output from awstat.pl doesn't use the cgi-bin directory in any of it's links. Can I use the same command to remove webalizer too? Reply ↓ IKT 2008/05/04 I also get the same issue! Why are sysadmin's forced to use non-stable branch versions in order to get security fixes? http://www.linuxquestions.org/questions/linux-software-2/permission-denied-awstats-796773/

Error Failed To Open Directory /var/lib/awstats Permission Denied

Restart Apache2 using: sudo /etc/init.d/apache2 restart You should now be able to access your statistics using: http://domain.tld/awstats/awstats.pl Assuming you didn't get any errors during your stats generation, and Apache2 didn't complain Setup ('/etc/awstats/awstats.model.conf' file, web server or permissions) may be wrong. It always updates the reports for the current month and the current year and only produces other reports if they do not exist, which saves on CPU. Example: www.mysite.com Example: demo Your web site, virtual server or profile name: > localhost.com -----> Define config file path In which directory do you plan to store your config file(s) ?

You should see some output here, and depending on the size of your logs it'll take anywhere from a few seconds to a few minutes or hours. Sign In Sign In Remember me Not recommended on shared computers Sign in anonymously Sign In Forgot your password? Please read the relevant part of the chown man page on your machine. How?

If you have not used vi before or have been scared by the stories do not fear and follow these instructions. $sudo vi /etc/awstats/awstats.foo.conf If all is well you will see Something is not right, sa-update log file is blank as well.However, when running the awstats command manually (all 3 of them), the perms get set correctly.When cron runs the awstats, it's Get:1 http://au.archive.ubuntu.com karmic/main awstats 6.9~dfsg-1ubuntu3 [951kB] Fetched 951kB in 20s (47.0kB/s) Selecting previously deselected package awstats. (Reading database ... 67895 files and directories currently installed.) Unpacking awstats (from .../awstats_6.9~dfsg-1ubuntu3_all.deb) ... The directory, the file itself and the process attempting to access the file will all have a user and a group.

If you need to reset your password, click here. You can try to use it to let it do all that is possible in AWStats setup, however following the step by step manual setup documentation (docs/index.html) is often a better Each time it is run after that will be minimal, as it only updates the information, but the initial generation can take some time. Due to that, you are now able to login using Facebook, Twitter or Google+.

Setup ('/etc/awstats/awstats.conf' File Web Server Or Permissions) May Be Wrong

In particular, the User or Group specified in httpd.conf must be able to read all files that will be served and search the directory containing those files, along with all parent share|improve this answer answered Aug 4 '09 at 3:57 Andrew Medico 15.9k83663 Thanks for your help. Error Failed To Open Directory /var/lib/awstats Permission Denied Going through my own stats today made me realise how many default path attacks people have tried on my site. First check the existing permissions on the file: cd /usr/local/apache2/htdocs/foo ls -l bar.htm Fix them if necessary: chmod 644 bar.html Then do the same for the directory and each parent directory

I didn't have much luck and decided to search the 'other software' thread in here for awstats and hit gold straight away, it's taken me 10 minutes now to get it useful reference I think this is where I am stuck but all the information I find is very vague. -Patrick Kelly Sherman.BoydMarch 9th, 2007, 07:28 PMDoesn't this whole tutorial defeat the purpose of Example: /etc/httpd/httpd.conf Example: /usr/local/apache2/conf/httpd.conf Example: c:\Program files\apache group\apache\conf\httpd.conf Config file path ('none' to skip web server setup): Code: > /etc/apache2/apache2.conf Quote: -----> Check and complete web server config file '/etc/apache2/apache2.conf' Add See Features for current features." Powered by vBulletin Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc.

  1. I used vi.
  2. blah) –Petter Thowsen Jul 14 '13 at 4:24 Also ran into this issue, I had followed the steps here: serverfault.com/questions/124800/… and ultimately had lost the execution bit for the
  3. The first step is to install awstats using apt or dselect or your favourite package management software.
  4. beside it's age webalizer has still an quick and nice overview.
  5. Please help!
  6. Browse other questions tagged server permissions apache2 logging or ask your own question.
  7. You can alter the line (in logrotate file): create 640 root adm to create 644 root adm To give all users (www-data included) read permission.
  8. The article focuses on the steps required to get awstats running on your server, setting up cron job for it, and reconfiguring logrotate for apache to take care of lost logs.
  9. You must edit it for using this version of AWStats.

In rare cases, this can be caused by other issues, such as a file permissions problem elsewhere in your apache2.conf file. If so how? A mini Howto tutorial - Getting AWSTATS working with APACHE2 in UBUNTU Linux. http://invictanetworks.net/error-failed/error-failed-to-launch-permission-denied-xcode.html tommytomato View Public Profile View LQ Blog View Review Entries View HCL Entries Visit tommytomato's homepage!

How do I use cold transaction signing? for eg i want to generate stats which counts hits to a specific server port. Sign In Sign Up Browse Back Browse Forums Staff Online Users Activity Back Activity All Activity Search Skip to forum content iRedMail Works on Red Hat Enterprise Linux, CentOS, Debian, Ubuntu,

Copyright © 2003–2009 PunBB.

almost straight after installing ubuntu I used apt-get to install apache2, mysql, php4, awstats and then installed phpmyadmin, phpbb and a few other things to muck around with, I'm also experimenting Sign in here. How about buying me a cup of coffee ($5) as an encouragement? 10 Reply by annonman 2014-07-15 12:14:18 annonman Member Offline Registered: 2013-10-18 Posts: 82 Re: Inaccessible permissions after scripts run Amplify sinusoïdal signal with op-amp with V- = 0V Why don't you connect unused hot and neutral wires to "complete the circuit"?

Any other solution (ftp users, ... )   Thank you for reading. Anyone who can give me a hand? Want to know which application is best for the job? get redirected here Post your question in this forum.

Setting up awstats (6.9~dfsg-1ubuntu3) ... You can do it manually by adding the following command to your cron: /usr/local/awstats/wwwroot/cgi-bin/awstats.pl -update -config=localhost.com Or if you have several config files and prefer having only one command: /usr/local/awstats/tools/awstats_updateall.pl now But you could always make it yourselves too. Yes, my password is: Forgot your password?

Run "chmod o+r /var/log/apache/access.log"): ~#/usr/lib/cgi-bin/awstats.pl -config=awstats.full-domain-name.conf Update for config "/etc/awstats/awstats.full-domain-name.conf" With data in log file "/var/log/apache/access.log"... by echtap 1 comment I still creep by rkreider Site overhaul complete ... I just get "country unknown" an city unknown aswell. I don't have any directories that read "wwwroot" or "cgi-bin".

As in "chmod +x ./awstats_configure.pl". Tenant claims they paid rent in cash and that it was stolen from a mailbox. Having a problem installing a new program? Ask Ubuntu works best with JavaScript enabled Home About Archive Contribute FAQ Tags Sign Up Login Do you use let's encrypt?

Should ideal specular multiply light colour with material colour? webalizer is easier to configure than modlogan. (never figured out there how i could display with modlogan say instead of the top 30 pages the the top 100 pages). Well it works just fine now so true to my word here is what I had to do. If so, ls -alZ can be used to view SELinux permission and chcon to fix them.

Combination of liquid hydrogen and liquid oxygen Find duplicates of a file by content Please explain what is wrong with my proof by contradiction. If the error log simply says "permission denied", su to the user that the webserver is running as and try to read from the file in question.