Original Question:
Sun-admins,
I currently have a system (SS20 - solaris 2.4) that has problem with the lmgrd. The process is running but users can't compile anything. Error Message below. The LM_LICENSE_FILE variable and paths are set correctly.
License Error: Cannot connect to the license server (`hostname`)
for product ( SPARCcompiler C)
(License server may not have been started)
I beleive the above error message stems from a problem with hostid.
Because the `hostid` program complain about a non numeric string, which I never seen before. Error message below.
# hostid
hostid: hostid string returned by sysinfo not numeric: ""
attached file 1 - lmgrd's log file.
attached file 2 - truss on hostid.
Any input would be greatly appreciated.
Answer:
A Bad eeprom chip.
Thanks to:
Mark Hargrave
Mohammed Ali
Mark Henderson
Rasana Atreya
Russ Poffenberger
Bismark Espinoza
Bhaskar
--Boundary_(ID_w4NnbiQq+m0U4DpRdpmHZQ)
Content-type: TEXT/PLAIN; CHARSET=US-ASCII; NAME=lmgrd_log
Content-description: default
Content-disposition: ATTACHMENT; FILENAME=lmgrd_log
X-Sun-Charset: us-ascii
X-Sun-Content-length: 1208
X-Sun-Data-type: default
5/15 16:14:59 (lmgrd) FLEXlm (v2.61) started on moses (Sun) (5/15/97)
5/15 16:14:59 (lmgrd) License file: "/etc/opt/licenses/licenses_combined"
5/15 16:14:59 (lmgrd) Started suntechd
5/15 16:15:00 (suntechd) Wrong hostid, exiting (expected 7273c4d1, got 274).
5/15 16:15:00 (lmgrd) Please correct problem and restart daemons
5/16 9:30:51 (lmgrd) TIMESTAMP
5/16 10:24:38 (lmgrd) FLEXlm - Copyright 1988, 1993, Globetrotter Software, Inc.
5/16 10:25:03 (lmgrd) Retrying socket bind (address in use: port 1726)
5/16 10:25:33 (lmgrd) Retrying socket bind (address in use: port 1726)
5/16 10:26:03 (lmgrd) Retrying socket bind (address in use: port 1726)
5/16 10:26:33 (lmgrd) Retrying socket bind (address in use: port 1726)
5/16 10:27:03 (lmgrd) Retrying socket bind (address in use: port 1726)
5/16 10:27:33 (lmgrd) Retrying socket bind (address in use: port 1726)
5/16 10:27:53 (lmgrd) FLEXlm (v2.61) started on moses (Sun) (5/16/97)
5/16 10:27:53 (lmgrd) License file: "/etc/opt/licenses/licenses_combined"
5/16 10:27:53 (lmgrd) Started suntechd
5/16 10:27:53 (suntechd) Wrong hostid, exiting (expected 7273c4d1, got 274).
5/16 10:27:53 (lmgrd) Please correct problem and restart daemons
--Boundary_(ID_w4NnbiQq+m0U4DpRdpmHZQ)
Content-type: TEXT/PLAIN; CHARSET=US-ASCII; NAME=truss_hostid
Content-description: default
Content-disposition: ATTACHMENT; FILENAME=truss_hostid
X-Sun-Charset: us-ascii
X-Sun-Content-length: 1922
X-Sun-Data-type: default
execve("/usr/ucb/hostid", 0xEFFFFC60, 0xEFFFFC68) argc = 1
open("/usr/local/X11R5/lib/libc.so.1", O_RDONLY) Err#2 ENOENT
open("/usr/openwin/lib/libc.so.1", O_RDONLY) Err#2 ENOENT
open("/usr/lib/libc.so.1", O_RDONLY) = 3
fstat(3, 0xEFFFF8D8) = 0
mmap(0x00000000, 4096, PROT_READ, MAP_SHARED, 3, 0) = 0xEF7C0000
mmap(0x00000000, 544768, PROT_READ|PROT_EXEC, MAP_SHARED, 3, 0) = 0xEF700000
mmap(0xEF700000, 439679, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xEF700000
munmap(0xEF76C000, 61440) = 0
mmap(0xEF77B000, 22400, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 438272) = 0xEF77B000
open("/dev/zero", O_RDONLY) = 4
mmap(0xEF781000, 14144, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 0) = 0xEF781000
close(3) = 0
munmap(0xEF7C0000, 4096) = 0
open("/usr/local/X11R5/lib/libdl.so.1", O_RDONLY) Err#2 ENOENT
open("/usr/openwin/lib/libdl.so.1", O_RDONLY) Err#2 ENOENT
open("/usr/lib/libdl.so.1", O_RDONLY) = 3
fstat(3, 0xEFFFF8D8) = 0
mmap(0x00000000, 4096, PROT_READ, MAP_SHARED, 3, 0) = 0xEF7C0000
mmap(0x00000000, 69632, PROT_READ|PROT_EXEC, MAP_SHARED, 3, 0) = 0xEF7A0000
mmap(0xEF7A0000, 1360, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xEF7A0000
munmap(0xEF7A1000, 65536) = 0
close(3) = 0
munmap(0xEF7C0000, 3492) = 0
close(4) = 0
systeminfo(SI_HW_SERIAL, "", 256) = 1
sigfillset(0xEF783BB0) = 0
hostid: hostid string returned by sysinfo not numeric: "write(2, " h o s t i d : h o s t".., 56) = 56
"
write(2, " "\n", 2) = 2
lseek(0, 0, SEEK_CUR) = 11020
_exit(1)
************************************************
Mark Hokhold
System Administrator
Mitre Corporation
703-883-5678
************************************************
--Boundary_(ID_w4NnbiQq+m0U4DpRdpmHZQ)--