1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

Log Files

Discussion in 'Plesk for Linux - 8.x and Older' started by AvidCat, Dec 18, 2005.

  1. AvidCat

    AvidCat Guest


    I have a virtual dedicated server on GoDaddy. I set up a website on this server. I am trying to install stat software and it is asking me for the location of my Log Files, but I can't find them.

    I do have one folder called stats, but I can't seem to open it. Not sure if this is where they are located.

    I appreciate any help.

  2. poke

    poke Guest

    What stat program are you trying to install?
  3. AvidCat

    AvidCat Guest

    It is called WhosOn.
  4. Who-m3

    Who-m3 Guest

    Which logfiles are you trying to locate?
  5. AvidCat

    AvidCat Guest

    I have no idea, it just says to locate your log files for the stats of the website.
  6. Who-m3

    Who-m3 Guest

    they are in statistics/logs/access_log and statistics/logs/error_log of the chrooted environment. However, these files require higher-than-userlevel access (meaning if it's not CGI or if you don't have open_dir disabled, you wont be able to access it.). Of course, this relies on CGI being utilizing the apache user, which does have access.

    Now, if you're the box admin (i.e. root), you can set up the stats script you're using to utilize a cron (meaning it'll do it every x seconds,minutes,etc). For that, you'd have to utilize the full path of the file.

    In most cases, this will be /home/httpd/vhosts/domain/statistics/logs/access_log, but recent changes (or for newer systems) will be in /var/www/vhosts/domain/statistics/logs/access_log

    Hope that helps you, and good luck.