ksh93: Exec format error

Martin, Galen gmartin at cas.org
Mon Nov 13 16:43:22 UTC 2017


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 ksh93 and are experiencing the same issue.
I have been searching for a resolution to this problem with no success.  Did 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 at mgEDV.net wrote:

> ksh93 in it's current version has some (timing?) problems during execution.
> ...
> --> 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 
error occurs or the command executes.

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

-- 
Greg Rivers



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



More information about the freebsd-ports mailing list