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

g18c

Member
Jul 7, 2007
23
0
51
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
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
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.
 

g18c

Member
Jul 7, 2007
23
0
51
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
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
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
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