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.

Not listing account, DNS etc, Missing Files, file system problems

Discussion in 'Bind / DNS / Nameserver Issues' started by g18c, Jul 26, 2009.

  1. g18c

    g18c Member

    Joined:
    Jul 7, 2007
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    Dear all,

    I recently had an issue where my box wasnt listing accounts (on logging into WHM for the first time it would, thereafter browsing different functions in WHM it would fail to list any accounts), would not list any zone items when editing DNS zones and in general was acting very strange.

    I think i narrowed it down to zero free inodes on the filesystem (i was even getting errors when editing files with 'vi'). This was increased for the VPS and all issues seemed to be resolved...

    However named and httpd were not starting after reboots. Again on looking closely named and httpd were missing from /etc/init.d (on CentOS 5.3)! This is very strange and i certainly didnt modify those nor delete such critical files.

    Is there any cPanel script that can be ran to fix the issues, i am concerned other things have been affected but havent manifested themselves yet. Does cPanel update script create the init.d files or is this done by the CentOS operating systems itself? Are these files modified during a cPanel update script?

    These init.d files for named and httpd have been readded (copied across from another box) and it seems to be ok again, but ideas on howto proceed much appreciated, as i mentioned i dont want any nasty supprises!

    Many thanks,

    Chris
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    In this situation, I would run a forced update of cPanel/WHM. To do this, go to WHM -> cPanel -> Upgrade to Latest Version and check the checkbox. This update will take longer than usual but is usually a good tool to replenish files that may be missing.
     
  3. g18c

    g18c Member

    Joined:
    Jul 7, 2007
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    Thanks cPanelDavidG,

    Ok will do. Quick question, will that actually fix the missing files in /etc/init.d/?

    As you know these are very much OS specific files, or does cPanel install script know what OS it is working with and instal ALL files it needs? I already saw the install script excludes httpd, bind etc in yum.conf, so I wouldnt be supprised if it creates all files too (infact i would be reassured!).

    Many thanks,

    Chris
     
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    I know on my server these files did not exist on my server until cPanel/WHM was installed. If a forced update does not restore the necessary files, feel welcome to have our technical analysts work with you on getting remaining cPanel/WHM-related functionality (i.e. DNS and web serving) back in working order. You can contact our technical analysts at: http://tickets.cPanel.net/submit
     
Loading...

Share This Page