My e1agent start script is not running on reboot, but it is when I run the service command manually… What is going on?
This is easy, if you look into your /u01/oracle/jde_home_1/SCFHA/logs/e1agent_0.log file (equivilent), you might get the text below:
sudo: sorry, you must have a tty to run sudo
Great, this is super simple.
All you need to do is vi /etc/sudoers and
#
# Disable "ssh hostname sudo <cmd>", because it will show the password in clear.
# You have to run "ssh -t hostname sudo <cmd>".
#
#Defaults requiretty
Comment out the above, now you’ll be cooking with gas.
No comments:
Post a Comment