Questions tagged [ubuntu-16.04]

Ubuntu 16.04 (Xenial Xerus) is a long term support release, available from 21st of April 2016. Questions should be related to writing or running programs under Ubuntu. General Ubuntu questions should be asked on https://askubuntu.com

New features include the following

  • 5 year support term
  • Linux 4.4 LTS kernel
  • Unity online search disabled by default
  • Unity launcher can be repositioned
  • ZFS (file system)
  • Ubuntu Software Center replaced with GNOME Software

It is available for download as an ISO image.

4960 questions
18
votes
2 answers

Could not find PROTOBUF Compiler

I'm trying to do a CMake with Caffe, but my system cannot find protobuf compiler. I have previously installed protobuf2.7.0. Now I switched back to 2.6.1. How could I configure my CMake to recognize the protobuf2.6.1 compiler? I have done $ sudo…
holopekochan
  • 595
  • 2
  • 10
  • 18
18
votes
5 answers

Unable to start docker after configuring hosts in daemon.json

I'm trying to configure docker (version 17.03.1-ce) in ubuntu 16.04 using configuration file /etc/docker/daemon.json to add an host: { "debug": true, "hosts": ["tcp://0.0.0.0:1234", "unix:///var/run/docker.sock"], "dns" :…
Gas
  • 420
  • 1
  • 5
  • 10
18
votes
3 answers

How to properly configure xstartup file for TightVNC with Ubuntu VPS GNOME environment

I'd like to access my Ubuntu 16.10 VPS (Contabo) with using a GNOME environment with VNC, however I am still facing some issues that I couldn't solve so far. To install and configure the software I ran the following commands: sudo apt-get install…
Matthias Munz
  • 3,583
  • 4
  • 30
  • 47
18
votes
1 answer

docker exec: rpc error: code = 2 desc = oci runtime error: exec failed

every time I try to do: $ docker exec I get the error message: rpc error: code = 2 desc = oci runtime error: exec failed: container_linux.go:247: starting container process caused "process_linux.go:83: executing setns process caused \"exit…
E. Riegger
  • 181
  • 1
  • 1
  • 5
17
votes
3 answers

Mongodb can not start because of WiredTiger.turtle permissions

I am trying to start mongodb 4.0.4 on ubuntu 16.04, but the database denies all my tries. I checked mongodb log files and find out that the file named WiredTiger.turtle has no needed permissions. Here log errors: 2018-11-26T15:14:32.438+0600 E…
user3151148
  • 375
  • 2
  • 3
  • 8
17
votes
1 answer

Bazel Key Expired Error when sudo apt-get update Ubuntu 16.04

I am getting the following error when I do Command: sudo apt-get update Error: Err:10 http://storage.googleapis.com/bazel-apt stable InRelease The following signatures were invalid: KEYEXPIRED 1527185977 KEYEXPIRED 1527185977 KEYEXPIRED…
Manasvini Ganesh
  • 483
  • 5
  • 16
17
votes
1 answer

Phusion Passenger process stuck on (forking...) Rails

Today I updated to the newest updated package for Nginx and Passenger. After the update, my app now has a (forking...) process that wasn't there before and doesn't seem to go away. Yet it is taking up memory and sudo /usr/sbin/passenger-memory-stats…
Sam H.
  • 338
  • 3
  • 7
17
votes
2 answers

WARNING: Module mcrypt ini file doesn't exist under /etc/php/7.2/mods-available

I've been trying to install phpmyadmin in Ubuntu 16.04.3 LTS having a lamp installed, php 7.2, mysql Ver 15.1 Distrib 10.2.12-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2 and apache2. and I am following this article from digitalOcean,…
Fil
  • 8,225
  • 14
  • 59
  • 85
17
votes
6 answers

Android SDK Ubuntu default path

I am trying to build my Android app in Unity on Ubuntu, but cannot find Android SDK. What is Android SDK default path on Ubuntu?
Alina
  • 424
  • 1
  • 4
  • 17
17
votes
6 answers

error: illegal character: '\ufeff' in java

Got this error when compiled java code in ubuntu. ![Got this error][1] error: illegal character: '\ufeff' import java.net.*; ^ error: class, interface, or enum expected import java.net.*; ^
Saurabh Vemuri
  • 181
  • 1
  • 1
  • 6
17
votes
5 answers

How to disable Transparent Huge Pages (THP) in Ubuntu 16.04LTS

I am setting up an ambari cluster with 3 virtualbox VMs running Ubuntu 16.04LTS. However I get the below warning: The following hosts have Transparent Huge Pages (THP) enabled. THP should be disabled to avoid potential Hadoop performance…
thanuja
  • 546
  • 1
  • 8
  • 22
17
votes
3 answers

keep the nginx logs of the last 30 days

I want to keep the nginx logs of the lsat 30 days. The default configuration is 15 days, as the image shows. I would like to keep the last 30 days instead. Here are the looging settings of nginx: ## # Logging Settings ## …
Chuck Aguilar
  • 1,998
  • 1
  • 27
  • 50
17
votes
7 answers

Why only outdated version of NPM is available on Debian/Ubuntu?

I'm using a Debian/Ubuntu based distribution (specifically, AWS Ubuntu 16.04) and trying to install NPM through apt-get. My Angular 2 application needs a higher version than 3.9.x of NPM, but the default version which is getting installed is 3.5.2…
Raj Bhatia
  • 1,049
  • 4
  • 18
  • 37
17
votes
2 answers

Pythonsetuptools pkg_resources pip wheel failed with error code 1 [Error]

I got the following error while creating virtual environment on ubuntu 16.04. OSError: Command /home/ubuntu/.virtua...skdeploy/bin/python2 - setuptools pkg_resources pip wheel failed with error code 1
CodeNinja101
  • 1,091
  • 4
  • 11
  • 19
17
votes
3 answers

Unified Memory profiling failed

I am trying to profile cuda code on Ubuntu 16.04 having Cuda 8.0 but it is returning "Unable to profile application. Unified Memory profiling failed". I tried profiling from terminal and also from Nisght Eclipe. Code is compiling and running but not…
newbie
  • 443
  • 1
  • 4
  • 14