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.
  • Hi, iirc, they should show up the next morning after install.
  • At this time, the UTM is running more than 24 hours :-(
  • 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
  • I have the same issue: logs are there but all graphs are empty. I have deleted the data but it's still not working.

    I think it is related to the backup restore functionality since it worked well in all my previous lab testing.
  • I have the same issue: logs are there but all graphs are empty. I have deleted the data but it's still not working.

    I think it is related to the backup restore functionality since it worked well in all my previous lab testing.


    I no have backup... and graph still broken...
  • 2012:07:05-11:23:45 ASG120 postgres[16430]: [1050-1] ERROR:  current transaction is aborted, commands ignored until end of transaction block
    2012:07:05-11:23:45 ASG120 postgres[16430]: [1050-2] STATEMENT:  select ins_appctrl($1, $2, $3, $4, $5, $6)
    2012:07:05-11:23:45 ASG120 postgres[16430]: [1051-1] ERROR:  current transaction is aborted, commands ignored until end of transaction block
    2012:07:05-11:23:45 ASG120 postgres[16430]: [1051-2] STATEMENT:  select ins_appctrl($1, $2, $3, $4, $5, $6)
    2012:07:05-11:23:45 ASG120 postgres[16430]: [1052-1] ERROR:  current transaction is aborted, commands ignored until end of transaction block
    2012:07:05-11:23:45 ASG120 postgres[16430]: [1052-2] STATEMENT:  select ins_appctrl($1, $2, $3, $4, $5, $6)
    2012:07:05-11:23:47 ASG120 postgres[16440]: [2-1] ERROR:  function upd_webseccat(unknown, unknown) does not exist at character 8
    2012:07:05-11:23:47 ASG120 postgres[16440]: [2-2] HINT:  No function matches the given name and argument types. You might need to add explicit type casts.
    2012:07:05-11:23:47 ASG120 postgres[16440]: [2-3] STATEMENT:  select upd_webseccat($1, $2)
    2012:07:05-11:25:01 ASG120 /usr/sbin/cron[16620]: (root) CMD (   /usr/local/bin/reporter/system-reporter.pl)
  • 2012:07:05-11:31:01 ASG120_WR /usr/sbin/cron[17605]: (root) CMD (/sbin/audld.plx --trigger)
    2012:07:05-11:32:01 ASG120_WR /usr/sbin/cron[17796]: (root) CMD (  nice -n19 /usr/local/bin/gen_inline_reporting_data.plx)
    2012:07:05-11:32:08 ASG120_WR postgres[17828]: [2-1] ERROR:  function pct(bigint, bigint) does not exist at character 205
    2012:07:05-11:32:08 ASG120_WR postgres[17828]: [2-2] HINT:  No function matches the given name and argument types. You might need to add explicit type casts.
    2012:07:05-11:32:08 ASG120_WR postgres[17828]: [2-3] STATEMENT:  with x as (select sum(duration) as dursum, sum(transfer) as trafsum, sum(requests) as reqsum from websecsessions_data  where logday between '2012-07-05' and '2012-07-05') select sum(transfer) as traffic, pct(cast(sum(transfer) as bigint), cast(x.trafsum as bigint)) as traffic_pct, pct(cast(extract(epoch from sum(duration)) as bigint), cast(extract(epoch from x.dursum) as bigint)) as dur_pct, sum(requests) as requests, clientusername as userid, pct(cast(sum(requests) as bigint), cast(x.reqsum as bigint)) as req_pct, count(distinct(clientusername)) as cnt_userid, sum(duration) as duration, sum(pages) as pages from websecsessions_data, x  where logday between '2012-07-05' and '2012-07-05' group by clientusername, x.dursum, x.trafsum, x.reqsum order by duration DESC limit 10 offset 0
  • 2012:07:05-11:58:45 ASG120_WR postgres[22296]: [1050-1] ERROR: current transaction is aborted, commands ignored until end of transaction block
    2012:07:05-11:58:45 ASG120_WR postgres[22296]: [1050-2] STATEMENT: select ins_appctrl($1, $2, $3, $4, $5, $6)
    2012:07:05-11:58:45 ASG120_WR postgres[22296]: [1051-1] ERROR: current transaction is aborted, commands ignored until end of transaction block
    2012:07:05-11:58:45 ASG120_WR postgres[22296]: [1051-2] STATEMENT: select ins_appctrl($1, $2, $3, $4, $5, $6)
    2012:07:05-11:58:45 ASG120_WR postgres[22296]: [1052-1] ERROR: current transaction is aborted, commands ignored until end of transaction block
    2012:07:05-11:58:45 ASG120_WR postgres[22296]: [1052-2] STATEMENT: select ins_appctrl($1, $2, $3, $4, $5, $6)
    2012:07:05-11:58:45 ASG120_WR postgres[22296]: [1053-1] ERROR: current transaction is aborted, commands ignored until end of transaction block
    2012:07:05-11:58:45 ASG120_WR postgres[22296]: [1053-2] STATEMENT: select ins_appctrl($1, $2, $3, $4, $5, $6)
    2012:07:05-11:58:45 ASG120_WR postgres[22296]: [1054-1] ERROR: current transaction is aborted, commands ignored until end of transaction block
    2012:07:05-11:58:45 ASG120_WR postgres[22296]: [1054-2] STATEMENT: select ins_appctrl($1, $2, $3, $4, $5, $6)
    2012:07:05-11:58:45 ASG120_WR postgres[22296]: [1055-1] ERROR: current transaction is aborted, commands ignored until end of transaction block
    2012:07:05-11:58:45 ASG120_WR postgres[22296]: [1055-2] STATEMENT: select ins_appctrl($1, $2, $3, $4, $5, $6)
    2012:07:05-11:58:45 ASG120_WR postgres[22296]: [1056-1] ERROR: current transaction is aborted, commands ignored until end of transaction block
    2012:07:05-11:58:45 ASG120_WR postgres[22296]: [1056-2] STATEMENT: select ins_appctrl($1, $2, $3, $4, $5, $6)
    2012:07:05-11:58:45 ASG120_WR postgres[22296]: [1057-1] ERROR: current transaction is aborted, commands ignored until end of transaction block
    2012:07:05-11:58:45 ASG120_WR postgres[22296]: [1057-2] STATEMENT: select ins_appctrl($1, $2, $3, $4, $5, $6)
    2012:07:05-11:58:45 ASG120_WR postgres[22296]: [1058-1] ERROR: current transaction is aborted, commands ignored until end of transaction block
    2012:07:05-11:58:45 ASG120_WR postgres[22296]: [1058-2] STATEMENT: select ins_appctrl($1, $2, $3, $4, $5, $6)
    2012:07:05-11:58:45 ASG120_WR postgres[22296]: [1059-1] ERROR: current transaction is aborted, commands ignored until end of transaction block
    2012:07:05-11:58:45 ASG120_WR postgres[22296]: [1059-2] STATEMENT: select ins_appctrl($1, $2, $3, $4, $5, $6)
    2012:07:05-11:58:45 ASG120_WR postgres[22296]: [1060-1] ERROR: current transaction is aborted, commands ignored until end of transaction block
    2012:07:05-11:58:45 ASG120_WR postgres[22296]: [1060-2] STATEMENT: select ins_appctrl($1, $2, $3, $4, $5, $6)
    2012:07:05-11:58:45 ASG120_WR postgres[22296]: [1061-1] ERROR: current transaction is aborted, commands ignored until end of transaction block
    2012:07:05-11:58:45 ASG120_WR postgres[22296]: [1061-2] STATEMENT: select ins_appctrl($1, $2, $3, $4, $5, $6)
    2012:07:05-11:58:45 ASG120_WR postgres[22296]: [1062-1] ERROR: current transaction is aborted, commands ignored until end of transaction block
    2012:07:05-11:58:45 ASG120_WR postgres[22296]: [1062-2] STATEMENT: select ins_appctrl($1, $2, $3, $4, $5, $6)
    2012:07:05-11:58:45 ASG120_WR postgres[22296]: [1063-1] ERROR: current transaction is aborted, commands ignored until end of transaction block
    2012:07:05-11:58:45 ASG120_WR postgres[22296]: [1063-2] STATEMENT: select ins_appctrl($1, $2, $3, $4, $5, $6)
    2012:07:05-11:58:46 ASG120_WR postgres[22299]: [2-1] ERROR: function upd_webseccat(unknown, unknown) does not exist at character 8
    2012:07:05-11:58:46 ASG120_WR postgres[22299]: [2-2] HINT: No function matches the given name and argument types. You might need to add explicit type casts.
    2012:07:05-11:58:46 ASG120_WR postgres[22299]: [2-3] STATEMENT: select upd_webseccat($1, $2)
    2012:07:05-11:58:53 ASG120_WR postgres[22315]: [2-1] FATAL: database "smtp" does not exist
    2012:07:05-11:59:03 ASG120_WR postgres[22388]: [2-1] FATAL: database "smtp" does not exist
    2012:07:05-11:59:13 ASG120_WR postgres[22412]: [2-1] FATAL: database "smtp" does not exist
  • Even doing the procedures below, the graphics still do not work ..
    How to recreate a postgres database: Astaro Security Gateway
  • Yup: definitely broken. And since Astaro/Sophos reps seems currently unable to answer renewal requests, our platinum support has ended so I can't report it directly.

    It's not tooc critical, though, but it'd be nice if they could fix it quickly.