Project

General

Profile

nohup: redirecting stderr to stdout

lv yulin
Added over 4 years ago

when start tigase show information like this,any wrong?

root@ubuntu:/opt/tigase# ./scripts/tigase.sh start etc/tigase.conf

Starting Tigase:

nohup: redirecting stderr to stdout

Tigase running pid=31673

logs

p:9060

2014-08-16 17:04:52.887 [main] MonitoringSetup.initMonitoring() CONFIG: Loading JMX monitor.

2014-08-16 17:04:53.014 [main] MonitoringSetup.initMonitoring() CONFIG: Loading HTTP monitor.

2014-08-16 17:04:53.022 [main] MonitoringSetup.initMonitoring() CONFIG: Loading SNMP monitor.

2014-08-16 17:04:53.365 [main] MonitoringSetup.initMonitoring() WARNING: Can not start the monitor: snmp:9060:

java.lang.IllegalArgumentException: Cannot create ACL entry for devel.tigase.org: Name or service not known

    at com.sun.management.snmp.IPAcl.Host.buildAclEntries(Host.java:101)

    at com.sun.management.snmp.IPAcl.SimpleNode.buildAclEntries(SimpleNode.java:147)

    at com.sun.management.snmp.IPAcl.SimpleNode.buildAclEntries(SimpleNode.java:147)

    at com.sun.management.snmp.IPAcl.SimpleNode.buildAclEntries(SimpleNode.java:147)

    at com.sun.management.snmp.IPAcl.SimpleNode.buildAclEntries(SimpleNode.java:147)

    at com.sun.management.snmp.IPAcl.SimpleNode.buildAclEntries(SimpleNode.java:147)

    at com.sun.management.snmp.IPAcl.JdmkAcl.readAuthorisedListFile(JdmkAcl.java:447)

    at com.sun.management.snmp.IPAcl.JdmkAcl.<init>(JdmkAcl.java:139)

    at tigase.management.MonitoringSetup.initMonitoring(MonitoringSetup.java:164)

    at tigase.conf.ConfiguratorAbstract.initMonitoring(ConfiguratorAbstract.java:976)

    at tigase.conf.ConfiguratorAbstract.init(ConfiguratorAbstract.java:256)

    at tigase.server.XMPPServer.start(XMPPServer.java:133)

    at tigase.server.XMPPServer.main(XMPPServer.java:112)

2014-08-16 17:04:53.389 [main] MessageRouter.addRegistrator() INFO: Adding registrator: Configurator

2014-08-16 17:04:53.389 [main] MessageRouter.addComponent() INFO: Adding component:

2014-08-16 17:04:53.390 [main] ConfiguratorAbstract.componentAdded() CONFIG: component: basic-conf

2014-08-16 17:04:53.390 [main] ConfiguratorAbstract.setup() CONFIG: Setting up component: basic-conf

env

java version "1.7.0_67"

Java(TM) SE Runtime Environment (build 1.7.0_67-b01)

Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

Ubuntu Version:

"Ubuntu 14.04 LTS"


Replies (3)

Avatar?id=6023&size=32x32

Added by Artur Hefczyc TigaseTeam over 4 years ago

Most likely mistake in Tigase configuration. Why do you use devel.tigase.org domain?

Added by lv yulin over 4 years ago

@ubuntu:~$ vi /opt/tigase/etc/init.properties

config-type=--gen-config-def

--admins=admin@p.long.com

--virt-hosts = p.long.com

--debug=server

i have already configure like this

Added by Wojciech Kapcia TigaseTeam over 4 years ago

Your confing does not reflect the logs - you don't have monitoring enabled yet logs show initialization of it. If you don't need monitoring then it's not necessary to enable it. It's also essential to use correct configuration.

    (1-3/3)