Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while lauching RAMCloud coordinator #35

Closed
Nivekiba opened this issue Mar 5, 2020 · 1 comment
Closed

Error while lauching RAMCloud coordinator #35

Nivekiba opened this issue Mar 5, 2020 · 1 comment

Comments

@Nivekiba
Copy link

Nivekiba commented Mar 5, 2020

Hello everyone, i'm working on 3 vmwares with ubuntu 19

After successfully install and launch zookeeper server and compile RAMCloud, when i type this command:

$ obj.master/coordinator -C tcp:host=192.168.242.132,port=11100 -x zk:192.168.242.132:2181

I'm getting some errors that i don't found anywhere on the internet:
image

The full error message is given below:

1583402719.815531678 CoordinatorMain.cc:96 in main NOTICE[1]: Command line: obj.master/coordinator -C tcp:host=192.168.242.132,port=11100 -x zk:192.168.242.132:2181
1583402719.815557674 CoordinatorMain.cc:97 in main NOTICE[1]: Coordinator process id: 96996
1583402719.815882562 Common.cc:221 in pinAllMemory WARNING[1]: Could not lock all memory pages (Cannot allocate memory), so the OS might swap memory later. Check your user's "ulimit -l" and adjust /etc/security/limits.conf as necessary.
2020-03-05 02:05:19,816:96996(0x7fb48c4fa940):ZOO_INFO@log_env@753: Client environment:zookeeper.version=zookeeper C client 3.4.13
2020-03-05 02:05:19,816:96996(0x7fb48c4fa940):ZOO_INFO@log_env@757: Client environment:host.name=ubuntu
2020-03-05 02:05:19,816:96996(0x7fb48c4fa940):ZOO_INFO@log_env@764: Client environment:os.name=Linux
2020-03-05 02:05:19,816:96996(0x7fb48c4fa940):ZOO_INFO@log_env@765: Client environment:os.arch=5.0.0-38-generic
2020-03-05 02:05:19,816:96996(0x7fb48c4fa940):ZOO_INFO@log_env@766: Client environment:os.version=#41-Ubuntu SMP Tue Dec 3 00:27:35 UTC 2019
2020-03-05 02:05:19,816:96996(0x7fb48c4fa940):ZOO_INFO@log_env@774: Client environment:user.name=openwhisk
2020-03-05 02:05:19,816:96996(0x7fb48c4fa940):ZOO_INFO@log_env@782: Client environment:user.home=/home/openwhisk
2020-03-05 02:05:19,816:96996(0x7fb48c4fa940):ZOO_INFO@log_env@794: Client environment:user.dir=/home/openwhisk/zookeeper/zookeeper-3.4.14/RAMCloud
2020-03-05 02:05:19,816:96996(0x7fb48c4fa940):ZOO_INFO@zookeeper_init@827: Initiating client connection, host=192.168.242.132:2181 sessionTimeout=1000000 watcher=(nil) sessionId=0 sessionPasswd=<null> context=(nil) flags=0
2020-03-05 02:05:19,816:96996(0x7fb47b7fe700):ZOO_INFO@check_events@1764: initiated connection to server [192.168.242.132:2181]
1583402719.816080256 CoordinatorMain.cc:108 in main NOTICE[1]: coordinator: Listening on tcp:host=192.168.242.132,port=11100
1583402719.816093491 CoordinatorMain.cc:111 in main NOTICE[1]: PortTimeOut=-1
1583402719.816094770 PortAlarm.cc:160 in setPortTimeout NOTICE[1]: Set PortTimeout to -1 (ms: -1 to disable.)
2020-03-05 02:05:19,820:96996(0x7fb47b7fe700):ZOO_INFO@check_events@1811: session establishment complete on server [192.168.242.132:2181], sessionId=0x100000348d70008, negotiated timeout=40000
1583402719.826794885 ZooStorage.cc:586 in open NOTICE[1]: ZooKeeper connection opened with 192.168.242.132:2181
1583402719.826818342 CoordinatorMain.cc:137 in main NOTICE[1]: Cluster name is 'main', external storage workspace is '/ramcloud/main/'
1583402720.828659856 ZooStorage.cc:465 in checkLeader NOTICE[1]: Became leader with version 22214 (old leader info was "tcp:host=192.168.242.132,port=11100")
1583402720.828983189 CoordinatorClusterClock.cc:162 in recoverClusterTime NOTICE[1]: initializing CoordinatorClusterClock: startingClusterTime = 11241027889137
1583402720.829227930 MemoryMonitor.cc:62 in handleTimerEvent NOTICE[8]: Memory usage now 13 MB (increased 13 MB)
1583402722.180326417 CoordinatorClusterClock.cc:62 in getTime WARNING[9]: Returning stale time. SafeTimeUpdater may be running behind.
1583402722.189681209 CoordinatorUpdateManager.cc:89 in init NOTICE[9]: initializing CoordinatorUpdateManager: lastFinished = 38990, firstAvailable = 39991
1583402722.192923193 CoordinatorServerList.cc:294 in recover NOTICE[9]: Recreated server 1.2 at tcp:host=openwhisk-invoker0,port=1101 with services MASTER_SERVICE, BACKUP_SERVICE, ADMIN_SERVICE, status UP
1583402722.195621594 CoordinatorServerList.cc:341 in recover NOTICE[9]: Rescheduling update for server 1.2, version 7, updateSequence 39991, status UP
1583402722.199104499 CoordinatorServerList.cc:396 in recover NOTICE[9]: CoordinatorServerList recovery completed: 1 master(s), 1 backup(s), 1 update(s) to disseminate, server list version is 7
1583402722.199851563 TableManager.cc:710 in recover NOTICE[9]: initializing TableManager: nextTableId = 2
1583402722.202509248 TableManager.cc:1588 in recreateTable NOTICE[9]: Recovered tablet 0x0-0xffffffffffffffff for table 'Trap' (id 2) on server 1.1
1583402722.202613351 TableManager.cc:763 in recover NOTICE[9]: Table recovery complete: 1 table(s)
1583402722.205592393 CoordinatorService.cc:111 in init NOTICE[9]: Coordinator state has been recovered from external storage; starting service
1583402722.213451968 CoordinatorServerList.cc:1098 in updateLoop ERROR[10]: Fatal error in CoordinatorServerList: RAMCloud::IpAddress::BadIpAddressException: Service locator 'tcp:host=openwhisk-invoker0,port=1101' couldn't be converted to IP address: couldn't find host 'openwhisk-invoker0', thrown at IpAddress at src/IpAddress.cc:64
1583402722.217098363 Logger.cc:911 in terminateHandler ERROR[10]: Backtrace:
1583402722.217112611 Logger.cc:911 in terminateHandler ERROR[10]: obj.master/coordinator(_ZN8RAMCloud6Logger12logBacktraceENS_9LogModuleENS_8LogLevelERKNS_12CodeLocationE+0x41) [0x55d834dadea1]
1583402722.217113853 Logger.cc:911 in terminateHandler ERROR[10]: obj.master/coordinator(+0x43e1e1) [0x55d834daf1e1]
1583402722.217114327 Logger.cc:911 in terminateHandler ERROR[10]: /lib/x86_64-linux-gnu/libstdc++.so.6(+0xa52b6) [0x7fb48ca2a2b6]
1583402722.217114727 Logger.cc:911 in terminateHandler ERROR[10]: /lib/x86_64-linux-gnu/libstdc++.so.6(+0xa5301) [0x7fb48ca2a301]
1583402722.217115116 Logger.cc:911 in terminateHandler ERROR[10]: /lib/x86_64-linux-gnu/libstdc++.so.6(__cxa_rethrow+0x49) [0x7fb48ca2a589]
1583402722.217115533 Logger.cc:911 in terminateHandler ERROR[10]: obj.master/coordinator(_ZN8RAMCloud21CoordinatorServerList10updateLoopEv+0x1c2) [0x55d834cb07da]
1583402722.217115982 Logger.cc:911 in terminateHandler ERROR[10]: obj.master/coordinator(_ZSt13__invoke_implIvMN8RAMCloud21CoordinatorServerListEFvvEPS1_JEET_St21__invoke_memfun_derefOT0_OT1_DpOT2_+0x66) [0x55d834cbb9c1]
1583402722.217116435 Logger.cc:911 in terminateHandler ERROR[10]: obj.master/coordinator(_ZSt8__invokeIMN8RAMCloud21CoordinatorServerListEFvvEJPS1_EENSt15__invoke_resultIT_JDpT0_EE4typeEOS6_DpOS7_+0x46) [0x55d834cb906a]
1583402722.217116884 Logger.cc:911 in terminateHandler ERROR[10]: obj.master/coordinator(_ZNSt6thread8_InvokerISt5tupleIJMN8RAMCloud21CoordinatorServerListEFvvEPS3_EEE9_M_invokeIJLm0ELm1EEEEDTcl8__invokespcl10_S_declvalIXT_EEEEESt12_Index_tupleIJXspT_EEE+0x43) [0x55d834cc021b]
1583402722.217117414 Logger.cc:911 in terminateHandler ERROR[10]: obj.master/coordinator(_ZNSt6thread8_InvokerISt5tupleIJMN8RAMCloud21CoordinatorServerListEFvvEPS3_EEEclEv+0x27) [0x55d834cc01c1]
1583402722.217117835 Logger.cc:911 in terminateHandler ERROR[10]: obj.master/coordinator(_ZNSt6thread11_State_implINS_8_InvokerISt5tupleIJMN8RAMCloud21CoordinatorServerListEFvvEPS4_EEAborted (core dumped)

I'm working on an urgent project. so if you can help me it will be kind

@rstutsman
Copy link
Member

The relevant message from the log is this one:

couldn't find host 'openwhisk-invoker0', thrown at IpAddress at src/IpAddress.cc:64

Check to make sure the DNS resolves for that host on the machine you are trying this on.

@Nivekiba Nivekiba closed this as completed Mar 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants