QueueMetrics > QueueMetrics installation

yum Instalation 1.5.0 OK, but unable to access...

(1/1)

mhcordeiro:
Hello All, I have sucessfully installed Queuemetrics 1.5.0 thru yum process, and everything went very well.
I'm using CentOS 4.4 and Asterisk 1.4.22.

However, when I tried to access http://server:8080/queuemetrics it didn't work. When trying to access http://server:8080 it also didn't work.

I tried to restart queuemetrics as follows, but it also didn't work.
[root@asterisk WEB-INF]# /etc/init.d/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
Starting 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

Then I tried checking the status of the queuemetrics process, and it looks OK. (I guess):

[root@asterisk WEB-INF]# ps -ef | grep queuemetrics
root      3368     1  0 17:55 ?        00:00:00 /usr/bin/perl /usr/local/qloader/qloader.pl -h localhost -d queuemetrics -u queuemetrics -p javadude /var/log/asterisk/queue_log P001 /var/log/asterisk/qloaderd.log
root      4508     1  1 18:47 pts/0    00:00:02 /usr/local/queuemetrics/java/bin/java -Xms128M -Xmx128M -Djava.endorsed.dirs=/usr/local/queuemetrics/tomcat/common/endorsed -classpath /usr/local/queuemetrics/java/lib/tools.jar:/usr/local/queuemetrics/tomcat/bin/bootstrap.jar:/usr/local/queuemetrics/tomcat/bin/commons-logging-api.jar -Dcatalina.base=/usr/local/queuemetrics/tomcat -Dcatalina.home=/usr/local/queuemetrics/tomcat -Djava.io.tmpdir=/usr/local/queuemetrics/tomcat/temp org.apache.catalina.startup.Bootstrap start
root      4553  4209  0 18:52 pts/0    00:00:00 grep queuemetrics

Everytime I try to access thru my web browser, I get "Internet Explorer cannot display the webpage".

Any clues that what might be wrong, or any configuration I should check??

Thanks,

Marco Cordeiro

Justinian:
I am running into the same issue. 

I see that 8080 is being listened to by Python which seems odd to me but might be standard (I was expecting apache or tomcat).

I updated server.xml and changed to 8081 and now I get the login page.

Does anyone know if this will cause a problem in the future?

QueueMetrics:
There must be something else attached to the default port 8080.

Try this


--- Code: ---[root@server ~]# lsof -i -P -n | grep 8080
java       2205    root    5u  IPv6    5825       TCP *:8080 (LISTEN)

--- End code ---
In this case we have a Java process whose PID is 2205.
To see its actual line:


--- Code: ---[root@server ~]# ps -fp 2205
UID        PID  PPID  C STIME TTY          TIME CMD
root      2205     1  0 Nov28 ?        00:26:35 /usr/local/queuemetrics/java/bin/java -Xms128M -Xmx128M -Djava.endorsed....
--- End code ---

If you have some other program on port 8080, turn it off and restart QueueMetrics.

If there is nothing else on port 8080, try disabling iptables; if it's actually iptables, you should create a rule for QM.
 

mhcordeiro:
It was really the iptables. After disabling it, I was able to access the system.

Thanks for the tip.

Marco

QueueMetrics:
Thanks. We'll add it to the FAQ.

Navigation

[0] Message Index

Go to full version