You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airavata.apache.org by Emre Brookes <em...@biochem.uthscsa.edu> on 2015/05/22 13:16:10 UTC

Re:

Hi Abhishek,

The "Could not listen on port 1527, address already in use" errors
makes me think there is already some service running.
(Anyone  - This isn't normal, is it ?)
If this is the problem, you could try and track it down,
by finding the PID with something like # lsof -i :1527
and then kill the process that was listening.
It may be simpler to reboot the server.

Let me know if this works.
Thanks,
Emre


Abhishek Kapoor wrote:
> Hello Everyone,
>
> I have got the following error while running ./airavata-server.sh.
>
> Can someone please help me.
> .SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in 
> [jar:file:/home/abhishek/Desktop/airavata/modules/distribution/server/target/apache-airavata-server-0.15-SNAPSHOT/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in 
> [jar:file:/home/abhishek/Desktop/airavata/modules/distribution/server/target/apache-airavata-server-0.15-SNAPSHOT/lib/slf4j-simple-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an 
> explanation.
> [INFO] Settings loaded from 
> file:/home/abhishek/Desktop/airavata/modules/distribution/server/target/apache-airavata-server-0.15-SNAPSHOT/bin/airavata-server.properties
> [INFO] Starting Zookeeper server...
> [INFO] Airavata server instance starting...
> [INFO] connected to rabbitmq: amqp://guest@127.0.0.1:5672/ 
> <http://guest@127.0.0.1:5672/> for airavata_rabbitmq_exchange
> [INFO] setting basic.qos / prefetch count to 64 for 
> airavata_rabbitmq_exchange
> Fri May 22 15:57:19 IST 2015 : Could not listen on port 1527 on host 
> 0.0.0.0 <http://0.0.0.0>:
>  java.net.BindException: Address already in use
> [INFO] Database already created for Registry!
> DriverClassName=org.apache.derby.jdbc.ClientDriver,Url=jdbc:derby://localhost:1527/experiment_catalog;create=true;user=airavata;password=airavata?autoReconnect=true,,Username=airavata,Password=airavata,validationQuery=SELECT 
> 1 from CONFIGURATION
> 717  airavata_data  INFO   [main] openjpa.Runtime - OpenJPA 
> dynamically loaded the class enhancer. Any classes that were not 
> enhanced at build time will be enhanced when they are loaded by the JVM.
> 783  airavata_data  INFO   [main] openjpa.Runtime - Starting OpenJPA 2.2.0
> 986  airavata_data  INFO   [main] openjpa.jdbc.JDBC - Using dictionary 
> class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 
> 10.11.1.1 - (1616546) ,Apache Derby Network Client JDBC Driver 
> 10.11.1.1 - (1616546)).
> Fri May 22 15:57:27 IST 2015 : Could not listen on port 1527 on host 
> 0.0.0.0 <http://0.0.0.0>:
>  java.net.BindException: Address already in use
> [INFO] Database already created for App Catalog!
> [INFO] Starting Airavata API Server on Port 8930
> [INFO] Listening to Airavata Clients ....
> [INFO] connected to rabbitmq: amqp://guest@127.0.0.1:5672/ 
> <http://guest@127.0.0.1:5672/> for airavata_rabbitmq_exchange
> [INFO] setting basic.qos / prefetch count to 64 for 
> airavata_rabbitmq_exchange
> [INFO] connected to rabbitmq: amqp://guest@127.0.0.1:5672/ 
> <http://guest@127.0.0.1:5672/> for null
> [INFO] setting basic.qos / prefetch count to 64 for null
> [INFO] connected to rabbitmq: amqp://guest@127.0.0.1:5672/ 
> <http://guest@127.0.0.1:5672/> for default
> [INFO] Starting Orchestrator Server on Port 8940
> [INFO] Listening to Orchestrator Clients ....
> [INFO] Waiting for zookeeper to connect to the server
> [INFO]
> [INFO] None
> [INFO] SyncConnected
> [INFO] /gfac-server/gfac-node0
> [INFO] NodeCreated
> [INFO] SyncConnected
> [ERROR]  Zookeeper is inconsistent state  !!!!!
> [INFO] Finished starting ZK: State:CONNECTED Timeout:30000 
> sessionid:0x14d7b29a9f60000 local:/127.0.0.1:40121 
> <http://127.0.0.1:40121> remoteserver:localhost/127.0.0.1:2181 
> <http://127.0.0.1:2181> lastZxid:21 xid:7 sent:7 recv:8 queuedpkts:0 
> pendingresp:0 queuedevents:0
> [INFO] --------Created the connection to Rabbitmq server 
> successfully-------
> [INFO] --------Created the channel with Rabbitmq server 
> successfully-------
> [INFO] --------Declare the queue 8950 in Rabbitmq server 
> successfully-------
> [INFO] connected to rabbitmq: amqp://guest@127.0.0.1:5672/ 
> <http://guest@127.0.0.1:5672/> for airavata_task_launch_rabbitmq_exchange
> [INFO] connected to rabbitmq: amqp://guest@127.0.0.1:5672/ 
> <http://guest@127.0.0.1:5672/> for airavata_rabbitmq_exchange
> [INFO] setting basic.qos / prefetch count to 64 for 
> airavata_rabbitmq_exchange
> [INFO] Registering listener: 
> org.apache.airavata.gfac.core.monitor.AiravataJobStatusUpdator
> [INFO] Registering listener: 
> org.apache.airavata.gfac.core.monitor.AiravataTaskStatusUpdator
> [INFO] Registering listener: 
> org.apache.airavata.gfac.core.monitor.AiravataWorkflowNodeStatusUpdator
> [INFO] Registering listener: 
> org.apache.airavata.api.server.listener.AiravataExperimentStatusUpdator
> [INFO] Registering listener: 
> org.apache.airavata.gfac.core.monitor.GfacInternalStatusUpdator
> [INFO] Starting Gfac Server on Port 8950
> [INFO] Listening to Gfac Clients ....
> [ERROR] The Credential Store Server did not start!!!
>
> When I am launching workflow in xbaya-gui :
>
>
> [INFO] connected to rabbitmq: amqp://guest@127.0.0.1:5672/ 
> <http://guest@127.0.0.1:5672/> for airavata_rabbitmq_exchange
> [INFO] Settings loaded from 
> jar:file:/home/abhishek/Desktop/airavata/modules/distribution/xbaya-gui/target/apache-airavata-xbaya-gui-0.15-SNAPSHOT/lib/airavata-client-configuration-0.15-SNAPSHOT.jar!/airavata-client.properties
> [INFO] Setting Java trust store to aiaravata.jks
> org.apache.thrift.TApplicationException: Internal error processing 
> launchExperiment
> at 
> org.apache.thrift.TApplicationException.read(TApplicationException.java:111)
> at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:71)
> at 
> org.apache.airavata.api.Airavata$Client.recv_launchExperiment(Airavata.java:3417)
> at 
> org.apache.airavata.api.Airavata$Client.launchExperiment(Airavata.java:3403)
> at 
> org.apache.airavata.xbaya.ui.experiment.WorkflowInterpreterLaunchWindow.execute(WorkflowInterpreterLaunchWindow.java:393)
> at 
> org.apache.airavata.xbaya.ui.experiment.WorkflowInterpreterLaunchWindow.access$000(WorkflowInterpreterLaunchWindow.java:82)
> at 
> org.apache.airavata.xbaya.ui.experiment.WorkflowInterpreterLaunchWindow$1.actionPerformed(WorkflowInterpreterLaunchWindow.java:236)
> at 
> javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
> at 
> javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2346)
> at 
> javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
> at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
> at 
> javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
> at java.awt.Component.processMouseEvent(Component.java:6525)
> at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
> at java.awt.Component.processEvent(Component.java:6290)
> at java.awt.Container.processEvent(Container.java:2234)
> at java.awt.Component.dispatchEventImpl(Component.java:4881)
> at java.awt.Container.dispatchEventImpl(Container.java:2292)
> at java.awt.Component.dispatchEvent(Component.java:4703)
> at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898)
> at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4533)
> at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462)
> at java.awt.Container.dispatchEventImpl(Container.java:2278)
> at java.awt.Window.dispatchEventImpl(Window.java:2750)
> at java.awt.Component.dispatchEvent(Component.java:4703)
> at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
> at java.awt.EventQueue.access$500(EventQueue.java:97)
> at java.awt.EventQueue$3.run(EventQueue.java:709)
> at java.awt.EventQueue$3.run(EventQueue.java:703)
> at java.security.AccessController.doPrivileged(Native Method)
> at 
> java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
> at 
> java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
> at java.awt.EventQueue$4.run(EventQueue.java:731)
> at java.awt.EventQueue$4.run(EventQueue.java:729)
> at java.security.AccessController.doPrivileged(Native Method)
> at 
> java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
> at 
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
> at 
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
> at 
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
> at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184)
> at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229)
> at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227)
> at java.awt.Dialog.show(Dialog.java:1084)
> at java.awt.Component.show(Component.java:1654)
> at java.awt.Component.setVisible(Component.java:1606)
> at java.awt.Window.setVisible(Window.java:1014)
> at java.awt.Dialog.setVisible(Dialog.java:1005)
> at 
> org.apache.airavata.xbaya.ui.dialogs.XBayaDialog.show(XBayaDialog.java:187)
> at 
> org.apache.airavata.xbaya.ui.experiment.WorkflowInterpreterLaunchWindow.show(WorkflowInterpreterLaunchWindow.java:198)
> at 
> org.apache.airavata.xbaya.ui.menues.RunMenuItem$8.actionPerformed(RunMenuItem.java:269)
> at 
> org.apache.airavata.xbaya.ui.widgets.ToolbarButton.actionPerformed(ToolbarButton.java:55)
> at 
> javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
> at 
> javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2346)
> at 
> javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
> at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
> at 
> javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
> at 
> java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
> at 
> java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
> at java.awt.Component.processMouseEvent(Component.java:6525)
> at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
> at java.awt.Component.processEvent(Component.java:6290)
> at java.awt.Container.processEvent(Container.java:2234)
> at java.awt.Component.dispatchEventImpl(Component.java:4881)
> at java.awt.Container.dispatchEventImpl(Container.java:2292)
> at java.awt.Component.dispatchEvent(Component.java:4703)
> at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898)
> at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4533)
> at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462)
> at java.awt.Container.dispatchEventImpl(Container.java:2278)
> at java.awt.Window.dispatchEventImpl(Window.java:2750)
> at java.awt.Component.dispatchEvent(Component.java:4703)
> at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
> at java.awt.EventQueue.access$500(EventQueue.java:97)
> at java.awt.EventQueue$3.run(EventQueue.java:709)
> at java.awt.EventQueue$3.run(EventQueue.java:703)
> at java.security.AccessController.doPrivileged(Native Method)
> at 
> java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
> at 
> java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
> at java.awt.EventQueue$4.run(EventQueue.java:731)
> at java.awt.EventQueue$4.run(EventQueue.java:729)
> at java.security.AccessController.doPrivileged(Native Method)
> at 
> java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
> at 
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
> at 
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
> at 
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
>
>
> -- 
> Regards,
> *Abhishek Kapoor*
> *Under Graduate Student*
> *Indian Institute of Technology Kharagpur.*
>
>


Re:

Posted by Abhishek Kapoor <ab...@gmail.com>.
Thank You Sir for your reply. The problem was with the Airavata branch , I
was using.
It's working fine now