FLEXlm 오류는 숫자만 봐서는 감이 잘 안 잡히는 경우가 많습니다. 같은 라이선스 오류처럼 보여도 어떤 코드는 단순히 라이선스 파일 경로가 틀린 것이고, 어떤 코드는 서버가 꺼져 있거나 vendor daemon이 죽어 있는 상황입니다.
저는 이런 오류를 볼 때 무조건 한 가지부터 보지 않습니다. 먼저 로컬 라이선스 문제인지, 네트워크 라이선스 서버 문제인지, 사용자 수 초과인지, 버전 불일치인지부터 갈라서 보는 편입니다. 이 기준만 잡아도 문제를 훨씬 빨리 좁힐 수 있습니다.
아래 내용은 FLEXlm Error Code 전체 목록을 본문 안에 모두 넣고, 실제로 자주 만나는 코드들을 앞쪽에서 먼저 읽기 쉽게 풀어 쓴 버전입니다. 오류표만 보고 끝내기보다, 어느 순서로 점검해야 빨리 해결되는지까지 같이 정리했습니다.
FLEXlm 오류를 먼저 나누는 방법
| 분류 | 대표 코드 | 먼저 볼 것 |
|---|---|---|
| 라이선스 파일 문제 | -1, -2, -13, -30, -54, -55, -82, -90 | 파일 경로, SERVER 줄, DAEMON/VENDOR 줄, FEATURESET, PACKAGE, 문법 오타 |
| 서버 연결 문제 | -7, -14, -15, -16, -17, -52, -57, -62, -96, -97, -139 | 포트, 호스트명, DNS, 방화벽, lmgrd 실행 여부, vendor daemon 상태 |
| 수량 초과와 예약 문제 | -4, -24, -35, -67, -87, -101, -106 | 동시 사용자 수, 대기열, MAX 설정, 예약 옵션 파일, 네트워크 연결 수 |
| 호스트와 하드웨어 문제 | -9, -29, -95, -110, -112, -121, -126, -127 | hostid, MAC, dongle, 실제 서버명, 장치 드라이버 |
| 버전과 시간 문제 | -10, -21, -25, -31, -34, -47, -83, -88 | 만료일, 시작일, 클라이언트/서버 버전 차이, 시스템 시계, 시간대 |
가장 많이 터지는 대표 오류
오류 -1, -2, -13, -30은 라이선스 파일부터 봐야 합니다
-1 Cannot find license file는 말 그대로 라이선스 파일을 못 찾는 상황입니다. 파일이 실제로 없거나, 환경변수 경로가 다르거나, 프로그램이 다른 폴더를 보고 있을 가능성이 큽니다.
-2 Invalid license file syntax는 파일 문법이 깨졌을 때 자주 나옵니다. 줄바꿈이 잘못됐거나, 공백 하나가 이상하거나, 복사 과정에서 글자가 바뀐 경우도 있습니다.
-13 No SERVER lines in license file는 네트워크 라이선스 파일에 서버 정보가 없을 때 보입니다. 서버 라이선스인데 SERVER 줄이 없다면 정상 동작하기 어렵습니다.
-30 Cannot read license file는 파일 권한, 인코딩, 손상 여부까지 함께 봐야 합니다. 특히 서버에 올린 뒤 권한이 달라졌을 때 자주 보입니다.
- license 파일 경로가 실제와 같은지 확인
- 파일을 메모장이나 에디터로 다시 열어 문법 깨짐이 없는지 확인
- SERVER, VENDOR 또는 DAEMON, FEATURE, INCREMENT 줄이 정상인지 확인
- 복사 과정에서 탭, 공백, 줄바꿈이 망가지지 않았는지 확인
오류 -14, -15, -96, -97은 서버 연결 문제로 보는 편이 빠릅니다
-14 Cannot find SERVER host name in network database는 서버 이름 해석부터 막힌 경우입니다. 호스트명이 틀렸거나 DNS, hosts 파일, 내부 네트워크 이름 해석이 꼬인 경우가 많습니다.
-15 Cannot connect to license server system는 FLEXlm 계열에서 가장 많이 보는 오류 중 하나입니다. 서버가 아직 안 떠 있거나, port@host가 틀렸거나, 잘못된 라이선스 파일을 참조하고 있거나, 서버 이름이나 포트가 바뀐 경우가 대표적입니다.
-96 License server machine is down or not responding는 서버 자체가 꺼져 있거나 응답하지 않을 때 보는 코드입니다. 단순히 프로그램 문제로 보기보다 서버 프로세스와 방화벽부터 확인하는 편이 낫습니다.
-97 The desired vendor daemon is down는 lmgrd는 살아 있어도 실제로 필요한 vendor daemon이 죽어 있는 경우에 많이 뜹니다. 이때는 lmgrd만 올려봤자 해결되지 않고, vendor daemon 로그를 같이 봐야 합니다.
- 서버가 켜져 있는지부터 확인합니다.
- 포트 번호와 호스트명이 license 파일과 같은지 봅니다.
- 방화벽이나 보안장비가 포트를 막고 있지 않은지 확인합니다.
- lmgrd가 살아 있어도 vendor daemon이 죽었는지 따로 봅니다.
- LM_LICENSE_FILE 환경변수가 예전 서버를 가리키는지도 함께 봅니다.
오류 -4, -24, -35, -87, -101, -106은 사용자 수와 예약 정책을 의심해야 합니다
-4 Licensed number of users already reached는 가장 직관적인 오류입니다. 동시 사용 수를 다 써버린 상태입니다.
-24 Users are queued for this feature, -35 In the queue for this feature는 이미 대기열이 생긴 상황입니다. 서버가 죽은 것이 아니라 좌석이 비기를 기다리는 상태일 수 있습니다.
-87 Checkout exceeds MAX specified in options file와 -101 All licenses are reserved for others는 옵션 파일 정책 때문에 생기는 경우가 많습니다. 단순한 라이선스 부족이 아니라 관리자 설정이 걸려 있을 수 있습니다.
-106 License server system out of network connections는 vendor daemon이 더 이상 연결을 처리하지 못하는 상황입니다. 이건 사용자 수만 볼 게 아니라 서버 로그까지 봐야 합니다.
오류 -8, -9, -10은 라이선스 값 자체를 다시 봐야 합니다
-8 Invalid license key or signature는 라이선스 파일이 수정됐거나, 발급된 데이터와 실제 FEATURE 정보가 맞지 않을 때 자주 뜹니다. 파일을 손으로 고치다가 생기는 경우가 정말 많습니다.
-9 Invalid host는 hostid 불일치입니다. 발급받은 시스템과 실제 사용 중인 시스템이 다르면 바로 막힙니다.
-10 Feature has expired는 단순하지만 많이 놓칩니다. 유지보수 기간, 서브스크립션, 만료일을 다시 확인해야 합니다.
오류 -83, -90, -88은 버전과 시간 문제가 겹칠 때 자주 보입니다
-83 FlexNet Licensing version of client newer than server는 클라이언트가 더 최신인데 서버가 오래된 경우입니다. 프로그램만 최신으로 바꾸고 서버를 그대로 두면 이런 코드가 올라옵니다.
-90 Future license file format or misspelling in license file는 현재 프로그램이 이해하지 못하는 더 최신 형식의 라이선스 파일이거나, 문법 오타가 있을 때 보입니다.
-88 System clock has been set back는 시스템 시간이 뒤로 돌아간 경우라서, 시간 동기화와 가상머신 시간 문제까지 같이 봐야 합니다.
FLEXlm 오류가 났을 때 점검 순서
- 에러 코드 숫자를 먼저 확인합니다. 메시지 전체를 캡처해 두는 것이 좋습니다.
- 로컬 라이선스인지 네트워크 라이선스인지부터 구분합니다.
- license file 경로가 맞는지 확인합니다.
- SERVER 줄, DAEMON 또는 VENDOR 줄, FEATURE/INCREMENT 줄이 정상인지 확인합니다.
- 서버가 떠 있는지, vendor daemon이 살아 있는지를 봅니다.
- LM_LICENSE_FILE 환경변수가 예전 값이나 잘못된 포트값을 가리키는지 확인합니다.
- 사용자 수 초과인지, 옵션 파일 제한인지 확인합니다.
- 시스템 시간, 시간대, 클라이언트/서버 버전을 맞춰봅니다.
- dongle, hostid, NIC 관련 코드라면 하드웨어 인식부터 다시 봅니다.
- 마지막으로 로그 파일을 열어 실제 실패 시점을 확인합니다.
같은 라이선스 오류처럼 보여도 원인은 파일 문법, 서버 포트, vendor daemon 다운, 사용자 수 초과, hostid 불일치, 시간 문제처럼 전혀 다를 수 있습니다. 코드 숫자를 먼저 보고 분류하는 습관이 생각보다 중요합니다.
자주 묻는 질문
Q. 오류 -15와 -96은 같은 뜻인가요?
A. 비슷해 보이지만 완전히 같지는 않습니다. -15는 서버 연결 자체가 안 되는 상황 전반을 가리키는 편이고, -96은 서버 머신이 다운되었거나 응답하지 않는 상황으로 더 직접적으로 읽는 경우가 많습니다.
Q. 오류 -97이면 서버가 아예 죽은 건가요?
A. 꼭 그렇지는 않습니다. lmgrd는 살아 있는데 필요한 vendor daemon만 내려간 경우도 많습니다. 그래서 lmgrd 상태와 vendor daemon 상태를 따로 보는 게 좋습니다.
Q. 오류 -83은 프로그램을 재설치하면 해결되나요?
A. 재설치보다 버전 조합을 먼저 봐야 합니다. 클라이언트가 서버보다 최신이면 서버 측 FlexNet 구성요소를 함께 맞춰야 해결되는 경우가 많습니다.
Q. 오류 -8은 왜 자주 생기나요?
A. license 파일을 직접 수정했거나 복사 과정에서 내용이 바뀌었을 때 많이 생깁니다. FEATURE 줄을 손대지 않는 편이 안전합니다.
Q. 오류 -4가 뜨면 서버 문제인가요?
A. 보통은 서버 장애보다 좌석 부족 문제에 가깝습니다. 현재 사용 중인 사용자 수와 예약 정책을 먼저 확인하는 편이 빠릅니다.
FLEXlm Error Code 전체 목록
FLEXlm Error Code No Descrition -1 Cannot find license file. -2 Invalid license file syntax. -3 No license server system for this feature. -4 Licensed number of users already reached. -5 No such feature exists. -6 No TCP/IP port number in license file and FLEXnet Licensing servicedoes not exist. (pre-v6 only) -7 No socket connection to license server manager service. -8 Invalid (inconsistent) license key or signature.The license key/signature and data for the feature do not match. Thisusually happens when a license file has been altered. -9 Invalid host.The hostid of this system does not match the hostid specified in thelicense file. -10 Feature has expired. -11 Invalid date format in license file. -12 Invalid returned data from license server system. -13 No SERVER lines in license file. -14 Cannot find SERVER host name in network database.The lookup for the host name on the SERVER line in the license filefailed. This often happens when NIS or DNS or the hosts file isincorrect. Workaround: Use IP address (e.g., 123.456.789.123) insteadof host name. -15 Cannot connect to license server system.The server (lmgrd) has not been started yet, or the wrong port@hostor license file is being used, or the TCP/IP port or host name in thelicense file has been changed. -16 Cannot read data from license server system. -17 Cannot write data to license server system. -18 License server system does not support this feature. -19 Error in select system call. -21 License file does not support this version. -22 Feature checkin failure detected at license server system. -23 License server system temporarily busy (new server connecting). -24 Users are queued for this feature. -25 License server system does not support this version of this feature. -26 Request for more licenses than this feature supports. -29 Cannot find ethernet device. -30 Cannot read license file. -31 Feature start date is in the future. -32 No such attribute. -33 Bad encryption handshake with vendor daemon. -34 Clock difference too large between client and license server system. -35 In the queue for this feature. -36 Feature database corrupted in vendor daemon. -37 Duplicate selection mismatch for this feature. Obsolete with v8.0+vendor daemon. -38 User/host on EXCLUDE list for feature. -39 User/host not on INCLUDE list for feature. -40 Cannot allocate dynamic memory. -41 Feature was never checked out. -42 Invalid parameter. -47 Clock setting check not available in vendor daemon. -52 Vendor daemon did not respond within timeout interval. -53 Checkout request rejected by vendor-defined checkout filter. -54 No FEATURESET line in license file. -55 Incorrect FEATURESET line in license file. -56 Cannot compute FEATURESET data from license file. -57 1 socket() call failed. -59 Message checksum failure. -60 License server system message checksum failure. -61 Cannot read license file data from license server system. -62 Network software (TCP/IP) not available. -63 You are not a license administrator. -64 lmremove request before the minimum lmremove interval. -67 No licenses available to borrow. -68 License BORROW support not enabled. -69 FLOAT_OK can’t run standalone on license server system. -71 Invalid TZ environment variable. -73 Local checkout filter rejected request. -74 Attempt to read beyond end of license file path. -75 1 SYS$SETIMR call failed (VMS). -76 Internal FLEXnet Licensing error—please report to MacrovisionCorporation. -77 Bad version number must be floating-point number with no letters. -82 Invalid PACKAGE line in license file. -83 FLEXnet Licensing version of client newer than server. -84 USER_BASED license has no specified users - see license serversystem log. -85 License server system doesn’t support this request. -87 Checkout exceeds MAX specified in options file. -88 System clock has been set back. -89 This platform not authorized by license. -90 Future license file format or misspelling in license file.The file was issued for a later version of FLEXnet Licensing than thisprogram understands. -91 Encryption seeds are non-unique. -92 Feature removed during lmreread, or wrong SERVER line hostid. -93 This feature is available in a different license pool.This is a warning condition. The server has pooled one or moreINCREMENT lines into a single pool, and the request was made on anINCREMENT line that has been pooled. -94 Attempt to generate license with incompatible attributes. -95 Network connect to THIS_HOST failed.Change this_host on the SERVER line in the license file to theactual host name. -96 License server machine is down or not responding.See the system administrator about starting the server, or make sure thatyou’re referring to the right host (see LM_LICENSE_FILE environmentvariable). -97 The desired vendor daemon is down.1) Check the lmgrd log file, or 2) Try lmreread. -98 This FEATURE line can’t be converted to decimal format. -99 The decimal format license is typed incorrectly. -10 Cannot remove a linger license. -101 All licenses are reserved for others.The system administrator has reserved all the licenses for others.Reservations are made in the options file. The server must be restartedfor options file changes to take effect. -102 A FLEXid borrow error occurred. -103 Terminal Server remote client not allowed. -104 Cannot borrow that long. -106 License server system out of network connections.The vendor daemon can't handle any more users. See the debug log forfurther information. -110 Cannot read dongle: check dongle or driver.Either the dongle is unattached, or the necessary software driver for thisdongle type is not installed. -112 Missing dongle driver.In order to read the FLEXid hostid, the correct driver must be installed.These drivers are available from your software vendor. -114 SIGN= keyword required, but missing from license certificate.You need to obtain a SIGN= version of this license from your vendor. -115 Error in Public Key package. -116 TRL not supported for this platform. -117 BORROW failed. -118 BORROW period expired. -119 lmdown and lmreread must be run on license server machine. -120 Cannot lmdown the server when licenses are borrowed. -121 FLOAT_OK requires exactly one FLEXid hostid. -122 Unable to delete local borrow info. -123 Returning a borrowed license early is not supported.Contact the vendor for further details. -124 Error returning borrowed license. -125 A PACKAGE component must be specified. -126 Composite hostid not initialized. -127 A item needed for the composite hostid is missing or invalid. -128 Error, borrowed license doesn't match any known server license. -135 Error enabling the event log. -136 Event logging is disabled. -137 Error writing to the event log. -139 Communications timeout. -140 Bad message command. -141 Error writing to socket. Peer has closed socket. -142 Error, cannot generate version specific license tied to a single hostid,which is composite. -143 Version-specific signatures are not supported for uncounted licenses. -144 License template contains redudant signature specifiers. -145 Bad V71_LK signature. -146 Bad V71_SIGN signature. -147 Bad V80_LK signature. -148 Bad V80_SIGN signature. -149 Bad V81_LK signature. -150 Bad V81_SIGN signature. -151 Bad V81_SIGN2 signature. -152 Bad V84_LK signature. -153 Bad V84_SIGN signature. -154 Bad V84_SIGN2 signature. -155 License key required but missing from the license certificate. Theapplication requires a license key in the license certificate. You need toobtain a license key version of this certificate from your vendor. -500 Invalid server port number. -501 Invalid value in license where an integer was expected. -502 Invalid value supplied for count. -503 Invalid hostid supplied in license. -504 Invalid hostid type supplied. -505 Bad feature line syntax. -506 Internal FLEXnet Licensing error. -507 Bad date format in license file. -508 Bad SERVER line. -509 Bad license string. -510 Server's feature doesn't authenticate on client side. -511 No license checked out. -512 License already checked out. -513 Error list returned. -514 No certicom module available. -515 Wrong or incomplete certicom module. -516 SIGN or SIGN2 required in license certificate. -517 Feature object has no licensesources. -518 An Identical license is already checked out on this license source. -519 This license has an asynchronously-queued checkout pending. -521 Library for native hostid couldn't be loaded. -522 Already connected to another vendor daemon. -523 No such user, host, or display. -524 Shutdown of license server system failed. -525 Shutdown failed — already connected to license server system. -526 Invalid license source string. -527 Log file switch error.
FLEXlm 오류는 숫자만 보면 막막하지만, 실제로는 파일 문제, 서버 연결 문제, 좌석 수 초과, 버전 불일치, 시간 문제, hostid 문제로 꽤 분명하게 나눌 수 있습니다. 제 기준에서는 오류 메시지를 길게 읽기 전에 먼저 코드 숫자부터 확인하고, 그 숫자를 위 분류표에 넣어보는 방식이 가장 빠릅니다.
특히 -15, -96, -97은 서버 계열, -1, -2, -13, -30은 파일 계열, -4, -87, -101은 수량과 정책 계열, -83, -88, -90은 버전과 시간 계열로 접근하면 훨씬 덜 헤매게 됩니다. 라이선스 문제를 자주 다루는 환경이라면 이 글을 북마크해 두고, 에러가 뜰 때마다 코드부터 비교해 보시면 됩니다.
댓글
댓글 쓰기