Cisco DNCS System Release 2.7 3.7 4.2 Guida Utente

Pagina di 52
 
 
 
No Data or Old Data in the Report 
 
4038579 Rev B 
29 
 
No Data or Old Data in the Report 
No Data in Report 
Occasionally, after you run a report, the resulting web page displays only the name 
of the report, a timestamp, and the Run Report button. If you believe that the report 
should contain data, use the following procedure to determine if DNCS is 
connecting to the DNCS database. 
1  Log in to the DNCS server and enter the password. 
2  Open an xterm window on the DNCS. 
3  Type cd /tmp and press Enter. 
4  Type ls *.err and press Enter.  
Note: The "l" in ls is a lowercase letter L. 
5  Type cat [report_name].err and press Enter. Replace [report_name] with the 
name of the report you are requesting. Do not type the brackets [ ] in the 
command. 
6  Locate the [report_name] / open Db( ) error: + an error msg.Exiting line in the 
list. The [report_name] represents the name of the requested report. 
7  Does the ERROR: failed to connect! message appear on your screen? 
 
If yes, Report Writer could not connect to the DNCS database; this is the 
reason that the reports do not contain data. 
 
If no, Report Writer is connected to the DNCS database, and there is no data 
to report or some other error has occurred. 
 
Old Data in Report 
If a report contains old data, click Run Report to refresh the report with current 
data. 
 
Regenerating SNMP Poll Report Data 
If the SNMP Poll Reports do not appear to be regenerating data, complete the 
following steps to correct the situation. 
1  Exit your web browser. 
2  From an xterm window on the DNCS, type su  root and press Enter
3  Enter the root password and press Enter
4  Type cd /dvs/RepWriter/current/webspace/gen and press Enter
5  Type ls and press Enter.  
Note: The "l" in ls is a lowercase letter L.