While restarting cpanel service from Terminal/Shell using command "service cpanel restart" if you are getting "cpsrvd dead but pid file exists", please disable the Iptbales firewall of your linux Box...
by support