LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-16-2008, 01:04 PM   #1
gizza23
Member
 
Registered: Jun 2005
Location: Chicago, IL, USA
Distribution: Fedora Core, CentOS
Posts: 188

Rep: Reputation: 31
Server refused to allocate pty


Hello,

I'm trying to fix an issue where my CentOS 5 box refuses ssh connections because of a failure to create a tty device on boot. Does anyone know of the default way to create this device without running a script at boot? The command I use to create the device is:

exec /sbin/MAKEDEV tty

I don't want to have to create this device every time the machine boots using a handmade script. Any help you can offer would be appreciated.

Thank you.

Gregori Jenkins
 
Old 05-16-2008, 02:52 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
I don't know Centos, but normally (these days anyway) the
tty's should be looked after by udev rules. Do you see
any error messages pertaining to ttys in your dmesg output
or system logs (e.g. syslog, messages, debug, ...)?


Cheers,
Tink
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Vpn poptop - CTRL: PTY read or GRE write failed (pty,gre)=(5,6) dezeque Linux - Networking 9 08-26-2016 10:39 AM
Cannot SSH into SW10.2, (stock) kernel 2.6.13 - cannot allocate PTY Lachek Slackware 2 12-14-2005 09:42 AM
Server refused to allocate pty singying304 Linux - Networking 2 11-10-2005 11:52 AM
Server refused to allocate pty. stderr is not a tty - where are you? gaslq Linux - General 5 08-09-2004 04:40 AM
sshd, server refused to allocate pty restless Linux - Software 1 06-20-2004 06:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:20 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration