질문&답변
클라우드/리눅스에 관한 질문과 답변을 주고 받는 곳입니다.
리눅스 분류

netflow 질문

작성자 정보

  • 홍석범 작성
  • 작성일

컨텐츠 정보

본문

안녕하십니까? 홍석범입니다.

arts++ 및 cflowd등의 설치시 버전 match가 안되는 경우 보시는 바와 같은 컴파일 문제가 발생할 수 있습니다. 이러한 경우 버전등을 변경(업데이트등)하면서 설치해 보는 방법이 있습니다.

아울러, arts++/ cflowd (Flowscan)보다는 뒷 부분에 나오는 flow-tools가 훨씬 유용하고 확정된 기능을 제공하고 있으므로 flow-tools를 사용하실 것을 권장드립니다.


감사합니다.

 

 

FC 님의 글



리눅스 서버 보안관리 실무 12장을 보고있습니다.

arts++ 설치 후 cflowd 를 설치하는 과정에서 에러가 나는군요

패치도 끝내고 ./configure 후 make 명령을 내린 결과입니다.

[root@Office cflowd-2-1-b1]# make
cd snmp++; make
make[1]: Entering directory `/root/netflow/cflowd-2-1-b1/snmp++'
cd classes; make
make[2]: Entering directory `/root/netflow/cflowd-2-1-b1/snmp++/classes'
cd src; make
make[3]: Entering directory `/root/netflow/cflowd-2-1-b1/snmp++/classes/src'
g++ -D__unix__ -I../include/snmp++ -I./ -g -O2 -c oid.cpp -o oid.o
In file included from /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/backward/iostream.h:31,
                 from ../include/snmp++/smival.h:49,
                 from ../include/snmp++/oid.h:62,
                 from oid.cpp:59:
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the header for the header for C++ includes, or instead of the deprecated header . To disable this warning use -Wno-deprecated.
../include/snmp++/oid.h:181: error: 'vector' has not been declared
../include/snmp++/oid.h:181: error: expected ',' or '...' before '<' token
oid.cpp:503: error: variable or field 'get_oid' declared void
oid.cpp:503: error: 'int Oid::get_oid' is not a static member of 'class Oid'
oid.cpp:503: error: 'vector' was not declared in this scope
oid.cpp:503: error: expected primary-expression before '>' token
oid.cpp:503: error: 'outVect' was not declared in this scope
oid.cpp:503: error: expected ',' or ';' before 'const'
make[3]: *** [oid.lo] ?ㅻ쪟 1
make[3]: Leaving directory `/root/netflow/cflowd-2-1-b1/snmp++/classes/src'
make[2]: *** [all] ?ㅻ쪟 2
make[2]: Leaving directory `/root/netflow/cflowd-2-1-b1/snmp++/classes'
make[1]: *** [classes/lib/libsnmp++.a] ?ㅻ쪟 2
make[1]: Leaving directory `/root/netflow/cflowd-2-1-b1/snmp++'
make: *** [all] ?ㅻ쪟 2

 

에러 때문인지는 모르겠으나 다음 단계인 심볼릭 링크 과정에서도 cflowd.conf 파일이 존재하지 않는군요 ㅠㅠ




 

관련자료

댓글 0
등록된 댓글이 없습니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,034 명
  • 현재 강좌수 :  35,791 개
  • 현재 접속자 :  205 명