ubuntu-18.04

How to fix “dial unix /var/run/docker.sock: connect: permission denied” when group permissions seem correct?

南笙酒味 提交于 2019-12-03 01:19:19
I'm suddenly having issues after an update of Ubuntu 18.04: previously I've used docker without issue on the system, but suddenly I cannot. As far as I can tell, the permissions look correct: $ docker run hello-world docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.35/containers/create: dial unix /var/run/docker.sock: connect: permission denied. See 'docker run --help'. $ ls -last /var/run/docker.sock 0 srw-rw---- 1 root docker 0 Jul 14 09:10 /var/run/docker.sock $ whoami brandon $ cat

After Ubuntu 18.04 upgrade php7.2-curl cannot be installed

非 Y 不嫁゛ 提交于 2019-12-03 01:14:59
Upgraded to 18.04 from 16.04 today using do-release-upgrade -d During the upgrade I was informed that some packages would be removed, these included: Remove: libperl5.22 lxc-common perl-modules-5.22 php-imagick php7.1-curl php7.2-curl python3-certbot-nginx I could re-install imagick and certbot without issue, but if I try to install php7.2-curl I get the message: # apt install php7.2-curl -y Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are

Virtualbox install on Linux Mint 19 Tara

荒凉一梦 提交于 2019-12-02 10:00:17
I tried to install Virtualbox on linux Mint version 19, Code name : Tara, PackageBase : Ubuntu Bionic Cinnamon (64-bit) Reference link Downloaded this version of linux from above reference link- VirtualBox 5.2.18 for Linux Ubuntu 18.04 / Debian 10 AMD64 First ran the command: sudo apt-get update and then tried below command xxxxxxxxxx:~/Downloads$ sudo dpkg -i virtualbox-5.2_5.2.18-124319_Ubuntu_bionic_amd64.deb (Reading database ... 273616 files and directories currently installed.) Preparing to unpack virtualbox-5.2_5.2.18-124319_Ubuntu_bionic_amd64.deb ... Unpacking virtualbox-5.2 (5.2.18

How to fix hang in gdb in ld-linux.so.2 when running a 32-bit executable on a 64-bit Ubuntu (18.04) system?

血红的双手。 提交于 2019-12-01 20:56:30
I'm trying to debug a 32-bit executable on a 64-bit Ubuntu system. It runs just fine by itself from the command line, but when I try to use gdb, it hangs in ld-linux.so.2. Also, gdb works for the 64-bit version of the executable. Does anyone have a clue as to what I should try? I just re-imaged a machine to Ubuntu 18.04.3, and I installed the multilib versions of gcc and g++. Thanks in advance. gdb <executable> GNU gdb ... This GDB was configured as "x86_64-linux-gnu" ... Reading symbols from <executable>...done. (gdb) show archi The target architecture is set automatically (currently i386)

How to allow Tomcat war app to write in folder

浪子不回头ぞ 提交于 2019-12-01 06:29:23
问题 I'd like for my webapp which is deployed as a war ROOT.war to have write access to /var/www/html/static/images so that it can write uploaded and converted images to that folder so nginx can serve it statically. Currently it doesn't work an triggers an java.nio.file.FileSystemException exception together with the Filesystem is read-only message. But the filesystem is not read-only and is in great condition. The folder has already been chmodded 777. Extra info: The tomcat setup is running on an

How do I troubleshoot “Inconsistency detected: dl-lookup.c: 111” (Java Result 127) error?

核能气质少年 提交于 2019-12-01 04:42:05
I'm currently trying to build a Java project using Maven for a game I'm working on. A recent push to our repository by another user has broken the build for me, but not other users. No changes have been made the to Pom.xml in recent builds and my Java environment has remained consistent. I'm using Java 8 OpenJDK (1.8.0_211) on a Ubuntu 18.04 LTS distribution. The maven repository is able to compile successfully, but when I try to execute the code using our predetermined (mvn integration-test -Pdesktop) build I receive a Build Success, some errors and no application launch. I've looked on Linux

How to fix hang in gdb in ld-linux.so.2 when running a 32-bit executable on a 64-bit Ubuntu (18.04) system?

末鹿安然 提交于 2019-12-01 03:54:14
问题 I'm trying to debug a 32-bit executable on a 64-bit Ubuntu system. It runs just fine by itself from the command line, but when I try to use gdb, it hangs in ld-linux.so.2. Also, gdb works for the 64-bit version of the executable. Does anyone have a clue as to what I should try? I just re-imaged a machine to Ubuntu 18.04.3, and I installed the multilib versions of gcc and g++. Thanks in advance. gdb <executable> GNU gdb ... This GDB was configured as "x86_64-linux-gnu" ... Reading symbols from

System has not been booted with systemd as init system (PID 1). Can't operate

岁酱吖の 提交于 2019-11-30 11:18:34
问题 I'm trying to follow the Redis installation process as discuss in this article of digital occean, in WSL. The Ubuntu version installed is Ubuntu 18.04. Everything in redis installation is fine but when I tried to run this sudo systemctl start redis I got this message. System has not been booted with systemd as init system (PID 1). Can't operate. Any Idea on what should I do with that? 回答1: Instead, use: sudo service redis-server start I had the same problem, stopping/starting other services

How to compile Curl with legacy SSL support on Ubuntu?

做~自己de王妃 提交于 2019-11-29 17:15:29
I have the following error, when attempting to connect to an old HTTPS-enabled web site using Curl: curl https://10.11.1.44 curl: (35) error:1425F102:SSL routines:ssl_choose_client_version:unsupported protocol More verbosely: * Expire in 0 ms for 6 (transfer 0x55a4192abdd0) * Trying 10.11.1.44... * TCP_NODELAY set * Expire in 200 ms for 4 (transfer 0x55a4192abdd0) * Connected to 10.11.1.44 (10.11.1.44) port 443 (#0) * ALPN, offering h2 * ALPN, offering http/1.1 * successfully set certificate verify locations: * CAfile: none CApath: /etc/ssl/certs * TLSv1.3 (OUT), TLS handshake, Client hello (1

Android Studio: /dev/kvm device permission denied

 ̄綄美尐妖づ 提交于 2019-11-28 14:55:26
When I try to run my Android app on an emulator I get this error: /dev/kvm permission denied. I checked the permissions and added the user I am currently logged in with to the kvm group. What is wrong? serv-inc As mentioned in the comments, starting with Ubuntu 18.04 and Linux Mint Tara you need to first sudo apt install qemu-kvm . To check the ownership of /dev/kvm use ls -al /dev/kvm The user was root , the group kvm . To check which users are in the kvm group, use grep kvm /etc/group This returned kvm:x:some_number: on my system: as there is nothing rightwards of the final : , there are no