Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Connect » Failed to start XMPP service. (Another application is probably using the service's port number)
  •  
rga1

Messages: 6
Karma: 0
Send a private message to this user
I am unable to start Instant Messaging or Secure Instant Messageing

I get the above error -port may be in use

I check, it is not in use, i have also tried to change the service port number -same error

Service's are set to 'All addresses'

in debug i get:
[17/May/2013 15:37:42][3724] {im} Start XMPP/XMPPS protocol service message (secure='false') has been arranged (id: 66287ba5-4b50-4f4a-abd4-e7dc0ff1a54f).
[17/May/2013 15:37:42][3724] {im} Skipping sending 66287ba5-4b50-4f4a-abd4-e7dc0ff1a54f message.
[17/May/2013 15:43:53][3724] {im} Start XMPP/XMPPS protocol service message (secure='false') has been arranged (id: 6338ef82-95ff-4429-a3c5-212941afa09d).
[17/May/2013 15:43:53][3724] {im} Skipping sending 6338ef82-95ff-4429-a3c5-212941afa09d message.

No other errors in logs what so ever

I have rebooted
Red Hat Enterprise Linux Server release 5.9 (Tikanga)
iptables and ip6tables are off

netstat --tcp -lp -n
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:32000 0.0.0.0:* LISTEN 3381/java
tcp 0 0 XXX.XXX.XXX.XXX:995 0.0.0.0:* LISTEN 3536/mailserver
tcp 0 0 0.0.0.0:4040 0.0.0.0:* LISTEN 3536/mailserver
tcp 0 0 0.0.0.0:9898 0.0.0.0:* LISTEN 3381/java
tcp 0 0 XXX.XXX.XXX.XXX:110 0.0.0.0:* LISTEN 3536/mailserver
tcp 0 0 XXX.XXX.XXX.XXX:465 0.0.0.0:* LISTEN 3536/mailserver
tcp 0 0 0.0.0.0:44337 0.0.0.0:* LISTEN 3536/mailserver
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 3273/sshd
tcp 0 0 XXX.XXX.XXX.XXX:25 0.0.0.0:* LISTEN 3536/mailserver
tcp 0 0 XXX.XXX.XXX.XXX:443 0.0.0.0:* LISTEN 3536/mailserver

[Updated on: Fri, 17 May 2013 22:18]

  •  
rga1

Messages: 6
Karma: 0
Send a private message to this user
It looks like the java part is not starting
I built a test server and it works

here is what I see for java

Working
root 2803 2754 0 06:58 ? 00:00:03 javaservices/jre/bin/java -Djava.net.preferIPv4Stack=true -Xmx128m -XX:ErrorFile=core-xmppserver.dmp -jar javaservices/xmppserver/service-im.jar service.dir=javaservices/xmppserver data.dir="/opt/kerio/mailserver/store/xmpp" log.debug=1 service.im.timeout=180 service.im.remote.domain=kerio-connect.private service.im.remote.login=engine-im service.im.remote.port=4042
root 25443 2754 1 07:37 ? 00:00:00 javaservices/jre/bin/java -Djava.net.preferIPv4Stack=true -jar javaservices/fulltext/FullTextServer.jar -p 4041


Not working
root 22162 22109 0 12:16 ? 00:00:00 javaservices/jre/bin/java -Djava.net.preferIPv4Stack=true -jar javaservices/fulltext/FullTextServer.jar -p 4041

  •  
rga1

Messages: 6
Karma: 0
Send a private message to this user
i am 1 step closer...
-There is something wrong in mailserver.cfg

--who can help?
---what do i look for?


I saved everything..

I copied license, users.cfg and mailserver.cfg to a safe location
rpm -e kerio connect
remove /opt/kerio
rpm -i kerio connect
and cfgwizard (blocking all ports..)
started kerio connect
IM worked
-stopped kerio connect
-recoved license, users.cfg and mailserver.cfg
IM would not work -same error as above

-recoded old image (vmware snapshot)
opened ports...
  •  
Pavel Dobry (Kerio)

Messages: 5245
Karma: 251
Send a private message to this user
Did you restrict or limit access to web administration or Kerio Connect client from localhost (127.0:0.1)? Or even changed a port for administration? These could be the causes.

Otherwise I recommend to contact our technical support.
  •  
rga1

Messages: 6
Karma: 0
Send a private message to this user
all restrictions that I have on the prod server i duplicated on a vmware test server and it did not affect the IM on the test.

can you give me a list of the requirements/checks the IM java does when it starts?
or how to set up hi logging for that java part
The java for full text search starts...
  •  
rga1

Messages: 6
Karma: 0
Send a private message to this user
i got it to work

edit mailserver.cfg
changed

<table name="InstantMessaging">
<variable name="Enabled">0</variable>
changed to:
<variable name="Enabled">1</variable>

did a side by side diff of both config files and that was the only thing standing out...
Previous Topic: Security Breaches
Next Topic: EWS vs Mobile Profile in Connect?
Goto Forum:
  


Disclaimer:
Kerio discussion forums are intended for open communication between forum members and may contain information and material posted by members which may be useful in learning about Kerio products. The discussion forums are not intended to provide technical support for any specific product. Any information implied or expressed in the discussion forums is that of the posting member. Kerio is in no way responsible for the information posted in the forums, or its accuracy. Kerio employees may participate in the discussions, but their postings do not represent an offical position of the company on any issues raised or discussed. Kerio reserves the right to monitor and maintain the forums to promote free and accurate exchange of information.

Current Time: Wed Aug 23 08:13:57 CEST 2017

Total time taken to generate the page: 0.00454 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.