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 Error on FreeBSD 6

Discussion in 'General Discussion' started by AMD64, Aug 31, 2007.

  1. AMD64

    AMD64 Active Member

    Joined:
    Jun 19, 2005
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    I am unable to start exim on a new FreeBSD 6 server with latest cPanel 11.11.0R

    Running /scripts/eximup --force results in the below errors. Any idea how to fix this?



    awk '{ print ($1+1) }' cnumber.h > cnumber.temp
    rm -f cnumber.h; mv cnumber.temp cnumber.h
    cc version.c
    rm -f exim
    cc -o exim
    /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so: undefined reference to `__h_errno'
    *** Error code 1

    Stop in /usr/ports/mail/exim/work/exim-4.67/build-FreeBSD-i386.
    *** Error code 1

    Stop in /usr/ports/mail/exim/work/exim-4.67.
    *** Error code 1

    Stop in /usr/ports/mail/exim.
    ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.98610.0 env U PGRADE_TOOL=portupgrade UPGRADE_PORT=exim-4.67 UPGRADE_PORT_VER=4.67 make FETCH_BEF ORE_ARGS=-q
    ** Fix the problem and try again.
    ---> Build of mail/exim ended at: Fri, 31 Aug 2007 08:59:46 -0400 (consumed 00:01: 41)
    ---> Reinstallation of mail/exim ended at: Fri, 31 Aug 2007 08:59:46 -0400 (consum ed 00:01:41)
    ---> ** Upgrade tasks 1: 0 done, 0 ignored, 0 skipped and 1 failed
    ---> Listing the results (+:done / -:ignored / *:skipped / !:failed)
    ! mail/exim (exim-4.67) (linker error)
    ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
    ---> Session ended at: Fri, 31 Aug 2007 08:59:46 -0400 (consumed 00:02:01)
    Running post install scripts for exim....Done
    Waiting for exim to restart..............finished.

    root 418 0.0 0.6 3456 2904 ?? S 8:59AM 0:00.06 antirelayd (perl5.8. 8)

    exim has failed, please contact the sysadmin.
     
  2. nyjimbo

    nyjimbo Well-Known Member

    Joined:
    Jan 25, 2003
    Messages:
    1,125
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    New York
    What is the exact version of Freebsd you are running?

    From the shell what do you see if you run the command:

    which portupgrade
     
    #2 nyjimbo, Aug 31, 2007
    Last edited: Aug 31, 2007
  3. AMD64

    AMD64 Active Member

    Joined:
    Jun 19, 2005
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    FREEBSD 6.0-RELEASE i386

    # which portupgrade
    /usr/local/sbin/portupgrade
     
  4. nyjimbo

    nyjimbo Well-Known Member

    Joined:
    Jan 25, 2003
    Messages:
    1,125
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    New York

    More often than not your ports are old and need to be updated OR perl is crossreferencing versions (that is you have more than one version of perl installed and its finding some old lib and using it).

    Sometimes just going to /usr/ports/mail/exim and doing a "make clean" or "make deinstall" and then back to scripts with an "eximup --force" fixes it.

    If this is a new machine you might try doing a "portsnap fetch" and then when thats done (takes 10-30 minutes) doing a "portsnap extract" which will load the latest ports. But if you are not comfortable with ports and shell commands you might just try to submit a support ticket. We've seen ports go to hell on older freebsd systems and either you have to do things like the portsnap or specific portupgrade or pkgdb -F but it can vary depending on the situation.
     
    #4 nyjimbo, Aug 31, 2007
    Last edited: Aug 31, 2007
  5. AMD64

    AMD64 Active Member

    Joined:
    Jun 19, 2005
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    Still the same error after updating the ports:



    awk '{ print ($1+1) }' cnumber.h > cnumber.temp
    rm -f cnumber.h; mv cnumber.temp cnumber.h
    cc version.c
    rm -f exim
    cc -o exim
    /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so: undefined reference to `__h_errno'
    *** Error code 1

    Stop in /usr/ports/mail/exim/work/exim-4.67/build-FreeBSD-i386.
    *** Error code 1

    Stop in /usr/ports/mail/exim/work/exim-4.67.
    *** Error code 1

    Stop in /usr/ports/mail/exim.
    ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.17426.0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=exim-4.67 UPGRADE_PORT_VER=4.67 make FETCH_BEFORE_ARGS=-q
    ** Fix the problem and try again.
    ---> Build of mail/exim ended at: Fri, 31 Aug 2007 10:15:29 -0400 (consumed 00:01:40)
    ---> Reinstallation of mail/exim ended at: Fri, 31 Aug 2007 10:15:29 -0400 (consumed 00:01:40)
    ---> ** Upgrade tasks 1: 0 done, 0 ignored, 0 skipped and 1 failed
    ---> Listing the results (+:done / -:ignored / *:skipped / !:failed)
    ! mail/exim (exim-4.67) (linker error)
    ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
    ---> Session ended at: Fri, 31 Aug 2007 10:15:29 -0400 (consumed 00:02:00)
    Running post install scripts for exim....Done
    Waiting for exim to restart..............finished.

    root 19109 0.0 0.6 3460 2908 ?? S 10:15AM 0:00.06 antirelayd (perl5.8.8)

    exim has failed, please contact the sysadmin.
     
  6. dissobayish

    dissobayish Registered

    Joined:
    Sep 6, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    this solved the problem on my freebsd exim failure problem, and im running FREEBSD 5.4-RELEASE with the new cpanel, and the problem started after cpanel updated itself to the latest version
     
Loading...

Share This Page