Exim down won't reinstall

terijo63

Member
Apr 9, 2004
7
0
151
Michigan
I've been having problems for days. So smart me decided to try and reinstall perl, and then exim.

perl did it's thing with no problems. Then exim dies. I tried upgrading to the current version of Cpanel rather than the stable and get the same errors on exim.

This is from where the error is...it is trying to install exim 4.71. Perl errors everywhere were why I reinstalled perl in the first place. If you need more of the log I can send paste it, but I didn't want to fill up screens and screens of the whole process if it isn't necessary. Thanks in advance!

cc bmi_spam.c
cc spf.c
cc srs.c
cc dcc.c

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
perl.o(.text+0xb1): In function `xs_expand_string':
: undefined reference to `Perl_sv_2pv_flags'
perl.o(.text+0x12d): In function `xs_debug_write':
: undefined reference to `Perl_sv_2pv_flags'
perl.o(.text+0x1b7): In function `xs_log_write':
: undefined reference to `Perl_sv_2pv_flags'
perl.o(.text+0x1ec): In function `xs_init':
: undefined reference to `boot_DynaLoader'
perl.o(.text+0x446): In function `init_perl':
: undefined reference to `Perl_sv_free2'
perl.o(.text+0x48a): In function `init_perl':
: undefined reference to `Perl_sv_2pv_flags'
perl.o(.text+0x4a1): In function `init_perl':
: undefined reference to `Perl_sv_free2'
perl.o(.text+0x78f): In function `call_perl_cat':
: undefined reference to `Perl_sv_2pv_flags'
perl.o(.text+0x7af): In function `call_perl_cat':
: undefined reference to `Perl_sv_2pv_flags'
*** Error code 1

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

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

Stop in /usr/ports/mail/exim.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20100225-16149-1lqcn5a-0 env make FETCH_BEFORE_ARGS=-q
** Fix the problem and try again.
---> Build of mail/exim ended at: Thu, 25 Feb 2010 19:07:57 -0500 (consumed 00:02:07)
---> Fresh installation of mail/exim ended at: Thu, 25 Feb 2010 19:07:57 -0500 (consumed 00:02:08)
---> ** Install tasks 1: 0 done, 0 ignored, 0 skipped and 1 failed
---> Listing the results (+:done / -:ignored / *:skipped / !:failed)
! mail/exim (linker error)
---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
---> Session ended at: Thu, 25 Feb 2010 19:07:57 -0500 (consumed 00:02:47)
Running post install scripts for exim....Done
Waiting for exim to restart..............finished.


exim has failed, please contact the sysadmin.


Teri

cPanel 11.25.0-S43473 - WHM 11.25.0 - X 3.9
FREEBSD 6.2 i386 standard
 
Last edited:

terijo63

Member
Apr 9, 2004
7
0
151
Michigan
Exim still won't reinstall but more info now

It had the answer up there in how to fix it.... so I ran the usr/bin/script -qa /tmp/portupgrade20100225-16149-1lqcn5a-0 env make FETCH_BEFORE_ARGS=-q.

Then got even more interesting errors. In packages I know nothing about

I have a ticket in, and even paid to get priority support, since it is cheaper than what I'd wind up paying my provider to fix it. They know little about cpanel, they sell another package with their hosting servers, I requested cpanel especially.

I just want exim to work before I lose customers. It's not worked since the last update, and although all the new things look wonderful, I can't even look at them and try them until I get exim fixed.

Teri
 

terijo63

Member
Apr 9, 2004
7
0
151
Michigan
Yes I tried that, as well as upcp --force. I also did every fix script in the directory, etc.

It turns out that in that upgrade was a FreeBSD update - They updated Perl.

The funny thing is that I suspected that I had accidentally upgraded it while trying to fix things, and downgraded to perl 5.8.9.

This didn't fix the problem, but I was close.

The CPANEL team rocks. I put in a ticket and they were working on it very quickly.

So today I have mail. They removed a symlink I'd had to add months ago to fix another problem. My theory is when perl got updated, and then downgraded, the symlink confused everything that much more.

So... I have mail running, the customers are happy, which means I am happy!

I had been going crazy for days trying to fix things one at a time, which I think were all caused by that symlink, because once it was gone and exim came up those problems were also gone.

I am now a big fan of the CPANEL folks. :)

Teri
 

ManojB

Well-Known Member
Mar 25, 2005
80
0
156
pune
It seems there is a problem with the perl version. Please check your perl version is 5.8.8 and has all the perl modules installed properly.