From: Andrew Reid on
On Thursday 13 May 2010 20:36:41 Kent West wrote:
> I'm trying to start a daemon for Maple v 14, but when I try to run it,
> the system complains that the file doesn't exist. What's up?
>
> westk[@]goshen.acu.edu]:/usr/local/Maple_Network_Tools/FLEXlm/11.7:> ls -lh
> total 2.8M
> lrwxrwxrwx 1 root staff 6 2010-05-13 16:04 lmcksum -> lmutil
> lrwxrwxrwx 1 root staff 6 2010-05-13 16:04 lmdiag -> lmutil
> lrwxrwxrwx 1 root staff 6 2010-05-13 16:04 lmdown -> lmutil
> -rwxr-xr-x 1 root staff 854K 2010-05-13 16:04 lmgrd
> lrwxrwxrwx 1 root staff 6 2010-05-13 16:04 lmhostid -> lmutil
> lrwxrwxrwx 1 root staff 6 2010-05-13 16:04 lminstall -> lmutil
> lrwxrwxrwx 1 root staff 6 2010-05-13 16:04 lmremove -> lmutil
> lrwxrwxrwx 1 root staff 6 2010-05-13 16:04 lmreread -> lmutil
> lrwxrwxrwx 1 root staff 6 2010-05-13 16:04 lmstat -> lmutil
> lrwxrwxrwx 1 root staff 6 2010-05-13 16:04 lmswitchr -> lmutil
> -rwxr-xr-x 1 root staff 979K 2010-05-13 16:04 lmutil
> lrwxrwxrwx 1 root staff 6 2010-05-13 16:04 lmver -> lmutil
> -rwxr-xr-x 1 root staff 962K 2010-05-13 16:04 maplelmg
>
> westk[@]goshen.acu.edu]:/usr/local/Maple_Network_Tools/FLEXlm/11.7:>
> sudo ./lmgrd
> sudo: unable to execute ./lmgrd: No such file or directory
>
> westk[@]goshen.acu.edu]:/usr/local/Maple_Network_Tools/FLEXlm/11.7:> ldd
> lmgrd
> /usr/bin/ldd: line 117: ./lmgrd: No such file or directory

That ldd can't see it is just weird.

Is the directory NFS-mounted? I have sometimes seen NFS mounts get
confused and do stuff like this, with files showing up in some
queries but not others. Changing the NFS export or mount options
to more careful settings can help (e.g. use "sync", turn off caching, etc.)

Alternatively, I recall that if a file-system is mounted "noexec", it
can give confusing messages when you try to run things from it -- I think
it's usually "permission denied", but maybe my recollection is faulty?

Other than that, given the evidence in the rest of the thread, I'm
going to guess that it's some kind of file-system error. Check the
logs (especially /var/log/kern.log) for errors, maybe fsck the
filesystem, and try again...

-- A.
--
Andrew Reid / reidac(a)bellatlantic.net


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/201005141917.57156.reidac(a)bellatlantic.net
From: Jan C. Nordholz on
Hi,

> [readelf output]
>
> ELF Header:
> [...]

> INTERP 0x000114 0x08048114 0x08048114 0x00011 0x00011 R 0x1
> [Requesting program interpreter: /lib/ld-lsb.so.3]

