Submitted by izoox on Fri, 01/22/2010 - 16:58
I just installed Cloudmin for Physical Servers and I get get this when adding a new system:
SSH connection failed : Unknown error (Failed to open /dev/pts/0 : No such file or directory at /usr/libexec/webmin/web-lib-funcs.pl line 1323. )
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Fri, 01/22/2010 - 17:40 Comment #1
Does the file
/dev/pts/0
or/dev/ptmx
exist on your system?Also, do you have the
perl-IO-Tty
package instaled? If not, you can install it withyum install perl-IO-Tty
Submitted by izoox on Fri, 01/22/2010 - 17:49 Comment #2
/dev/ptxm exists but not /dev/pts/0. When I try to install the perl module using yum install perl-IO-Tty, it says no package available. If I try to install it using cpan, it give the same error:
/dev/pts/0 : No such file or directory
Submitted by JamieCameron on Fri, 01/22/2010 - 17:55 Comment #3
Try installing it from CPAN with :
perl -MCPAN -e 'install IO::Tty'
Submitted by izoox on Fri, 01/22/2010 - 19:16 Comment #4
Seemed to fail as well. It first said I was missing gcc, which I installed and then it went all the way to the package installation before it failed. It didn't really give a good error though.
Submitted by JamieCameron on Fri, 01/22/2010 - 20:31 Comment #5
Which Linux distribution and version are you on there? It should be possible to install that perl module from a package.
Submitted by izoox on Fri, 01/22/2010 - 21:42 Comment #6
I'm using centos 5.4.
Submitted by JamieCameron on Sat, 01/23/2010 - 00:43 Comment #7
Ok, looks like there is an RPM for CentOS 5.4 for this Perl module at :
http://dag.wieers.com/rpm/packages/perl-IO-Tty/perl-IO-Tty-1.02-1.2.el4....
Submitted by izoox on Sat, 01/23/2010 - 10:41 Comment #8
This worked perfectly. And I am soooo stoked to use Cloudmin, it is going to make my life so much easier!
Submitted by JamieCameron on Sat, 01/23/2010 - 16:02 Comment #9
Great! I am surprised that this Perl module is needed, as normally Cloudmin/Webmin only needs it when it cannot create a PTY using its own code ...
Sadly, CentOS doesn't provide it as a standard package.