cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5338
Views
10
Helpful
11
Replies

Prime Infrastructure Failed to run report

Willem de Groot
Level 1
Level 1

Hi all,

on a new installed PI 1.2.1 I have the  following error message as soon as I run a report:

Failed to run report: Could not connect to HTTP invoker remote service at [http://localhost:20556/reportingserver/remoting/ReportingService-httpinvoker]; nested exception is java.net.ConnectException: Connection refused

I'm not sure if the "localhost" is the problem.

Anybody any idea?

1 Accepted Solution

Accepted Solutions

Please run an ncs stop then and ncs start then see if you will be able to run the report. I've seen a couple of times over the past couple of weeks where everything showed running but reports wouldn't run....

thanks, rob

View solution in original post

11 Replies 11

Rob Johnson
Cisco Employee
Cisco Employee

From the CLI run an ncs status command to see if the Reporting Server is running.

Hi Rob,

Thanks for the answer, a NCS Stop / Start, did not solve the problem:

The status is:

/admin# ncs status

Health Monitor Server is running.

Reporting Server is Starting

Ftp Server is running

Database server is running

Tftp Server is running

Matlab Server is running

NMS Server is running.

SAM Daemon is running ...

DA Daemon is running ...

Syslog Daemon is running ...

status


This is a New installation of 1.2.1, no Update.

Any Idea?

Please run an ncs stop then and ncs start then see if you will be able to run the report. I've seen a couple of times over the past couple of weeks where everything showed running but reports wouldn't run....

thanks, rob

Hi Rob,

Workmate of Willem here.

I restarted the services more than once with ncs stop/start but to no avail.

ncs status yields the same results as mentioned before.

Have you got anymore ideas? Otherwise I will open a TAC with Cisco.

Thanks in advance,

Chris

Can you upload the log files?

These are collected running the backup-logs command from the CLI interface of the appliance.....

btw- i work in the TAC.....

Stopping and starting NCS didn't seem to help me. Reporting was running before I stopped NCS and after starting NCS

Any other ideas?

server/admin# show version

Cisco Application Deployment Engine OS Release: 2.0

ADE-OS Build Version: 2.0.1.038

ADE-OS System Architecture: x86_64

Copyright (c) 2005-2010 by Cisco Systems, Inc.

All rights reserved.

Hostname: SV195968

Version information of installed applications

---------------------------------------------

Cisco Prime Network Control System

------------------------------------------

Version : 1.2.1.012

server/admin#

Failed to run report: Could not connect to HTTP invoker remote service  at  [http://localhost:20556/reportingserver/remoting/ReportingService-httpinvoker];  nested exception is java.net.ConnectException: Connection refused

server/admin# ncs status

Health Monitor is stopped.

Reporting Server is Stopped

Ftp Server is Stopped

Database server is stopped

Tftp Server is Stopped

Matlab Server is Stopped

NMS Server is stopped.

SAM Daemon is not running ...

DA Daemon is not running ...

Syslog Daemon is not running ...

status

server/admin# ncs start

Starting Network Control System...

This may take a few minutes...

Network Control System started successfully.

start

server/admin#

server/admin#

server/admin# ncs status

Health Monitor Server is running.

Reporting Server is running

Ftp Server is Disabled

Database server is running

Tftp Server is Disabled

Matlab Server is running

NMS Server is running.

SAM Daemon is running ...

DA Daemon is running ...

Syslog Daemon is running ...

status

server/admin#

Hi Rob

Thanks for your support.
After the nth "ncs stop/start" the Reporting Server is finally running.
I have no longer error messages when generating reports.

So I will mark the thread as answered.

Thanks again.
Cheers,
Chris


Sent from Cisco Technical Support Android App

cool beans...

Hi Rob,

I had the same problem. (Version : 1.3.0.20)

ncs status -> Reporting Server is Starting

ncs stop did not stop the Reporting server.

ncs start did start the Reporting server.

Because of I often had such problems, do you have any advice on how to monitor, if the services on ncs are running ?

I do have the vmware version, that means usually no access to linux.

Run a regular remote user logon to check ncs status ?
Is there an snmp OID to check the status of the services ?

Check for any syslog messages with "ERROR [system]" ?

anything other, I can do ?

Best regards

Alois

You could maybe cron a shell script to run every so many minutes to check for the status of process(es).

maybe something like this:::

#!/bin/bash

#check if abc is running
if pgrep abc >/dev/null 2>&1
  then
     ...abc is running > mailx -v user@somewhere.com
  else
     ...abc is not running > mailx -v user@somewhere.com
fi

Newer versions of Prime Infrastructure have had fixes to address issues like this too...

If you're running 1.2.1.012 for example, you really, really should work to get it upgraded to a later version:::

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: