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!

PHPLIST - insufficient permission to run from command line

Discussion in 'General Discussion' started by swiftecit, Sep 18, 2006.

  1. swiftecit

    swiftecit Member

    Joined:
    Jun 30, 2006
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    151
    hello all,

    I put phplist into crontab to run on certain days of the week. when it runs I get

    Error: Sorry, You (username) do not have sufficient permissions to run phplist on commandline

    I have been searching and searching and cannot find where/how to fix this.

    please help.
     
  2. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    166
    What are the permissions and ownership of the script you are trying to run?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. brianoz

    brianoz Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,146
    Likes Received:
    6
    Trophy Points:
    168
    Location:
    Melbourne, Australia
    cPanel Access Level:
    Root Administrator
    Does your server run your scripts as yourself or as a generic user like "nobody"? (ie does it have phpsuexec). If it runs as a generic user you'll probably need to call phplist via a web URL which you can do from crontab with a crontab line like "GET http://yoursite.com/phplist/whateveryouneedtorun".
     
    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