1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Log Files

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

  1. AvidCat

    AvidCat Guest

    0
     
    Hi,

    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.

    Thanks,
    Nick
     
  2. poke

    poke Guest

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

    AvidCat Guest

    0
     
    It is called WhosOn.
     
  4. Who-m3

    Who-m3 Guest

    0
     
    Which logfiles are you trying to locate?
     
  5. AvidCat

    AvidCat Guest

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

    Who-m3 Guest

    0
     
    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.
     
Loading...