Error Loading Optional Module Mime/decoder/binhex.pm
Member Hi Staff, Centos 6 I try to set up: Amavisd-new, ClamAV and SpamAssassin following this tutorial: http://wiki.centos.org/HowTos/Amavisd# when I strart amavisd I receive this error: Code: [[emailprotected] ~]# service amavisd start Starting amavisd: fetch_modules: error loading optional module MIME/Decoder/BinHex.pm: Can't locate Convert/BinHex.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at /usr/share/perl5/vendor_perl/MIME/Decoder/BinHex.pm line 43. BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/MIME/Decoder/BinHex.pm line 43. Compilation failed in require at /usr/sbin/amavisd line 197. suggestions? Thx GioMBG GioMBG, Sep 1, 2011 #1 alleks Member Compilation failedClick to expand... Reinstall the software alleks, Sep 1, 2011 #2 GioMBG New Member reinstalled always the same error I get always the same error once reinstalled... maybe I will use only spamassassin... Gio GioMBG, Sep 1, 2011 #3 till Super Moderator Staff Member ISPConfig Developer Find the perl module package Convert::BinHex for your linux distribution and install it. Alternatively you can install the package also by using the perl shell. till, Sep 1, 2011 #4 (You must log in or sign up to reply here.) Show Ignored Content Share This Page Tweet Log in with Facebook Log in with Twitter Log in with Google Your name or email address: Do you already have an account? No, create an account now. Yes, my password is: Forgot your password? Stay logged in Sign up now! Forum Statistics Discussions: 53,516 Messages: 283,859 Members: 91,691 Latest Member: Arian Share This Page Tweet Howtoforge - Linux Howtos and Tutorials Home Forums > Linux Forums > Installation/Configuration > English | Deutsch Tutorials Tags Forums Forums Quick Links Search Forums Recent Posts Members Members Quick Links Notable Members Current Visitors Recent Activity New Profile Posts Contribute Subscribe ISPConfig News Menu Search Search titles only Posted by Member: Separate names with a comma. Newer Than: Search this
and earlier Please enter a title. You can not post a blank message. Please type your message and try again. This discussion is locked reganyelcich Level 1 (15 points) Q: amavisd - adding path to perl @INC for "Can't locate Convert/BinHex.pm" hello!When I do "amavisd -V" on the command line I get the error below.I have installed Convert/BinHex.pm using CPAN, but it is NOT located in one of the paths that perl is searching in. Cpan has installed the module in:/opt/local/lib/perl5/site_perl/5.8.9How do add that path so that https://www.howtoforge.com/community/threads/amavisd-new-clamav-and-spamassassin.54002/ @INC looks in the right place????reganpukeko:~ administrator$ amavisd -Vfetch_modules: error loading optional module MIME/Decoder/BinHex.pm: Can't locate Convert/BinHex.pm in @INC (@INC contains: /System/Library/Perl/5.8.6/darwin-thread-multi-2level /System/Library/Perl/5.8.6 /Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 /Library/Perl /Network/Library/Perl/5.8.6/darwin-thread-multi-2level /Network/Library/Perl/5.8.6 /Network/Library/Perl /System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.6 /Library/Perl/5.8.1) at /System/Library/Perl/Extras/5.8.6/MIME/Decoder/BinHex.pm line 44. BEGIN failed--compilation aborted at /System/Library/Perl/Extras/5.8.6/MIME/Decoder/BinHex.pm line 44. Compilation failed in require at /usr/bin/amavisd line 197.amavisd-new-2.6.4 (20090625) Dual G5 Xserve, Mac OS X (10.4.11) https://discussions.apple.com/thread/2266768?tstart=0 Posted on Dec 15, 2009 9:21 PM I have this question too Close Q: amavisd - adding path to perl @INC for "Can't locate Convert/BinHex.pm" All replies Helpful answers Page 1 Next by reganyelcich, reganyelcich Dec 16, 2009 7:17 PM in response to reganyelcich Level 1 (15 points) Dec 16, 2009 7:17 PM in response to reganyelcich Was advised by Alex to remove the newer version of perl (which was installed via macports), and then reinstalled Convert::BinHex via cpan and it installed in the right place. Helpful (0) Reply options Link to this post by Garner, Garner Feb 10, 2010 7:46 AM in response to reganyelcich Level 1 (0 points) Feb 10, 2010 7:46 AM in response to reganyelcich I'm having this same problem after trying to install amaviasd-new as per instructions at http://downloads.topicdesk.com/docs/Updatingamavisd_new_on_OS_XServer.pdfMy experience is VERY limited and I'm basically just following the instructions as closely as I can. But after doing everything in the tutorial and issuing /usr/bin/amavisd -V I'm getting:+mail:~ root# /usr/bin/amavisd -V+ +fetch_modules: error loading optional module MIME/Decoder/BinHex.pm:+ +Can't locate Convert/BinHex.
| Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ /usr/local/sbin/amavisd debug How to Hello,My friend.I got some messages http://postfix.1071664.n5.nabble.com/usr-local-sbin-amavisd-debug-How-to-td47782.html when I install the software of amavis,Can you do me a favorfetch_modules: error loading optional module MIME/Decoder/BinHex.pm: Can't locate Convert/BinHex.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) https://aur.archlinux.org/pkgbase/amavisd-new/?comments=all at /usr/local/share/perl5/MIME/Decoder/BinHex.pm line 45. BEGIN failed--compilation aborted at /usr/local/share/perl5/MIME/Decoder/BinHex.pm line 45. Compilation failed in require at /usr/local/sbin/amavisd line 205.Jul 3 16:42:53.683 ym.iopkl.com /usr/local/sbin/amavisd[2242]: logging initialized, log level 0, syslog: error loading amavis.mail Jul 3 16:42:53.683 ym.iopkl.com /usr/local/sbin/amavisd[2242]: PID file /var/amavis/amavisd.pid is inaccessible: Permission deniedPID file /var/amavis/amavisd.pid is inaccessible: Permission denied Thank you for your time!Tom Ansgar Wiechers Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Re: /usr/local/sbin/amavisd debug How to On 2012-07-03 Feel Zhou wrote: > I got some messages error loading optional when I install the software of amavis,Can you do me a > favor > > fetch_modules: error loading optional module MIME/Decoder/BinHex.pm: > Can't locate Convert/BinHex.pm in @INC (@INC contains: > /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl > /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at > /usr/local/share/perl5/MIME/Decoder/BinHex.pm line 45. > BEGIN failed--compilation aborted at > /usr/local/share/perl5/MIME/Decoder/BinHex.pm line 45. > Compilation failed in require at /usr/local/sbin/amavisd line 205. > Jul 3 16:42:53.683 ym.iopkl.com /usr/local/sbin/amavisd[2242]: logging > initialized, log level 0, syslog: amavis.mail > Jul 3 16:42:53.683 ym.iopkl.com /usr/local/sbin/amavisd[2242]: PID file > /var/amavis/amavisd.pid is inaccessible: Permission denied > PID file /var/amavis/amavisd.pid is inaccessible: Permission denied It appears that you don't have the Convert::BinHex package installed, and the account running the amavisd process does not have permission to access the PID file. Install the missing package (however that's done for whatever operating system you're using), and make sure that the account used for running amavisd has proper permissions to access the PID file (may be incorrect permissions on the file itself or on the containing directory). Regards Ansgar Wiechers -- "Abstractions save us time
日本語 Norsk Nederlands Polski Português (Brasil) Português (Portugal) Română Русский Slovenčina Srpski Türkçe Українська 简体中文 正體中文 AUR Home Packages Register Login Search Criteria Enter search criteria Search by Name, Description Name Only Package Base Exact Name Exact Package Base Keywords Maintainer Submitter Keywords Out of Date All Flagged Not Flagged Sort by Name Votes Popularity Voted Notify Maintainer Last modified Sort order Ascending Descending Per page 50 100 250 Package Details: amavisd-new 2.11.0-1 Package Actions View PKGBUILD / View Changes Download snapshot Search wiki Flag package out-of-date Vote for this package Enable notifications Submit Request Git Clone URL: https://aur.archlinux.org/amavisd-new.git (read-only) Package Base: amavisd-new Description: High-performance interface between mailer (MTA) and content checkers Upstream URL: http://www.ijs.si/software/amavisd/ Licenses: GPL Submitter: None Maintainer: yar Last Packager: yar Votes: 32 Popularity: 0.607161 First Submitted: 2005-04-22 04:23 Last Updated: 2016-06-07 18:08 Dependencies (24) bzip2 gzip (gzip-rsyncable) perl>=5.8.2 (perl-fake) perl-archive-zip>=1.14 perl-berkeleydb>=0.42 perl-convert-tnef perl-convert-uulib>=1.4-5 perl-io-socket-inet6 perl-io-stringy perl-mail-dkim>=0.31 perl-mailtools>=1.58 perl-mime-tools perl-net-libidn perl-net-server>=0.88 perl-unix-syslog>=1.1-4 arc (optional) – Decoder for: .arc arj (optional) – Decoder for: .arj .exe lrzip (optional) – Decoder for: .lrz lz4 (optional) – Decoder for: .lz4 lzo (optional) – Decoder for: .lzo p7zip (p7zip-natspec) (optional) – Decoder for: .7z perl-file-libmagic (optional) rpmextract (rpm-org) (optional) – Decoder for: .rpm unrar (rar, rar-beta) (optional) – Decoder for: .rar Required by (2) kolab pykolab (requires amavisd-new) (optional) Sources (3) http://www.ijs.si/software/amavisd/amavisd-new-2.11.0.tar.xz service tmpfiles Latest Comments Arvedui commented on 2016-06-07 09:56 It's arch, the package should have be rebuild along with the other perl packages that rely on native code, but it was not. nightah commented on 2016-06-07 09:39 Right you are! Rebuilt against perl 5.24.0-1 with this PKGBUILD: https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/perl-unix-syslog Thanks for the bug report too, is that upstream perl or somewhere around on Arch? I'll follow that so I can move back to the community release when fixed. Arvedui commented o