Description

This article explains the cause of traceroute monitor command failed on Junos Evolved.

Symptoms

On Junos Evolved, "traceroute monitor" command might fail due to incorrect permission as below.

user@ptx10k> traceroute monitor 8.8.8.8
mtr-packet: Failure to open IPv4 sockets: Permission denied
mtr-packet: Failure to open IPv6 sockets: Permission denied
/usr/sbin/mtr: Failure to start mtr-packet: Invalid argument

Solution

The issue is caused by incorrect file permission setting of mtr-packet.
Because of that, "traceroute monitor" could only be run with root permission.

The issue is fixed via PR1829652.
Workaround is to run the command with root account.
> start shell user root
# cli
root@hostname> traceroute monitor <ip address>

Modification History

2024-10-15 : Article Created