Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
server refused to allocate pty
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
stm
Tux's lil' helper
Tux's lil' helper


Joined: 19 Aug 2003
Posts: 88

PostPosted: Sun Nov 02, 2003 3:51 pm    Post subject: server refused to allocate pty Reply with quote

that's what i get when connecting with ssh.
it worked before i put in a new hdd and copied everything onto it. i thought that shouldn't be a problem?

any hints are welcome.
Back to top
View user's profile Send private message
Nickw
n00b
n00b


Joined: 28 Oct 2003
Posts: 53
Location: Pompey, England.

PostPosted: Sun Nov 02, 2003 4:23 pm    Post subject: Reply with quote

I presume you copied 'all' over. Check the /dev directory - and look at boot messages if on boot it tried to 'rm /dev/.devfsd' file (and then devfsd failed to start).

If you see that, you will need to boot with Gentoo CD, mount the HD, and remove /dev/.devfsd file only. Then reboot with the hard drive.

Nick
Back to top
View user's profile Send private message
stm
Tux's lil' helper
Tux's lil' helper


Joined: 19 Aug 2003
Posts: 88

PostPosted: Sun Nov 02, 2003 5:44 pm    Post subject: Reply with quote

great, that worked!
thank you!
Back to top
View user's profile Send private message
Nickw
n00b
n00b


Joined: 28 Oct 2003
Posts: 53
Location: Pompey, England.

PostPosted: Sun Nov 02, 2003 5:52 pm    Post subject: Reply with quote

NP, glad it all worked... read my big post in this thread (look near the end of my post re .devfsd):

https://forums.gentoo.org/viewtopic.php?p=619526&highlight=#619526

It took me about an hour to suss that this week - I had the exact same problem as you with SSH/

Nick
Back to top
View user's profile Send private message
stm
Tux's lil' helper
Tux's lil' helper


Joined: 19 Aug 2003
Posts: 88

PostPosted: Sun Nov 02, 2003 6:01 pm    Post subject: Reply with quote

you did tar copy everything
i just did cp -p
bad idea?
Back to top
View user's profile Send private message
Nickw
n00b
n00b


Joined: 28 Oct 2003
Posts: 53
Location: Pompey, England.

PostPosted: Sun Nov 02, 2003 6:09 pm    Post subject: Reply with quote

That tar copy line was given to me but one of the guys in the HantsLUG mailing list - it copies files with all correct file permissions and ownerships (and the rogue /dev/.devfsd lock file!).

I didn't really look at other copy methods, but it looks like cp -p may do a similar job:
Code:


  -p                           same as --preserve=mode,ownership,timestamps
      --preserve[=ATTR_LIST]   preserve the specified attributes (default:
                                 mode,ownership,timestamps), if possible
                                 additional attributes: links, all


Nick
Back to top
View user's profile Send private message
gen2newB
Apprentice
Apprentice


Joined: 23 Sep 2003
Posts: 150
Location: Fall River, MA.

PostPosted: Mon Nov 03, 2003 2:41 pm    Post subject: Reply with quote

Sorry if i am jacking the thread, but i have the same problem only i have sshd running on the 2.6 livecd. Was there anything that i should have done differently? I am trying to use putty. Am i up the creek until i can get to the box itself? Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum