It looks like it isn't finding the MailTools Perl modules (and probably several others). Did you have it working before on the same management node or is this a new install?

If you didn't have the backend code running the that management before, you need to install several Perl modules. Take a look at the managementnode/INSTALL file. It's pretty raw but will show you what you need. You'll have to adjust the paths to /opt/vcl instead of /usr/local/vcl.


You can try the following and see if the error message changes:

mkdir /opt/vcl/source
wget --directory-prefix=/var/vcl/source http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/MailTools-2.04.tar.gz
tar -xzf /var/vcl/source/MailTools-2.04.tar.gz -C /var/vcl/source
cd /var/vcl/source/MailTools-2.04
perl Makefile.PL
make
make test
make install

Hope this helps,
Andy


杨杰 wrote:
Hi,
i am updating vcl recently. There were no troubles during the updating of
its Frontend(/var/www/html/vcl), but when updating its backend, some error
occured.

i copies the managementnode to /opt/vcl as shown in the guide and then tried
to start the service vcld, while it showed me the following errors:

--------------------
Starting vcld daemon: Can't locate Mail/Mailer.pm in @INC (@INC contains:
/opt/vcl/bin/.. /opt/vcl/bin/../lib
/usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0
/usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi
/usr/local/lib/perl5/site_perl/5.10.0
/usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/site_perl/5.10.0 .) at /opt/vcl/bin/../lib/VCL/utils.pm line
56.
BEGIN failed--compilation aborted at /opt/vcl/bin/../lib/VCL/utils.pm line
56.
Compilation failed in require at /opt/vcl/bin/vcld line 61.
BEGIN failed--compilation aborted at /opt/vcl/bin/vcld line 61 (#1)
    (F) You said to do (or require, or use) a file that couldn't be
    found. Perl looks for the file in all the locations mentioned in @INC,
    unless the file name included the full path to the file.  Perhaps you
    need to set the PERL5LIB or PERL5OPT environment variable to say where
    the extra library is, or maybe the script needs to add the library name
    to @INC.  Or maybe you just misspelled the name of the file.  See
    perlfunc/require and lib.

Uncaught exception from user code:
        Can't locate Mail/Mailer.pm in @INC (@INC contains: /opt/vcl/bin/..
/opt/vcl/bin/../lib /usr/lib/perl5/5.10.0/i386-linux-thread-multi
/usr/lib/perl5/5.10.0
/usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi
/usr/local/lib/perl5/site_perl/5.10.0
/usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/site_perl/5.10.0 .) at /opt/vcl/bin/../lib/VCL/utils.pm line
56.
BEGIN failed--compilation aborted at /opt/vcl/bin/../lib/VCL/utils.pm line
56.
Compilation failed in require at /opt/vcl/bin/vcld line 61.
BEGIN failed--compilation aborted at /opt/vcl/bin/vcld line 61.
 at /opt/vcl/bin/vcld line 61
                                                           [FAILED]
--------------------

I was operating according to the guide on the wiki:
http://wiki.oscr.ncsu.edu/wiki/index.php/Updating_the_VCL_VM_to_the_latest_code_version
.

Is there any mistakes in my understand? Please point it to me !



Reply via email to