Adding New System

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

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 with yum install perl-IO-Tty

/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

Try installing it from CPAN with :

perl -MCPAN -e 'install IO::Tty'

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.

Which Linux distribution and version are you on there? It should be possible to install that perl module from a package.

This worked perfectly. And I am soooo stoked to use Cloudmin, it is going to make my life so much easier!

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.