LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 10-15-2008, 11:35 PM   #1
nice88
LQ Newbie
 
Registered: Oct 2008
Location: Mexico
Distribution: Debian Lenny
Posts: 2

Rep: Reputation: 0
PTY allocation request failed on channel 0


Hello I am getting that error always users try to connect using ssh

PTY allocation request failed on channel 0

After reboot the machine all works fine for a while, after some minutes, the same error.

I am using: /usr/sbin/sshd
 
Old 10-15-2008, 11:40 PM   #2
jagdishpsp
LQ Newbie
 
Registered: Oct 2008
Posts: 12

Rep: Reputation: 0
restart the sshd service & check.

Jagdish
 
Old 10-16-2008, 11:12 PM   #3
nice88
LQ Newbie
 
Registered: Oct 2008
Location: Mexico
Distribution: Debian Lenny
Posts: 2

Original Poster
Rep: Reputation: 0
:)

I did it a lot of times, it works only when I reboot the machine, but after some minutes, maybe an hour, happens again
 
Old 01-21-2009, 06:13 AM   #4
ajwans
LQ Newbie
 
Registered: Nov 2003
Posts: 6

Rep: Reputation: 0
Quote:
Originally Posted by nice88 View Post
I did it a lot of times, it works only when I reboot the machine, but after some minutes, maybe an hour, happens again
When I had this problem I fixed it like this:

mkdir /dev/pts
mount /dev/pts
 
Old 12-14-2010, 05:44 PM   #5
tdoyle
LQ Newbie
 
Registered: Dec 2010
Posts: 2

Rep: Reputation: 0
This usually occurs because /etc/fstab doesnt have the /dev/pts filesystem mounted.

This post shows the options to put in your fstab to fix the issue:
http://forums.quantact.com/viewtopic.php?f=35&t=1149
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh -L '>channel 3: open failed: connect failed:' Luke771 Linux - Networking 14 01-24-2012 03:14 AM
Vpn poptop - CTRL: PTY read or GRE write failed (pty,gre)=(5,6) dezeque Linux - Networking 8 12-11-2009 01:56 PM
Random restarts, and possible memory leak (0-order allocation failed (gfp=0x1d2/0) ) rose_bud4201 Linux - Kernel 2 07-30-2007 10:02 AM
*ERROR* mtrr allocation failed (-22) nemesi Slackware 1 10-22-2004 03:55 AM
system msg "kernel:___alloc_page:0-order allocation failed nadine.mauch Linux - General 0 08-23-2003 09:40 AM


All times are GMT -5. The time now is 05:31 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration