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.

etc/rc.d/init.d/cpanel missing

Discussion in 'General Discussion' started by katz_global, Mar 1, 2009.

  1. katz_global

    katz_global Well-Known Member
    PartnerNOC

    Joined:
    Oct 18, 2003
    Messages:
    69
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Hosting from: Panama, Hong Kong, Singapore, Malays
    etc/rc.d/init.d/cpanel

    is missing from one of our servers. I cannot restart WHM via ssh.

    Admittedly I have not been admin for some time. Was this relocated in my absence or how would I replace it if not?

    whm was down as well but I fixed that via upcp --force earlier. This did not restore the missing cpanel restart script. The others like httpd and named seem to still be there and work fine.

    Thank you.
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,466
    Likes Received:
    196
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    This command will restart cPanel.

    /etc/rc.d/init.d/cpanel restart
     
  3. katz_global

    katz_global Well-Known Member
    PartnerNOC

    Joined:
    Oct 18, 2003
    Messages:
    69
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Hosting from: Panama, Hong Kong, Singapore, Malays
    I just said that does not work because the cpanel script is missing.
     
  4. lehels

    lehels Well-Known Member

    Joined:
    Jul 10, 2006
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    Try,

    /etc/init.d/cpanel restart

    or

    /usr/local/cpanel/startup

    Cheers,
     
Loading...

Share This Page