Statistics not compiling.

Discussion in 'Installation/Configuration' started by thevinster, Sep 14, 2005.

  1. nenad

    nenad ISPConfig Developer ISPConfig Developer

    According to the date and time of created files, with command:

    /root/ispconfig/php/php /root/ispconfig/scripts/shell/webalizer.php

    only .htacess file is recreated, not html and png files ?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The .htaccess file is recreated by the webalizer.php script. The html and png files where creted / modified by the webalizer log analysis program.
     
  3. Ovidiu

    Ovidiu Active Member

    sorry to interrupt again, but I just realized, that all my sites stopped generating stats on the 22.03.

    I just had a look at the stats and the last stats are from the 22. - any idea what could have caused that and what I can check to see that from today all will run fine again?

    I just tried to run it manually like you suggested earlier in this post: /root/ispconfig/php/php /root/ispconfig/scripts/shell/webalizer.php but if I enter that in a shell nothing happens, it just sits there, and no stats appear... ?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    How long did you wait? On large systems it may take 30 minutes and more.
     
  5. Ovidiu

    Ovidiu Active Member

    hmmm.... I did not remember, anyway, I am trying again now:

    ssh into server, then start screen, then /root/ispconfig/php/php /root/ispconfig/scripts/shell/webalizer.php

    and now I'll leave for a barbeque - we have the first nice day with sunshine today :)

    when I am back later on today, I'll check if anything shows up, and because of using screen even if my wireless connection at home drops I can resume :)

    cu all and have a nice day
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    You can try to check with "ps -aux" in another terminal window if there where processes of the webalizer program running.
     
  7. Ovidiu

    Ovidiu Active Member

    yes there were, now they are gone but the console where I typed that webalizer command in is still waiting, do I have to manually do strg+c to stop?
    the webalizer process was running for maybe 15 min, but I still do not see any changes in any of the stats...
     
  8. falko

    falko Super Moderator ISPConfig Developer

    If you have large web sites with lots of traffic, it can take a little longer to create the statistics. So you should wait.
    You should also increase the PHP memory limit in /root/ispconfig/ispconfig/php.ini and restart ISPConfig.
     
  9. Ovidiu

    Ovidiu Active Member

    I guess you meatn this file: /root/ispconfig/php/php.ini
    here are the new values I entered:

    max_execution_time = 450
    max_input_time = 120
    memory_limit = 64M

    in the old screen I just resumed I found this:

    so after changing those values and restarting ispconfig I tried again.. lets wait and see :)

    btw. this php.ini concerns only httpd not my main apache2 I guess?

    ###edit###

    I waited, result is the same:

     
    Last edited: Mar 25, 2006
  10. falko

    falko Super Moderator ISPConfig Developer

    This php.ini is only for the ISPConfig PHP, not for your main PHP.
     
  11. Ovidiu

    Ovidiu Active Member

    thx. but what about the webalizer error?
    there is obviuosly an error, like you can see above, any clues what to do about that? the end of the month is coming closer and I need the stats to be ready...
     
  12. nenad

    nenad ISPConfig Developer ISPConfig Developer

    I still cant resolve "403 Error- Forbidden!" issue
     
  13. falko

    falko Super Moderator ISPConfig Developer

    I guess you have some folders or files in /var/www that the webalizer script doesn't expect. As long as your web site statistics are generated, you can ignore the warnings.
     
  14. Ovidiu

    Ovidiu Active Member

    all that I have inside /var/www is this:

    and after having a peak at webalizer.php I guess its only looking for web followed by a number folders so evreything should be ok but no stats are bein generated.

    ###edit###
    how would I debug this webalizer.php script? it only reports those errors above, and I really need to do something...
     
    Last edited: Mar 27, 2006
  15. nenad

    nenad ISPConfig Developer ISPConfig Developer

  16. sbovisjb1

    sbovisjb1 ISPConfig Developer ISPConfig Developer

    It is possible that the index is where the program was looking for the whole times, or maybe its how the directory calls and paths function. Its probably one of those things that will take a while to figure out.
     
  17. falko

    falko Super Moderator ISPConfig Developer

  18. nenad

    nenad ISPConfig Developer ISPConfig Developer

    Yes, but 403 error was AFTER login

    but if I login with .../index.html then everything is OK, after login popup statistics are shown
     
  19. falko

    falko Super Moderator ISPConfig Developer

    Then I guess the problem is that www.web-hosting-solutions.biz is not listed as ServerName or ServerAlias in the vhost configuration for that web site.
     
  20. nenad

    nenad ISPConfig Developer ISPConfig Developer

    How to chechk that, and how to correct that?
     

Share This Page