Closed easycloudcompany closed 2 years ago
Hello,
Is chromedriver and Chrome installed on the machine?
Hi before your answer no thanks!! But I've still an error [2022-02-08 15:53:23 +0000] Please ensure that chromedriver and Chrome are the same version and in your PATH. [2022-02-08 15:53:23 +0000] [Selenium::WebDriver::Error::UnknownError] unknown error: Chrome failed to start: exited abnormally. (unknown error: DevToolsActivePort file doesn't exist) (The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
Can you please run this in the terminal and post the result:
$ whereis chromedriver
arachni@arachni:~/APP/arachni-2.0dev-1.0dev/bin$ $whereis chromedriver Starting ChromeDriver 94.0.4606.61 (418b78f5838ed0b1c69bb4e51ea0252171854915-refs/branch-heads/4606@{#1204}) on port 9515 Only local connections are allowed. Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe. ChromeDriver was started successfully.
Unless you've placed the package's bin
directory in your path it wont work,
Copy chromedriver
to /usr/bin/chromedriver
(for example) and try again please.
Thanks for your patience and your very great support I've understood that the problem comes from Chrome driver, now the directory path is correct but the problem persist
Last login: Tue Feb 8 15:56:31 2022 from 1xxxxxxx arachni@arachni:~$ whereis chromedriver chromedriver: /usr/bin/chromedriver
Please show me the output of:
chromedriver --version
google-chrome --version
arachni@arachni:/usr/bin$ chromedriver --version ChromeDriver 94.0.4606.61 (418b78f5838ed0b1c69bb4e51ea0252171854915-refs/branch-heads/4606@{#1204})
arachni@arachni:/usr/bin$ google-chrome --version Google Chrome 98.0.4758.80
You need version 98: https://chromedriver.storage.googleapis.com/index.html?path=98.0.4758.80/
Let me know how it works.
Now the version seems to be ok arachni@arachni:~/APP/arachni-2.0dev-1.0dev/bin$ chromedriver --version ChromeDriver 98.0.4758.80 (7f0488e8ba0d8e019187c6325a16c29d9b7f4989-refs/branch-heads/4758@{#972}) but still the same problem
[2022-02-08 16:58:58 +0000] Please ensure that chromedriver and Chrome are the same version and in your PATH. [2022-02-08 16:58:58 +0000] [Selenium::WebDriver::Error::UnknownError] unknown error: Chrome failed to start: exited abnormally. (unknown error: DevToolsActivePort file doesn't exist) (The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
Are you running as root?
Sorry a made a lot of test reinstalling Chrome and running all as root but the problem is still the same. I've used the following guide https://tecadmin.net/setup-selenium-chromedriver-on-ubuntu/ that use Selenium Server could be this the problem?
You didn't have to use that guide, it looks pretty old and has nothing to do with Arachni. It could have lead to a broken environment.
I'm not sure how to help you.
Thanks too much for your precius support, at last can you suggest a complete guide to install correctly arachni on Ubuntu server so that i can follow the step by step installation guide starting from zero? Thanks a lot
chromedriver
executable in /usr/bin/
Then download the nightlies and simply extract to a directory when you have write privileges.
Test it with bin/arachni http://testhtml5.vulnweb.com
Thanks too much
The new nightlies bundle Chrome and chromedriver so they should just work.
Hi, everyone, has this problem been solved? Now I have the same problem. The platform is AARCH64, I wonder if arachni of ARM architecture can be used directly.
Hi Installed on Ubuntu 20.04 server when lounh the scanning does not work with this log: