• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

psadump Plesk 7.5.3 and Dom.pm

B

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

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.
 
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
 
Thanx !

So there is no RPM for this piece of Perl ?

Only way is by CPAN i guess ?
 
Yes, that's right. I also had to use CPAN to install a module "DBI" for Perl to be able to access MySQL.
 
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.
 
Back
Top