Hi,
does the generation work for the nightly executive reports? Can you please check in /opt/tmpfs when the last executive report was generated (date&time)? Can you then try to create a report manually again and watch this directory for a couple of minutes if the executive report in there is replaced?
-rw------- 1 root root 12288 Feb 13 09:45 repdispatcher.db
-rw-r--r-- 1 root root 0 Feb 13 09:46 repdispatcher.db.lock
drwxr-xr-x 2 root root 4096 Feb 6 11:17 sudo/
I clicked the manual generation button at 9:45, so it's locking/writing to that DB, I suppose.
-rw------- 1 root root 12288 Feb 13 09:45 repdispatcher.db
-rw-r--r-- 1 root root 0 Feb 13 09:46 repdispatcher.db.lock
drwxr-xr-x 2 root root 4096 Feb 6 11:17 sudo/
I clicked the manual generation button at 9:45, so it's locking/writing to that DB, I suppose.
2009:02:13-09:45:02 router /usr/sbin/cron[4224]: (root) CMD (/sbin/auisys.plx --nosys)
2009:02:13-09:45:02 router /usr/sbin/cron[4223]: (root) CMD ( /usr/local/bin/reportcontrol.sh)
2009:02:13-09:45:02 router /usr/sbin/cron[4225]: (root) CMD (nice -n19 /usr/local/bin/create_rrd_graphs.plx)
2009:02:13-09:45:03 router postgres[4207]: [3-1] ERROR: invalid page header in block 734 of relation "accounting"
2009:02:13-09:45:03 router postgres[4207]: [3-2] STATEMENT: INSERT INTO public.accounting
2009:02:13-09:45:03 router postgres[4207]: [3-3] (ip_saddr,ip_daddr,ip_protocol,l4_dport,raw_in_pktlen,raw_in_pktcount,raw_out_pktlen,raw_out_pktcount,flow_start_day,flow_start
2009:02:13-09:45:03 router postgres[4207]: [3-4] _sec,flow_duration) VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11);
2009:02:13-09:45:03 router ulogd[3201]: pg1: ERROR: invalid page header in block 734 of relation "accounting"
2009:02:13-09:45:11 router ulogd[3201]: input key `flow.start.sec' already has source
2009:02:13-09:45:12 router postgres[4254]: [3-1] ERROR: invalid page header in block 734 of relation "accounting"
2009:02:13-09:45:12 router postgres[4254]: [3-2] STATEMENT: INSERT INTO public.accounting
2009:02:13-09:45:12 router postgres[4254]: [3-3] (ip_saddr,ip_daddr,ip_protocol,l4_dport,raw_in_pktlen,raw_in_pktcount,raw_out_pktlen,raw_out_pktcount,flow_start_day,flow_start
2009:02:13-09:45:12 router postgres[4254]: [3-4] _sec,flow_duration) VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11);
2009:02:13-09:45:12 router ulogd[3201]: pg1: ERROR: invalid page header in block 734 of relation "accounting"
2009:02:13-09:45:13 router postgres[4249]: [3-1] ERROR: invalid page header in block 734 of relation "accounting"
2009:02:13-09:45:13 router postgres[4249]: [3-2] STATEMENT: SELECT transform_SI(CAST(sum(raw_in_pktlen + raw_out_pktlen) AS BIGINT),1) as bandwidth, transform_common(count(*))
2009:02:13-09:45:13 router postgres[4249]: [3-3] as connections FROM accounting
2009:02:13-09:45:15 router postgres[4260]: [3-1] ERROR: invalid page header in block 734 of relation "accounting"
2009:02:13-09:45:15 router postgres[4260]: [3-2] CONTEXT: automatic vacuum of table "reporting.public.accounting"
2009:02:13-09:45:17 router ulogd[3201]: input key `flow.start.sec' already has source
I'm not sure if it's related, but here are some entries in the system messages log ... this appears to repeat over and over...
2009:02:13-09:45:03 router postgres[4207]: [3-1] ERROR: invalid page header in block 734 of relation "accounting"
2009:02:13-09:45:03 router ulogd[3201]: pg1: ERROR: invalid page header in block 734 of relation "accounting"
reporting=> \dt
List of relations
Schema | Name | Type | Owner
--------+--------------------+-------+-----------
public | accounting | table | reporting
public | accounting_archive | table | reporting
public | auth | table | reporting
reporting=> vacuum accounting;
VACUUM
reporting=> drop view accounting_data;
DROP VIEW
reporting=> drop table accounting;
DROP TABLE
reporting=> create table accounting (
reporting(> ip_saddr bigint,
(shortened for brevity)
reporting(> );
NOTICE: CREATE TABLE will create implicit sequence "accounting__rowno_seq" for serial column "accounting._rowno"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "accounting_pkey" for table "accounting"
CREATE TABLE
create index accounting_dayidx on accounting (flow_start_day);
CREATE INDEX
reporting=> create view accounting_data as
(...)
reporting-> ip_saddr, ip_daddr, ip_protocol, l4_dport, dayabs;
CREATE VIEW