Low level (?) error "Error int getting (TCGETA) tty params" executing scripts remotely with SSH and sudo

From: Ragnar Moller \(MA/EAF\) (ragnar.moller@ericsson.com)
Date: Tue Oct 31 2006 - 11:03:56 EST


We are using ssh to start scripts remotely on a bunch of servers. Commands
cans be things like

 ssh mpm ls -ld

Or

 ssh mmsgui@mpm sudo /etc/init.d/serverControl.sh status

The examples above work perfectly and result in the desired output.

On the other hand, the following command, which works perfectly on the local
machine, does not work with ssh and produces the following output (first the
command).

 ssh mmsgui@mpm sudo /opt/MPMServer/bin/MPMGuiIhm -c status
Error int getting (TCGETA) tty params: Invalid argument
status

MPMServer IHM module: version 3.0
Starting up...
openning logfile...done

MPMihm Exiting...

Cordialement,

Ragnar Moller

Til: + 33 1 69 93 75 73 / ECN 879 5206
Mobile: + 33 6 50 86 47 24
Fax: + 33 1 69 93 70 10
Sicr: + 33 1 69 93 76 01
Email: ragnar.moller@ericsson.com
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:41:07 EDT