You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Alice Chen (JIRA)" <ji...@apache.org> on 2015/07/22 20:20:09 UTC

[jira] [Created] (TRAFODION-1134) LP Bug: 1440837 - Installer Fatal tty to run sudo

Alice Chen created TRAFODION-1134:
-------------------------------------

             Summary: LP Bug: 1440837 - Installer Fatal tty to run sudo
                 Key: TRAFODION-1134
                 URL: https://issues.apache.org/jira/browse/TRAFODION-1134
             Project: Apache Trafodion
          Issue Type: Bug
          Components: installer
            Reporter: Chris Tjepkema
            Assignee: Amanda Moran
            Priority: Minor


***INFO: Checking if java-1.7.0-openjdk-devel is installed ...
sudo: sorry, you must have a tty to run sudo                                                   WHICH NODE IS THE PROBLEM ???
***INFO: Installing java-1.7.0-openjdk-devel on all nodes
***ERROR: Can't install java-1.7.0-openjdk-devel
***ERROR: Error while running traf_setup.
***ERROR: Setup not complete, review logs.
***ERROR: Exiting....

A visudo in the installer node shows requiretty was commented out

But....it turns out n007 was problem.
The installer could point this out to user.


pdsh -w n005 -w n006 -w n007 -w n008 grep requiretty /etc/sudoers
n007: Defaults    requiretty
n007: # changed in order to be able to use sudo without a tty. See requiretty above.
n005: #Defaults    requiretty
n005: # changed in order to be able to use sudo without a tty. See requiretty above.
n006: #Defaults    requiretty
n006: # changed in order to be able to use sudo without a tty. See requiretty above.
n008: #Defaults    requiretty
n008: # changed in order to be able to use sudo without a tty. See requiretty above.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)