반응형

QualNet은 라이센스 서버에 접근해서 일종의 토큰 같은 것을 얻어서 시뮬레이션을 수행하고, 시뮬레이션이 끝나면 반환하는 방식으로 동작한다. 라이센스 서버에서는 QualNet을 실행하기 위해서 접근하는 client들의 IP주소를 확인해서, 자기 라이센스의 범위에 해당되는지 (IP 주소의 범위가 143.248.55.* 와 같이 subnet으로 지정됨) 확인해 보고 할당되지 않은 토큰을 넘겨 준다.


QualNet 프로그램에서는 [QUALNET_HOME 디렉토리]/license_dir/ 하위에 있는 .lic 파일을 읽어서 라이센스 서버에 접속하는데, (lic 파일 이름과 내용이 모두 라이센스 서버의 IP 주소로 되어 있음) 이 때 아래와 같은 에러가 발생할 수도 있다.


usera@usera-Linux:~/qualnet/5.0/scenarios/default$ qualnet default.config 

QualNet Version 5.0

QUALNET_HOME = /home/usera/qualnet/5.0

Attempting license checkout (should take less than 2 seconds) ...

Error code:    -8

               Invalid (inconsistent) license key. The license-key and data for

Error message: the feature do no match. This usually happens when a license

               file has been altered

               Follow the instructions posted on the online scalable-

Solution:      networks.com knowledge-base:


               http://www.scalable-networks.com/kb/questions.php?questionid=2


Detailed Report::

checkout failed: Invalid (inconsistent) license key.

 The license key and data for the feature do not match.

 This usually happens when a license file has been altered.

Feature:       qualnet-full

License path:  /home/usera/qualnet/5.0/license_dir/client-143.248.55.121.lic:

FLEXnet Licensing error:-8,544

For further information, refer to the FLEXnet Licensing End User Guide,

available at "www.macrovision.com".


QualNet의 포럼에 올라와 있는 글을 보면 여러 가지 이유로 발생할 수 있다고 나온다.

http://www.scalable-networks.com/snt-support/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=19


그 중에 내가 겪은 문제는 7. Other Common Causes에 해당되는 것으로, /etc/hosts 파일 세팅 문제이다. 추측하기로는, 라이센스 서버와의 문제는 아니지만, QualNet 시뮬레이션을 시작하려고 하는 시점에서 hostname과 IP 주소를 올바로 매칭하지 못해서 라이센스 요건을 충족하지 못하는 것으로 판단하는 것이 아닐까 생각한다.


이 경우 아래와 같이 /etc/hosts 파일을 수정하면 해결된다.

127.0.0.1    localhost.localdomain localhost

ip-address   [my-full-DNS-name] [my-hostname]


참고로 기존의 /etc/hosts 파일에

"127.0.1.1  [my-hostname]"

위와 같은 라인이 있으면 안된다. 해당 라인이 있다면 반드시 삭제할 것.

(저 라인을 남겨둔 채 왜 시키는 대로 했는데도 해결이 안되냐며 한시간 넘게 고민했다 ㅠㅠ)

즉, 호스트네임이 localhost 주소로 매핑되지 않도록 해야 한다.


반응형
블로그 이미지

Bryan_

,