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=18.104.22.168; 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
Check if messaging is enabled on your Virtual Server bashrc:
root@test [~]# cat /etc/bashrc | grep mesg
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.
Comment the line from the VS bashrc: