Author Topic: [solved] QM suddenly failed, no error messages, web page wont load  (Read 2685 times)

cuban_cigar

  • Newbie
  • *
  • Posts: 37
  • Karma: 0
    • View Profile
Resolved with a complete removal of queuemetrics-java package, then

yum -y install queuemetrics

new issue:

key wont update
http://forum.queuemetrics.com/index.php?topic=1240.0


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

Queue metrics died suddenly on a system

1) times out when going to page
2) no error messages or indication that anything is wrong
3) did a mysqlcheck on queuemetrics database, it found and fixed an error
3) restarted mysql / tomcat / queuemetrics / httpd / asterisk


update: was able to produce this error after stopping qloader, restarting, killing off processes named java, then restarting queuemetrics:

[root@server ~]# service queuemetrics restart
Stopping QueueMetrics: Using CATALINA_BASE:   /usr/local/queuemetrics/tomcat
Using CATALINA_HOME:   /usr/local/queuemetrics/tomcat
Using CATALINA_TMPDIR: /usr/local/queuemetrics/tomcat/temp
Using JAVA_HOME:       /usr/local/queuemetrics/java
Catalina.stop: java.net.ConnectException: Connection refused
java.net.ConnectException: Connection refused
   at java.net.PlainSocketImpl.socketConnect(Native Method)
   at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
   at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
   at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
   at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
   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 org.apache.catalina.startup.Catalina.stopServer(Catalina.java:410)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:336)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:427)


not sure if this is normal, but I'm searching for anything remotely related

any testing ideas?


Thanks
« Last Edit: April 08, 2011, 19:44:41 by cuban_cigar »

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: QM suddenly failed, no error messages, web page wont load
« Reply #1 on: April 05, 2011, 10:05:41 »
Try a

Code: [Select]
ps fax | grep java
and kill it manually, then issue a restart.


cuban_cigar

  • Newbie
  • *
  • Posts: 37
  • Karma: 0
    • View Profile
Re: QM suddenly failed, no error messages, web page wont load
« Reply #2 on: April 05, 2011, 19:32:53 »
yes, did that yesterday

ok, reinstalling queumetrics with yum, its taking a long time to download the package "queuemetrics-java"

UPDATE:


reinstalled qm, fixed the issue

New problem with licences not updating:
« Last Edit: April 05, 2011, 20:31:18 by cuban_cigar »