The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Exim: Berkeley DB error

Discussion in 'General Discussion' started by rainbows, Aug 11, 2003.

  1. rainbows

    rainbows Member

    Joined:
    Dec 17, 2001
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    I looked at exim_mainlog.
    I found that there is an DB error on it after I upgraded my cpanel to 7.4.0 stable 12

    === here is error =============
    2003-08-11 13:41:00 19m6MW-0005KW-RI Berkeley DB error: /var/spool/exim_incoming/db/retry: hash version 5 requires a version upgrade


    What should I do? any idea?

    cPanel.net Support Ticket Number:
     
  2. Crazy Pete

    Crazy Pete Well-Known Member

    Joined:
    May 16, 2003
    Messages:
    55
    Likes Received:
    0
    Trophy Points:
    6
    That's exactly what I got, too, and with MailScanner installed that caused no mail to be delivered. Not sure what caused it or how to fix it other than to disable MailScanner. Still looking for ideas as well.

    cPanel.net Support Ticket Number:
     
  3. mmkassem

    mmkassem Well-Known Member

    Joined:
    Oct 21, 2002
    Messages:
    390
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Egypt
    Rainbow, Did you install MailScanner? If yes, can you tell me which Setup did you use? The Auto-Installer or Mine or another

    Also type
    rpm -q exim

    and print here the output.

    >> Try to me the modifications in /etc/init.d/exim that I requested

    and restart exim and MailScanner:
    service MailScanner restart
    service exim restart
     
    #3 mmkassem, Aug 11, 2003
    Last edited: Aug 11, 2003
  4. mmkassem

    mmkassem Well-Known Member

    Joined:
    Oct 21, 2002
    Messages:
    390
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Egypt
    The fix run the following:
    /usr/sbin/exim_dbmbuild /dev/null /var/spool/exim_incoming/db/retry

    cPanel.net Support Ticket Number:
     
  5. Crazy Pete

    Crazy Pete Well-Known Member

    Joined:
    May 16, 2003
    Messages:
    55
    Likes Received:
    0
    Trophy Points:
    6
    Running that gave me...

    exim_dbmbuild: unable to create /var/spool/exim_incoming/db/retry.dbmbuild_temp: No such file or directory

    cPanel.net Support Ticket Number:
     
  6. mmkassem

    mmkassem Well-Known Member

    Joined:
    Oct 21, 2002
    Messages:
    390
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Egypt
    You have me you uninstalled MailScanner.

    It seems that you do not have the dir: exim_incoming already

    You have to be running MailScanner+exim4 ..

    The full fix is:

    /usr/sbin/exim_dbmbuild /dev/null /var/spool/exim_incoming/db/retry
    chmod 640 /var/spool/exim_incoming/db/*
    chown -R mailnull:mail /var/spool/exim_incoming
    service exim restart
     
    #6 mmkassem, Aug 11, 2003
    Last edited: Aug 11, 2003
  7. rainbows

    rainbows Member

    Joined:
    Dec 17, 2001
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    From rpm -q exim :
    exim-4.20-260_cpanel_stmpcontrol_antivirus_rewrite_mailman2

    First I installed MailScanner manually, but I could not remeber where I can found setup instruction. It's work fine until I upgrade Cpanel to 7.4.0 #12

    Also, I used sophos as antivirus scanner.

    However, information from your website is very useful.
    I'll try reinstall MailScanner + Clam if the problem could not be solve.

    cPanel.net Support Ticket Number:
     
  8. mmkassem

    mmkassem Well-Known Member

    Joined:
    Oct 21, 2002
    Messages:
    390
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Egypt
    [edit]Do not forget to run /scripts/updatenow before /scripts/exim4[/edit]

    run /scripts/exim4
    notice this will replace your /etc/exim.conf and /etc/init.d/exim

    If you have exim_outgoing.conf created it will do all the modifications in the exim files for you.

    Then Use the fix the posted in the previous post
    ^^^^

    This should fix your problem if your installation is correct.
     
    #8 mmkassem, Aug 11, 2003
    Last edited: Aug 11, 2003
  9. mmkassem

    mmkassem Well-Known Member

    Joined:
    Oct 21, 2002
    Messages:
    390
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Egypt
Loading...

Share This Page