-
Notifications
You must be signed in to change notification settings - Fork 144
Description
I'm getting below error when trying start webpagetest agent in linux redhat 8.0
python3 /var/www/wptagent/wptagent.py -vvvv --xvfb --testurl www.google.com
Can you please let me know what is wrong here.
04:21:36.415 - Detected Browsers:
04:21:36.416 - Chrome: /opt/google/chrome/chrome
04:21:36.561 - Starting new HTTP connection (1): 169.254.169.254:80
Modern traceroute for Linux, version 2.1.0
Copyright (c) 2016 Dmitry Butskoy, License: GPL v2 or any later
04:21:46.718 - Display: :73531821
04:21:46.719 - sudo chmod -R 777 '/.config/configstore/'/.config/configstore/': No such file or directory
chmod: cannot access '
04:21:47.027 - sudo chown -R root:root '/.config'/.config': No such file or directory
chown: cannot access '
04:21:47.061 - Waiting for Idle...
04:21:48.063 - CPU Utilization: 0.0% (8 CPU's, 10.0% target)
04:21:49.068 - Error configuring netem: [Errno 2] No such file or directory: 'route': 'route'
Traceback (most recent call last):
File "/var/www/wptagent/internal/traffic_shaping.py", line 538, in install
out = subprocess.check_output(['route'], encoding='UTF-8')
File "/usr/lib64/python3.6/subprocess.py", line 356, in check_output
**kwargs).stdout
File "/usr/lib64/python3.6/subprocess.py", line 423, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/lib64/python3.6/subprocess.py", line 729, in init
restore_signals, start_new_session)
File "/usr/lib64/python3.6/subprocess.py", line 1364, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'route': 'route'
04:21:49.069 - Error configuring traffic shaping, make sure it is installed.