JBoss Operation Network sudo problems

Latest response

Hi everyone,

at the moment I'm trying to configure my JBoss Operation Network 3.1.2. I've got it up and running but I'm not able to start and stop my JBoss AS 7.1.1 server on another machine via JON.

My defined startscript in JON looks like this:
Start script path: '/opt/jboss80/bin/standalone.sh'
Start script prefix: '/usr/bin/nohup /usr/bin/sudo -u myjbossuser -g jbossgroup'

The error I get is:

'java.lang.Exception: Start failed with error code 1:
**sudo: no tty present and no askpass program specified'**

I added the following line to my sudoers-file:

Defaults:jbosson-agent !requiretty

And my jbosson-agent has sudo rights:

jbosson-agent ALL=(ALL) NOPASSWD: ALL 

I still get the same error with no effect. Unfortunately my google-attempts were not helpful so I hope somebody in the customer portal knows a solution.

Thanks for your help and best regards,
Esther Hentrich

Responses