1. Please take a little time for this simple survey! Thank you for participating!
    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

    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).

    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/lib/perl5/vendor_perl) at 
     line 55.
  2. DeanW

    DeanW Guest

    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!
  3. BoXie

    BoXie Guest

    Thanx !

    So there is no RPM for this piece of Perl ?

    Only way is by CPAN i guess ?
  4. DeanW

    DeanW Guest

    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

    Doing a search on Google for "DOMl.PM RPM" returned this link:

    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.