Skip to content

Not able to start webpagetest agent on redhat 8.0 #598

@Gujjala

Description

@Gujjala

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/'
chmod: cannot access '
/.config/configstore/': No such file or directory
04:21:47.027 - sudo chown -R root:root '/.config'
chown: cannot access '
/.config': No such file or directory
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions