Project

General

Profile

File transfer issue with socks5

sridhar R
Added about 4 years ago

Hi Team,

I am trying to file transfer using SOCK5 proxy component but unable to transfer file .I got below errors in my console log .

I have attached console.log and log files .Please have a look and kindly help me .

regards

sridhar

Errors: 8

null

java.lang.NullPointerException: 4

2014-12-17 08:45:31 SocketThread$ResultsListener.run() WARNING: Proto col execution exception.

java.util.concurrent.ExecutionException: java.lang.NullPointerException

at java.util.concurrent.FutureTask.report(FutureTask.java:122)

at java.util.concurrent.FutureTask.get(FutureTask.java:188)

at tigase.net.SocketThread$ResultsListener.run(SocketThread.java )

Caused by: java.lang.NullPointerException

at tigase.socks5.verifiers.LimitsVerifier.getLimits(LimitsVerifi er.java:259)

at tigase.socks5.verifiers.LimitsVerifier.updateTransfer(LimitsV erifier.java:144)

at tigase.socks5.Socks5ProxyComponent.serviceStopped(Socks5Proxy Component.java:229)

at tigase.socks5.Socks5ProxyComponent.serviceStopped(Socks5Proxy Component.java:35)

at tigase.net.IOService.forceStop(IOService.java)

at tigase.socks5.Socks5IOService.forceStop(Socks5IOService.java: 199)

at tigase.net.IOService.readBytes(IOService.java)

at tigase.socks5.Socks5IOService.readBytes(Socks5IOService.java: 158)

at tigase.socks5.Socks5IOService.processSocketData(Socks5IOServi ce.java:234)

at tigase.net.IOService.call(IOService.java)

at tigase.socks5.Socks5IOService.call(Socks5IOService.java:140)

at tigase.socks5.Socks5IOService.call(Socks5IOService.java:17)

at java.util.concurrent.FutureTask.run(FutureTask.java:262)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors .java:471)

at java.util.concurrent.FutureTask.run(FutureTask.java:262)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolE xecutor.java:1145)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPool Executor.java:615)

at java.lang.Thread.run(Thread.java:745)

null

Authorization failed: 11

2014-12-18 02:40:40 SaslAuth.process() INFO: Authe ntication failed:

tigase.xmpp.NotAuthorizedException: Authorization failed

at tigase.xmpp.RepositoryAccess.loginOther(RepositoryAccess.java )

at tigase.xmpp.XMPPResourceConnection.loginOther(XMPPResourceCon nection.java)

at tigase.xmpp.impl.SaslAuth.process(SaslAuth.java)

at tigase.server.xmppsession.SessionManager$ProcessorWorkerThrea d.process(SessionManager.java)

at tigase.util.WorkerThread.run(WorkerThread.java)

Caused by: tigase.db.UserNotFoundException: User does not exist: temp6@f ramily.in, in database: jdbc:derby:/usr/local/Tigase-5.1.0-beta4-b2836/tigasedb

at tigase.db.jdbc.TigaseCustomAuth.userLoginAuth(TigaseCustomAut h.java)

at tigase.db.jdbc.TigaseCustomAuth.plainAuth(TigaseCustomAuth.ja va)

at tigase.db.jdbc.TigaseCustomAuth.saslPlainAuth(TigaseCustomAut h.java)

at tigase.db.jdbc.TigaseCustomAuth.otherAuth(TigaseCustomAuth.ja va)

at tigase.db.AuthRepositoryMDImpl.otherAuth(AuthRepositoryMDImpl .java)

at tigase.xmpp.RepositoryAccess.loginOther(RepositoryAccess.java )

at tigase.xmpp.XMPPResourceConnection.loginOther(XMPPResourceCon nection.java)

at tigase.xmpp.impl.SaslAuth.process(SaslAuth.java)

at tigase.server.xmppsession.SessionManager$ProcessorWorkerThrea d.process(SessionManager.java)

at tigase.util.WorkerThread.run(WorkerThread.java)

null

java.lang.NullPointerException: 10

2014-12-17 10:10:16 SocketThread$ResultsListener.run() WARNING: Proto col execution exception.

java.util.concurrent.ExecutionException: java.lang.NullPointerException

at java.util.concurrent.FutureTask.report(FutureTask.java:122)

at java.util.concurrent.FutureTask.get(FutureTask.java:188)

