[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

4743.0. "Ultrix reporting problems ;>)" by EEMELI::KINNARI () Tue Mar 23 1993 03:15



Hi folks,

actually I have several problems with reporting in
Ultrix DECmcc V1.3 but I start with simple one. I'm using ingres v6.4 but
in my mind that doesn't have anything to do with my problems.


If I execute script mcc_rpts_graph.load the result is


 INGRES COPYGRAPH -- Copyright (c) 1986, 1992 Ingres Corporation
Copying graph into database mcc_export_rdb from file 
/usr/mcc/reports/mcc_int_hourly_graph.template . . .
INGRES COPYGRAPH -- Copyright (c) 1986, 1992 Ingres Corporation
Copying graph into database mcc_export_rdb from file 
/usr/mcc/reports/mcc_int_daily_graph.template . . .
E_OO0042 Could not retrieve object from system catalogs.
    Check to see if a concurrent user has destroyed the object.

E_OO003C NULL receiver of _encode

INGRES COPYGRAPH -- Copyright (c) 1986, 1992 Ingres Corporation
Copying graph into database mcc_export_rdb from file 
/usr/mcc/reports/mcc_circ_hourly_gr.template . . .
INGRES COPYGRAPH -- Copyright (c) 1986, 1992 Ingres Corporation
Copying graph into database mcc_export_rdb from file 
/usr/mcc/reports/mcc_circ_daily_gr.template . . .


Does someone know what is missing and what should be done to
fix the problem?

And of course I have painful problems generating reports but I
try to learn something about other topics first.

Rgds,
	//pasi
T.RTitleUserPersonal
Name
DateLines
4743.1More problems and some solutionsEEMELI::KINNARITue Mar 23 1993 07:45117


After few hours I have figured out what works and what doesn't ...

At least I have many bugs in my report writer (*.rw) file.
My kit is first SSB v1.3 kit.

Fore example, if I try to produce "TCP Traffic report" the
result is


tcpip_tcp_traffic.rpt.rpt_log

INGRES REPORT -- Copyright (c) 1981, 1992 Ingres Corporation
Reading report specifications and preparing query . . .
File '/usr/mcc/reports/tcpip_tcp_traff_rpt.rw': Start of specifications for Repo
rt 'tcpip_tcp_traff_rpt'.
E_RW13CB File '/usr/mcc/reports/tcpip_tcp_traff_rpt.rw' Line 193: Cannot
    use boolean expression in this command.

        Line in error:
        .nl
        ^
        Error processing continues . . .
E_RW100A 1 error(s) have occurred in setting up the report. No report will
    be written.  Correct errors and rerun.


And the line before '.nl' is

        reset_total = 1

If I add .let before reset_total = 1, ie.

        .let reset_total = 1

I get decent TCP traffic report.


The same problem exist in files

tcpip_tcp_traff_rpt.rw
tcpip_snmp_traff_rpt.rw
tcpip_snmp_error_rpt.rw
tcpip_int_traff_rpt.rw
tcpip_int_error_rpt.rw
tcpip_ip_traff_rpt.rw
tcpip_ip_error_rpt.rw


*************************************************************
Could someone who knowns something about the reports confirm
that the changes are mandatory.
*************************************************************



After that everything in SNMP reports works but graphs.
I'm exporting SNMP, IP, INTERFACE and TCP informationand
everything is OK from that point of view.


Interface hourly graph produces

INGRES TERMINAL MONITOR -- Copyright (c) 1981, 1992 Ingres Corporation
INGRES ULTRIX Version 6.4/03 (ds3.ulx/00) login Tue Mar 23 13:27:30 1993

continue
* * * Executing . . .

E_US0AC1 DROP: 'mcc_int_hourly_gr_tbl' does not exist or is not owned by
    you.
    (Tue Mar 23 13:27:30 1993)

continue
* * * * * * * * * * * * * * * * Executing . . .

(0 rows)
continue
* * * * * * * Executing . . .

(0 rows)
continue
* * * * * * * * * * * Executing . . .

(0 rows)
(0 rows)
continue
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Executin
g . . .

(0 rows)
(0 rows)
(0 rows)
(0 rows)
continue
* * * * * * Executing . . .

continue
* * Your SQL statement(s) have been committed.

INGRES Version 6.4/03 (ds3.ulx/00) logout
Tue Mar 23 13:27:37 1993
INGRES RUNGRAPH -- Copyright (c) 1986, 1992 Ingres Corporation
Retrieving graph 'mcc_int_hourly_graph' . . .
Retrieving data . . .
E_GR003C Table or view 'mcc_int_hourly_gr_tbl' has no rows.



It seems to be that something is missing ?!?! What/who adds entries
to mcc_int_hourly_gr_tbl table (it is empty) ?


Rgds,
	//pasi
4743.2TOOK::STAMWed Mar 24 1993 10:3313
I have run across some of the same problems, but most
should have been fixed.  I am just starting to look into
the Ingres/Vigraph commands now that I have the manuals,
so I don't have any answers for you at this moment.

The problem of the missing word (.let) in the *.rw files
will be corrected.  Since I didn't write the reports, and
since I ran the reports without the error occuring, I didn't
realize that this was a bug.  Thanks for pointing it out, and
I will make the change in the routines.

		- signed a very *BUSY* sample report fixer
			- Darrell