amavisd debug

it starts up.. then in the debug.. this is where it seems to go bad...

Nov 23 18:18:59 spamfilter.riofair.local /usr/local/sbin/amavisd[4394]: TROUBLE in pre_loop_hook: No TEMPBASE directory: /var/amavis/tmp at /usr/local/sbin/amavisd line 5608.
Suicide () TROUBLE in pre_loop_hook: No TEMPBASE directory: /var/amavis/tmp at /usr/local/sbin/amavisd line 5608.
Nov 23 18:18:59 spamfilter.riofair.local /usr/local/sbin/amavisd[4394]: at the END handler: invoking DESTROY methods
renet123Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

wesly_chenCommented:
Hi,

> No TEMPBASE directory: /var/amavis/tmp
It complains about the /var/amavis/tmp. Please make sure you have /var/amavis/tmp or just create one.

Wesly
0
renet123Author Commented:

tried that.. how do i make it writeable???


Nov 23 18:33:35 spamfilter.riofair.local /usr/local/sbin/amavisd[4410]: TROUBLE in pre_loop_hook: TEMPBASE directory is not writable: /var/amavis/tmp at /usr/local/sbin/amavisd line 5611.
Suicide () TROUBLE in pre_loop_hook: TEMPBASE directory is not writable: /var/amavis/tmp at /usr/local/sbin/amavisd line 5611.
Nov 23 18:33:35 spamfilter.riofair.local /usr/local/sbin/amavisd[4410]: at the END handler: invoking DESTROY methods


0
wesly_chenCommented:
# chmod -R 777 /var/amavis/tmp

Wesly
0
gripeCommented:
What user does amavisd run as?

chown <amavisd username> /var/amavis/tmp
chmod 755 /var/amavis/tmp

If you're not sure what user it is, just make it world writeable until you find out:

chmod 777 /var/amavis/tmp

But make sure to change the ownership to this folder to the amavisd user and chmod 755 it.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.