cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1421
Views
0
Helpful
3
Replies

Not able to HTTP to SUB and SSH is not allowing any command to execute

anjali.garg
Level 1
Level 1

Hi All,

I came across an issue, where CUCM SUB is not accessible by HTTP/S and SSH is giving following output while trying to re-start or executing any command :

**************************************************

admin:utils service list

/usr/java/jdk1.6.0_24/jre/lib/rt.jar: error reading zip file

Exception in thread "main" java.lang.NoClassDefFoundError: java/net/ConnectException

        at com.cisco.iptplatform.cli.CliClassLauncher.<init>(CliClassLauncher.java:86)

        at sdMain.main(sdMain.java:1824)

Caused by: java.lang.ClassNotFoundException: java.net.ConnectException

        at java.net.URLClassLoader$1.run(URLClassLoader.java:199)

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

        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)

        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)

        ... 2 more

Caused by: java.util.zip.ZipException: error reading zip file

        at java.util.zip.ZipFile.read(Native Method)

        at java.util.zip.ZipFile.access$1200(ZipFile.java:31)

        at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:460)

        at sun.misc.Resource.getBytes(Resource.java:108)

        at java.net.URLClassLoader.defineClass(URLClassLoader.java:257)

        at java.net.URLClassLoader.access$000(URLClassLoader.java:58)

        at java.net.URLClassLoader$1.run(URLClassLoader.java:197)

        ... 7 more

*************************************

Any inputs please ??  Waiting for a hard re-boot to the device bit not sure if that would resolve the issue, Also when I first logged into SUB using SSH , I got the following :

*************************************

Command Line Interface is starting up, please wait ...

java.io.FileNotFoundException: /var/log/active/platform/log/cli.bin (Read-only f                             ile system)

        at java.io.RandomAccessFile.open(Native Method)

        at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)

        at com.cisco.iptplatform.fappend.ciscoRollingFileAppender.restoreIndex(c                             iscoRollingFileAppender.java:100)

        at com.cisco.iptplatform.fappend.ciscoRollingFileAppender.setFile(ciscoR                             ollingFileAppender.java:43)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.                             java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces                             sorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.apache.log4j.config.PropertySetter.setProperty(PropertySetter.jav                             a:196)

        at org.apache.log4j.config.PropertySetter.setProperty(PropertySetter.jav                             a:155)

        at org.apache.log4j.xml.DOMConfigurator.setParameter(DOMConfigurator.jav                             a:530)

        at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.ja                             va:182)

        at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurat                             or.java:140)

        at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfi                             gurator.java:153)

        at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOM                             Configurator.java:415)

        at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:3                             84)

        at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:783)

        at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java                             :666)

        at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java                             :616)

        at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java                             :584)

        at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:6                             87)

        at sdMain.initialize(sdMain.java:479)

        at sdMain.main(sdMain.java:646)

java.lang.NullPointerException

        at com.cisco.iptplatform.fappend.ciscoRollingFileAppender.updateIndex(ci                             scoRollingFileAppender.java:117)

        at com.cisco.iptplatform.fappend.ciscoRollingFileAppender.nextFileName(c                             iscoRollingFileAppender.java:92)

        at com.cisco.iptplatform.fappend.ciscoRollingFileAppender.append(ciscoRo                             llingFileAppender.java:74)

        at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:221)

        at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders                             (AppenderAttachableImpl.java:57)

        at org.apache.log4j.Category.callAppenders(Category.java:187)

        at org.apache.log4j.Category.forcedLog(Category.java:372)

        at org.apache.log4j.Category.debug(Category.java:241)

        at com.cisco.iptplatform.cli.CliSettings.getInstance(CliSettings.java:10                             6)

        at sdMain.initialize(sdMain.java:491)

        at sdMain.main(sdMain.java:646)

log4j:ERROR No output stream or file set for the appender named [CLI_LOG].

/usr/java/jdk1.6.0_24/jre/lib/rt.jar: error reading zip file

Exception in thread "Thread-9" java.lang.NoClassDefFoundError: java/net/URI$Pars                             er

        at java.net.URI.<init>(URI.java:578)

        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:350)

        at java.net.Socket.connect(Socket.java:529)

        at java.net.Socket.connect(Socket.java:478)

        at java.net.Socket.<init>(Socket.java:375)

        at java.net.Socket.<init>(Socket.java:189)

        at com.cisco.ccm.util.ncs.NcsClient.connect(NcsClient.java:342)

        at com.cisco.ccm.util.ncs.NcsClient$ReceiveThread.run(NcsClient.java:447                             )

   Welcome to the Platform Command Line Interface

    WARNING:

        The /common file system is mounted read only.

        Please use Recovery Disk to check the file system using fsck.

**********************************

Cheers

Anjali

1 Accepted Solution

Accepted Solutions

Martin Bauer
Level 1
Level 1

Check this Bug: CSCti52867 - https://supportforums.cisco.com/docs/DOC-12955

I have a customer with this same problem, we use to use the Callmanager Recovery DVD, as Amine said, to recover the HD. But some times reseting the server resolved the problem.

Mártin

View solution in original post

3 Replies 3

Amine Nouasri
Level 3
Level 3

You maybe running into issues with the actual file system of the server. I would try to boot the SUB from the recovery disk. Use the one that corresponds to the version of your cluster and select F to fix any file system related issues.

Please rate helpful answers!

Martin Bauer
Level 1
Level 1

Check this Bug: CSCti52867 - https://supportforums.cisco.com/docs/DOC-12955

I have a customer with this same problem, we use to use the Callmanager Recovery DVD, as Amine said, to recover the HD. But some times reseting the server resolved the problem.

Mártin

Hi Guys,

Thanks for your answers.

It was actually related to BUG mentioned by Martin :

CSCti52867

so, we ran the recovery disk along with new patches applied to the server which resolved the isue.

Cheers

Anjali