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!

Keep getting this cron error: /bin/sh: /usr/local/bandmin/bandmin: is a directory

Discussion in 'General Discussion' started by WebHostPro, Feb 9, 2010.

  1. WebHostPro

    WebHostPro Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,654
    Likes Received:
    15
    Trophy Points:
    318
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    Twitter:
    /bin/sh: /usr/local/bandmin/bandmin: is a directory

    Maybe 50 times a day, any idea how to get something where it's looking or how to fix the error?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,554
    Likes Received:
    9
    Trophy Points:
    168
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    The specified path should be an executable script and not a directory.

    It will help to know, is the system a new installation, or an existing install that just started to experience the issue?

    Does the symptom reoccur frequently (after applying corrections)?

    What is the output of the following two commands?
    Code:
    # stat /usr/local/bandmin/bandmin
    # ls -ahl /usr/local/bandmin
    If the bandmin directory simply contains another bandmin directory instead of an executable script of the same name, try moving it out of the way and then forcing a bandmin update or re-install using the following command:
    Code:
    # /scripts/bandminup --force
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. WebHostPro

    WebHostPro Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,654
    Likes Received:
    15
    Trophy Points:
    318
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    Twitter:
    I ran this /scripts/bandminup --force

    and it installed bandmin where the cron was trying to run.

    All is fixed, thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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