2015-03-12 2 views
0

J'ai un problème lors du démarrage terracota, je l'ai fait grep sur 37.139.24.150 ip dans le système entier, mais n'a pas pu trouver un fichier contenant cette adresse IP, d'autres endroits à rechercher? Aussi, je ne pouvais pas trouver tc-config.xml dans Terracota c'est en fait un ancien système que je suis juste en train de commencer Terracota n'est pas installé/configuré par moi.impossible de démarrer terracota

2015-03-12 13:02:09,737 [main] INFO com.terracottatech.dso - Statistics store: '/root/terracotta/server-statistics'. 
2015-03-12 13:02:09,750 [main] INFO com.terracottatech.console - Available Max Runtime Memory: 490MB 
2015-03-12 13:02:09,958 [main] INFO com.terracottatech.dso - Standard DSO Server created 
2015-03-12 13:02:09,962 [main] INFO com.terracottatech.dso - Creating server nodeID: NodeID[37.139.24.150:9510] 
2015-03-12 13:02:09,973 [main] ERROR com.terracottatech.console - Unable to find local network interface for 37.139.24.150 
2015-03-12 13:02:09,975 [main] ERROR com.terracottatech.dso - Unable to find local network interface for 37.139.24.150 
com.tc.exception.TCRuntimeException: Unable to find local network interface for 37.139.24.150 
     at com.tc.objectserver.impl.DistributedObjectServer.start(DistributedObjectServer.java:502) 
     at com.tc.server.TCServerImpl.startDSOServer(TCServerImpl.java:531) 
     at com.tc.server.TCServerImpl.access$600(TCServerImpl.java:92) 
     at com.tc.server.TCServerImpl$StartAction.execute(TCServerImpl.java:479) 
     at com.tc.lang.StartupHelper.startUp(StartupHelper.java:39) 
     at com.tc.server.TCServerImpl.startServer(TCServerImpl.java:510) 
     at com.tc.server.TCServerImpl.start(TCServerImpl.java:271) 
     at com.tc.server.TCServerMain.main(TCServerMain.java:30) 

Répondre

0

je l'ai fait travailler, je l'ai créé de nouvelles tc-config.xml et a commencé serveur avec ./start-tc-server.sh -f /home/tomcat/terracotta/latest/terracotta/bin/tc-config.xml &

<?xml version="1.0" encoding="UTF-8"?> 
<!-- All content copyright Terracotta, Inc., unless otherwise indicated. All rights reserved. --> 
<tc:tc-config xsi:schemaLocation="http://www.terracotta.org/schema/terracotta-5.xsd" 
xmlns:tc="http://www.terracotta.org/config" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 

    <servers> 
    <!-- Sets where the Terracotta server can be found. Replace the value of host with the server's IP address. --> 
    <server host="<my-server-ip>" name="localhost"> 
     <data>/home/tomcat/terracotta/server-data</data> 
     <logs>/home/tomcat/terracotta/server-logs</logs> 
     <statistics>/home/tomcat/terracotta/server-statistics</statistics> 
    </server> 

<!-- If using more than one server, add an <ha> section. --> 
    <ha> 
     <mode>networked-active-passive</mode> 
     <networked-active-passive> 
     <election-time>5</election-time> 
     </networked-active-passive> 
    </ha> 
    </servers> 
    <!-- Sets where the generated client logs are saved on clients. Note that the exact location of Terracotta logs on client machines may vary based on the value of user.home and the local disk layout. --> 
    <clients> 
    <logs>/opt/terracotta/client-logs</logs> 
    </clients> 
</tc:tc-config>