QueueMetrics forum
QueueMetrics => QueueMetrics installation => Topic started by: kressefresser on August 28, 2008, 12:17:06
-
Hello,
I´m new to QueueMetrics, so I hope my questions aren´t to dumb.
I´ve installed QueueMetrics 1.4.5 on a Gentoo Server with Tomcat 6 and Asterisk 1.2.
All works fine except of importing files form the server.
I always get an java.io.FileNotFoundException: /var/log/asterisk/queue_log (Permission denied) if I try to generate a report. The permissions on that file are read/write for all.
In the FAQ there is a part about "How do I run QueueMetrics with Java Security?". I´ve tried this out, but the effekt is the same. So what can I do? ???
Sorry for my bad English...
-
My suggestion is to completely disable the Java Security module.
-
My suggestion is to completely disable the Java Security module.
How can I disable this? I´m completly new to this Tomcat Stuff and our Admin is on vacation :(
-
See if this applies - I've never used Gentoo but this is a Tomcat setting:
http://astrecipes.net/index.php?n=227
http://queuemetrics.com/faq.jsp#faq-047-java_security
Basically if you look on the License page for the property java.security.policy, you find to what file it points to and try to delete it and restart.
-
Basically if you look on the License page for the property java.security.policy, you find to what file it points to and try to delete it and restart.
On my License page there is no java.security.policy part ??? May there other reasons for getting this Exceptions?
-
Which user is running the Tomcat process?
-
Hello,
if I do ps -aux |grep tomcat, I get:
root 27772 0.0 0.0 9588 1440 pts/0 S 09:49 0:00 /bin/bash /sbin/runscript.sh /etc/init.d/tomcat-6 start
tomcat 27777 188 1.5 1293188 61440 pts/0 Sl 09:49 0:01 /opt/sun-jdk-1.6.0.07/bin/java
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/var/lib/tomcat-6//conf/logging.properties
-classpath /usr/share/tomcat-6/lib/:/usr/share/tomcat-6//lib:/opt/sun-jdk-1.6.0.07/lib/tools.jar:/usr/share/tomcat-6//bin/bootstrap.jar:/usr/share/tomcat-6//bin/tomcat-juli.jar
-Dcatalina.base=/var/lib/tomcat-6/ -Dcatalina.home=/usr/share/tomcat-6/ -Djava.io.tmpdir=/var/tmp/tomcat-6/ org.apache.catalina.startup.Bootstrap start
-
Tomcat is running as user tomcat - can you try running it as root, just for a test?