Appfactory无法正常工作

时间:2015-05-23 03:50:44

标签: wso2

我已经在HP Helion公共云(Openstack IaaS)上使用standard.large风格(VCPU 4,RAM 8GB,大小30GB)的实例上安装了Appfactory 2.1.0

系统启动并运行

我向实例发了冲,走了 /mnt/10.0.0.61/appfactory/wso2appfactory-2.0.0/bin,发出命令 wso2server.sh --status,并得到以下提示

有两个问题:

1,找不到'/mnt/10.0.0.61/appfactory/wso2appfactory-2.0.0/repository/conf/etc/hector-config.xml'

2,ERROR {org.apache.directory.server.ldap.LdapServer} - ERR_171无法将LDAP服务(10,389)绑定到服务注册表。 java.net.BindException:已在使用的地址

请帮忙 感谢

-----------提示----------------

  

JAVA_HOME环境变量设置为/ opt / java   CARBON_HOME环境变量设置为/mnt/10.0.0.61/appfactory/wso2appfactory-2.0.0   [2015-05-22 13:13:24,619] INFO {org.wso2.carbon.cassandra.dataaccess.internal.DataAccessServiceDSComponent} - 无法找到'/mnt/10.0.0.61/appfactory/wso2appfactory-2.0.0/repository/conf /etc/hector-config.xml”。使用默认配置   [2015-05-22 13:13:24,712] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - 启动WSO2碳...   [2015-05-22 13:13:24,714] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - 操作系统:Linux 3.13.0-36-generic,amd64   [2015-05-22 13:13:24,714] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java主页:/opt/jdk1.7.0_51/jre   [2015-05-22 13:13:24,714] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java版本:1.7.0_51   [2015-05-22 13:13:24,714] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java VM:Java HotSpot(TM)64位服务器VM 24.51-b03,Oracle Corporation   [2015-05-22 13:13:24,714] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Carbon Home:/mnt/10.0.0.61/appfactory/wso2appfactory-2.0.0   [2015-05-22 13:13:24,714] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Temp Dir:/mnt/10.0.0.61/appfactory/wso2appfactory-2.0.0/tmp   [2015-05-22 13:13:24,715] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - 用户:root,en-US,Etc / UTC   [2015-05-22 13:13:24,828] WARN {org.wso2.carbon.core.bootup.validator.util.ValidationResultPrinter} - 当前正在使用默认密钥库(wso2carbon.jks)。要在部署到生产环境时最大限度地提高安全性,请在生产服务器概要文件中配置具有唯一密码的新密钥库。   [2015-05-22 13:13:24,828] WARN {org.wso2.carbon.core.bootup.validator.util.ValidationResultPrinter} - 交换内存大小(MB):系统0低于建议的最小大小:2048   [2015-05-22 13:13:25,019] INFO {org.wso2.carbon.databridge.agent.thrift.AgentHolder} - 创建了代理!   [2015-05-22 13:13:25,110] INFO {org.wso2.carbon.databridge.agent.thrift.internal.AgentDS} - 已成功部署的代理客户端   [2015-05-22 13:13:25,626] INFO {org.wso2.carbon.ldap.server.configuration.LDAPConfigurationBuilder} - 禁用KDC服务器。   [2015-05-22 13:13:25,933] INFO {org.wso2.carbon.ldap.server.DirectoryActivator} - 使用工作目录/mnt/10.0.0.61/appfactory/wso2appfactory-2.0.0/repository/初始化Directory Server data / org.wso2.carbon.directory和10389端口   [2015-05-22 13:13:32,641] ERROR {org.apache.directory.server.ldap.LdapServer} - ERR_171无法将LDAP服务(10,389)绑定到服务注册表。   java.net.BindException:地址已在使用中     在sun.nio.ch.Net.bind0(原生方法)     在sun.nio.ch.Net.bind(Net.java:444)     在sun.nio.ch.Net.bind(Net.java:436)     at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)     at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)     在org.apache.mina.transport.socket.nio.NioSocketAcceptor.open(NioSocketAcceptor.java:251)     在org.apache.mina.transport.socket.nio.NioSocketAcceptor.open(NioSocketAcceptor.java:48)     在org.apache.mina.core.polling.AbstractPollingIoAcceptor.registerHandles(AbstractPollingIoAcceptor.java:523)     在org.apache.mina.core.polling.AbstractPollingIoAcceptor.access $ 200(AbstractPollingIoAcceptor.java:65)     在org.apache.mina.core.polling.AbstractPollingIoAcceptor $ Acceptor.run(AbstractPollingIoAcceptor.java:407)     at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)     在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)     at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:615)     在java.lang.Thread.run(Thread.java:744)

1 个答案:

答案 0 :(得分:0)

嗯,这可能是一个误报。

当我重新启动实例时它消失了,并通过以下命令重新启动appfactory

  

ubuntu @ puppet:〜/ setup-script $ sudo ./restart.sh