cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
898
Views
5
Helpful
5
Replies
Valery Denisov
Beginner

Cisco prime 1.2 failed to start

Hello!

Could someone help me with my issue. Ncs wont start and its failing all the time. In ServerStatus.log i can see something like this:

Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'xmpMain' defined in class path resource [xmp-rmi-context.xml]: Invocation of init method failed; nested exception is org.springframework.remoting.RemoteLookupFailureException: Could not find RMI service [rmi://localhost:1199/xmp-service] in RMI registry; nested exception is java.rmi.NotBoundException: xmp-service

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1401)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:512)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:309)

        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:189)

        at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1004)

        at com.cisco.xmp.startup.GetServerStatus.getStatus(GetServerStatus.java:68)

        at com.cisco.xmp.startup.GetServerStatus.main(GetServerStatus.java:45)

Caused by: org.springframework.remoting.RemoteLookupFailureException: Could not find RMI service [rmi://localhost:1199/xmp-service] in RMI registry; nested exception is java.rmi.NotBoundException: xmp-service

        at org.springframework.remoting.rmi.RmiClientInterceptor.lookupStub(RmiClientInterceptor.java:211)

        at org.springframework.remoting.rmi.RmiClientInterceptor.prepare(RmiClientInterceptor.java:147)

        at org.springframework.remoting.rmi.RmiClientInterceptor.afterPropertiesSet(RmiClientInterceptor.java:135)

        at org.springframework.remoting.rmi.RmiProxyFactoryBean.afterPropertiesSet(RmiProxyFactoryBean.java:68)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1460)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1398)

        ... 7 more

Caused by: java.rmi.NotBoundException: xmp-service

        at sun.rmi.registry.RegistryImpl.lookup(Unknown Source)

        at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)

        at sun.rmi.server.UnicastServerRef.oldDispatch(Unknown Source)

        at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)

        at sun.rmi.transport.Transport$1.run(Unknown Source)

        at java.security.AccessController.doPrivileged(Native Method)

        at sun.rmi.transport.Transport.serviceCall(Unknown Source)

        at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)

        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)

        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

        at java.lang.Thread.run(Unknown Source)

        at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)

        at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)

        at sun.rmi.server.UnicastRef.invoke(Unknown Source)

        at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)

        at java.rmi.Naming.lookup(Unknown Source)

        at org.springframework.remoting.rmi.RmiClientInterceptor.lookupStub(RmiClientInterceptor.java:200)

        ... 12 more

How this error can be fixed?

1 ACCEPTED SOLUTION

Accepted Solutions
AFROJ AHMAD
Cisco Employee

Hi Valery,

was it a fresh Installed ?  or you upgarded to 1.2 and did Data Migration ?

what is the output of " ncs status"

check this file " /opt/CSCOncs/conf/messaging.properties" . see if contain the correct IP address , if not correct it and

then restart ncs.

Thanks-
Afroz
[Do rate the useful post]
****Ratings Encourages Contributors ****

Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****

View solution in original post

5 REPLIES 5
AFROJ AHMAD
Cisco Employee

Hi Valery,

was it a fresh Installed ?  or you upgarded to 1.2 and did Data Migration ?

what is the output of " ncs status"

check this file " /opt/CSCOncs/conf/messaging.properties" . see if contain the correct IP address , if not correct it and

then restart ncs.

Thanks-
Afroz
[Do rate the useful post]
****Ratings Encourages Contributors ****

Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****

View solution in original post

Hi there.

It's fresh install without any upgrades or updates.

I corrected ip in /opt/CSCOncs/conf/messaging.properties and restarted ncs

ncs status looks like this:

Health Monitor Server is running.

Reporting Server is running

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

Web-console now active, but i can't login, neither admin/admin nor mine ssh account are not suitable.

Created new login via console but it wont work either.

try resetting the password ,from the below link:

http://www.cisco.com/c/en/us/td/docs/wireless/prime_infrastructure/1-2/configuration/guide/pi_12_cg/tasks.html#wp1223807

Thanks-
Afroz
[Do rate the useful post]
****Ratings Encourages Contributors ****

Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****

Thank you for your reply! problem solved

Great

Thanks for updating the thread..

Thanks-
Afroz
[Do rate the useful post]
****Ratings Encourages Contributors ****

Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****
Content for Community-Ad