centos 4.5 update + virtuozzo breaks /dev/ptmx & /dev/urandom on cpanel machines.

celliott

Well-Known Member
Jan 2, 2006
459
0
166
United Kingdom
As far as I am aware we have not yet had the backend updates since we are running the Current build and the dates keep being pushed back.

Im getting more and more frustrated with bugs, to the point where main functions of cPanel are not working now.

* You cant login to cPanel using forms, e.g. if you cancel the popup login window.
* Web host manager link from cPanel does not work
* You cant transfer to a cPanel account from within WHM, just errors
* Cannot create subdomains, apparently its owned by someone else yet it doesnt exist on the server.

And the most recent one, I cant create or edit email accounts:

The e-mail account [email protected] with the login Fatal Error: Unable to read data from /dev/urandom (No such file or directory). Please contact your system admin to have them repair the problem.

Any advice to fix any of the above problems would be appreciated. After years of running Current in production with only minor bugs that were easy to fix, I now totally regret it :(
 

Cwebz

Member
Jan 19, 2006
20
0
151
Minnesota
cPanel Access Level
Root Administrator
sometimes it's better to be patent and wait until everything is ready until you update your cpanel that way once it's on the stable when you know everything should work alright and it's been tested ..
 

cPanelNick

Administrator
Staff member
Mar 9, 2015
3,481
35
208
cPanel Access Level
DataCenter Provider
sometimes it's better to be patent and wait until everything is ready until you update your cpanel that way once it's on the stable when you know everything should work alright and it's been tested ..
If I'm guessing right /dev/urandom is missing due to the centos 4.5 update and this has nothing to do with cpanel 11.

If it is virtuozzo:


vzctl exec VPSID rm -f /dev/urandom
vzctl exec VPSID mknod /dev/urandom c 1 9


will fix it.
 

celliott

Well-Known Member
Jan 2, 2006
459
0
166
United Kingdom
Thats fixed the above problems thanks Nick, except its brought another:

pty_allocate(nonfatal): getpt(): No such file or directory at /usr/lib/perl5/site_perl/5.8.8/i686-linux/IO/Pty.pm line 24.
pty_allocate(nonfatal): openpty(): No such file or directory at /usr/lib/perl5/site_perl/5.8.8/i686-linux/IO/Pty.pm line 24.
pty_allocate(nonfatal): open(/dev/ptmx): No such file or directory at /usr/lib/perl5/site_perl/5.8.8/i686-linux/IO/Pty.pm line 24.
Cannot open a pty at /usr/local/cpanel/Cpanel/cPCPAN.pm line 202

When running a cPanel update. Also unable to login to SSH on the server, but have remote access to it.
 

cPanelNick

Administrator
Staff member
Mar 9, 2015
3,481
35
208
cPanel Access Level
DataCenter Provider
Thats fixed the above problems thanks Nick, except its brought another:

pty_allocate(nonfatal): getpt(): No such file or directory at /usr/lib/perl5/site_perl/5.8.8/i686-linux/IO/Pty.pm line 24.
pty_allocate(nonfatal): openpty(): No such file or directory at /usr/lib/perl5/site_perl/5.8.8/i686-linux/IO/Pty.pm line 24.
pty_allocate(nonfatal): open(/dev/ptmx): No such file or directory at /usr/lib/perl5/site_perl/5.8.8/i686-linux/IO/Pty.pm line 24.
Cannot open a pty at /usr/local/cpanel/Cpanel/cPCPAN.pm line 202

When running a cPanel update. Also unable to login to SSH on the server, but have remote access to it.
Is /dev/ptmx missing?

# ls -l /dev/ptm*
crw-rw-rw- 1 root root 5, 2 May 29 13:19 /dev/ptmx
 

celliott

Well-Known Member
Jan 2, 2006
459
0
166
United Kingdom
Interesting one this.

That command shows 0 results, yet when trying to create /dev/ptmx it says it already exists.
 
Last edited: