Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: conserver: users

Running SSH as an executable console.

 

 

conserver users RSS feed   Index | Next | Previous | View Threaded


robin.x.ridler at oracle

Aug 2, 2011, 4:11 AM

Post #1 of 6 (1139 views)
Permalink
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 [at] oracle <mailto:robin.x.ridler [at] oracle>
Phone: +44 1189 240708 | Mobile: +44 7825 034345
OracleGlobal Customer Services
Attachments: oracle.jpg (8.51 KB)
  shc.jpg (7.56 KB)


jodok.muellers at aschendorff

Aug 2, 2011, 5:27 AM

Post #2 of 6 (1112 views)
Permalink
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 ?
Attachments: signature.asc (0.19 KB)


robin.x.ridler at oracle

Aug 2, 2011, 5:40 AM

Post #3 of 6 (1108 views)
Permalink
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 [at] oracle <mailto:robin.x.ridler [at] oracle>
Phone: +44 1189 240708 | Mobile: +44 7825 034345
OracleGlobal Customer Services
Attachments: oracle.jpg (8.51 KB)
  shc.jpg (7.56 KB)


bryan at conserver

Aug 2, 2011, 9:58 AM

Post #4 of 6 (1098 views)
Permalink
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 [at] conserver
https://www.conserver.com/mailman/listinfo/users


robin.x.ridler at oracle

Aug 3, 2011, 12:13 AM

Post #5 of 6 (1100 views)
Permalink
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 [at] conserver
> https://www.conserver.com/mailman/listinfo/users

--


Robin Ridler | EMEA Lab Engineer, Global Systems Support
Email: robin.x.ridler [at] oracle <mailto:robin.x.ridler [at] oracle>
Phone: +44 1189 240708 | Mobile: +44 7825 034345
OracleGlobal Customer Services
Attachments: oracle.jpg (8.51 KB)
  shc.jpg (7.56 KB)
  config.h (10.9 KB)


bryan at conserver

Aug 3, 2011, 10:29 AM

Post #6 of 6 (1092 views)
Permalink
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 [at] conserver
https://www.conserver.com/mailman/listinfo/users

conserver users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.