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.

Port Problem

Discussion in 'General Discussion' started by easyhoster1, Jul 5, 2004.

  1. easyhoster1

    easyhoster1 Well-Known Member

    Joined:
    Sep 25, 2003
    Messages:
    659
    Likes Received:
    0
    Trophy Points:
    16
    Have a melt down on Exim when tring to upgrade to a newer version and cannot get the mail server backup. Anyone seen this error and know of a fix?

    ===> Deleting distfiles for exim-4.34+22
    Dependency error: this port wants the OpenSSL library from the FreeBSD
    base system. You can't build against it, while a newer
    version is installed by a port.
    Please deinstall the port or undefine WITH_OPENSSL_BASE.
    *** Error code 1

    Tried uninstalling and reinstall the port, but did not help.

    Thanks
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Did you try and upgrade Exim by hand, or did you mean you used /scripts/exim4? If the former, I'd suggest running /scripts/exim4
     
  3. easyhoster1

    easyhoster1 Well-Known Member

    Joined:
    Sep 25, 2003
    Messages:
    659
    Likes Received:
    0
    Trophy Points:
    16
    Tried both...However, I submitted a ticket and see the mail is running. Thanks Cpanel


    I will see what the fix was and post back with it:D
     
  4. easyhoster1

    easyhoster1 Well-Known Member

    Joined:
    Sep 25, 2003
    Messages:
    659
    Likes Received:
    0
    Trophy Points:
    16
    Thanks to Jason,

    Here is the fix.

    "I removed the line WITH_OPENSSL_BASE=YES from your /etc/make.conf and
    then ran the following commands as root:"

    /scripts/installpkg exim
    /scripts/restartsrv exim


    :D :D
     
  5. eos1

    eos1 Well-Known Member

    Joined:
    Mar 11, 2003
    Messages:
    175
    Likes Received:
    0
    Trophy Points:
    16
    Thanks to Jason and easyhoster1 for posting this :)

    I almost opened ticket for this issue...
    After I run above, exim got upgraded too! :D
     
  6. shlamo

    shlamo Member

    Joined:
    Nov 7, 2003
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    After going after this problem for 3 hrs I finally found this post.

    I had to kill some processes before I could get to this point, but I thank you for posting it here.
     
  7. eisman

    eisman Member

    Joined:
    Apr 12, 2004
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Worked like a charm. Thanks
     
  8. Holbrookau

    Holbrookau Active Member

    Joined:
    Aug 23, 2002
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    I had the same problem on my FreeBSD5 box. Thanks to easyhoster1 for the fix, however, I had to do the following:
    1) Remove the line WITH_OPENSSL_BASE=YES from your /etc/make.conf file
    2) Reboot (Graceful reboot in WHM)
    3) Run as root /scripts/installpkg exim
    4) Reboot again
     
  9. dandanfireman

    dandanfireman Well-Known Member
    PartnerNOC

    Joined:
    May 31, 2002
    Messages:
    117
    Likes Received:
    0
    Trophy Points:
    16
    We had the same hiccup. Can someone from cpanel please explain how this bug slipped through and broke all of a sudden? We experienced this WITHOUT attempting to upgrade anything.
     
  10. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    If you want to speak to someone from cpanel you will most likely need to log a support request/bugtrack entry and then come back here and tell us what they said ;)
     
  11. Holbrookau

    Holbrookau Active Member

    Joined:
    Aug 23, 2002
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    Just had to perform this fix again.. :mad:
     
  12. easyhoster1

    easyhoster1 Well-Known Member

    Joined:
    Sep 25, 2003
    Messages:
    659
    Likes Received:
    0
    Trophy Points:
    16
    I think your reboot is adding WITH_OPENSSL_BASE=YES back to your make.conf file.
    Try without the reboot.
     
  13. Holbrookau

    Holbrookau Active Member

    Joined:
    Aug 23, 2002
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    Both reboots are necessary (on this box at least) and no, the line is not added back on reboot. On both occasions the problem appeared after scripts/upcp did its daily thing (2 days apart though). This is just one of a few issues that have cropped up after recent cPanel updates..
     
  14. batchtech

    batchtech Member

    Joined:
    Mar 13, 2004
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Interesting...

    I did all this and it worked and exim starts fine now but emails are still being rejected. Any ideas?
     
  15. eisman

    eisman Member

    Joined:
    Apr 12, 2004
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    I too am having this sroblem. After an upcp run exim couldn't start again. I had to /scripts/installpkg exim, again. I checked /etc/make.conf and the WITH_OPENSSL_BASE line was still commented out. This all started after I compiled apache with OpenSSL support. Would doing easyapache again without OpenSSL support fix this? I can't have email dying every few days, especially since I don't get any notification that it's down.
     
  16. Haden-Orbital

    Haden-Orbital Registered
    PartnerNOC

    Joined:
    Jul 26, 2004
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Exim failed

    Hello Kyle,

    the exim version has failed on our system again, 80.88.198.51
    username darren/root, password [removed by moderators]

    the exim executable was not present so we I presumed another update was
    run ? anyway the MTA is failing with the following error in the logs;


    2004-08-30 14:16:08 1C1m10-0002yJ-R1 == enquiries@bearhotel.com R=central_filter defer (-1): internal problem in central_filter router (recipient is enquiries@bearhotel.com): failure to transfer data from subprocess: status=0100 readerror='No such file or directory'


    ps when running the fix ./scripts/installpkg exim I get the following error towards the
    end of the installtion;

    *** Existing file called exim has the same version and compile number ***
    *** Exim installation failed ***
    *** Error code 1

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

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

    Stop in /usr/ports/mail/exim.
    ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade11812.0 make reinstall
    ** Fix the installation problem and try again.
    ---> Installation of mail/exim ended at: Mon, 30 Aug 2004 14:20:23 +0100 (consumed 00:00:01)
    ---> Fresh installation of mail/exim ended at: Mon, 30 Aug 2004 14:20:23 +0100 (consumed 00:00:22)
    ---> Reporting the results (+:done / -:ignored / *:skipped / !:failed)
    ! mail/exim (install error)
    ---> Session ended at: Mon, 30 Aug 2004 14:20:23 +0100 (consumed 00:00:23)



    please advise ASAP,


    Warm Regards,


    Haden.
     
  17. eisman

    eisman Member

    Joined:
    Apr 12, 2004
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    You may want to change your root password, right away. This wound up posting to a public thread.
     
  18. Holbrookau

    Holbrookau Active Member

    Joined:
    Aug 23, 2002
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    Exim failed again for us too after the automatic upcp yesterday (Australian time).
    Running /scripts/exim4 and then a reboot got it working again but one customer is still reporting intermitent errors.
    Why is this happening? - I'm getting tired of having to manualy fix things that upcp breaks. I don't bother putting in tickets any more - it takes 2 days to get a reply..
     
  19. neraath

    neraath Member

    Joined:
    May 25, 2004
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Aggieland, TX
    I would whole-heartedly have to agree that having to fix whatever is broken by the UPCP script is totally bogus. We might be good sys-admins (and there are some out there who probably aren't as good, and are at a complete loss), but good programming skills would mandate that stuff like this ISN'T supposed to happen.

    But anyways, I think I fixed the problem for all FREEBSD users! *crosses fingers* In the above posts I did not see in my /etc/make.conf file the "WITH_OPENSSL_BASE" line. But, I did see the one package that was being compiled with exim (OPENSSL_OVERWRITE). If you look, there might be a COUPLE (yes, somehow mine had more than one) "OPENSSL_OVERWRITE_BASE=YES" lines in there. Comment those out. Then I commented out the "WITH_OPENSSL_PORT=YES" line, but somehow, one of the scripts ended up adding it back in there. That was okay, because when I ran /scripts/exim4, it rebuilt it and the build process was COMPLETELY different than the other because it was using the actual OPENSSL port rather than the OPENSSL_OVERWRITE_BASE port or whatever it was. In any case, I had a successful build 2 times, ran /scripts/upcp and it didn't bomb on me and ran /scripts/exim4 again and it seems to be working. I'll post tommorrow whether or not it fails tonight.
     
  20. neraath

    neraath Member

    Joined:
    May 25, 2004
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Aggieland, TX
    Okay, my fix above officially DID work. I recieved mail and the server is still live. The only problem (and I should have realized this) about it is that SSL on the outgoing way does not work. I plan on playing around with this some more when I have time, but officially, the above fix does stop the server from trying to rebuild itself and die every night.
     
Loading...

Share This Page