1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

psadump Plesk 7.5.3 and Dom.pm

Discussion in 'Plesk for Linux - 8.x and Older' started by BoXie, May 21, 2005.

  1. BoXie

    BoXie Guest

    0
     
    Hi, my psadump.log(s) in /var/log/ give errors regarding a Perl module called 'Dom.pm' which cannot be found.

    The module is simply not available in Plesks directory. On my system (Fedora Core 2) there is a 'Dom.pm' file .. but it isn't in a location that is included. And when i copy it to an included location .. it doesn't seems to work. (error: cant call method "getChildNodes" etc...).

    So ... are my backups valid or not ? Or is this just an internal Perl problem that won't affect psadump (since the daily backup output does not show errors).

    Code:
    May 20 03:15:04 srv01.arcnet.nl
    psadump: Can't locate 
    XML/Parser/Style/Dom.pm in @INC 
    (@INC contains: /usr/local/psa/lib/perl5 . 
    /usr/local/psa/lib/perl5/5.8.3 
    /usr/local/psa/lib/perl5/5.8.3/i386-linux-thread-multi
    /usr/local/psa/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
     /usr/local/psa/lib/perl5/site_perl/5.8.3 
    /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.3 
    /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.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/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi/XML/Parser.pm
     line 55.
    
     
  2. DeanW

    DeanW Guest

    0
     
    I had the same problem. I believe I have solved it by manually installing the required perl module with the CPAN system.

    From an SSH shell as root, run:

    perl -MCPAN -e shell

    Accept most defaults, choose your download server, etc. the first time you run it...

    Next type, from the cpan> shell:

    install XML::Dom

    Accept [yes] to install dependencies automatically.

    With 1 test this appears to have stopped the line in my logs.

    Regards, DW

    ---
    Unlimited emails lists from your web site!
    http://listmailpro.com
     
  3. BoXie

    BoXie Guest

    0
     
    Thanx !

    So there is no RPM for this piece of Perl ?

    Only way is by CPAN i guess ?
     
  4. DeanW

    DeanW Guest

    0
     
    Yes, that's right. I also had to use CPAN to install a module "DBI" for Perl to be able to access MySQL.
     
  5. jwdick

    jwdick Guest

    0
     
    Doing a search on Google for "DOMl.PM RPM" returned this link:
    http://rpm.sh-linux.org/rpm-index-2004/target/noarch/perl-libxml-enno-1.02-30.noarch.html

    libxml-enno contains the modules XML::DOM, XML::XQL, XML::Checker and
    several other packages used for parsing XML from Perl.


    I haven't used an rpm from this source before, so I would say use it at your own risk.

    Also check this link: http://rpmfind.net/linux/rpm2html/search.php?query=perl-XML-DOM

    The above link shows an RPM from Dags. I have used rpms from Dags before and they worked find.
     
Loading...