Statistics not compiling.

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

  1. falko

    falko Super Moderator Howtoforge Staff

    Have a look at the vhost of the web site in Vhosts_ispconfig.conf and look for ServerName and ServerAlias.

    Also check if www.web-hosting-solutions.biz is listed either as the main domain or as Co-Domain in ISPConfig for that specific web site.
     
  2. nenad

    nenad Member

    You mean this?:

    # Vhost: www.web-hosting-solutions.biz:80
    ######################################
    #
    #
    <VirtualHost 192.168.123.200:80>
    SuexecUserGroup xxxxxxxxxxxxxxxx (edited for security reasons)
    ServerName www.web-hosting-solutions.biz:80
    ServerAdmin [email protected]
    DocumentRoot /var/www/web1/web
    ServerAlias web-hosting-solutions.biz

    Yes it is listed as main domain.

    There is kind of Warning during the booting of the system:

    starting httpd [warn] nameVirtualHosts has no virtual hosts

    Why is that for?
     
  3. falko

    falko Super Moderator Howtoforge Staff

    It's just a warning, you can ignore it. IT means that you have a NameVirtualHosts line in your Apache configuration for an IP address that doesn't have virtual hosts yet.
     
  4. Ovidiu

    Ovidiu Active Member

    sorry to disturb again the peace of this threat but my stats stopped compiling again on the 25. of april and since then the logfiles have been growing again. on the 28. of april I have upgraded ispconfig to the latest version so that is not the reason as they stopped working before...
    I am back to the same problems I already had at the gbeginning of this threat. I get webalizer errors and the stats do not get compiled and logfiles start growing.

    here is what a manual execution of webalizer gives me now:

    also here is whats inside my /var/www:

    Please help me, this can't go on like this.
     
  5. falko

    falko Super Moderator Howtoforge Staff

    Have you tried to increase the PHP memory limit in /root/ispconfig/php/php.ini? I guess your log files are too big for your current memory limit.
     
  6. Ovidiu

    Ovidiu Active Member

    seems like the upgrade overrode the values I had changed inside the php.ini.

    I changed the values back to way higher values and here is the next result:

     
  7. falko

    falko Super Moderator Howtoforge Staff

    64 MB might not be enough, depending on the size of the logs. Set it to 200 MB or higher for testing purposes.
     
  8. Ovidiu

    Ovidiu Active Member

    I have been rethinking this. the upgrade, changing the memory limit back to 16m could not have been the reason as it seems I had started getting these problems 3-4 days before the upgrade. anyway I set memory limit to 256m with the same result:

     
  9. Ovidiu

    Ovidiu Active Member

    any more ideas?
     
  10. falko

    falko Super Moderator Howtoforge Staff

    Not really... :confused:
     
  11. Ovidiu

    Ovidiu Active Member

    I have reread all related posts and I saw that the presence of a folder called localhost was making problems, now I have seen that I have also a folder called mail and one webmail inside /var/www

    the webmail folder was always there, there are no logs inside, while I do not know where the mail folder came from, it has log files. Could this folder be causing the same problems like the localhost folder was doing? And how could I circumvent this?
     
  12. falko

    falko Super Moderator Howtoforge Staff

    None of these folders should prevent ISPConfig from creating the webalizer statistics. They will produce warnings, nothing more.
     
  13. Ovidiu

    Ovidiu Active Member

    ok, I'll perform the update to the newest version tomorrow, maybe you can asist with more ideas of what to test. can't I perform some more debugging of the webalizer.php script?
     
  14. Ovidiu

    Ovidiu Active Member

    yesterday evening, maybe around 23 o'clock I performed the upgrade to 2.2.2 and this morning I found that my stats were compiling again.

    with the standard settings of memory_limit = 16M...

    now I changed the values back to :

    max_execution_time = 600
    max_input_time = 180
    memory_limit = 512M

    and hopefully it will continue to run.
     
  15. nenad

    nenad Member

    what does this mean?:
    1200 records (1200 ignored) in 0.03 seconds
    255 records (255 ignored) in 0.01 seconds
     
  16. falko

    falko Super Moderator Howtoforge Staff

    This happens if you feed records to webalizer that it already has in its database.
     
  17. nenad

    nenad Member

    It seems that Apache is not creating any log files????
     
  18. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    ls -l /var/log
    ?
     
  19. nenad

    nenad Member

    server200:~# ls -l /var/log
    total 11440
    drwxr-xr-x 2 root root 4096 2006-05-21 06:26 apache2
    -rw-r--r-- 1 root root 2401 2006-05-09 23:11 aptitude
    -rw-r----- 1 root adm 885308 2006-05-27 14:17 auth.log
    -rw-r----- 1 root adm 857580 2006-05-21 06:47 auth.log.0
    -rw-r----- 1 root adm 25920 2006-05-14 06:47 auth.log.1.gz
    -rw-r--r-- 1 root root 467273 2006-05-09 23:18 base-config.log.1
    -rw-r--r-- 1 root root 58727 2006-05-09 23:18 base-config.timings.1
    -rw-rw-r-- 1 root utmp 0 2006-05-10 00:25 btmp
    -rw-r----- 1 root adm 1201103 2006-05-27 14:17 daemon.log
    -rw-r----- 1 root adm 1296119 2006-05-25 06:25 daemon.log.0
    -rw-r----- 1 root adm 51722 2006-05-21 06:46 daemon.log.1.gz
    -rw-r----- 1 root adm 69638 2006-05-18 06:26 daemon.log.2.gz
    -rw-r----- 1 root adm 54951 2006-05-14 06:46 daemon.log.3.gz
    drwxr-xr-x 3 root root 4096 2006-05-10 00:31 debian-installer
    -rw-r----- 1 root adm 187897 2006-05-27 12:13 debug
    -rw-r----- 1 root adm 19502 2006-05-21 01:45 debug.0
    -rw-r----- 1 root adm 781 2006-05-13 23:32 debug.1.gz
    -rw-r--r-- 1 root root 7563 2006-05-15 10:38 dmesg
    drwxr-s--- 2 Debian-exim adm 4096 2006-05-12 06:25 exim4
    -rw-r--r-- 1 root root 404 2006-05-09 23:36 fontconfig.log
    drwxr-xr-x 2 root root 4096 2006-05-27 00:00 httpd
    -rw-r--r-- 1 root root 8766 2006-05-10 21:55 ispconfig_install.log
    -rw-r----- 1 root adm 0 2006-05-21 06:47 kern.log
    -rw-r----- 1 root adm 13679 2006-05-15 10:38 kern.log.0
    -rw-r----- 1 root adm 9920 2006-05-13 23:33 kern.log.1.gz
    drwxr-xr-x 2 root root 8192 2006-05-27 09:37 ksymoops
    -rw-rw-r-- 1 root utmp 3504584 2006-05-27 14:16 lastlog
    -rw-r--r-- 1 root root 0 2006-05-09 23:15 lp-acct
    -rw-r--r-- 1 root root 0 2006-05-09 23:15 lp-errs
    -rw-r----- 1 root adm 0 2006-05-14 06:47 lpr.log
    -rw-r----- 1 root adm 47 2006-05-09 23:15 lpr.log.0
    -rw-r----- 1 root adm 0 2006-05-14 06:47 mail.err
    -rw-r----- 1 root adm 87 2006-05-10 22:33 mail.err.0
    -rw-r----- 1 root adm 649822 2006-05-27 14:16 mail.info
    -rw-r----- 1 root adm 1080916 2006-05-25 06:25 mail.info.0
    -rw-r----- 1 root adm 24884 2006-05-21 06:46 mail.info.1.gz
    -rw-r----- 1 root adm 58953 2006-05-19 06:25 mail.info.2.gz
    -rw-r----- 1 root adm 42959 2006-05-14 06:46 mail.info.3.gz
    -rw-r----- 1 root adm 670068 2006-05-27 14:16 mail.log
    -rw-r----- 1 root adm 1099029 2006-05-25 06:25 mail.log.0
    -rw-r----- 1 root adm 35991 2006-05-21 06:46 mail.log.1.gz
    -rw-r----- 1 root adm 49572 2006-05-18 06:26 mail.log.2.gz
    -rw-r----- 1 root adm 44143 2006-05-14 06:46 mail.log.3.gz
    -rw-r----- 1 root adm 0 2006-05-21 06:47 mail.warn
    -rw-r----- 1 root adm 178 2006-05-17 13:23 mail.warn.0
    -rw-r----- 1 root adm 837 2006-05-13 14:02 mail.warn.1.gz
    -rw-r----- 1 root adm 17169 2006-05-27 13:58 messages
    -rw-r----- 1 root adm 31469 2006-05-21 06:38 messages.0
    -rw-r----- 1 root adm 10680 2006-05-14 06:25 messages.1.gz
    drwxr-x--- 2 munin adm 4096 2006-05-27 06:25 munin
    drwxr-s--- 2 mysql adm 4096 2006-05-27 06:25 mysql
    -rw-r----- 1 root adm 0 2006-05-27 06:25 mysql.err
    -rw-r----- 1 root adm 20 2006-05-27 06:25 mysql.err.1.gz
    -rw-r----- 1 root adm 20 2006-05-26 06:25 mysql.err.2.gz
    -rw-r----- 1 root adm 20 2006-05-25 06:26 mysql.err.3.gz
    -rw-r----- 1 root adm 20 2006-05-24 06:25 mysql.err.4.gz
    -rw-r----- 1 root adm 20 2006-05-23 06:25 mysql.err.5.gz
    -rw-r----- 1 root adm 20 2006-05-22 06:25 mysql.err.6.gz
    -rw-r----- 1 root adm 20 2006-05-21 06:26 mysql.err.7.gz
    -rw-r----- 1 mysql adm 0 2006-05-27 06:25 mysql.log
    -rw-r----- 1 mysql adm 20 2006-05-27 06:25 mysql.log.1.gz
    -rw-r----- 1 mysql adm 20 2006-05-26 06:25 mysql.log.2.gz
    -rw-r----- 1 mysql adm 20 2006-05-25 06:26 mysql.log.3.gz
    -rw-r----- 1 mysql adm 20 2006-05-24 06:25 mysql.log.4.gz
    -rw-r----- 1 mysql adm 20 2006-05-23 06:25 mysql.log.5.gz
    -rw-r----- 1 mysql adm 20 2006-05-22 06:25 mysql.log.6.gz
    -rw-r----- 1 mysql adm 20 2006-05-21 06:26 mysql.log.7.gz
    drwxr-sr-x 2 news news 4096 2006-05-10 00:33 news
    -rw-r----- 1 root adm 697707 2006-05-27 14:17 syslog
    -rw-r----- 1 root adm 702394 2006-05-27 06:25 syslog.0
    -rw-r----- 1 root adm 35479 2006-05-26 06:25 syslog.1.gz
    -rw-r----- 1 root adm 37140 2006-05-25 06:25 syslog.2.gz
    -rw-r----- 1 root adm 35129 2006-05-24 06:25 syslog.3.gz
    -rw-r----- 1 root adm 39180 2006-05-23 06:25 syslog.4.gz
    -rw-r----- 1 root adm 36057 2006-05-22 06:25 syslog.5.gz
    -rw-r----- 1 root adm 37474 2006-05-21 06:25 syslog.6.gz
    -rw-r----- 1 root adm 0 2006-05-21 06:47 user.log
    -rw-r----- 1 root adm 127 2006-05-15 10:38 user.log.0
    -rw-r----- 1 root adm 368 2006-05-13 23:33 user.log.1.gz
    -rw-r--r-- 1 root root 0 2006-05-10 00:33 uucp.log
    -rw-rw-r-- 1 root utmp 277248 2006-05-27 14:16 wtmp
    -rw-r--r-- 1 root root 465969 2006-05-27 12:26 xferlog
     
  20. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the output of:

    ls -lah /var/log/httpd
    ls -lah /var/log/apache2
     

Share This Page