arcus 설치 중 memcached start 문의

122 views
Skip to first unread message

Yejeen Park

unread,
Oct 6, 2014, 10:58:08 PM10/6/14
to open...@googlegroups.com
안녕하세요~ 
저는 지금 개발에 arcus 사용여부를 판단하기 위해 테스트를 준비중인 개발자입니다. 

살치중에 잘 안되는 것이 있어서 문의메일을 드립니다. 

zookeeper 까지 구동이 되었고, zookeeper 에서 
mapping_server 까지 확인이 됩니다. 그런데 memcached init 후 memcached start를 할때 에러가 나서 cache 서버가 뜨질 않습니다.

/home/arcus/arcus/bin/memcached: symbol lookup/error : /home/arcus/arcus/bin/memcached: undefind symbol: zoo_forward_logs_to_syslog 라는 에러가 뜹니다.

zookeeper에서 관련 헤더파일과 c파일에서 zoo_forward_logs_to_syslog가 있는 것을 확인했습니다.

링크가 잘못된거 같은데 어떻게 연결해 줘야 할까요?

ldd /home/arcus/arcus/bin/memcached 로 보니 libzookeeper_mt.so.2 가 not found라고 나옵니다.
  
Message has been deleted

yskimcau

unread,
Oct 7, 2014, 12:02:49 AM10/7/14
to open...@googlegroups.com
/home/arcus/arcus/lib 디렉토리에 해당 파일이 존재하는 지 확인해 보시기 바랍니다.

jhpark816

unread,
Oct 7, 2014, 3:09:23 AM10/7/14
to open...@googlegroups.com
조금 더 첨언하면, zookeeper library와 linking이 제대로 되지 않은 것 같습니다.

arcus repo를 그대로 clone 받아서, readme 파일의 quickstart 내용대로 진행한 것인지요 ??

 

arcus repo를 clone 받은 거라면, zookeeper library는  "$work_directory/arcus/lib"에 있습니다.

그리고, cache server인 memcached를 compile하기 위해서는 configure를 먼저 수행하게 되는 데요..

configure 수행 시의 옵션으로 "--enable-zk-integration --with-libevent=$target_dir --with-zookeeper=$target_dir"

에서와 같이 빨간색의 zookeeper 옵션이 들어가야 합니다.

--with-zookeeper 옵션으로 zookeeper library의 install path를 지정하는 것이고요..

이 부분이 제대로 되었는 지를 확인하시는 것이 우선일 것 같습니다.

 

가능하면, arcus repo의 readme 파일에 있는 quickstart 절차대로 수행하시는 것이 가장 편합니다.

Reply all
Reply to author
Forward
0 new messages