In my zmdc.log file I am receiving the following error:
Can't locate MIME/Entity.pm in @INC (@INC contains: /usr/lib/perl5/5.8.3/i386-linux-thread-multi /usr/lib/perl5/5.8.3 /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /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 /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl) at /usr/local/bin/zmfilter.pl line 87.
BEGIN failed--compilation aborted at /usr/local/bin/zmfilter.pl line 87.
'zmfilter.pl ' crashed at 04/06/17 15:47:11, exit status 2
at random intervals. Anywhere from 30 seconds to 15 minutes apart.
This may be some sort of email issue with my system, because I have been attempting to make the email portion (with no success I might add) to work. But obviously I have something mis-configured.
zmfilter.pl line 87 references the following.
85 if ( ZM_OPT_EMAIL )
86 {
87 use MIME::Entity;
88
89 ( $email_subject, $email_body ) = ZM_EMAIL_TEXT =~ /subject\s*=\s*"([^\n]*)".*body\s*=\s*"(.*)"/ms;
90 }
91
92 my $message_subject;
93 my $message_body;
Does anyone have any suggestions on cause or solution. If you need more detail please let me know.
My install consist of Fedora Core1 w/ ZM 1.19.4 configured w/ ffmpeg and lame. I have 2 network cams in my current building, 1 X11 type cam local, and 1 network cam at a remote site reporting via web.
Thanks
John
Can't locate MIME/Entity.pm in @INC (error)
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Hi John,
This error is caused because the MIME::Entity perl module is missing from your system. The README briefly describes how to instal perl modules but basically you just type
perl -MCPAN -eshell
and if this is your first time go through the initial configuration, accepting the defaults in most cases. Don't accept any offer to install a new Bundle though for now. Then once the initial config is over just type
install MIME::Entity
and hit return. You might get a message about it needing to prepend other modules it depends on, just say yes to that.
That should just about do it so just then 'quit' and you should be sorted.
Phil,
This error is caused because the MIME::Entity perl module is missing from your system. The README briefly describes how to instal perl modules but basically you just type
perl -MCPAN -eshell
and if this is your first time go through the initial configuration, accepting the defaults in most cases. Don't accept any offer to install a new Bundle though for now. Then once the initial config is over just type
install MIME::Entity
and hit return. You might get a message about it needing to prepend other modules it depends on, just say yes to that.
That should just about do it so just then 'quit' and you should be sorted.
Phil,