at tigase.net.SocketThread$ResultsListener.run(SocketThread.java )

Caused by: java.lang.NullPointerException

at tigase.socks5.verifiers.LimitsVerifier.getLimits(LimitsVerifi er.java:259)

at tigase.socks5.verifiers.LimitsVerifier.updateTransfer(LimitsV erifier.java:144)

at tigase.socks5.Socks5ProxyComponent.socketDataProcessed(Socks5 ProxyComponent.java:246)

at tigase.socks5.Socks5IOService.processSocketData(Socks5IOServi ce.java:289)

at tigase.net.IOService.call(IOService.java)

at tigase.socks5.Socks5IOService.call(Socks5IOService.java:140)

at tigase.socks5.Socks5IOService.call(Socks5IOService.java:17)

at java.util.concurrent.FutureTask.run(FutureTask.java:262)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors .java:471)

at java.util.concurrent.FutureTask.run(FutureTask.java:262)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolE xecutor.java:1145)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPool Executor.java:615)

at java.lang.Thread.run(Thread.java:745)

null

java.lang.NullPointerException: 6

2014-12-17 06:53:52 SocketThread$ResultsListener.run() WARNING: Proto col execution exception.

java.util.concurrent.ExecutionException: java.lang.NullPointerException

at java.util.concurrent.FutureTask.report(FutureTask.java:122)

at java.util.concurrent.FutureTask.get(FutureTask.java:188)

at tigase.net.SocketThread$ResultsListener.run(SocketThread.java )

Caused by: java.lang.NullPointerException

at tigase.socks5.verifiers.LimitsVerifier.getLimits(LimitsVerifi er.java:259)

at tigase.socks5.verifiers.LimitsVerifier.updateTransfer(LimitsV erifier.java:144)

at tigase.socks5.Socks5ProxyComponent.serviceStopped(Socks5Proxy Component.java:229)

at tigase.socks5.Socks5ProxyComponent.serviceStopped(Socks5Proxy Component.java:35)

at tigase.net.IOService.forceStop(IOService.java)

at tigase.socks5.Socks5IOService.processSocketData(Socks5IOServi ce.java:230)

at tigase.net.IOService.call(IOService.java)

at tigase.socks5.Socks5IOService.call(Socks5IOService.java:140)

at tigase.socks5.Socks5IOService.call(Socks5IOService.java:17)

at java.util.concurrent.FutureTask.run(FutureTask.java:262)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors .java:471)

at java.util.concurrent.FutureTask.run(FutureTask.java:262)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolE xecutor.java:1145)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPool Executor.java:615)

at java.lang.Thread.run(Thread.java:745)

null

Authorization failed: 1

2014-12-18 00:51:05 SaslAuth.process() INFO: Authe ntication failed:

tigase.xmpp.NotAuthorizedException: Authorization failed

at tigase.xmpp.RepositoryAccess.loginOther(RepositoryAccess.java )

at tigase.xmpp.XMPPResourceConnection.loginOther(XMPPResourceCon nection.java)

at tigase.xmpp.impl.SaslAuth.process(SaslAuth.java)

at tigase.server.xmppsession.SessionManager$ProcessorWorkerThrea d.process(SessionManager.java)

at tigase.util.WorkerThread.run(WorkerThread.java)

Caused by: tigase.db.UserNotFoundException: User does not exist: admin@f ramily.in, in database: jdbc:derby:/usr/local/Tigase-5.1.0-beta4-b2836/tigasedb

at tigase.db.jdbc.TigaseCustomAuth.userLoginAuth(TigaseCustomAut h.java)

at tigase.db.jdbc.TigaseCustomAuth.plainAuth(TigaseCustomAuth.ja va)

at tigase.db.jdbc.TigaseCustomAuth.saslPlainAuth(TigaseCustomAut h.java)

at tigase.db.jdbc.TigaseCustomAuth.otherAuth(TigaseCustomAuth.ja va)

at tigase.db.AuthRepositoryMDImpl.otherAuth(AuthRepositoryMDImpl .java)

at tigase.xmpp.RepositoryAccess.loginOther(RepositoryAccess.java )

at tigase.xmpp.XMPPResourceConnection.loginOther(XMPPResourceCon nection.java)

at tigase.xmpp.impl.SaslAuth.process(SaslAuth.java)

at tigase.server.xmppsession.SessionManager$ProcessorWorkerThrea d.process(SessionManager.java)

