Hello!
I have solved my problem, but my solution will unfortunately not
help other users with similar problems. Research Systems had posted
a new version of their license manager which is linked with libc6
instead of libc5. In the mean time I found others who had the same
problem with RedHat 7.0. The problem has not really been explained.
I do have /usr/i486-linux-libc5/lib/libc.so.5 installed, which has
the same path as the one used by LM7.2. Even if libc.so.5 is hard-
wired into idl_lmgrd it should be found.
I will keep you posted if I discover anything further.
-- Bjarne
Bjarne Thomsen wrote:
>
> Hello again,
>
> I have some more information about the strange problem that I have
> encountered when trying to run the license manager for a commercial
> product on LM8.0. Any attempt, directly or indirectly, results in the
> same strange error message: "no such file or directory".
> This same program is working under RedHat 6.2 and Mandrake 7.1
> and Mandrake 7.2. But even more interesting: it is working on
> RedHat 7.1 which is very similar to LM8.0 with regards to libraries.
>
> It is very important to me to be able to run my licensed software.
> Is there any hope that I can find out why there seems to be this
> difference between LM8.0 and RedHat 7.1 ? If I do not find a
> solution I would be forced to switch to RedHat 7.1 which I regret.
> There might exist a simple explanation but it is difficult to
> figure out when the only response is "No such file or directory".
>
> The following illustrates the problem. I have copied the
> output from strace, first on LM8.0 and then on RedHat7.1.
> Yes, I do have /usr/i486-linux-libc5/lib/libc.so.5 installed.
> I can supply the program for further testing.
>
> Dr. Bjarne Thomsen
> Institute of Physics and Astronomy
> University of Aarhus
> Denmark
>
> Linux Mandrake 8.0:
>
> strace /usr/local/rsi/idl_5.3/bin/bin.linux/idl_lmgrd
> execve("/usr/local/rsi/idl_5.3/bin/bin.linux/idl_lmgrd",
>["/usr/local/rsi/idl_5.3/bin/bin.linux/idl_lmgrd"], [/* 81 vars */]) = 0
> strace: exec: No such file or directory
>
> RedHat 7.1:
>
> /usr/local/rsi/idl_5.3/bin/bin.linux(1002) strace idl_lmgrd
> execve("./idl_lmgrd", ["idl_lmgrd"], [/* 58 vars */]) = 0
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
> 0) = 0
> x40007000
> mprotect(0x40000000, 21772, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
> mprotect(0x8048000, 404199, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
> stat("/etc/ld.so.cache", {st_mode=S_IFREG|0644, st_size=54525, ...}) = 0
> open("/etc/ld.so.cache", O_RDONLY) = 3
> old_mmap(NULL, 54525, PROT_READ, MAP_SHARED, 3, 0) = 0x40008000
> close(3) = 0
> stat("/etc/ld.so.preload", 0xbffff590) = -1 ENOENT (No such file or
> directory)
> open("/usr/local/qt/lib/libc.so.5", O_RDONLY) = -1 ENOENT (No such file or
> direc
> tory)
> open("/usr/lesstif/LessTif/Motif2.0/lib/libc.so.5", O_RDONLY) = -1 ENOENT
> (No su
> ch file or directory)
> open("/usr/local/lesstif/LessTif/Motif2.0/lib/libc.so.5", O_RDONLY) = -1
> ENOENT
> (No such file or directory)
> open("/usr/local/lib/libc.so.5", O_RDONLY) = -1 ENOENT (No such file or
> director
> y)
> open("/usr/local/cfitsio/libc.so.5", O_RDONLY) = -1 ENOENT (No such file
> or dire
> ctory)
> open("/usr/local/rt/lib/libc.so.5", O_RDONLY) = -1 ENOENT (No such file or
> direc
> tory)
> open("/usr/i486-linux-libc5/lib/libc.so.5", O_RDONLY) = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0(k\1\000"...,
> 4096) = 40
> 96
> old_mmap(NULL, 823296, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
> 0x40016000
> old_mmap(0x40016000, 592037, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED,
> 3, 0) =
> 0x40016000
> old_mmap(0x400a7000, 23728, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
> 3, 0x90
> 000) = 0x400a7000
> old_mmap(0x400ad000, 201876, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_ANO
> NYMOUS, -1, 0) = 0x400ad000
> close(3) = 0
> mprotect(0x40016000, 592037, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
> munmap(0x40008000, 54525) = 0
> mprotect(0x8048000, 404199, PROT_READ|PROT_EXEC) = 0
> mprotect(0x40016000, 592037, PROT_READ|PROT_EXEC) = 0
> mprotect(0x40000000, 21772, PROT_READ|PROT_EXEC) = 0
> personality(PER_LINUX) = 0
> geteuid() = 1272
> getuid() = 1272
> getgid() = 600
> getegid() = 600
> sigaction(SIGHUP, {SIG_IGN}, {SIG_DFL}, 0x4009c648) = 0
> sigaction(SIGINT, {SIG_IGN}, {SIG_DFL}, 0x4009c648) = 0
> sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 0x4009c648) = 0
> sigaction(SIGILL, {SIG_IGN}, {SIG_DFL}, 0x40053648) = 0
> sigaction(SIGTRAP, {SIG_IGN}, {SIG_DFL}, 0x40053648) = 0
> sigaction(SIGABRT, {SIG_IGN}, {SIG_DFL}, 0x40053648) = 0
> sigaction(SIGBUS, {SIG_IGN}, {SIG_DFL}, 0x40518648) = 0
> sigaction(SIGFPE, {SIG_IGN}, {SIG_DFL}, 0x40518648) = 0
> sigaction(SIGKILL, {SIG_IGN}, {SIG_DFL}, 0x40518648) = -1 EINVAL (Invalid
> argume
> nt)
> sigaction(SIGUSR1, {SIG_IGN}, {SIG_DFL}, 0x4038e648) = 0
> sigaction(SIGSEGV, {SIG_IGN}, {SIG_DFL}, 0x40518648) = 0
> sigaction(SIGUSR2, {SIG_IGN}, {SIG_DFL}, 0x40053648) = 0
> sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 0x40518648) = 0
> sigaction(SIGALRM, {SIG_IGN}, {SIG_DFL}, 0x4009c648) = 0
> sigaction(SIGTERM, {SIG_IGN}, {SIG_DFL}, 0x4009c648) = 0
> sigaction(SIGSTKFLT, {SIG_IGN}, {SIG_DFL}, 0x40053648) = 0
> sigaction(SIGCHLD, {SIG_IGN}, {SIG_DFL}, 0x4009c648) = 0
> sigaction(SIGCONT, {SIG_IGN}, {SIG_DFL}, 0x40053648) = 0
> sigaction(SIGSTOP, {SIG_IGN}, {SIG_DFL}, 0x40053648) = -1 EINVAL (Invalid
> argume
> nt)
> sigaction(SIGTSTP, {SIG_IGN}, {SIG_DFL}, 0x4009c648) = 0
> sigaction(SIGTTIN, {SIG_IGN}, {SIG_DFL}, 0x4009c648) = 0
> sigaction(SIGTTOU, {SIG_IGN}, {SIG_DFL}, 0x4009c648) = 0
> sigaction(SIGURG, {SIG_IGN}, {SIG_DFL}, 0x40053648) = 0
> sigaction(SIGXCPU, {SIG_IGN}, {SIG_DFL}, 0x4009c648) = 0
> sigaction(SIGXFSZ, {SIG_IGN}, {SIG_DFL}, 0x4009c648) = 0
> sigaction(SIGVTALRM, {SIG_IGN}, {SIG_DFL}, 0x40053648) = 0
> sigaction(SIGPROF, {SIG_IGN}, {SIG_DFL}, 0x40053648) = 0
> sigaction(SIGWINCH, {SIG_IGN}, {SIG_DFL}, 0x4009c648) = 0
> sigaction(SIGIO, {SIG_IGN}, {SIG_DFL}, 0x40053648) = 0
> sigaction(SIGPWR, {SIG_IGN}, {SIG_DFL}, 0x40053648) = 0
> sigaction(SIGUNUSED, {SIG_IGN}, {SIG_DFL}, 0x40053648) = 0
> sigaction(SIGABRT, {0x804e590, [], SA_INTERRUPT|SA_NOMASK|SA_ONESHOT},
> {SIG_IGN}
> , 0x4002cb68) = 0
> sigaction(SIGSEGV, {0x804e590, [], SA_INTERRUPT|SA_NOMASK|SA_ONESHOT},
> {SIG_IGN}
> , 0x4002cb68) = 0
> sigaction(SIGTRAP, {0x804e590, [], SA_INTERRUPT|SA_NOMASK|SA_ONESHOT},
> {SIG_IGN}
> , 0x4002cb68) = 0
> sigaction(SIGSEGV, {0x804e590, [], SA_INTERRUPT|SA_NOMASK|SA_ONESHOT},
> {0x804e59
> 0, [], SA_INTERRUPT|SA_NOMASK|SA_ONESHOT}, 0x4002cb68) = 0
> sigaction(SIGQUIT, {SIG_DFL}, {SIG_IGN}, 0x4002cb68) = 0
> sigaction(SIGBUS, {SIG_DFL}, {SIG_IGN}, 0x4002cb68) = 0
> sigaction(SIGSEGV, {SIG_DFL}, {0x804e590, [],
> SA_INTERRUPT|SA_NOMASK|SA_ONESHOT}
> , 0x4002cb68) = 0
> sigaction(SIGFPE, {SIG_DFL}, {SIG_IGN}, 0x4002cb68) = 0
> sigaction(SIGILL, {SIG_DFL}, {SIG_IGN}, 0x4002cb68) = 0
> brk(0x80b40c0) = 0x80b40c0
> brk(0x80b5000) = 0x80b5000
> open("/usr/lib/zoneinfo/localtime", O_RDONLY) = -1 ENOENT (No such file or
> direc
> tory)
> open("/usr/lib/zoneinfo/GMT", O_RDONLY) = -1 ENOENT (No such file or
> directory)
> time(NULL) = 996054435
> time(NULL) = 996054435
> fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 2), ...}) = 0
> old_mmap(NULL, 1024, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
> 0) = 0
> x40008000
> ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
> write(1, " 9:47:15 (idl_lmgrd) FLEXlm vers"..., 40 9:47:15 (idl_lmgrd)
> FLEXlm ve
> rsion 6.1
> ) = 40
> time(NULL) = 996054435
> write(1, " 9:47:15 (idl_lmgrd) Vendor daem"..., 57 9:47:15 (idl_lmgrd)
> Vendor da
> emons must be run by lmgrd
> ) = 57
> _exit(48) = ?
>
> Bjarne Thomsen wrote:
> >
> > Hello!
> >
> > I have gotten a problem after installing LM8.0 instead of LM7.2.
> > I have license manager allowing me to use IDL from Research Systems, Inc.
> > It worked under LM7.2; but one component is now giving me a peculiar
> > problem. A specific file declared to be an ELF 32-bit LSB executable
> > by the file command does NOT EXIST when I try to run it from both
> > tcsh and and sh, or so it tells me:
> >
> > ls -l: -rwxr-xr-x 1 root root 414956 Nov 11 1999
>/usr/local/rsi/idl_5.3/bin/bin.linux/idl_lmgrd
> > file: /usr/local/rsi/idl_5.3/bin/bin.linux/idl_lmgrd: ELF 32-bit LSB executable,
>Intel 80386, version 1 (SYSV), dynamically linked
> > (uses shared libs), stripped
> > tcsh: /usr/local/rsi/idl_5.3/bin/bin.linux/idl_lmgrd: Command not found.
> > sh: /usr/local/rsi/idl_5.3/bin/bin.linux/idl_lmgrd: No such file or directory
> >
> > The file certainly does exist, so this error message is at best misleading.
> > Could somebody tell me what the real problem is?
> > How can I find out?
> >
> > Best regards,
> >
> > Bjarne Thomsen
S/MIME Cryptographic Signature