Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Nov 2017 16:40:46 +0000
From:      "Martin, Galen" <gmartin@cas.org>
To:        "'freebsd-ports@freebsd.org'" <freebsd-ports@freebsd.org>
Subject:   Re: ksh93: Exec format error
Message-ID:  <41914_1510591246_vADGekDk079305_f9d1f939887944e3b62400c44d44d375@NTMail12.intra.cas.org>

next in thread | raw e-mail | index | archive | help
Greg,

I just read your entry on a  freebsd forums about ksh93: Exec format error.=
  We just upgraded some machines to Solaris 5.11 with the same version of k=
sh93 and are experiencing the same issue.
I have been searching for a resolution to this problem with no success.  Di=
d you ever find a solution to this problem?

Galen Martin (Senior System Engineer)
Chemical Abstract Services

Here it is to refresh your memory.

On Sat, 10 Jan 2015, no at spam@mgEDV.net wrote:

> ksh93 in it's current version has some (timing?) problems during executio=
n.
> ...
> --> this is the error: pfctl: cannot execute [Exec format error]
>
I've been encountering the same error for some time now, but never got
around to reporting it.

Here's a fairly reliable way to repeat:

host -t a google.com. | awk '{print $NF}' | while read IP
> do
> 	host $IP
> done
host: host: cannot execute [Exec format error]
host: host: cannot execute [Exec format error]
host: host: cannot execute [Exec format error]
206.227.125.74.in-addr.arpa domain name pointer dfw06s33-in-f14.1e100.net.
192.227.125.74.in-addr.arpa domain name pointer dfw06s33-in-f0.1e100.net.
193.227.125.74.in-addr.arpa domain name pointer dfw06s33-in-f1.1e100.net.
195.227.125.74.in-addr.arpa domain name pointer dfw06s33-in-f3.1e100.net.
197.227.125.74.in-addr.arpa domain name pointer dfw06s33-in-f5.1e100.net.
201.227.125.74.in-addr.arpa domain name pointer dfw06s33-in-f9.1e100.net.
194.227.125.74.in-addr.arpa domain name pointer dfw06s33-in-f2.1e100.net.
199.227.125.74.in-addr.arpa domain name pointer dfw06s33-in-f7.1e100.net.

It looks like some sort of race, because it's pretty random whether the=20
error occurs or the command executes.

$ pkg info -o ksh93
ksh93-20120801_2               shells/ksh93
$ echo $KSH_VERSION
Version AJM 93u+ 2012-08-01

--=20
Greg Rivers



Confidentiality Notice: This electronic message transmission, including any=
 attachment(s), may contain confidential, proprietary, or privileged inform=
ation from Chemical Abstracts Service ("CAS"), a division of the American C=
hemical Society ("ACS"). If you have received this transmission in error, b=
e advised that any disclosure, copying, distribution, or use of the content=
s of this information is strictly prohibited. Please destroy all copies of =
the message and contact the sender immediately by either replying to this m=
essage or calling 614-447-3600.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41914_1510591246_vADGekDk079305_f9d1f939887944e3b62400c44d44d375>