Error messages after upgrade to 11

Bruce123

Active Member
Jul 19, 2005
39
1
158
Upgraded to 11 today from 10. (now on WHM 11.11.0 cPanel 11.15.0-R17659
REDHAT Enterprise 4 i686 on standard - WHM X v3.1.0).

Somehow the upgrade process got started automatically after WHM reported that my cpanel license had expired (or maybe someone at my data center ran it?)

During the upgrade process, the system sent the emails about upping perl to 5.8.8 and removing custom exim ACLs Followed the directions in those messages, no problem.

Upon clicking the "Reset ACL Config to Defaults" button, the system did its thing and exim started ok, but I received the message below on the next system check report.

A few hours later, after making a few exim tweaks, exim started OK but I received the same message. (System check reports in between these were normal.)

Please advise on what this means and how to fix. All of the mail functions seem to be working OK.

Thanks

Code:
Security Violations
=-=-=-=-=-=-=-=-=-=
Oct 12 17:25:59 ns1 exim: exim shutdown succeeded Oct 12 17:25:59 ns1 exim: antirelayd shutdown succeeded Oct 12 17:25:59 ns1 exim: spamd shutdown succeeded Oct 12 17:26:00 ns1 spamd: [23506] error: BEGIN failed--compilation aborted at (eval 12) line 2.
Oct 12 17:26:02 ns1 antirelayd: antirelayd shutdown succeeded

Unusual System Events
=-=-=-=-=-=-=-=-=-=-=
Oct 12 17:25:59 ns1 exim: exim shutdown succeeded Oct 12 17:25:59 ns1 exim: antirelayd shutdown succeeded Oct 12 17:25:59 ns1 exim: spamd shutdown succeeded Oct 12 17:25:59 ns1 exim: exim startup succeeded Oct 12 17:25:59 ns1 last message repeated 2 times Oct 12 17:26:00 ns1 exim: antirelayd startup succeeded Oct 12 17:26:00 ns1 spamd: [23506] error: Can't locate Sys/Syslog/Win32.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.7/i686-linux /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl/5.6.2 /usr/lib/perl5/site_perl) at (eval 12) line 2.
Oct 12 17:26:00 ns1 spamd: [23506] error: Can't locate Sys/Syslog/Win32.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.7/i686-linux /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl/5.6.2 /usr/lib/perl5/site_perl) at (eval 12) line 2.
Oct 12 17:26:00 ns1 spamd: [23506] error: BEGIN failed--compilation aborted at (eval 12) line 2.
Oct 12 17:26:02 ns1 exim: spamd startup succeeded Oct 12 17:26:02 ns1 antirelayd: antirelayd shutdown succeeded Oct 12 17:26:03 ns1 antirelayd: antirelayd startup succeeded
 
Last edited by a moderator:

Bruce123

Active Member
Jul 19, 2005
39
1
158
Anyone? Am now receiving the message every few hours -

Oct 12 17:26:00 ns1 spamd: [23506] error: Can't locate Sys/Syslog/Win32.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.7/i686-linux /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl/5.6.2 /usr/lib/perl5/site_perl) at (eval 12) line 2.
Oct 12 17:26:00 ns1 spamd: [23506] error: BEGIN failed--compilation aborted at (eval 12) line 2.
 
Last edited:

Tymsah

Well-Known Member
Apr 6, 2007
151
0
166
cPanel Access Level
Root Administrator
Did you update Perl Modules ?

http://forums.cpanel.net/showthread.php?t=66166

Here's a checklist of items that can help things go smoothly when upgrading to cPanel 11:



1) Make sure you're running Perl 5.8.8:

a) check perl -v to make sure it says 5.8.8

b) if you see 5.8.7 or something else, follow these steps:

1) wget http://layer1.cpanel.net/perl588installer.tar.gz
2) tar xfvz perl588installer.tar.gz
3) cd perl588installer
4) ./install
5) /usr/local/cpanel/bin/checkperlmodules

2) Upgrade YAML::Syck and File::Copy::Recursive:
1) /scripts/realperlinstaller YAML::Syck
2) /scripts/realperlinstaller File::Copy::Recursive

3) Remove any SARE/openprotect spamassassin rules

These seem to be not compatible with SpamAssassin v3.2 see This Thread for more info.


4) Upgrade from mbox to maildir.

This can be done by running /scripts/convert2maildir.

WARNING: Make sure to run the option to back up your mail first. IMAP must be enabled in the Service Manager before running this script!!

When running the conversion, you should watch out for the following:

**IT WILL TAKE A LONG TIME. Don't kill the process or you'll be left with a lot of half-converted mailboxes and angry clients who aren't getting mail.

**Mail will not be delivered during the conversion, it will be instead queued until the conversion is complete and then delivered.

**Make sure your mailbox permissions are ok before converting and make sure your clients aren't currently using mailboxes called /cur /new or /tmp

***NOTE: For users using POP accounts, converted messages will appear as new and will download twice. Users should re-download their messages after the conversion completes.