Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

update breaks itself and /bin files

Discussion in 'General Discussion' started by Mykul31217, Feb 14, 2005.

  1. Mykul31217

    Mykul31217 Member

    Joined:
    Aug 4, 2004
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    151
    I have found that recently, when cpanel updates itself, it has been breaking a suite of files in the /bin dir as well. Once the update begins, it changes files such as hostname, ping, netstat, mktemp and several others. I am wondering if anyone else has been having similar problems and if so, how did you fix them.

    I have replaced the above programs from a second install (no cpanel install) and the problems that I have found go away.

    Problems that I have noticed include:

    /usr/sbin/makewhatis: Can't create temp file, exiting
    The hostname () resolves to . It should resolve to

    My first thought was that makewhatis was causing the problems as it would modify the above files when ran, however, the file size on it was the same as on my test box and the test box doesn't display the same symptoms.

    I am still digging around and should I find something, I will post my findings and/or fix.
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    What OS are you running? cPanel doesn't modify such files itself as such, it's likely to be OS updates from your OS vendor (either via yum or up2date). Makewhatis should have nothing at all to do with it, since it's just a lookup tool for man pages.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Mykul31217

    Mykul31217 Member

    Joined:
    Aug 4, 2004
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    151
    os version

    I am using centos with yum as the update management system.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice