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!

permissions for the counters [suexec?] (modedit)

Discussion in 'General Discussion' started by hedgehog, Jan 31, 2002.

  1. hedgehog

    hedgehog Well-Known Member

    Joined:
    Nov 3, 2001
    Messages:
    122
    Likes Received:
    0
    Trophy Points:
    316
    Last upcp messed up /var/cpanel/Counters/*.dat

    Anyone else experienced this?

    The bad thing though is that the path the the *.dat files was displayed instead on the number with a \"cannot write to\" message....

    user:group for these files bing both nobody, this could lure someone to play a nasty trick to other customers....

    Just a thought, :D

    Hedgy
     
  2. bdraco

    bdraco Guest

    Its not a cpanel update .. did you install suexec ?
     
  3. hedgehog

    hedgehog Well-Known Member

    Joined:
    Nov 3, 2001
    Messages:
    122
    Likes Received:
    0
    Trophy Points:
    316
    Hmmm,

    chmod 666 *.dat fixed the problem...


    But, I had Apache rebuilt by my provider yesterday, do you think this is related?

    Hedgy
     
  4. bdraco

    bdraco Guest

    [quote:674727fdfa][i:674727fdfa]Originally posted by hedgehog[/i:674727fdfa]
    Hmmm,

    chmod 666 *.dat fixed the problem...


    But, I had Apache rebuilt by my provider yesterday, do you think this is related?

    Hedgy [/quote:674727fdfa]


    without a doubt :)
     
  5. hedgehog

    hedgehog Well-Known Member

    Joined:
    Nov 3, 2001
    Messages:
    122
    Likes Received:
    0
    Trophy Points:
    316
    suexec has now stopped running
    -------------

    [2002-02-01 06:35:10]: info: (target/actual) uid: (spiderc/spiderc) gid: (spiderc/spiderc) cmd: scgiwrap
    [2002-02-01 06:35:10]: error: file is either setuid or setgid: (/usr/local/cpanel/cgi-sys/scgiwrap)

    any ideas?

    THanks,
    Hedgy
     
  6. bdraco

    bdraco Guest

    Actually you can\'t use scgi-bin with suexec as your uid is already set to the user ....
     
  7. AlaskanWolf

    AlaskanWolf Well-Known Member

    Joined:
    Aug 11, 2001
    Messages:
    537
    Likes Received:
    0
    Trophy Points:
    316
    Location:
    Fremont CA
    sorry to bring up the dead, but i am getting this as well on my box that i just re-enabled with susexec

    Counter shows on customers site

    &Could not write to counter file: /var/cpanel/Counters/whater%20.dat&

    chmod'ing the dat files fixed the problem btw.....
     
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