Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to start webpagetest agent on redhat 8.0 #598

Open
Gujjala opened this issue Jan 11, 2023 · 0 comments
Open

Not able to start webpagetest agent on redhat 8.0 #598

Gujjala opened this issue Jan 11, 2023 · 0 comments

Comments

@Gujjala
Copy link

Gujjala commented Jan 11, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant