Re: [Kosmosfs-users] KFS on Centos and Ubuntu
Status: Alpha
Brought to you by:
sriramsrao
From: Tung N. <bet...@ya...> - 2011-05-06 04:07:11
|
Sriram,I got the followings in the logs dir. I hope this helps. However, the cluster key of the chunkserver and metaserver are the same. 05-06-2011 00:00:55.822 INFO - (ChunkServer_main.cc:313) Starting chunkserver...05-06-2011 00:00:55.870 DEBUG - (ChunkServer_main.cc:374) md5sum calculated from binary: 0c0eb3e3e5aeb78799e66fd74eded0cb05-06-2011 00:00:55.870 INFO - (ChunkServer_main.cc:321) md5sum to send to metaserver: 0c0eb3e3e5aeb78799e66fd74eded0cb05-06-2011 00:00:55.880 DEBUG - (ChunkManager.cc:346) setting # of open files to: 102405-06-2011 00:00:55.882 DEBUG - (ChunkManager.cc:2533) Dir: /home/mine/kfsRun/chunk/bin/kfschunk has space 2332118220805-06-2011 00:00:55.882 INFO - (ChunkServer.cc:105) gethostname returned: lab314pc1305-06-2011 00:00:56.872 INFO - (ChunkManager.cc:2568) Checking chunkdirs...05-06-2011 00:00:56.872 INFO - (MetaServerSM.cc:169) connecting to metaserver mistserv 2010005-06-2011 00:00:56.873 DEBUG - (ChunkManager.cc:2533) Dir: /home/mine/kfsRun/chunk/bin/kfschunk has space 2332118220805-06-2011 00:00:56.873 INFO - (MetaServerSM.cc:250) Sent hello to meta server: meta-hello: mylocation = 172.31.18.15 40000cluster key: lagoon-cluster05-06-2011 00:00:56.874 DEBUG - (MetaServerSM.cc:479) recv meta cmd: seq: 3342547832013168917 meta-heartbeat:05-06-2011 00:00:56.875 DEBUG - (ChunkManager.cc:2533) Dir: /home/mine/kfsRun/chunk/bin/kfschunk has space 2332118220805-06-2011 00:00:56.875 FATAL - (MetaServerSM.cc:372) Aborting due to cluster key mismatch; our key: lagoon-cluster TT --- On Thu, 5/5/11, Sriram Rao <sri...@gm...> wrote: From: Sriram Rao <sri...@gm...> Subject: Re: [Kosmosfs-users] KFS on Centos and Ubuntu To: "Tung Nguyen" <bet...@ya...> Cc: kos...@li... Date: Thursday, May 5, 2011, 5:27 PM Hi Tung, Can you load the core into gdb and get me a backtrace? Thanks. Sriram On Thu, May 5, 2011 at 9:35 AM, Tung Nguyen <bet...@ya...> wrote: Hi, I would like to install KFS on a cluster that has chunkservers running in Centos and metaserver running in Ubuntu (our gateway). I ran the kfssetup script to distribute binary to the chunkservers but I failed to start the system. I checked the kfsping and there's no chunkserver connecting to the metaserver. I digged into the chunkserver (CentOS) and modified the kfsrun script to print out the errors. I got: #scripts/kfsrun.sh -s -c -f bin/ChunkServer.prp Usage: grep [OPTION]... PATTERN [FILE]... Try `grep --help' for more information. Starting chunkserver... bin/chunkserver: error while loading shared libraries: libcrypto.so.0.9.8: cannot open shared object file: No such file or directory In Centos /lib or /lib64, I only found libcrypto.so.0.9.8e so I created symbolic link from libcrypto.so.0.9.8 to libcrypto.so.0.9.8e and ran it again. I got: scripts/kfsrun.sh -s -c -f bin/ChunkServer.prp Usage: grep [OPTION]... PATTERN [FILE]... Try `grep --help' for more information. Starting chunkserver... bin/chunkserver: /lib64/libcrypto.so.0.9.8: no version information available (required by bin/chunkserver) bin/chunkserver: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.10' not found (required by bin/chunkserver) Issuing: "#ldd -v /bin/sh I" had: libtermcap.so.2 => /lib64/libtermcap.so.2 (0x0000003c4fc00000) libdl.so.2 => /lib64/libdl.so.2 (0x0000003c4f800000) libc.so.6 => /lib64/libc.so.6 (0x0000003c4f000000) /lib64/ld-linux-x86-64.so.2 (0x0000003c4ec00000) Version information: /bin/sh: libdl.so.2 (GLIBC_2.2.5) => /lib64/libdl.so.2 libc.so.6 (GLIBC_2.4) => /lib64/libc.so.6 libc.so.6 (GLIBC_2.3) => /lib64/libc.so.6 libc.so.6 (GLIBC_2.3.4) => /lib64/libc.so.6 libc.so.6 (GLIBC_2.2.5) => /lib64/libc.so.6 /lib64/libtermcap.so.2: libc.so.6 (GLIBC_2.4) => /lib64/libc.so.6 libc.so.6 (GLIBC_2.3.4) => /lib64/libc.so.6 libc.so.6 (GLIBC_2.2.5) => /lib64/libc.so.6 /lib64/libdl.so.2: ld-linux-x86-64.so.2 (GLIBC_PRIVATE) => /lib64/ld-linux-x86-64.so.2 libc.so.6 (GLIBC_PRIVATE) => /lib64/libc.so.6 libc.so.6 (GLIBC_2.2.5) => /lib64/libc.so.6 /lib64/libc.so.6: ld-linux-x86-64.so.2 (GLIBC_2.3) => /lib64/ld-linux-x86-64.so.2 ld-linux-x86-64.so.2 (GLIBC_PRIVATE) => /lib64/ld-linux-x86-64.so.2 Please let me know what can I do? I also tried to download, compile from source and ran the kfsrun script but I got a core dump ... Total space = 31457280 cleanup on start = 0 Chunk server rack: 18 using cluster key = lagoon-cluster chunkserver: /home/mine/kfs-0.5/src/cc/chunk/ChunkManager.cc:388: KFS::ChunkManager::~ChunkManager(): Assertion `mChunkTable.empty() && ! mChunkManagerTimeoutImpl' failed. scripts/kfsrun.sh: line 25: 12193 Aborted (core dumped) build/bin/$server $config $SERVER_LOG_FILE Thank youTT ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Kosmosfs-users mailing list Kos...@li... https://lists.sourceforge.net/lists/listinfo/kosmosfs-users |