The ksh scripts fail with "cannot execute [Exec format error]" message on Red Hat Enterprise Linux 5

Solution Unverified - Updated -

Issue

  • Korn shell (ksh) scripts may fail with the "cannot execute [Exec format error]" error message for the last command in the pipeline

Environment

  • Red Hat Enterprise Linux 5

  • ksh-20080202-2.el5 (the AT&T ksh93 implementation)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.