Statistik geht sei update auf 1.2.2 nicht mehr

  • Hallo,


    mir auf verschiedenen Servern sowie beim bekannteń auf seinen Servern geht die Statistik funktion nicht mehr, zeigt jetzt immer 0 besucher an.


    Das ganze erst nach dem update, der völlig problemlos durchlief, auf die v 1.2.2.


    Hier die Serverdaten:


    Ubuntu 14.04.2 LTS, PHP 5.5.9-1ubuntu4.6, Apache/2.4.7, i-MSCP: 1.2.2

  • @divox


    Please:

    • Be sure that the cron package is installed on your system
    • Be sure that cron is running on your system
    • Give us the result of the following commands:
    Shell-Script
    1. # cat /etc/cron.d/imscp


    and


    Shell-Script
    1. # iptables -L


    and


    Shell-Script
    1. # perl /var/www/imscp/engine/traffic/imscp-srv-traff -v


    and


    Shell-Script
    1. # perl /var/www/imscp/engine/traffic/imscp-vrl-traff -v


    Also please, try to update to https://github.com/i-MSCP/imscp/archive/1.2.x.zip



    Thanks

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Sorry ich war paar Tage nicht da.



    Hier die angefordeten sachen:


    cat /etc/cron.d/imscp

    Code
    1. # Quota accounting0,30 * * * * root /var/www/imscp/engine/quota/imscp-dsk-quota &>/var/log/imscp/imscp-dsk-quota.log# Traffic accounting0,30 * * * * root /var/www/imscp/engine/traffic/imscp-srv-traff &>/var/log/imscp/imscp-srv-traff.log0,30 * * * * root /var/www/imscp/engine/traffic/imscp-vrl-traff &>/var/log/imscp/imscp-vrl-traff.log# Customer logs@daily root /var/www/imscp/engine/tools/imscp-httpd-logs-mngr &>/var/log/imscp/imscp-httpd-logs-mngr.log# Backup customers' data depending of the domain properties40 23 * * * root /usr/bin/nice -n 10 /var/www/imscp/engine/backup/imscp-backup-all &>/var/log/imscp/imscp-backup-all-mngr.log# Backup i-MSCP configuration files and database@daily root /usr/bin/nice -n 10 /var/www/imscp/engine/backup/imscp-backup-imscp &>/var/log/imscp/imscp-backup-imscp-mngr.log# Remove configuration backups older than 7 days@weekly root /usr/bin/find /etc/imscp/*/backup -type f -mtime +7 -regextype sed -regex '.*/.*[0-9]\{10\}$' -exec /bin/rm -- {} +# Remove backend Logs older than 7 days@weekly root /usr/bin/find /var/log/imscp -type f -mtime +7 -exec /bin/rm -- {} +# Disable expired accounts@daily root /var/www/imscp/engine/tools/imscp-disable-accounts >/dev/null 2>&1# imscp [Package::Webstats::Awstats] entry BEGIN15 3-21/6 * * * root /usr/bin/perl /var/www/imscp/engine/PerlLib/Package/Webstats/Awstats/Scripts/awstats_updateall.pl now -awstatsprog=/usr/lib/cgi-bin/awstats.pl >/dev/null 2>&1# imscp [Package::Webstats::Awstats] entry ENDING# imscp [Package::AntiRootkits::Rkhunter] entry BEGIN@weekly root /usr/bin/nice -n 10 /usr/bin/perl /var/www/imscp/engine/PerlLib/Package/AntiRootkits/Rkhunter/Cron.pl >/dev/null 2>&1# imscp [Package::AntiRootkits::Rkhunter] entry ENDING# imscp [Package::AntiRootkits::Chkrootkit] entry BEGIN@weekly root /usr/bin/nice -n 10 /usr/sbin/chkrootkit 1> /var/log/chkrootkit.log 2>&1# imscp [Package::AntiRootkits::Chkrootkit] entry ENDING# imscp [{ENTRY_ID}] entry BEGIN# imscp [{ENTRY_ID}] entry ENDING



    iptables -L

    Code
    1. Chain INPUT (policy ACCEPT)target prot opt source destination IMSCP_INPUT all -- anywhere anywhere fail2ban-dovecot tcp -- anywhere anywhere multiport dports smtp,urd,submission,imap2,imap3,imaps,pop3,pop3sfail2ban-sasl tcp -- anywhere anywhere multiport dports smtp,urd,submission,imap2,imap3,imaps,pop3,pop3sfail2ban-postfix tcp -- anywhere anywhere multiport dports smtp,urd,submissionfail2ban-pure-ftpd tcp -- anywhere anywhere multiport dports ftp,ftp-data,ftps,ftps-datafail2ban-proftpd tcp -- anywhere anywhere multiport dports ftp,ftp-data,ftps,ftps-datafail2ban-apache tcp -- anywhere anywhere multiport dports http,httpsfail2ban-ssh tcp -- anywhere anywhere multiport dports sshChain FORWARD (policy ACCEPT)target prot opt source destination Chain OUTPUT (policy ACCEPT)target prot opt source destination IMSCP_OUTPUT all -- anywhere anywhere Chain IMSCP_INPUT (1 references)target prot opt source destination tcp -- anywhere anywhere tcp spt:submission tcp -- anywhere anywhere tcp spt:urd tcp -- anywhere anywhere tcp spt:smtp tcp -- anywhere anywhere tcp dpt:imaps tcp -- anywhere anywhere tcp dpt:pop3s tcp -- anywhere anywhere tcp dpt:submission tcp -- anywhere anywhere tcp dpt:urd tcp -- anywhere anywhere tcp dpt:smtp tcp -- anywhere anywhere tcp dpt:imap2 tcp -- anywhere anywhere tcp dpt:pop3 tcp -- anywhere anywhere tcp dpt:https tcp -- anywhere anywhere tcp dpt:httpRETURN all -- anywhere anywhere Chain IMSCP_OUTPUT (1 references)target prot opt source destination tcp -- anywhere anywhere tcp dpt:submission tcp -- anywhere anywhere tcp dpt:urd tcp -- anywhere anywhere tcp dpt:smtp tcp -- anywhere anywhere tcp spt:imaps tcp -- anywhere anywhere tcp spt:pop3s tcp -- anywhere anywhere tcp spt:submission tcp -- anywhere anywhere tcp spt:urd tcp -- anywhere anywhere tcp spt:smtp tcp -- anywhere anywhere tcp spt:imap2 tcp -- anywhere anywhere tcp spt:pop3 tcp -- anywhere anywhere tcp spt:https tcp -- anywhere anywhere tcp spt:httpRETURN all -- anywhere anywhere Chain fail2ban-apache (1 references)target prot opt source destination RETURN all -- anywhere anywhere Chain fail2ban-dovecot (1 references)target prot opt source destination RETURN all -- anywhere anywhere Chain fail2ban-postfix (1 references)target prot opt source destination RETURN all -- anywhere anywhere Chain fail2ban-proftpd (1 references)target prot opt source destination RETURN all -- anywhere anywhere Chain fail2ban-pure-ftpd (1 references)target prot opt source destination RETURN all -- anywhere anywhere Chain fail2ban-sasl (1 references)target prot opt source destination RETURN all -- anywhere anywhere Chain fail2ban-ssh (1 references)target prot opt source destination RETURN all -- anywhere anywhere


    perl /var/www/imscp/engine/traffic/imscp-srv-traff -v

    Code
    1. iMSCP::Bootstrapper::lock: Acquire exclusive lock on /tmp/imscp-srv-traff.lockiMSCP::Bootstrapper::boot: Booting backend...iMSCP::Config::_init: Tying /etc/imscp/imscp.confiMSCP::Config::_loadConfig: Loading /etc/imscp/imscp.confiMSCP::Config::_parseConfig: Parsing /etc/imscp/imscp.confiMSCP::Debug::setDebug: Debug mode is disablediMSCP::Execute::execute: Executing command: /sbin/iptables -nvxL IMSCP_OUTPUTiMSCP::Execute::getExitCode: External command exited with value 0main::run: Chain IMSCP_OUTPUT (1 references) pkts bytes target prot opt in out source destination 0 0 tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:587 0 0 tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:465 0 0 tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:25 281 116435 tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spt:993 228 127322 tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spt:995 0 0 tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spt:587 0 0 tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spt:465 497 140061 tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spt:25 639 130675 tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spt:143 38 13538 tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spt:110 357 209920 tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spt:443 172 75636 tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spt:80 6028 1635435 RETURN all -- * * 0.0.0.0/0 0.0.0.0/0 iMSCP::Execute::execute: Executing command: /sbin/iptables -nvxL IMSCP_INPUTiMSCP::Execute::getExitCode: External command exited with value 0main::run: Chain IMSCP_INPUT (1 references) pkts bytes target prot opt in out source destination 0 0 tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spt:587 0 0 tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spt:465 0 0 tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp spt:25 349 30813 tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:993 299 27413 tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:995 0 0 tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:587 0 0 tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:465 540 40576 tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:25 1172 82908 tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:143 36 2928 tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:110 496 46929 tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:443 191 14172 tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 10228 74067431 RETURN all -- * * 0.0.0.0/0 0.0.0.0/0 iMSCP::Execute::execute: Executing command: /sbin/iptables -Z IMSCP_OUTPUTiMSCP::Execute::getExitCode: External command exited with value 0iMSCP::Execute::execute: Executing command: /sbin/iptables -Z IMSCP_INPUTiMSCP::Execute::getExitCode: External command exited with value 0iMSCP::Bootstrapper::unlock: Release exclusive lock on /tmp/imscp-srv-traff.lock



    perl /var/www/imscp/engine/traffic/imscp-vrl-traff -v

  • Re ;


    @divox


    I don't see any problem there. Which page belongs to the screen that you have posted exactly? Please give me the full URL. Also, could you please try to change the cron job time date fields to * * * * * for the traffic accounting tasks in the /etc/cron.d/imscp file and look at your syslog ( tail -fn0 /var/log/syslog ) to see if they are run correctly? Once done, post the output there. And don't forget to reset-back the timedate fields afterward.


    Thanks.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • @divox


    Give me also the output of the following commands:


    Shell-Script
    1. # dpkg-query -l cron


    and


    Shell-Script
    1. # pgrep -f cron


    Thanks

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • dpkg-query -l cron




    Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
    | Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
    Halb installiert/Trigger erWartet/Trigger anhängig
    |/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: GROSS=schlecht)
    ||/ Name Version Architektur Beschreibung
    +++-==============-============-============-=================================
    ii cron 3.0pl1-124ub amd64 process scheduling daemon



    -------------------------------------


    pgrep -f cron
    901

  • @divox


    Waiting answer for my previous post too ;)

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • cat /var/log/syslog | grep cron
    Mar 3 07:17:01 xxx CRON[10469]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
    Mar 3 08:17:01 xxx CRON[17737]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
    Mar 3 09:17:01 xxx CRON[25193]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
    Mar 3 10:17:01 xxx CRON[32596]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
    Mar 3 11:17:01 xxx CRON[7598]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
    Mar 3 12:17:01 xxx CRON[14998]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)