Hi,
I'm running asterisk on a centos6.6 in a proxmox virtual inviroment, I moved the container from 1 node to anotehr and now I'm getting this error: "server refused to allocate pty", tried a couple of things but wasn't successful.
Any help would be appreciated.
Thanks.
Server refused to allocate pty
Re: Server refused to allocate pty
You shouldn't be running CentOS 6.6 in the first place! It's from 2014 so is now 5 years old and absolutely riddled with high severity security bugs. You should be running yum update on a regular basis - like weekly - not once every 5 years!
The current version is 6.10 and only has about 1 more year of life left in it. You'll want to be looking at migrating to 7 or 8 sooner rather than later.
Run yum update to get up to date, reboot and see if the issue persists.
The current version is 6.10 and only has about 1 more year of life left in it. You'll want to be looking at migrating to 7 or 8 sooner rather than later.
Run yum update to get up to date, reboot and see if the issue persists.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
-
- Posts: 4
- Joined: 2019/10/04 22:41:42
Re: Server refused to allocate pty
Hi,
Thanks for the reply and update.
I followed your advice but it's still the same after the update and reboot, still getting the error when trying to ssh directly.
Any other option I can try to fix this?
Thanks.
Thanks for the reply and update.
I followed your advice but it's still the same after the update and reboot, still getting the error when trying to ssh directly.
Any other option I can try to fix this?
Thanks.
-
- Posts: 4
- Joined: 2019/10/04 22:41:42
Re: Server refused to allocate pty
Hi,
So I think I messed up here, asterisk is not showing as it should and if I login it logs me out.
Can I revert back to the previous version, jsut for now or what option s do I have?
Thanks.
So I think I messed up here, asterisk is not showing as it should and if I login it logs me out.
Can I revert back to the previous version, jsut for now or what option s do I have?
Thanks.
Re: Server refused to allocate pty
Hell it's been such a long time now. In C6 I think it's still mingetty who allocations the them - perhaps have a look in /etc/inittab (but be careful), otherwise have a look in the mingetty rpm for config files (and if it's not mingetty then it'll probably be a package with tty in the name).
-
- Posts: 4
- Joined: 2019/10/04 22:41:42
Re: Server refused to allocate pty
Hi,
Fixed the login issues but still have the tty issue when ssh'ing into the vm.
What other options could I try to fix this.
Thanks in advance.
Fixed the login issues but still have the tty issue when ssh'ing into the vm.
What other options could I try to fix this.
Thanks in advance.
Re: Server refused to allocate pty
If you stil don't have enough ttys increase them (but also understand why this is the case) - see previous post(s)