Todays Sailing At Exim
Written on 2:48 AM by David S Anand
EXIM mail server & CPanel
"19d 1K30Yy-0000nQ-Oh var/spool/input/output error"
Struggled for three days for solution.
Scenario
I saw the exim mail queue is more than 50000 and tried to remove frozen mails.
got an error while running the command
exiqgrep -z -i | xargs exim -Mrm
19d 1K30Yy-0000nQ-Oh error
I tried
exim -Mrm 1K30Yy-0000nQ-Oh
got the message as
"19d 1K30Yy-0000nQ-Oh input/output error"
But I was able to run other commands like
exim -bpru|grep frozen|awk {'print $3'}|xargs exim -Mrm
to remove frozen mails...
/scripts/eximup --force made a mess the server hung up
/scripts/exim4 --force success but same error.
Answer
It was simple but it didn't strike for 3 days ...
1.locate 1K30Yy-0000nQ-Oh
2.cd /var/spool/exim/input/y
3.rm -rf 1K30Yy-0000nQ-Oh
Then tried the same command
exiqgrep -z -i | xargs exim -Mrm
as well as
exiqgrep -o 432000 -i | xargs exim -Mrm
Wow it is working again...
For exim commands visit http://bradthemad.org/tech/notes/exim_cheatsheet.php
