BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] Seeking information on binaries called "entities" and "fixup"
- Subject: [Discuss] Seeking information on binaries called "entities" and "fixup"
- From: tmetro+blu at gmail.com (Tom Metro)
- Date: Tue, 29 Jul 2014 18:06:18 -0400
- In-reply-to: <53D7F8B1.8050206@horne.net>
- References: <53D5BE9D.7030100@horne.net> <CA+h9Qs5thgns2LDziQcRmDkzeQjA_2MYj1kDwcsGQjcu0-rOxg@mail.gmail.com> <53D681EA.10008@horne.net> <53D6C1BB.2070301@gmail.com> <53D7F8B1.8050206@horne.net>
Bill Horne wrote: > moder8 at telecom:~/bin$ ls -lh /home/moder8/bin/entities > -rwxrwxr-x 1 moder8 telecom 8.8K Jan 27 2012 /home/moder8/bin/entities > > moder8 at telecom:~$ strace /home/moder8/bin/entities /var/www/html/archives/back.issues/recent.single.issues/I125 > execve("/home/moder8/bin/entities", ["/home/moder8/bin/entities", "/var/www/html/archives/back.issu"...], [/* 21 vars */]) = -1 ENOENT (No such file or directory) > write(2, "strace: exec: No such file or di"..., 40strace: exec: No such file or directory > ) = 40 Have you examined /home/moder8/bin/entities with 'file', strings, and less? I would guess that it is a shell script with a missing interpreter, but the error message is not right for that. Actually, that might be it: % touch foo % chmod u+x foo % echo #\!/bin/bogus > foo fringe:/tmp% strace ./foo execve("./foo", ["./foo"], [/* 54 vars */]) = -1 ENOENT (No such file or directory) [...] write(3, "strace: exec: No such file or di"..., 40strace: exec: No such file or directory ) = 40 It's a misleading error message. The "No such file" is not referring to ./foo, but to the specified interpreter, /bin/bogus, but because the bang-path magic is embedded in execve(), and it only returns an error code (it doesn't generate the error message to STDERR), you're left with a generic error and no object being identified. I assume the above was on the new server. What happens when you strace it on the old server? -Tom -- Tom Metro The Perl Shop, Newton, MA, USA "Predictable On-demand Perl Consulting." http://www.theperlshop.com/
- Follow-Ups:
- [Discuss] Seeking information on binaries called "entities" and "fixup"
- From: bill at horne.net (Bill Horne)
- [Discuss] Seeking information on binaries called "entities" and "fixup"
- References:
- [Discuss] Seeking information on binaries called "entities" and "fixup"
- From: bill at horne.net (Bill Horne)
- [Discuss] Seeking information on binaries called "entities" and "fixup"
- From: jabr at blu.org (John Abreau)
- [Discuss] Seeking information on binaries called "entities" and "fixup"
- From: bill at horne.net (Bill Horne)
- [Discuss] Seeking information on binaries called "entities" and "fixup"
- From: tmetro+blu at gmail.com (Tom Metro)
- [Discuss] Seeking information on binaries called "entities" and "fixup"
- From: bill at horne.net (Bill Horne)
- [Discuss] Seeking information on binaries called "entities" and "fixup"
- Prev by Date: [Discuss] I'm getting mail for "nobody"
- Next by Date: [Discuss] Sync Revisited
- Previous by thread: [Discuss] Seeking information on binaries called "entities" and "fixup"
- Next by thread: [Discuss] Seeking information on binaries called "entities" and "fixup"
- Index(es):