That dynamic linker doesn't look right. A little googling shows that
Redhat and Suse seem to be using that one now. A missing linker is,
by the way, the only other reason for execve() to return ENOENT ("file
not found") I know of - missing dependencies produce a different error.

Anyway, Debian still has /lib/ld-linux.so.2 - you could try symlinking
them, but I doubt it will work.


Regards,

Jan


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/20100515090425.GA3589(a)apocatequil
From: Sven Joachim on
On 2010-05-15 11:04 +0200, Jan C. Nordholz wrote:

>> [readelf output]
>>
>> ELF Header:
>> [...]
>
>> INTERP 0x000114 0x08048114 0x08048114 0x00011 0x00011 R 0x1
>> [Requesting program interpreter: /lib/ld-lsb.so.3]
>
> That dynamic linker doesn't look right. A little googling shows that
> Redhat and Suse seem to be using that one now. A missing linker is,
> by the way, the only other reason for execve() to return ENOENT ("file
> not found") I know of - missing dependencies produce a different error.
>
> Anyway, Debian still has /lib/ld-linux.so.2 - you could try symlinking
> them, but I doubt it will work.

Why not? Do you think that Redhat and Suse do something else? Anyway,
this symlink should be in the lsb-core package; it was added in 3.0.6
(see #326609�) but seems to have gone AWOL since then.

Sven


� http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=326609


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/87aas1r0fc.fsf(a)turtle.gmx.de
From: Anand Sivaram on
On Sat, May 15, 2010 at 14:45, Sven Joachim <svenjoac(a)gmx.de> wrote:

> On 2010-05-15 11:04 +0200, Jan C. Nordholz wrote:
>
> >> [readelf output]
> >>
> >> ELF Header:
> >> [...]
> >
> >> INTERP 0x000114 0x08048114 0x08048114 0x00011 0x00011 R 0x1
> >> [Requesting program interpreter: /lib/ld-lsb.so.3]
> >
> > That dynamic linker doesn't look right. A little googling shows that
> > Redhat and Suse seem to be using that one now. A missing linker is,
> > by the way, the only other reason for execve() to return ENOENT ("file
> > not found") I know of - missing dependencies produce a different error.
> >
> > Anyway, Debian still has /lib/ld-linux.so.2 - you could try symlinking
> > them, but I doubt it will work.
>
> Why not? Do you think that Redhat and Suse do something else? Anyway,
> this symlink should be in the lsb-core package; it was added in 3.0.6
> (see #326609Å¡) but seems to have gone AWOL since then.
>
> Sven
>
>
> Å¡ http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=326609
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster(a)lists.debian.org
> Archive: http://lists.debian.org/87aas1r0fc.fsf(a)turtle.gmx.de
>
>
This is a binary only executable, correct? What is the system requirement
as of the software provider? If they dont explicitly say about debian but
some other system like redhat, suse etc. you could always create a chroot
of that, try to execute your binary inside the chroot.
From: Kent West on
On 5/14/10 6:17 PM, Andrew Reid wrote:
> On Thursday 13 May 2010 20:36:41 Kent West wrote:
>
>> I'm trying to start a daemon for Maple v 14, but when I try to run it,
>> the system complains that the file doesn't exist. What's up?
>>
>> westk[@]goshen.acu.edu]:/usr/local/Maple_Network_Tools/FLEXlm/11.7:> ls -lh
>> total 2.8M
>> lrwxrwxrwx 1 root staff 6 2010-05-13 16:04 lmcksum -> lmutil
>> lrwxrwxrwx 1 root staff 6 2010-05-13 16:04 lmdiag -> lmutil
>> lrwxrwxrwx 1 root staff 6 2010-05-13 16:04 lmdown -> lmutil
>> -rwxr-xr-x 1 root staff 854K 2010-05-13 16:04 lmgrd
>> lrwxrwxrwx 1 root staff 6 2010-05-13 16:04 lmhostid -> lmutil
>> lrwxrwxrwx 1 root staff 6 2010-05-13 16:04 lminstall -> lmutil
>> lrwxrwxrwx 1 root staff 6 2010-05-13 16:04 lmremove -> lmutil
>> lrwxrwxrwx 1 root staff 6 2010-05-13 16:04 lmreread -> lmutil
>> lrwxrwxrwx 1 root staff 6 2010-05-13 16:04 lmstat -> lmutil
>> lrwxrwxrwx 1 root staff 6 2010-05-13 16:04 lmswitchr -> lmutil
>> -rwxr-xr-x 1 root staff 979K 2010-05-13 16:04 lmutil
>> lrwxrwxrwx 1 root staff 6 2010-05-13 16:04 lmver -> lmutil
>> -rwxr-xr-x 1 root staff 962K 2010-05-13 16:04 maplelmg
>>
>> westk[@]goshen.acu.edu]:/usr/local/Maple_Network_Tools/FLEXlm/11.7:>
>> sudo ./lmgrd
>> sudo: unable to execute ./lmgrd: No such file or directory
>>
>> westk[@]goshen.acu.edu]:/usr/local/Maple_Network_Tools/FLEXlm/11.7:> ldd
>> lmgrd
>> /usr/bin/ldd: line 117: ./lmgrd: No such file or directory
>>
> That ldd can't see it is just weird.
>
> Is the directory NFS-mounted?
>

No, it's a local drive. I even tried downloading to and running it on a
completely separate Debian box, with the same results. I'm convinced now
it's not in the OS, but in the file somehow. I've sent an email to
Maplesoft to see if they can provide an answer.

Thanks!

--
Kent



--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/4BEE9F70.9050807(a)acu.edu