Mailing List Archive

Running SSH as an executable console.
Hello,

I am trying to use conserver to connect to the SPs of some blade systems
using ssh. However I keep getting this error in the log file.

[Tue Aug 2 12:05:31 2011] conserver (6739): ERROR: GetPseudoTTY():
open(/dev/pts/30): Permission denied
[Tue Aug 2 12:05:31 2011] conserver (6739): ERROR: [nt6340-tvp540-a.uk]
failed to allocate pseudo-tty: Permission denied: forcing down

Has anybody seen this before ?

Here is the console config entry.

console nt6340-tvp540-a.uk {
include localconsole;
type exec;
exec /usr/bin/ssh -lroot nt6340-tvp540-a-sp.uk;
logfile /var/adm/console/nt6340-tvp540-a.uk;
rw nt6340-tvp540-a.uk;
}


Many thanks

Robin
--


Robin Ridler | EMEA Lab Engineer, Global Systems Support
Email: robin.x.ridler@oracle.com <mailto:robin.x.ridler@oracle.com>
Phone: +44 1189 240708 | Mobile: +44 7825 034345
OracleGlobal Customer Services
Re: Running SSH as an executable console. [ In reply to ]
Hi Robin,

give the ssh -t switch a try

-t Force pseudo-tty allocation. This can be used to execute arbi‐
trary screen-based programs on a remote machine, which can be
very useful, e.g. when implementing menu services. Multiple -t
options force tty allocation, even if ssh has no local tty.



> [Tue Aug 2 12:05:31 2011] conserver (6739): ERROR: [nt6340-tvp540-a.uk]
> failed to allocate pseudo-tty: Permission denied: forcing down
>
> Has anybody seen this before ?
Re: Running SSH as an executable console. [ In reply to ]
Many thanks for your reply, unfortunately that did not fix it.

Robin

On 08/02/11 13:27, Jodok Ole Muellers wrote:
> Hi Robin,
>
> give the ssh -t switch a try
>
> -t Force pseudo-tty allocation. This can be used to execute arbi‐
> trary screen-based programs on a remote machine, which can be
> very useful, e.g. when implementing menu services. Multiple -t
> options force tty allocation, even if ssh has no local tty.
>
>
>
>> [Tue Aug 2 12:05:31 2011] conserver (6739): ERROR: [nt6340-tvp540-a.uk]
>> failed to allocate pseudo-tty: Permission denied: forcing down
>>
>> Has anybody seen this before ?

--


Robin Ridler | EMEA Lab Engineer, Global Systems Support
Email: robin.x.ridler@oracle.com <mailto:robin.x.ridler@oracle.com>
Phone: +44 1189 240708 | Mobile: +44 7825 034345
OracleGlobal Customer Services
Re: Running SSH as an executable console. [ In reply to ]
Are you running this on Solaris? And did you compile it? If so, did
HAVE_UNLOCKPT get defined in config.h? The problem is that it's trying
to allocate a pty locally and getting a permission problem. I'm
guessing at the HAVE_UNLOCKPT idea. Seeing the whole config.h might
enlighten things. Or there is some system-level thing blocking the
allocation...it's not even getting to the point of running ssh.

Bryan
_______________________________________________
users mailing list
users@conserver.com
https://www.conserver.com/mailman/listinfo/users
Re: Running SSH as an executable console. [ In reply to ]
Thanks for your reply Bryan.

I am running it on Solaris and I did it compile it :-) Looks like
HAVE_UNLOCKPT is set in config.h. I have attached the whole config.h,
if you wouldn't mind taking a look.

Do you think it has anything to do with the fact we have reached 1013
consoles?

Many thanks

Robin


On 08/02/11 17:58, Bryan Stansell wrote:
> Are you running this on Solaris? And did you compile it? If so, did
> HAVE_UNLOCKPT get defined in config.h? The problem is that it's trying
> to allocate a pty locally and getting a permission problem. I'm
> guessing at the HAVE_UNLOCKPT idea. Seeing the whole config.h might
> enlighten things. Or there is some system-level thing blocking the
> allocation...it's not even getting to the point of running ssh.
>
> Bryan
> _______________________________________________
> users mailing list
> users@conserver.com
> https://www.conserver.com/mailman/listinfo/users

--


Robin Ridler | EMEA Lab Engineer, Global Systems Support
Email: robin.x.ridler@oracle.com <mailto:robin.x.ridler@oracle.com>
Phone: +44 1189 240708 | Mobile: +44 7825 034345
OracleGlobal Customer Services
Re: Running SSH as an executable console. [ In reply to ]
The config.h certainly looks fine. The number of consoles *could* be it.
Do you have any low ulimit values that might be hit? Or max number of
ptys being used? If 1012 consoles work and 1013 doesn't, there's some
maximum somewhere. Not sure what else I can suggest as I think it's
system-related and not conserver related (but I could be wrong, of
course).

Bryan

On Wed, Aug 03, 2011 at 08:13:40AM +0100, Robin Ridler wrote:
> Thanks for your reply Bryan.
>
> I am running it on Solaris and I did it compile it :-) Looks like
> HAVE_UNLOCKPT is set in config.h. I have attached the whole config.h,
> if you wouldn't mind taking a look.
>
> Do you think it has anything to do with the fact we have reached 1013
> consoles?
>
> Many thanks
>
> Robin
_______________________________________________
users mailing list
users@conserver.com
https://www.conserver.com/mailman/listinfo/users