Unable to execute python script through application which works and executes manually

Solution Verified - Updated -


  • Prepared the script to start the application which is not working.
  • But when the script was started manually, it is working.
  • The command is
./host.py 9000 &
  • Below is the script, which is not working
[root@localhost ~] # cat startKey.sh
cd ${APP_DIR}
./host.py 9000 2>&1


  • Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content