Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

all graphs are empty

Hey everyone,
I have the next problem.

I installed the software appliance again, after this fresh installation, all logs are available (no problem). Before the new installation, everything was allright.

First I imported this backup in the fresh installation, but then... all graphs are without any content.
I thought it is a bug, afterwards I installed the Up2Date package. Without any alterations - no content in my graphs.

Ok, after that, I tried the next installation. I imported another! backup-file during the first configuration wizard. --> all graphs are empty

It is possible, that the required service is not running?
FYI - i rebooted the system a few times, but nothing changed.

nice greetings!


This thread was automatically locked due to age.
Parents
  • The reason for this problem is the time. 
    After the installation, the time is for example 1 hour in the future and synchronized to the right time, after the time change all graphs are empty. It's an problem with the log entries and whose timestamps in the database.

    The solution for this is delete this databases and create them new.
    Afterwards I waited two hours and now display all graphs the informations.
    Of course not at productive systems!!!  This problem is reproducible, play with the time and you'll see.


    [UPDATE - solution]

    delete the graphs:
    cd /var/log/reporting/images
    rm *.png
    cd /
    /usr/local/bin/create_rrd_graphs.plx (or wait 5 minutes)
     
     
    If the graphs still empty you must delete the reporting database, if the first step don't work:
    /etc/init.d/ulogd stop
    /etc/init.d/syslogng stop
    /etc/init.d/postgresql stop
    mv /var/log/reporting/pgsql/16* /home/login
    /etc/init.d/postgresql start
    /var/storage/pgsql/init/reporting_db_init.sh   # -v for Debug Output
    /etc/init.d/syslogng start
    /etc/init.d/ulogd start


    Attention: you delete all the informations, you can't recover them

    nice greetings
Reply
  • The reason for this problem is the time. 
    After the installation, the time is for example 1 hour in the future and synchronized to the right time, after the time change all graphs are empty. It's an problem with the log entries and whose timestamps in the database.

    The solution for this is delete this databases and create them new.
    Afterwards I waited two hours and now display all graphs the informations.
    Of course not at productive systems!!!  This problem is reproducible, play with the time and you'll see.


    [UPDATE - solution]

    delete the graphs:
    cd /var/log/reporting/images
    rm *.png
    cd /
    /usr/local/bin/create_rrd_graphs.plx (or wait 5 minutes)
     
     
    If the graphs still empty you must delete the reporting database, if the first step don't work:
    /etc/init.d/ulogd stop
    /etc/init.d/syslogng stop
    /etc/init.d/postgresql stop
    mv /var/log/reporting/pgsql/16* /home/login
    /etc/init.d/postgresql start
    /var/storage/pgsql/init/reporting_db_init.sh   # -v for Debug Output
    /etc/init.d/syslogng start
    /etc/init.d/ulogd start


    Attention: you delete all the informations, you can't recover them

    nice greetings
Children
No Data