at tigase.util.WorkerThread.run(WorkerThread.java)

null

Session has not been yet authorised.: 1

2014-12-18 02:38:40 Presence.process() FINEST: prese nce problem...

tigase.xmpp.NotAuthorizedException: Session has not been yet authorised.

at tigase.xmpp.XMPPResourceConnection.isUserId(XMPPResourceConne ction.java)

at tigase.xmpp.impl.roster.RosterAbstract.getPresenceType(Roster Abstract.java)

at tigase.xmpp.impl.Presence.process(Presence.java)

at tigase.server.xmppsession.SessionManager$ProcessorWorkerThrea d.process(SessionManager.java)

at tigase.util.WorkerThread.run(WorkerThread.java)

null

Authorization failed: 1

2014-12-17 10:16:45 SaslAuth.process() INFO: Authe ntication failed:

tigase.xmpp.NotAuthorizedException: Authorization failed

at tigase.xmpp.RepositoryAccess.loginOther(RepositoryAccess.java )

at tigase.xmpp.XMPPResourceConnection.loginOther(XMPPResourceCon nection.java)

at tigase.xmpp.impl.SaslAuth.process(SaslAuth.java)

at tigase.server.xmppsession.SessionManager$ProcessorWorkerThrea d.process(SessionManager.java)

at tigase.util.WorkerThread.run(WorkerThread.java)

Caused by: tigase.db.UserNotFoundException: User does not exist: venu@fr amily.in, in database: jdbc:derby:/usr/local/Tigase-5.1.0-beta4-b2836/tigasedb

at tigase.db.jdbc.TigaseCustomAuth.userLoginAuth(TigaseCustomAut h.java)

at tigase.db.jdbc.TigaseCustomAuth.plainAuth(TigaseCustomAuth.ja va)

at tigase.db.jdbc.TigaseCustomAuth.saslPlainAuth(TigaseCustomAut h.java)

at tigase.db.jdbc.TigaseCustomAuth.otherAuth(TigaseCustomAuth.ja va)

at tigase.db.AuthRepositoryMDImpl.otherAuth(AuthRepositoryMDImpl .java)

at tigase.xmpp.RepositoryAccess.loginOther(RepositoryAccess.java )

at tigase.xmpp.XMPPResourceConnection.loginOther(XMPPResourceCon nection.java)

at tigase.xmpp.impl.SaslAuth.process(SaslAuth.java)

at tigase.server.xmppsession.SessionManager$ProcessorWorkerThrea d.process(SessionManager.java)

at tigase.util.WorkerThread.run(WorkerThread.java)

null

'TIGSOCKS5CREATEUID' is not recognized as a function or proced ure.: 2

2014-12-17 05:10:36 Socks5ProxyComponent.setProperties() SEVERE: An er ror initializing data repository pool:

tigase.db.DBInitException: 'TIGSOCKS5CREATEUID' is not recogni zed as a function or procedure.

at tigase.socks5.repository.JDBCSocks5Repository.initRepository( JDBCSocks5Repository.java:142)

at tigase.socks5.Socks5ProxyComponent.setProperties(Socks5ProxyC omponent.java:311)

at tigase.conf.ConfiguratorAbstract.setup(ConfiguratorAbstract.j ava)

at tigase.conf.ConfiguratorAbstract.componentAdded(ConfiguratorA bstract.java)

at tigase.conf.ConfiguratorAbstract.componentAdded(ConfiguratorA bstract.java)

at tigase.server.AbstractComponentRegistrator.addComponent(Abstr actComponentRegistrator.java)

at tigase.server.MessageRouter.addComponent(MessageRouter.java)

at tigase.server.MessageRouter.addRouter(MessageRouter.java)

at tigase.server.MessageRouter.setProperties(MessageRouter.java)

at tigase.conf.ConfiguratorAbstract.setup(ConfiguratorAbstract.j ava)

at tigase.conf.ConfiguratorAbstract.componentAdded(ConfiguratorA bstract.java)

at tigase.conf.ConfiguratorAbstract.componentAdded(ConfiguratorA bstract.java)

at tigase.server.AbstractComponentRegistrator.addComponent(Abstr actComponentRegistrator.java)

at tigase.server.MessageRouter.addRegistrator(MessageRouter.java )

at tigase.server.MessageRouter.setConfig(MessageRouter.java)

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


Replies (12)

