/dev/ptmx issue session_pty_req: session 0 alloc failed


 
Thread Tools Search this Thread
Operating Systems Solaris /dev/ptmx issue session_pty_req: session 0 alloc failed
# 1  
Old 05-29-2013
[solved] /dev/ptmx issue session_pty_req: session 0 alloc failed

I've got a Solaris 10 server that got a corrupted root filesystem. After being forced to run fsck against it, the OS is now up and the filesystem read/writable.

However, ssh from any account other than root fails with the following error:

Code:
PTY allocation request failed on channel 0

On the console, the following appears:

Code:
sshd[2694] error: /dev/ptmx: Permission denied
sshd[2694] error: session_pty_req session O alloc failed

I've checked the file permissions in /dev and all the symlinks look about right (checked against a working box).

Tried rebooting, restarting ssh, reinstalling lxu and lxr packages to no avail.

ssh as root seems to be working correctly.

Any help would be appreciated

---------- Post updated at 09:31 AM ---------- Previous update was at 02:43 AM ----------

I would imagine permissions on the pseudo devices were wrong due to corruption on the /etc/minor_perm file. Copied one from another Solaris 10 box and rebooted, can ssh in without problem now.

Last edited by Scott; 05-29-2013 at 05:01 AM.. Reason: Code tags
These 2 Users Gave Thanks to michaeltravisuk For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

Failed to open tape device /dev/rmt/0mn:Device busy (errno = 16)

Hi, Unable to make tape backup, please help. /opt/ignite/bin/make_tape_recovery -a /dev/rmt/?mn -I -v -m tar -x inc_entire=vg00 * Creating local directories for configuration files and archive. ======= 04/25/16 16:28:08 IST Started /opt/ignite/bin/make_tape_recovery. (Mon... (4 Replies)
Discussion started by: anuragr
4 Replies

2. AIX

/dev/null file issue

Hi Experts, I Have a query. In one of my server I just came to know that there was /dev/null file which is a not a character file. Its just a normal file. I know the command to create the character file (/dev/null) but what is the procedure. Like should i delete /dev/null and create or... (7 Replies)
Discussion started by: jayadeava
7 Replies

3. Solaris

Cygwin X Server error: xdmcp fatal error session failed session 23 failed for display

Hi, i got the following error when i tried to access the cygwin x server from a windows XP PC. "xdmcp fatal error session failed session 23 failed for display" Alternatively, when i tried to access the same Cygwin X Server from another windows XP PC which is on a different LAN... (3 Replies)
Discussion started by: HarishKumarM
3 Replies

4. Red Hat

Apache Load Balaning sticky session issue

Few doubts in apache load balancing - I want to clear my doubts about apache load balancing.i have configured apache load balancing for two application servers. 1. When we set load balancing for two application servers then for one connection to application server we will get one jsession id... (5 Replies)
Discussion started by: ganesh_gore
5 Replies

5. Linux

3550: session setup failed: ERRDOS

Hi, we have re installes our Windows domain and Activedirectory, and from then until now we can not mount shared windows filesystems on Linux server and we receive : mount -t smbfs -o username=user1,password=xxxxx //xxx.16.0.xxx/dir /mnt/dir 3550: session setup failed: ERRDOS - ERRnoaccess... (0 Replies)
Discussion started by: big123456
0 Replies

6. UNIX for Advanced & Expert Users

30494: session setup failed: ERRDOS

Hi, on a Linux RED HAT I issue the following to mount a shared filesystem on a Win server 2003 and it fails : # smbmount //172.16.0.42/eb_depot /mnt/eb_depot -o username=domaine/Administrateur rw Password: 30494: session setup failed: ERRDOS - ERRnoaccess (Access denied.) SMB connection... (0 Replies)
Discussion started by: big123456
0 Replies

7. Solaris

What is /dev/tty /dev/null and /dev/console

Hi, Anyone can help My solaris 8 system has the following /dev/null , /dev/tty and /dev/console All permission are lrwxrwxrwx Can this be change to a non-world write ?? any impact ?? (12 Replies)
Discussion started by: civic2005
12 Replies

8. UNIX for Dummies Questions & Answers

Session request failed (Called name not present)

I have the following shell script to map a drive to a windows machine: echo Enter password: stty -echo read passwd stty echo mount -t smbfs -ousername=myusername,password=$passwd //192.168.2.5/sharename /mnt/mountname It works fine and the share mounts, but for some reason I get this... (4 Replies)
Discussion started by: Spetnik
4 Replies

9. UNIX for Dummies Questions & Answers

tar /dev/dat issue

Hi, I am trying to write to a dat tape, using HP UX 10.20 tar: cannot open /dev/dat not mounted ? ioscan ? if so, then where ? suggestions ? thanks simon (6 Replies)
Discussion started by: simon2000
6 Replies

10. UNIX for Advanced & Expert Users

Has anyone seen this issue with the /dev/null?

hello all, I am working in a Hpux 11.0 64 bit environment. I am not sure if a third party software is doing this or not, but the admin to this server says it is not a server issue as he has check and double check logs and crons to verify this issue. My problem, is that every now and then, once... (4 Replies)
Discussion started by: oott
4 Replies
Login or Register to Ask a Question