# Rocky Linux 9.1 logwatch issues

**URL:** <https://forums.rockylinux.org/t/rocky-linux-9-1-logwatch-issues/8900>\
**Category:** Rocky Linux Help & Support\
**Created:** [February 14, 2023, 3:14pm UTC](https://forums.rockylinux.org/t/rocky-linux-9-1-logwatch-issues/8900 "2023-02-14T15:14:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeanniard](https://avatars.discourse-cdn.com/v4/letter/j/73ab20/32.png) [@Jeanniard](https://forums.rockylinux.org/u/Jeanniard)\
**Post date:** [February 14, 2023, 3:14pm UTC](https://forums.rockylinux.org/t/rocky-linux-9-1-logwatch-issues/8900/1 "2023-02-14T15:14:07Z")

</div>

Hello Team,

I have just installed a basic rocky linux 9.1 with web service. Then I have added logwatch.  
When I run logwatch command below the issue :

Can’t locate File/Path.pm in @INC (you may need to install the File::Path module) (@INC contains: /usr/local/lib64/perl5/5.32 /usr/local/share/perl5/5.32 /usr/lib64/perl5/vendor\_perl /usr/share/perl5/vendor\_perl /usr/lib64/perl5 /usr/share/perl5) at /usr/share/perl5/vendor\_perl/File/Temp.pm line 149.  
BEGIN failed–compilation aborted at /usr/share/perl5/vendor\_perl/File/Temp.pm line 149.  
Compilation failed in require at /usr/sbin/logwatch line 64.  
BEGIN failed–compilation aborted at /usr/sbin/logwatch line 64.

Has anyone solved this issue ? Thanks for your help.

dnf install logwatch result :  
logwatch-7.5.5-4.el9.noarch  
perl-Date-Manip-6.85-3.el9.noarch  
perl-Sys-CPU-0.61-26.el9.x86\_64  
perl-Sys-MemInfo-0.99-18.el9.0.1.x86\_64  
perl-diagnostics-1.37-479.el9.noarch  
s-nail-14.9.22-6.el9.x86\_64

/usr/bin/perl -v  
This is perl 5, version 32, subversion 1 (v5.32.1) built for x86\_64-linux-thread-multi

---

<div class="post-metadata">

**Author:** ![jbkt23](https://avatars.discourse-cdn.com/v4/letter/j/9fc29f/32.png) [@jbkt23](https://forums.rockylinux.org/u/jbkt23)\
**Post date:** [February 14, 2023, 4:35pm UTC](https://forums.rockylinux.org/t/rocky-linux-9-1-logwatch-issues/8900/2 "2023-02-14T16:35:09Z")

</div>

Running:

```auto
# dnf whatprovides */Path.pm
Last metadata expiration check: 1:06:10 ago on Tue 14 Feb 2023 10:17:31 AM EST.
debconf-1.5.79-4.el9.noarch : Debian configuration management system
Repo : epel
Matched from:
Filename : /usr/share/perl5/vendor_perl/Debconf/Path.pm

dpkg-perl-1.21.9-1.el9.noarch : Dpkg perl modules
Repo : epel
Matched from:
Filename : /usr/share/perl5/vendor_perl/Dpkg/Path.pm

mariadb-test-3:10.5.16-2.el9_0.x86_64 : The test suite distributed with MariaDB
Repo : crb
Matched from:
Filename : /usr/share/mysql-test/lib/My/File/Path.pm

mysql-test-8.0.30-3.el9_0.x86_64 : The test suite distributed with MySQL
Repo : crb
Matched from:
Filename : /usr/share/mysql-test/lib/My/File/Path.pm

perl-File-Path-2.18-4.el9.noarch : Create or remove directory trees
Repo : @System
Matched from:
Filename : /usr/share/perl5/vendor_perl/File/Path.pm

perl-File-Path-2.18-4.el9.noarch : Create or remove directory trees
Repo : appstream
Matched from:
Filename : /usr/share/perl5/vendor_perl/File/Path.pm

perl-Mojolicious-9.22-2.el9.noarch : A next generation web framework for Perl
Repo : epel
Matched from:
Filename : /usr/share/perl5/vendor_perl/Mojo/Path.pm

perl-RDF-Query-2.918-19.el9.noarch : SPARQL 1.1 Query and Update implementation
                                   : for RDF::Trine
Repo : epel
Matched from:
Filename : /usr/share/perl5/vendor_perl/RDF/Query/Algebra/Path.pm
Filename : /usr/share/perl5/vendor_perl/RDF/Query/Plan/Path.pm

```

It is available in appstream as:

perl-File-Path-2.18-4.el9.noarch  
which should be an automatically enabled repository.

I’m running logwatch and don’t remember having to download that rpm separately. It could be that something else I installed called it in as a dependency.

---

<div class="post-metadata">

**Author:** ![Jeanniard](https://avatars.discourse-cdn.com/v4/letter/j/73ab20/32.png) [@Jeanniard](https://forums.rockylinux.org/u/Jeanniard)\
**Post date:** [February 14, 2023, 5:21pm UTC](https://forums.rockylinux.org/t/rocky-linux-9-1-logwatch-issues/8900/3 "2023-02-14T17:21:07Z")

</div>

All is ok now. I think you have right :  
“It could be that something else I installed called it in as a dependency”  
Really thanks for your answer and your help !

---

<div class="post-metadata">

**Author:** ![brian](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/brian/32/5777_2.png) [@brian](https://forums.rockylinux.org/u/brian)\
**Post date:** [August 25, 2023, 3:25am UTC](https://forums.rockylinux.org/t/rocky-linux-9-1-logwatch-issues/8900/4 "2023-08-25T03:25:04Z")

</div>

Closed on August 25, 2023, 3:25am UTC


