Bubble
Jan 19 2003, 04:38 AM
got this error everytime:
The system has no more ptys. Ask your system administrator to create more.
while executing
"spawn /usr/bin/passwd"
invoked from within
"set pid [spawn /usr/bin/passwd]"
(file "/usr/local/cpanel/bin/securechpass" line 14)
spawn /usr/bin/passwd
is anyone know how to fix it?
Brandonk
Jan 31 2003, 02:36 PM
Did you find a soltuion to this? I am having the same problem.
cryptic
Jan 31 2003, 02:59 PM
This is what I came up with through google.
QUOTE
The number of ptys and ttys on a box can sometimes be a limiting factor for things like login servers and database servers.
On Red Hat Linux 7.x, the default limit on ptys is set to 2048 for i686 and athlon kernels. Standard i386 and similar kernels default to 256 ptys.
The config directive CONFIG_UNIX98_PTY_COUNT defaults to 256, but can be set as high as 2048. For 2048 ptys to be supported, the value of UNIX98_PTY_MAJOR_COUNT needs to be set to 8 in include/linux/major.h
With the current device number scheme and allocations, the maximum number of ptys is 2048.
I have never been into any of that stuff. Hope that helps a bit.
-Dave
Brandonk
Jan 31 2003, 03:30 PM
Hmm, thanks, just not sure about editing the kernel.
cryptic
Jan 31 2003, 03:49 PM
I was never amazed about that myself. Personaly I would look into paid consulting for an issue as deep as the kernel.
-Dave
Brandonk
Jan 31 2003, 03:55 PM
Someone is looking at it...but it has been a day and it still isn't resolved. Other have had the issue (even here on RS forum) but no one is responding...
huck
Jan 31 2003, 06:51 PM
This happends when /dev/pts is not mounted. I am not sure why this is not mounted as it usually happens by default.
Have you modified fstab?
Post your fstab hear.
Brandonk
Jan 31 2003, 07:29 PM
LABEL=/ / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
LABEL=/home /home ext3 defaults,usrquota 1 2
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
LABEL=/usr /usr ext3 defaults,usrquota 1 2
LABEL=/var /var ext3 defaults,usrquota 1 2
/dev/hdc1 /backup ext3 defaults 0 0
/dev/hda6 swap swap defaults 0 0
So would mount /dev/pts take care of the problem?
Bubble
Jan 31 2003, 09:23 PM
i still waiting for repspond from Darren at DarkOBR. He said he forward the problem to Nick but it been more than a week now.
Brandonk
Feb 2 2003, 01:45 AM
huck: do you think this could be at all related to fileutils? I got an email about fileutils failing a checksum and CPanel reinstalling it...
Bubble did you get the fileutils notice before it started happening? I just don't remember anything else that occurred between when it was working and now.
shawn
Feb 3 2003, 10:41 PM
When a user gets that 'no more pty' error when trying to change their password in cpanel, reboot the server and it'll reset the ptys, or have the server admin change your password via his amin whm panel.
aussie
Feb 3 2003, 11:09 PM
QUOTE
Originally posted by Bubble
i still waiting for repspond from Darren at DarkOBR. He said he forward the problem to Nick but it been more than a week now.
Out of curiosity, what version of the Kernel are you running Bubbles and what release of Cpanel are you running?
Brandonk
Feb 4 2003, 12:33 AM
QUOTE
Originally posted by shawn
When a user gets that 'no more pty' error when trying to change their password in cpanel, reboot the server and it'll reset the ptys, or have the server admin change your password via his amin whm panel. ;)
Reboot does nothing. I am the server admin and don't wish to change my client's passwords for them when the control panel should be doing that.
shawn
Feb 4 2003, 12:48 AM
I totally agree with you, it's a feature and it should work flawlessly. When one of my customers had the error, I rebooted the server and it cleared it up. If I let my servers go for an extended period of time without rebooting (say 60 days) clients will get this error. Not on all my servers, but on at least one of them.
This is just from my experience and I agree it should work properly.
Brandonk
Feb 10 2003, 11:56 AM
Update: Permissions on /dev/pts were not correct. I have no idea what made this change (I certainly didn't alter the permissions) but thought I should let you know!
Bubble
Feb 11 2003, 02:37 AM
well.. here is what happen.
It only happen to machine that original have Ensim install and convert to Cpanel
I got my fixed by tech at Cpanel since we bought many licenses direct with them. So you might want to submit a ticket direct to cpanel.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.