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.

Serious problems with CPanel and Debian GNU/Linux 3.0r2 (woody)

Discussion in 'General Discussion' started by yanchev, Aug 24, 2004.

  1. yanchev

    yanchev Registered

    Joined:
    Aug 22, 2004
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    I'm using Debain GNU/Linux 3.0 with CPanel. CPanel start script looks very strange. This is head of the script. Lines starting with "--->>>" are my comments.

    # cat /etc/init.d/cpanel |head -n 40
    #! /bin/sh
    #
    # cpanel8 Start Cpanel Services
    #
    # Author: cPanel, Inc. <nick@cpanel.net>
    #
    # chkconfig: 345 95 10
    # description: This is the cpanel webserver and chat.
    # processname: cpaneld
    # pidfile: /var/run/cpanel.pid

    # Source function library.

    --->>> This is a part of Red Hat directory structure. Debian GNU/Linux have no /etc/rc.d directory


    . /etc/rc.d/init.d/functions

    [ -f /usr/local/cpanel/etc/init/startup ] || exit 0

    LANG=C
    RETVAL=0

    # See how we were called.
    case "$1" in
    start)
    umask 0022
    if [ -f "/var/cpanel/smtpgidonlytweak" ]; then
    echo -n "Starting SMTP Tweak: "

    --->>> What is this command daemon? I can't find it in my $PATH. Is this cpanel server command or RedHat specific ?

    daemon /scripts/smtpmailgidonly on
    echo
    fi
    echo -n "Starting eximstats: "
    daemon /usr/local/cpanel/bin/starteximstats
    echo
    echo -n "Starting cPanel services: "
    daemon /usr/local/cpanel/cpsrvd
    echo
    echo -n "Starting cPanel Log services: "
    daemon /usr/local/cpanel/cpanellogd
    echo
    echo -n "Starting pop3 services: "
    if [ ! -e "/etc/cppopdisable" ]; then
    daemon /usr/local/cpanel/bin/cppop

    Is there any patches released for this problem? I'm debugging this problems now, but I find many others ;-)

    What's default BIND version of CPanel. I have installed bind 8 and bind 9.

    Thanks
    Thanks
     
  2. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
Loading...

Share This Page