sudo: Sorry, you must have a TTY to run sudo

Hi guys,.


When I install the 12 c management agent by using a single console upgrade step 'RunRootScript' failed with the error below.

sudo: Sorry, you must have a TTY to run sudo

But the State of the 'PreDeployAgentSW' work is successul.


Can someone tell me how to solve this problem.

Can I run the root.sh script manually.

What are the scripts that I should run... If I have to run the scripts manually.


Thank you
Silver

Published by: Erin.Silver on April 2, 2013 03:55

You try to deploy a fresh agent 12.1.0.x of the Add Wizard (push agent) host in the console EM OR you upgrade your existing em 12.1.0.1 to 12.1.0.2 using upgrade agent agent console in the EM console?

(a) If you are doing a new installation of 12.1.0.1 agent then look at the requirement of the section required pre sudo:
You will need to be defaults requiretty comment in the/etc/sudoers file (this is fixed in MS 12.1.0.2)

(b) If you upgrade the agent, then make sure that the agent upgrade work is successful and see details here: http://docs.oracle.com/cd/E24628_01/upgrade.121/e22625/upgrading_12101_PS1_agents.htm#CIHCEEIB

If you are upgrading a management as a User Agent that does not have root privileges, or that you upgrade a Management Agent without having preferred preferred credential, a warning is displayed. You can ignore this warning during the upgrade. Later, you can connect the host to the Ma as the root user and run the $/core/12.1.0.2.0/root.sh script. After you run this script, make sure that you also run the $/core/12.1.0.2.0/replacebins.sh script on the host computer.

It is also explained in the guide: http://docs.oracle.com/cd/E24628_01/upgrade.121/e22625/upgrading_12101_PS1_agents.htm#CIHCEEIB

Tags: Enterprise Manager

Similar Questions

Maybe you are looking for

  • Satellite L305D-s5881 - Windows Xp installation

    I've been trying to install windows xp for 5 hours. Summer on the phone with technical support for 4. they didn't give me the answers...I m tired of vista. It stinks) I know that I can go to bios and set it to the compatibility mode, but I m do not k

  • I get a message that says exception c0000008 external

    This happens when that I start. I don't know what that means.

  • Combining MXI-4 x 665

    Hello This is my setup: Master PXI chassis: -Holds PXI controller to slot 1 -18 sites -Several Modules PXI chassis slave: -NO PXI controller -18 sites -Several Modules However, here is my question: Can I combine the data transfer with synchronization

  • Help, please! my Eee netbook will not start!

    Hello My Eee netbook (Windows xp) does not start I tried to start in safe mode, but it hangs just for 'isapnp.sys '. It seems that I imported a virus on my system. I can't perform an installation as netbook is not a hard drive. What can I do? (I use

  • Cannot change the sections of recorded TV, TV was recorded by Windows Media Center on Windows 7

    I have problems with sections of editing a stored program recorded TV in Windows Media Center on Windows 7. I can't find all the options to change the records as it is on my PVR on Media Center. I can't even open the record with another program like