Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Member celliott's Avatar
    Join Date
    Jan 2006
    Location
    United Kingdom
    Posts
    460

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

    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 name@domain.com 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

  2. #2
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,597

    Default

    You are probably running centos 4.5 in a vz vps right ?

  3. #3
    Member
    Join Date
    Jan 2006
    Location
    Minnesota
    Posts
    16
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    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 ..
    Shakehost ~ Shaken with speed and price
    Shared hosting, Reseller hosting, Vps , Dedicated

  4. #4
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,597

    Default

    Quote Originally Posted by Cwebz View Post
    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.

  5. #5
    Member celliott's Avatar
    Join Date
    Jan 2006
    Location
    United Kingdom
    Posts
    460

    Default

    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.

  6. #6
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,597

    Default

    Quote Originally Posted by celliott View Post
    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

  7. #7
    Member celliott's Avatar
    Join Date
    Jan 2006
    Location
    United Kingdom
    Posts
    460

    Default

    Interesting one this.

    That command shows 0 results, yet when trying to create /dev/ptmx it says it already exists.
    Last edited by celliott; 05-31-2007 at 11:29 AM.

  8. #8
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,597

    Default

    You really should open up a support ticket so your /dev can be fixed.

Similar Threads & Tags
Similar threads

  1. cron output sends emails even with /dev/null 2>&1
    By Valuehosted in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-17-2010, 07:08 AM
  2. Replies: 3
    Last Post: 03-10-2008, 09:33 PM
  3. what is /dev/null 2>&1 ?
    By cpane1 in forum cPanel and WHM Discussions
    Replies: 16
    Last Post: 12-19-2007, 02:32 PM
  4. cPanel updates on Virtuozzo Machines
    By 878shelby in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 09-06-2006, 05:31 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube