The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'General Discussion' started by celliott, May 28, 2007.

  1. celliott

    celliott Well-Known Member

    Joined:
    Jan 2, 2006
    Messages:
    460
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    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 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. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    You are probably running centos 4.5 in a vz vps right ?
     
  3. Cwebz

    Cwebz Member

    Joined:
    Jan 19, 2006
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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 ..
     
  4. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    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. celliott

    celliott Well-Known Member

    Joined:
    Jan 2, 2006
    Messages:
    460
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    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.
     
  6. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    Is /dev/ptmx missing?

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

    celliott Well-Known Member

    Joined:
    Jan 2, 2006
    Messages:
    460
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    United Kingdom
    Interesting one this.

    That command shows 0 results, yet when trying to create /dev/ptmx it says it already exists.
     
    #7 celliott, May 31, 2007
    Last edited: May 31, 2007
  8. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    You really should open up a support ticket so your /dev can be fixed.
     
Loading...

Share This Page