Page MenuHomeVyOS Platform

show conntrack fails with Perl error
Closed, ResolvedPublicBUG

Description

vyos@r-roll:~$ show conntrack ignore 
Can't locate XML/Simple.pm in @INC (you may need to install the XML::Simple module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /opt/vyatta/bin/sudo-users/vyatta-show-ignore.pl line 28.
BEGIN failed--compilation aborted at /opt/vyatta/bin/sudo-users/vyatta-show-ignore.pl line 28.
vyos@r-roll:~$ 
vyos@r-roll:~$ 
vyos@r-roll:~$ show conntrack table ipv4
Can't locate XML/Simple.pm in @INC (you may need to install the XML::Simple module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /opt/vyatta/bin/sudo-users/vyatta-show-conntrack.pl line 28.
BEGIN failed--compilation aborted at /opt/vyatta/bin/sudo-users/vyatta-show-conntrack.pl line 28.
vyos@r-roll:~$ 
vyos@r-roll:~$ 
vyos@r-roll:~$ show conntrack table ipv6
Can't locate XML/Simple.pm in @INC (you may need to install the XML::Simple module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /opt/vyatta/bin/sudo-users/vyatta-show-conntrack.pl line 28.
BEGIN failed--compilation aborted at /opt/vyatta/bin/sudo-users/vyatta-show-conntrack.pl line 28.
vyos@r-roll:~$ 
vyos@r-roll:~$

Details

Difficulty level
Unknown (require assessment)
Version
VyOS 1.3-rolling-202005260117
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Related Objects

StatusSubtypeAssignedTask
ResolvedBUGViacheslav
ResolvedBUGc-po

Event Timeline

Not enough packages and dependencies.

Main "libxml-simple-perl"

All packets and depends:

libxml-namespacesupport-perl
libxml-sax-base-perl
libxml-sax-perl
libxml-libxml-perl
libxml-simple-perl

Checked with

sudo su
wget http://ftp.de.debian.org/debian/pool/main/libx/libxml-namespacesupport-perl/libxml-namespacesupport-perl_1.12-1_all.deb
wget http://ftp.de.debian.org/debian/pool/main/libx/libxml-sax-base-perl/libxml-sax-base-perl_1.09-1_all.deb
wget http://ftp.de.debian.org/debian/pool/main/libx/libxml-sax-perl/libxml-sax-perl_1.00+dfsg-1_all.deb
wget http://ftp.de.debian.org/debian/pool/main/libx/libxml-libxml-perl/libxml-libxml-perl_2.0134+dfsg-1_amd64.deb
wget http://ftp.de.debian.org/debian/pool/main/libx/libxml-simple-perl/libxml-simple-perl_2.25-1_all.deb
sudo dpkg -i *.deb

After install

vyos@r-roll:~$ show conntrack table ipv4
TCP state codes: SS - SYN SENT, SR - SYN RECEIVED, ES - ESTABLISHED,
                 FW - FIN WAIT, CW - CLOSE WAIT, LA - LAST ACK,
                 TW - TIME WAIT, CL - CLOSE, LI - LISTEN

CONN ID    Source                 Destination            Protocol         TIMEOUT             

Warning: Connection tracking is not enabled

vyos@r-roll:~$
erkin renamed this task from Show conntrack fail to show conntrack fails with Perl error.Aug 30 2021, 5:58 AM
erkin set Issue type to Bug (incorrect behavior).
erkin removed a subscriber: Active contributors.