PDA

View Full Version : lost lock, exiting (errno: 45)



dengtao
02-25-2008, 11:39 PM
Our customer met a trouble with vendor daemon-- vendor daemon exit with errno: 45. According to the log, it looks like something wrong with OS signal, can anybody figure out any causes about this problem?

------------
12:47:36 (lmgrd) FLEXnet Licensing (v10.8.2.1 build 30341) started on s01 (hp 9000/800) (2/5/2008)
12:47:36 (lmgrd) Copyright (c) 1988-2006 Macrovision Europe Ltd. and/or Macrovision Corporation. All Rights Reserved.
12:47:36 (lmgrd) US Patents 5,390,297 and 5,671,412.
12:47:36 (lmgrd) World Wide Web: http://www.macrovision.com
12:47:36 (lmgrd) License file(s): /usr/local/zuken/license/license.dat
12:47:36 (lmgrd) lmgrd tcp-port 7100
12:47:36 (lmgrd) Starting vendor daemons ...
12:47:36 (lmgrd) Started zuken (internet tcp_port 49180 pid 1359)
12:47:37 (zuken) FLEXnet Licensing version v10.8.2.1 build 30341
12:47:38 (zuken) EXPIRED: ZX0202
12:47:38 (zuken) EXPIRED: ZX0301
12:47:38 (zuken) Server started on s01 for: ZX0201
12:47:38 (zuken) ZX0203 ZX0203 ZX0317
12:47:38 (zuken) ZX0405 ZX0407 ZX0409
12:47:38 (zuken) ZX0410 ZX0501 ZX0502
12:47:38 (zuken) ZX0534 ZX0538 ZX0541
12:47:38 (zuken) ZX0564 ZX0602 ZX0608
12:47:38 (zuken) ZX0609 ZX0801 ZX0586
12:47:38 (zuken) ZX0587 ZX0556 ZX0567
12:47:38 (zuken) ZX0584 ZX0585 ZX1601
12:47:38 (zuken) ZX1604 ZX1605 ZX1606
12:47:38 (zuken) ZX1607 ZX1610 ZXQ612
12:47:38 (zuken) ZXQ618 ZXQ653 ZX2401
12:47:38 (zuken) ZX2411 ZX0202 ZX0301
12:47:38 (lmgrd) zuken using TCP-port 49180
....
....
....

9:08:16 (zuken) lost lock, exiting (errno: 45)
9:08:16 (zuken) EXITING DUE TO SIGNAL 40
9:08:16 (zuken) IN: "ZX1601" user@HA000040099 (SHUTDOWN)
9:08:16 (lmgrd) zuken exited with status 40 (Exited because another server was running)
9:08:16 (lmgrd) MULTIPLE "zuken" license server systems running.
9:08:16 (lmgrd) Please kill, and run lmreread
9:08:16 (lmgrd)
9:08:16 (lmgrd) This error probably results from either:
9:08:16 (lmgrd) 1. Another copy of the license server manager (lmgrd) is running.
9:08:16 (lmgrd) 2. A prior license server manager (lmgrd) was killed with "kill -9"
9:08:16 (lmgrd) (which would leave the vendor daemon running).
9:08:16 (lmgrd) To correct this, do a "ps -ax | grep zuken"
9:08:16 (lmgrd) (or equivalent "ps" command)
9:08:16 (lmgrd) and kill the "zuken" process.

drrushi
02-28-2008, 06:45 PM
Well, are there two copies of the same daemon executable (zuken.exe)running on the same machine?

RobertDickau
02-28-2008, 07:11 PM
Offhand I don't recall if it's relevant to your FLEXnet version, but it might also be worth verifying that there is no system script deleting empty (zero-length) files from /tmp or /usr/tmp...

dengtao
03-03-2008, 11:32 PM
Offhand I don't recall if it's relevant to your FLEXnet version, but it might also be worth verifying that there is no system script deleting empty (zero-length) files from /tmp or /usr/tmp...

As I know, until v9.5, flexlm use lock file to guarantee unique daemon. Is it same in v10.x?

RobertDickau
03-04-2008, 06:48 PM
Yes, I believe that's still the case.