Added by sridhar R about 4 years ago

My Server init properties:

--cluster-mode = false

config-type = --gen-config-def

--cluster-nodes = tigaseserver

--debug = server,xmpp.impl,db,cluster

--user-db = derby

--admins = admin@framily.in

--user-db-uri = jdbc:derby:/usr/local/Tigase-5.1.0-beta4-b2836/tigasedb

--virt-hosts = framily.in

--comp-class-1 = tigase.muc.MUCComponent

--comp-name-1 = muc

--sm-plugins = +jabber:iq:auth,+urn:ietf:params:xml:ns:xmpp-sasl,+urn:ietf:params:xml:ns:xmpp-bind,+urn:ietf:params:xml:ns:xmpp-session,+jabber:iq:register,+jabber:iq:roster,+presence,+jabber:iq:privacy,+jabber:iq:version,+http://jabber.org/protocol/stats,+starttls,+msgoffline,+vcard-temp,+http://jabber.org/protocol/commands,+jabber:iq:private,+urn:xmpp:ping,+basic-filter,+domain-filter,+pep,-zlib

--comp-name-1=proxy

--comp-class-1=tigase.socks5.Socks5ProxyComponent

--comp-name-3 = message-archive

--comp-class-3 = tigase.archive.MessageArchiveComponent

proxy/component-id[S]=proxy@104.236.105.213

--monitoring=jmx:9050,http:9080,snmp:9060

Added by Wojciech Kapcia TigaseTeam about 4 years ago

Which Tigase version do you use? (DB string would indicate version 5.1.0-beta4, but that may be just remnant). Could you try one of the latest final versions (5.2.3 for example)?

Also, exception:

2014-12-18 00:51:05 SaslAuth.process() INFO: Authentication failed: tigase.xmpp.NotAuthorizedException: Authorization failed

indicates that there is problem with authenticating users.

Added by sridhar R about 4 years ago

Hi team,

first of all thanks to reply.

I made few changes in inipropeties:

--cluster-mode = false

config-type = --gen-config-def

--cluster-nodes = tigaseserver

--debug = server,xmpp.impl,db,cluster

--user-db = derby

--admins = admin@framily.in

--user-db-uri = jdbc:derby:/usr/local/Tigase-5.1.0-beta4-b2836/tigasedb

--virt-hosts = framily.in

--comp-class-1 = tigase.muc.MUCComponent

--comp-name-1 = muc

--sm-plugins = +jabber:iq:auth,+urn:ietf:params:xml:ns:xmpp-sasl,+urn:ietf:params:xml:ns:xmpp-bind,+urn:ietf:params:xml:ns:xmpp-session,+jabber:iq:register,+jabber:iq:roster,+presence,+jabber:iq:privacy,+jabber:iq:version,+http://jabber.org/protocol/stats,+starttls,+msgoffline,+vcard-temp,+http://jabber.org/protocol/commands,+jabber:iq:private,+urn:xmpp:ping,+basic-filter,+domain-filter,+pep,-zlib

--comp-name-1=proxy

--comp-class-1=tigase.socks5.Socks5ProxyComponent

--comp-name-3 = message-archive

--comp-class-3 = tigase.archive.MessageArchiveComponent

proxy/component-id[S]=proxy@104.236.105.213

--monitoring=jmx:9050,http:9080,snmp:9060

proxy/verifier-class=tigase.socks5.verifiers.DummyVerifier

after that error count decreased :

$: load-errors

awaiting response...

Errors: 1

    null

    'TIGSOCKS5CREATEUID' is not recognized as a function or procedure.: 2

    2014-12-18 07:59:29  Socks5ProxyComponent.setProperties()  SEVERE: An error initializing data repository pool:

    tigase.db.DBInitException: 'TIGSOCKS5CREATEUID' is not recognized as a function or procedure.

            at tigase.socks5.repository.JDBCSocks5Repository.initRepository(JDBCSocks5Repository.java:142)

            at tigase.socks5.Socks5ProxyComponent.setProperties(Socks5ProxyComponent.java:311)

            at tigase.conf.ConfiguratorAbstract.setup(ConfiguratorAbstract.java)

            at tigase.conf.ConfiguratorAbstract.componentAdded(ConfiguratorAbstract.java)

            at tigase.conf.ConfiguratorAbstract.componentAdded(ConfiguratorAbstract.java)

            at tigase.server.AbstractComponentRegistrator.addComponent(AbstractComponentRegistrator.java)

            at tigase.server.MessageRouter.addComponent(MessageRouter.java)

            at tigase.server.MessageRouter.addRouter(MessageRouter.java)

            at tigase.server.MessageRouter.setProperties(MessageRouter.java)

            at tigase.conf.ConfiguratorAbstract.setup(ConfiguratorAbstract.java)

            at tigase.conf.ConfiguratorAbstract.componentAdded(ConfiguratorAbstract.java)

            at tigase.conf.ConfiguratorAbstract.componentAdded(ConfiguratorAbstract.java)

            at tigase.server.AbstractComponentRegistrator.addComponent(AbstractComponentRegistrator.java)

            at tigase.server.MessageRouter.addRegistrator(MessageRouter.java)

            at tigase.server.MessageRouter.setConfig(MessageRouter.java)

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

