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!

Relaying denied because of syslog?

Discussion in 'General Discussion' started by dave9000, Apr 7, 2006.

  1. dave9000

    dave9000 Well-Known Member

    Joined:
    Apr 7, 2003
    Messages:
    891
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    arkansas
    cPanel Access Level:
    Root Administrator
    if you have /tmp mounted noexec then everytime the syslog log rotate tries to run syslogd will hang and this problem with reoccur

    You have to modify the /etc/cron.daily/logrotate to add a seperate tmp folder

    add these 2 lines

    TMPDIR=/somewhere/tmp
    export TMPDIR
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. eger

    eger Well-Known Member

    Joined:
    Feb 28, 2003
    Messages:
    128
    Likes Received:
    0
    Trophy Points:
    166
    thanks dave. I will add that to my logrotate cron. didn't realize the noexec would casue that.
     
  3. eger

    eger Well-Known Member

    Joined:
    Feb 28, 2003
    Messages:
    128
    Likes Received:
    0
    Trophy Points:
    166
    I'm not sure why this is happening. But some of my clients get relaying denied errors and the fix is for me to restart syslog. This doesn't happen very often. But i'm not sure why the IP address isn't being allowed and why restarting syslog fixes it.

    Anyone else had an issue like this before?
     
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