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!

Cpanel /etc/init.d/ scripts.

Discussion in 'General Discussion' started by dicen, Oct 17, 2007.

  1. dicen

    dicen Member

    Joined:
    May 29, 2005
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    151
    Cpanel has a number of /etc/init.d/ scripts for each OS in the follow directory:

    root@vps [~/docs]# ls -la /usr/local/cpanel/etc/init/scripts
    total 15
    drwxr-xr-x 14 root root 1024 Oct 14 19:02 ./
    drwxr-xr-x 3 root root 1024 Oct 14 19:02 ../
    drwxr-xr-x 2 root root 1024 Oct 14 19:02 caos/
    drwxr-xr-x 2 root root 1024 Oct 17 02:04 centos/
    -rw-r--r-- 1 root root 16 Oct 14 19:02 cpservices.yaml
    drwxr-xr-x 2 root root 1024 Oct 14 19:02 debian/
    drwxr-xr-x 2 root root 1024 Oct 14 19:02 fedora/
    drwxr-xr-x 2 root root 1024 Oct 14 19:02 freebsd/
    drwxr-xr-x 2 root root 1024 Oct 14 19:02 mandrake/
    drwxr-xr-x 2 root root 1024 Oct 14 19:02 redhat/
    drwxr-xr-x 2 root root 1024 Oct 14 19:02 rhel/
    drwxr-xr-x 2 root root 1024 Oct 14 19:02 suse/
    drwxr-xr-x 2 root root 1024 Oct 14 19:02 templates/
    drwxr-xr-x 2 root root 1024 Oct 14 19:02 trustix/
    drwxr-xr-x 2 root root 1024 Oct 14 19:02 whitebox/

    root@vps [~/docs]# ls -la /usr/local/cpanel/etc/init/scripts/centos/
    total 78
    drwxr-xr-x 2 root root 1024 Oct 17 02:04 ./
    drwxr-xr-x 14 root root 1024 Oct 14 19:02 ../
    -rw-r--r-- 1 root root 698 Oct 14 19:02 antirelayd
    -rwxr-xr-x 1 root root 1159 Oct 14 19:02 bandmin*
    -rw-r--r-- 1 root root 592 Oct 14 19:02 chkservd
    -rwxr-xr-x 1 root root 714 Oct 14 19:02 clamd*
    -rwxr-xr-x 1 root root 612 Oct 14 19:02 courier-authdaemond*
    -rwxr-xr-x 1 root root 4396 Oct 14 19:02 courier-imap-imapd*
    -rw-r--r-- 1 root root 621 Oct 14 19:02 cpanel
    -rwxr-xr-x 1 root root 659 Oct 14 19:02 cpanellogd*
    -rwxr-xr-x 1 root root 787 Oct 14 19:02 cpbandwd*
    -rwxr-xr-x 1 root root 649 Oct 14 19:02 cpdavd*
    -rwxr-xr-x 1 root root 10758 Oct 14 19:02 cpfunctions*
    -rwxr-xr-x 1 root root 1340 Oct 14 19:02 cppop*
    -rwxr-xr-x 1 root root 1231 Oct 14 19:02 cpsrvd*
    -rwxr-xr-x 1 root root 604 Oct 14 19:02 entropychat*
    -rwxr-xr-x 1 root root 2052 Oct 14 19:02 exim*
    -rwxr-xr-x 1 root root 782 Oct 14 19:02 eximstats*
    -rwxr-xr-x 1 root root 8604 Oct 14 19:02 httpd*
    -rwxr-xr-x 1 root root 650 Oct 14 19:02 interchange*
    -rwxr-xr-x 1 root root 1152 Oct 14 19:02 mailman*
    -rwxr-xr-x 1 root root 593 Oct 14 19:02 melange*
    -rwxr-xr-x 1 root root 3673 Oct 14 19:02 mysqld*
    -rwxr-xr-x 1 root root 3831 Oct 14 19:02 named*
    -rwxr-xr-x 1 root root 2742 Oct 14 19:02 postgresql*
    -rwxr-xr-x 1 root root 760 Oct 14 19:02 proftpd*
    -rwxr-xr-x 1 root root 983 Oct 14 19:02 pureftpd*
    -rwxr-xr-x 1 root root 610 Oct 14 19:02 smtpmailgidonly*
    -rwxr-xr-x 1 root root 945 Oct 14 19:02 spamd*
    -rwxr-xr-x 1 root root 1225 Oct 14 19:02 sshd*
    -rwxr-xr-x 1 root root 4250 Oct 14 19:02 startstunnel*
    -rwxr-xr-x 1 root root 861 Oct 14 19:02 stunnel*
    -rwxr-xr-x 1 root root 1070 Oct 14 19:02 syslogd*
    -rwxr-xr-x 1 root root 1458 Oct 14 19:02 tomcat*
    -rwxr-xr-x 1 root root 742 Oct 14 19:02 xinetd*



    Now the Cpanel install scripts in /usr/local/cpanel/install doesn't use these. In fact they will overwrite the cpanel, chkservd, and httpd scripts.

    root@vps [~/docs]# ls -la /usr/local/cpanel/install
    total 81
    drwxr-xr-x 2 root root 3072 Oct 17 00:43 ./
    drwx--x--x 42 root wheel 3072 Oct 17 00:45 ../
    -rwxr-xr-x 1 root root 51 Mar 22 2006 antirelayd*
    -rwxr-xr-x 1 root root 413 Oct 14 19:03 apache*
    -rwxr-xr-x 1 root root 298 Jun 7 06:38 bandmin-pass*
    -rwxr-xr-x 1 root root 405 Jun 7 06:38 boxtrapper*
    -rwxr-xr-x 1 root root 38 Mar 22 2006 bsd5*
    -rwxr-xr-x 1 root root 2777 Jun 7 06:38 chkservdsetup*
    -rwxr-xr-x 1 root root 71 Jun 7 06:38 chshsecurity*
    -rwxr-xr-x 1 root root 3762 Jun 7 06:38 conf*
    -rwxr-xr-x 1 root root 3576 Oct 14 19:03 cpanelpost*
    -rwxr-xr-x 1 root root 49 Nov 8 2006 cpupdatepatcher*
    -rwxr-xr-x 1 root root 219 Mar 22 2006 defaultsuspendpage*
    -rwxr-xr-x 1 root root 49 Mar 22 2006 defpage*
    -rw-r--r-- 1 root root 835 Oct 17 00:43 error_log
    -rwxr-xr-x 1 root root 27 Mar 22 2006 eximup*
    -rwxr-xr-x 1 root root 180 Mar 22 2006 filelinkcheck*
    -rwxr-xr-x 1 root root 189 Jun 7 06:38 formmail*
    -rwxr-xr-x 1 root root 89 Mar 22 2006 frontpagesec*
    -rwxr-xr-x 1 root root 270 Nov 8 2006 ftpsec*
    -rwxr-xr-x 1 root root 41 Mar 22 2006 gd*
    -rwxr-xr-x 1 root root 1616 Oct 14 19:03 imap*
    -rwxr-xr-x 1 root root 589 Oct 14 19:03 init*
    -rwxr-xr-x 1 root root 52 Mar 22 2006 interchange*
    -rwxr-xr-x 1 root root 58 Mar 22 2006 ipaliases*
    -rwxr-xr-x 1 root root 126 Jun 7 06:38 iptables*
    -rwxr-xr-x 1 root root 167 Mar 22 2006 libintl*
    -rwxr-xr-x 1 root root 195 Mar 22 2006 mailman*
    -rwxr-xr-x 1 root root 162 Jul 21 04:39 mysqlclean*
    -rwxr-xr-x 1 root root 50 Nov 8 2006 nativessl*
    -rwxr-xr-x 1 root root 554 Jun 7 06:38 neomail*
    -rwxr-xr-x 1 root root 498 Jun 7 06:38 newemail*
    -rwxr-xr-x 1 root root 386 Nov 27 2006 noshell*
    -rwxr-xr-x 1 root root 51 Mar 22 2006 parkeddomainsv2*
    -rwxr-xr-x 1 root root 138 Jun 7 06:38 pear-XMLRPC*
    -rwxr-xr-x 1 root root 1269 Jun 9 12:24 perlmods*
    -rwxr-xr-x 1 root root 1209 Jun 7 06:38 perm*
    -rwxr-xr-x 1 root root 77 Jun 7 06:38 phpsanitycheck*
    -rwxr-xr-x 1 root root 35 Jun 7 06:38 phpversion*
    -rwxr-xr-x 1 root root 45 Mar 22 2006 pkgfix*
    -rwxr-xr-x 1 root root 54 Mar 22 2006 postmasteralias*
    -rwxr-xr-x 1 root root 141 Jun 7 06:38 proftpd*
    -rwxr-xr-x 1 root root 124 Jun 7 06:38 putty*
    -rwxr-xr-x 1 root root 142 Mar 22 2006 python*
    -rwxr-xr-x 1 root root 84 Mar 22 2006 rrdtool*
    -rwxr-xr-x 1 root root 3701 Jun 7 06:38 rsync*
    -rwxr-xr-x 1 root root 1629 Jun 7 06:38 securitycheck*
    -rwxr-xr-x 1 root root 695 Jun 7 06:38 smartmon*
    -rwxr-xr-x 1 root root 53 Mar 22 2006 spam3*
    -rwxr-xr-x 1 root root 79 Mar 22 2006 sqllimit*
    -rwxr-xr-x 1 root root 1452 Jun 7 06:38 static-stunnel*
    -rwxr-xr-x 1 root root 52 Mar 22 2006 statmanager*
    -rwxr-xr-x 1 root root 225 Jun 7 06:38 stunnelkey*
    -rwxr-xr-x 1 root root 123 Nov 8 2006 uncache*
    -rwxr-xr-x 1 root root 1924 Nov 8 2006 update*
    -rwxr-xr-x 1 root root 44 Mar 22 2006 vfilters*
    -rwxr-xr-x 1 root root 125 Jun 7 06:38 webalizer-rh8compat*
    -rwxr-xr-x 1 root root 119 Jun 7 06:38 webmail*
    -rwxr-xr-x 1 root root 65 Mar 22 2006 wheelsu*
    -rwxr-xr-x 1 root root 517 Jun 7 06:38 zonetemplates*


    So what are we suppose to use here? I just updated to the Cpanel CentOS ones because they looked newer. But, then my updates are overwritten for 3 of the scripts.


    dicen
     
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