Added by Wojciech Kapcia TigaseTeam about 4 years ago

Have you prepared database for Socks5 component (i.e. imported proper schema file: https://projects.tigase.org/projects/socks5/repository/revisions/master/show/database)?

Added by Aditya Malladi about 4 years ago

No, iam not prepared. but why we need database configuration

In configuration file if i mention under commnad i think we need datbase is it correct?

proxy/socks5-repo-cls=tigase.socks5.repository.JDBCSocks5Repository

tigase.socks5.verirepository.JDBCSocks5Repository (requires database preparation - see above)

Added by Wojciech Kapcia TigaseTeam about 4 years ago

You configured Tigase to use JDBCSocks5Repository and as the guide states:

(requires database preparation - see above)

So you NEED to prepare database by importing schema. Alternatively you can use DummySocks5Repository which doesn't require database.

Also, from the second thread - you are not authorized at all because you provide username in wrong format (@'aditya@tgs.framily.in@tgs.framily.in'@, please note exception:

2014-12-18 08:47:18.514 [urn:ietf:params:xml:ns:xmpp-sasl Queue Worker 0] TigaseCustomAuth.userLoginAuth() FINE: Login failed, for user: 'aditya@tgs.framily.in@tgs.framily.in', password: 'hello', from DB got: null

2014-12-18 08:47:18.514 [urn:ietf:params:xml:ns:xmpp-sasl Queue Worker 0] SaslAuth.process() FINER: SASL unsuccessful

javax.security.sasl.SaslException: Password verification problem. [Caused by java.io.IOException: Password verification problem.]

PS. Please use single thread to discuss single issue and avoid creating new topics (https://projects.tigase.org/boards/15/topics/3818) for same issues.

Added by sridhar R about 4 years ago

Hi Team ,

Thanks to ur reply

i am installed new version that is Tigase.5.2.3 in my server.When I start server few errors displayed in log.Please help me

I have attached log files please have look.

my ini properties:

--comp-class-1 = tigase.muc.cluster.MUCComponentClustered

--virt-hosts = tgs.framily.in

--user-db-uri = jdbc:mysql://localhost/tigasedb?user=tigase&password=tigase12

--user-db = mysql

--admins = admin@tgs.framily.in

--comp-name-6 = message-archive

--comp-name-3 = proxy

config-type = --gen-config-def

--comp-name-1 = muc

--cluster-mode = false

--sm-plugins = +message-archive-xep-0136,+jabber:iq:auth,+urn:ietf:params:xml:ns:xmpp-sasl,+urn:ietf:params:xml:ns:xmpp-bind,+urn:ietf:params:xml:ns:xmpp-session,+jabber:iq:register,+jabber:iq:roster,+presence,+jabber:iq:privacy,+jabber:iq:version,+http://jabber.org/protocol/stats,+starttls,+msgoffline,+vcard-temp,+http://jabber.org/protocol/commands,+jabber:iq:private,+urn:xmpp:ping,+basic-filter,+domain-filter,+pep,+zlib

--comp-class-6 = tigase.archive.MessageArchiveComponent

--debug = server,xmpp.impl,db

--comp-class-3 = tigase.socks5.Socks5ProxyComponent

My server process are follows:netstat -tunlp

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:3350 0.0.0.0:* LISTEN 1222/xrdp-sesman

tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1100/sshd

tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 3516/cupsd

tcp 0 0 127.0.0.1:5912 0.0.0.0:* LISTEN 27998/Xvnc

tcp 0 0 0.0.0.0:3389 0.0.0.0:* LISTEN 1220/xrdp

tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 1264/mysqld

tcp6 0 0 :::80 :::* LISTEN 6036/apache2

tcp6 0 0 :::8080 :::* LISTEN 3081/java

tcp6 0 0 :::5269 :::* LISTEN 3081/java

tcp6 0 0 :::22 :::* LISTEN 1100/sshd

tcp6 0 0 ::1:631 :::* LISTEN 3516/cupsd

tcp6 0 0 :::1080 :::* LISTEN 3081/java

tcp6 0 0 :::9080 :::* LISTEN 3081/java

tcp6 0 0 :::9050 :::* LISTEN 3081/java

tcp6 0 0 :::5280 :::* LISTEN 3081/java

tcp6 0 0 :::5222 :::* LISTEN 3081/java

tcp6 0 0 :::5223 :::* LISTEN 3081/java

tcp6 0 0 :::5290 :::* LISTEN 3081/java

udp 0 0 0.0.0.0:631 0.0.0.0:* 1215/cups-browsed

udp 0 0 104.236.3.21:123 0.0.0.0:* 1985/ntpd

udp 0 0 127.0.0.1:123 0.0.0.0:* 1985/ntpd

udp 0 0 0.0.0.0:123 0.0.0.0:* 1985/ntpd

udp 0 0 0.0.0.0:51361 0.0.0.0:* 900/avahi-daemon: r

udp 0 0 0.0.0.0:5353 0.0.0.0:* 900/avahi-daemon: r

udp6 0 0 :::35367 :::* 900/avahi-daemon: r

udp6 0 0 fe80::601:32ff:fe6c:123 :::* 1985/ntpd

udp6 0 0 ::1:123 :::* 1985/ntpd

udp6 0 0 :::123 :::* 1985/ntpd

udp6 0 0 :::5353 :::*

Added by Wojciech Kapcia TigaseTeam about 4 years ago

tcp6 0 0 :::1080 :::* LISTEN 3081/java
tcp6 0 0 :::9080 :::* LISTEN 3081/java
tcp6 0 0 :::9050 :::* LISTEN 3081/java
tcp6 0 0 :::5280 :::* LISTEN 3081/java
tcp6 0 0 :::5222 :::* LISTEN 3081/java
tcp6 0 0 :::5223 :::* LISTEN 3081/java
tcp6 0 0 :::5290 :::* LISTEN 3081/java
2014-12-19 13:05:38.795 [ConnectionOpenThread]  ConnectionOpenThread.addAllWaiting()  WARNING: Error: creating connection for: {type=accept, socket=plain, ifc=[Ljava.lang.String;@2b0f8b48, remote-host=localhost, required=false, port-no=5222}
java.net.BindException: Address already in use
    at sun.nio.ch.Net.bind0(Native Method)

This indicates that you already have running server and you are trying to run second instance (most likely on pid 3081).

Added by sridhar R about 4 years ago

Thanks for the response. I really appreciate it.

If the second instance is running, please let me know the way to destroy the second instance or fix this issue so that only one instance runs.

A quick response will be much appreciated.

Avatar?id=6023&size=32x32

Added by Artur Hefczyc TigaseTeam about 4 years ago

Command:

ps ax | grep java

will give you a list of all Java processes running on the server. Find the one running Tigase and kill it with command:

kill -9 PID

PID is a process id of the Java process running Tigase.

Added by sridhar R about 4 years ago

Hi Team,

Thanks for your reply.

I have executed commands what you have given. Error fixed.

But I am unable to transfer files and also a few errors in log file.

I have attached log files. Please check logs. let us know as soon possible.

  • I have few questions:*
  1. How to know socks5 is started or not.

  2. How to know whether client transfering the file from SOCKS5 or IBB.

Added by Wojciech Kapcia TigaseTeam about 4 years ago

sridhar R wrote:

But I am unable to transfer files and also a few errors in log file.

I have attached log files. Please check logs. let us know as soon possible.

There are no errors/exceptions in the log files. There is only a warning regarding the licence.

  • I have few questions:*
  1. How to know socks5 is started or not.

  2. How to know whether client transfering the file from SOCKS5 or IBB.

You can get that information from your client. From the attached logs it looks like you are trying to negotiate Socks5 transfer but it's not finished. There is not enough information in the logs as to why.

    (1-12/12)