Questions tagged [ubuntu-16.04]

Ubuntu 16.04 - named "Xenial Xerus" - is a Long Term Support (LTS) release of Ubuntu Linux. Officially released on April 21, 2016, it was supported for 5 years. Extended Security Maintenance subscriptions are offered by Canonical until April 2024. Only use this tag if your question is version-specific.

Ubuntu 16.04 - named "Xenial Xerus" - is a Long Term Support (LTS) release of Ubuntu Linux. Officially released on April 21, 2016, it will be supported for 5 years for Ubuntu Desktop, Ubuntu Server, Ubuntu Core, and Ubuntu Kylin. Only use this tag if your question is version-specific. Note that the Ask Ubuntu site is specifically dedicated to Ubuntu questions.

949 questions
6
votes
0 answers

How to limit bandwidth per VPN connection?

I have a StrongSwan (IKEv2) server setup and would like to limit each VPN connection to 512kb/s. After researching I came across tc in Ubuntu. I don't quite understand it and am fighting through the manual pages. DEV=eth0 tc qdisc del dev $DEV…
Houman
  • 1,325
  • 3
  • 18
  • 30
6
votes
4 answers

500 internal server - AH02429: Response header name

OS Ubuntu Ubuntu 16.04.2 LTS Apache/2.4.18 Perl v5.22.1 So I have perl code that reads a mysql database, and then creates a dynamic webpage. The code's been working great for years. A week ago, my client calls and says they are getting a 500…
user3640899
  • 61
  • 1
  • 1
  • 2
6
votes
4 answers

Non-interactive (silent) install of MySQL 5.7 on Ubuntu 16.04 LTS

MySQL 5.7 (5.6+ actually) changed how mysql_secure_installation works. This made it hard to find a working, silent, scripted install for Ubuntu 16.04 LTS. How would you install MySQL securely in a scripted noninteractive way?
Michael Johansen
  • 223
  • 1
  • 2
  • 12
5
votes
1 answer

How to determine the cause of stuck `D` status processes?

I have several processes stuck on uninterruptible sleep statuses, all seemingly stemming from auplink /var/lib/docker/aufs/mnt. It's something docker related and it's waiting on an I/O that will never complete -- I get that, but how do I determine…
l46kok
  • 127
  • 2
  • 14
5
votes
0 answers

How to get /64 as prefix length when using DHCPv6 and radvd?

For our networking course we were asked to set up a DHCPv6 server in a virtual machine. I choose to work on a virtual machine(on VMware) running Ubuntu Desktop 16.04 and Lubuntu 14.04 as test client with network adapters set for a specific LAN. I…
Jugurtha
  • 51
  • 4
5
votes
2 answers

Getting Ubuntu 16.04 on a ZFS root on a Hetzner dedicated server

By now, it's well possible to get Ubuntu 16.04 running on a ZFS root-fs. Ubuntu 16.04 has ZFS in the default package manager, and with guides like this, it's not hard to get started. However, all guides I've seen require being able to boot from a…
TinkerTank
  • 279
  • 2
  • 7
5
votes
0 answers

`ls` command hangs indefinitely in some directory in an azure File Storage share

I have an azure File Storage share mounted in a Ubuntu 16.04 VM following this how-to. Everything seems to work fine. So I run some process that produces a lot of data, e.g. 10k files for each run, collect them into a directory for each run, and…
petrux
  • 151
  • 5
5
votes
2 answers

Ubuntu 16.04 nfs-kernel-server won't start

After a system reboot, nfs-kernel-server was inactive. When I try to start I get nfs-server.service: Job nfs-server.service/start failed with result 'dependency'. which is echoed in journalctl -xe. I am using Ubuntu 16.04.2. Tried a reinstall, and…
scojo5
  • 51
  • 1
  • 1
  • 5
5
votes
2 answers

How to change the drive reference in a zfs pool from /dev/sdX to /dev/disk/by-id (ata-XXXXXX)

In the example below, how can the devices in the second mirror be changed so they they reference the /dev/disk/by-id instead of /dev/sdX? user@pc:~$ sudo zpool status pool: storage state: ONLINE scan: scrub repaired 0 in 8h30m with 0 errors on…
Greg
  • 1,557
  • 5
  • 24
  • 35
5
votes
1 answer

RabbitMq Management plugin only on localhost

On RabbitMQ 3.5.7 Ubuntu 16.04. I want to implement RabbitMq Management plugin only on localhost, the idea is to use a tunnel to reach the RabbitMq Management Web GUI from the computer I use to connect to my server using SSH. I found this thread…
nyluje
  • 181
  • 1
  • 7
5
votes
2 answers

MongoDB "too many files open" even after setting limits

When MongoDB starts up, I am greeted with a "too many files" error, even after editing /etc/security/limits.conf and setting the limit to unlimited. Mar 09 18:29:13 ns524052 mongod[1298]: 2017-03-09T18:29:13.199+0100 I CONTROL [initandlisten] …
inventor02
  • 53
  • 1
  • 3
5
votes
1 answer

Complete High Availability System

I'm in the process of configuring a LAMP server but want to make sure it'll be ready for expansion for the future. Here's my current setup.. Two physical windows servers clustered with Hyper-V Two virtual machines, one for Apache and another for…
royjr
  • 153
  • 4
5
votes
4 answers

I accidentally deleted /var/log/syslog, Now rsyslog Won't Log anything

I accidentally deleted /var/log/syslog, thinking that the system would automatically recreated it (it doesn't). I used touch /var/log/syslog and restarted rsyslog, but the system still isn't logging anything. I also restarted the entire server to…
Native Coder
  • 234
  • 3
  • 13
5
votes
1 answer

When does ZFS "autoreplace" take effect?

Background autoreplace is documented like the following: autoreplace=on | off Controls automatic device replacement. If set to "off", device replacement must be initiated by the administrator by using the "zpool replace" command. If set to "on",…
4
votes
2 answers

How to preserve drive device paths for AWS EC2 instance between reboots

I rebooted a m5d.xlarge EC2 instance running Ubuntu 16.04.5 LTS (xenial) using shutdown -r. Upon reboot, various drive mounts defined in /etc/fstab did not line up with the device assignments given to them initially. This caused various services to…
Alex Reynolds
  • 453
  • 2
  • 9
  • 20