ubuntu-18.04

Chrome doesn't start in WSL (Ubuntu 18.04) with “DevToolsActivePort file doesn't exist” under Chromedriver

我是研究僧i 提交于 2020-03-03 07:23:29
问题 I see the error Selenium::WebDriver::Error::UnknownError: unknown error: Chrome failed to start: crashed (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.) #0 0x7f87e934a7a9 <unknown> when trying to launch Chrome headless via Selenium::Chromedriver in Rails (5.2.3) with Capybara under WSL (Windows Subsystem for Linux) that's running Ubuntu 18.04

cannot open libmpfr.so.4 after update on ubuntu 18.04

倾然丶 夕夏残阳落幕 提交于 2020-02-02 12:26:07
问题 Today I updated my laptop to Ubuntu 18.04. Now I try to run a program for my bachelor thesis, but it gives me the following error message: error while loading shared libraries: libmpfr.so.4: cannot open shared object file: No such file or directory I did a bit of research, and I think libmpfr4 has been droppen in this ubuntu version. Is there any way I can solve this? 回答1: I had the same problem and solved it by creating symbolic link : sudo ln -s /usr/lib/x86_64-linux-gnu/libmpfr.so.6 /usr

GET: ERR_SSL_PROTOCOL_ERROR nginx + vue.js

旧城冷巷雨未停 提交于 2020-01-25 07:52:12
问题 In console log of Google Chrome I'm getting these errors : GET https://192.168.1.7:8081/sockjs-node/info?t=1579798623564 net::ERR_SSL_PROTOCOL_ERROR GET https://192.168.1.7/sockjs-node/info?t=1579798623562 net::ERR_CERT_COMMON_NAME_INVALID if in /etc/nginx/conf/default.conf ( Ubuntu 18.04.03 Server Edition): server { listen 443 ssl http2 default_server; server_name example.com www.example.com ssl_certificate /etc/ssl/certs/chained.pem; ssl_certificate_key /etc/ssl/private/domain.key; ssl

Can't install or uninstall anything in Ubuntu - Processing was halted because there were too many errors

倾然丶 夕夏残阳落幕 提交于 2020-01-16 19:32:43
问题 I tried to install and uninstall many different programs. For example: sudo apt-get remove --purge ussp-push Or sudo apt-get purge ruby And everytime I get this output in my terminal. This seems to have started after I tried installing MongoDB on my machine. No apport report written because MaxReports is reached already Errors were encountered while processing: libpam-systemd:amd64 grub-pc virtualbox-dkms grub-efi-amd64-signed libssl1.1:amd64 postgresql-common libdns-export1100 openssl

How can i configure apache server to Proxy to http://localhost:3000/ and exclude some URL?

醉酒当歌 提交于 2020-01-15 08:15:08
问题 I want my Laravel to use Client side Nuxt JS and use Laravel as backend admin-panel and api(s). This is my code to proxy Laravel project to Nuxt JS but it's not properly working. <VirtualHost *:80> ServerName nuxt.local ServerAdmin webmaster@localhost DocumentRoot /var/www/html/nuxt/public ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined ProxyPassMatch /^(admin-panel)(.*)$ ! ProxyPass / http://localhost:3000/ ProxyPassReverse / http://localhost:3000/

gem install error: timed out https://api.rubygems.org/

不羁岁月 提交于 2020-01-14 19:15:36
问题 I am failing to install bundler . I am on Ubuntu 18 and have ruby 2.5.1 installed. Here is the output of running this command. gem install bundler --debug NOTE: Debugging mode prints all exceptions even when rescued Exception `LoadError' at /home/ikushlianski/.rbenv/versions/2.5.1/lib/ruby/2.5.0/resolv.rb:170 - LoadError Exception `Net::OpenTimeout' at /home/ikushlianski/.rbenv/versions/2.5.1/lib/ruby/2.5.0/net/http.rb:937 - execution expired Exception `Net::OpenTimeout' at /home/ikushlianski

gem install error: timed out https://api.rubygems.org/

本秂侑毒 提交于 2020-01-14 19:15:09
问题 I am failing to install bundler . I am on Ubuntu 18 and have ruby 2.5.1 installed. Here is the output of running this command. gem install bundler --debug NOTE: Debugging mode prints all exceptions even when rescued Exception `LoadError' at /home/ikushlianski/.rbenv/versions/2.5.1/lib/ruby/2.5.0/resolv.rb:170 - LoadError Exception `Net::OpenTimeout' at /home/ikushlianski/.rbenv/versions/2.5.1/lib/ruby/2.5.0/net/http.rb:937 - execution expired Exception `Net::OpenTimeout' at /home/ikushlianski

Installing tidyverse on Ubuntu 18.x & R 3.4.4/3.5.1

。_饼干妹妹 提交于 2020-01-13 10:08:21
问题 I attempted to install tidyverse (and the packages that make up tidyverse) and got the following output: > install.packages('tidyverse', dependencies=TRUE, type="source") Installing package into ‘/home/aos11409/R/x86_64-pc-linux-gnu-library/3.4’ (as ‘lib’ is unspecified) also installing the dependencies ‘dbplyr’, ‘modelr’ trying URL 'https://cloud.r-project.org/src/contrib/dbplyr_1.2.2.tar.gz' Content type 'application/x-gzip' length 263687 bytes (257 KB) =====================================

Apache shutdown - Couldn't grab mutex

穿精又带淫゛_ 提交于 2020-01-12 20:56:31
问题 For some reasons unknow to me, Apache is crashing. This is the apache log at the moment of the crash: [Sat Jun 02 02:38:05.196006 2018] [mpm_prefork:emerg] [pid 1122] (43)Identifier removed: AH00144: couldn't grab the accept mutex [Sat Jun 02 02:38:05.196006 2018] [mpm_prefork:emerg] [pid 1116] (43)Identifier removed: AH00144: couldn't grab the accept mutex [Sat Jun 02 02:38:05.198767 2018] [mpm_prefork:emerg] [pid 1115] (43)Identifier removed: AH00144: couldn't grab the accept mutex [Sat Jun

Apache shutdown - Couldn't grab mutex

最后都变了- 提交于 2020-01-12 20:55:33
问题 For some reasons unknow to me, Apache is crashing. This is the apache log at the moment of the crash: [Sat Jun 02 02:38:05.196006 2018] [mpm_prefork:emerg] [pid 1122] (43)Identifier removed: AH00144: couldn't grab the accept mutex [Sat Jun 02 02:38:05.196006 2018] [mpm_prefork:emerg] [pid 1116] (43)Identifier removed: AH00144: couldn't grab the accept mutex [Sat Jun 02 02:38:05.198767 2018] [mpm_prefork:emerg] [pid 1115] (43)Identifier removed: AH00144: couldn't grab the accept mutex [Sat Jun