We moved this page to our Documentation Portal. You can find the latest updates here. |
Issue
When executing a recipe on a Linux VS, the following error message appears on the Control Panel logs:
stdin: is not a tty
The following error appears on the CP logs:
stdin: is not a ttyRunning: export CP_ADDRESS=example.com; export RESPONSE_FROM_PREVIOUS=''; export IP_ADDRESS=192.137.1.13; export HOSTNAME=test; export ROOT_PASSWORD=t.cetJO.M export OPERATING_SYSTEM=linux; export OPERATING_SYSTEM_DISTRO=rhel; export OPERATING_SYSTEM_ARCH=x64; export OPERATING_SYSTEM_EDITION=''; /tmp/fwlkydzbmuxtphijstdin: is not a tty
Troubleshooting
Check if messaging is enabled on your Virtual Server bashrc:
root@test [~]# cat /etc/bashrc | grep mesg
mesg y
Cause
This usually happens when installing CPANEL. Cpanel adds "mesg y" to your bashrc. Therefore, it tries to run stty, and get the error that stdin is not a tty.
** This is only a warning it could be ignored.
Resolution
Comment the line from the VS bashrc:
#mesg y