As of May 31, 2023, we have updated our Code of Conduct.

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.

Filter by
Sorted by
Tagged with
14 votes
2 answers
29k views

switch apache from prefork to event in Ubuntu 16, get php 7 working

Apache was running slow in production. After searching for answers for some time, I finally went to #apache IRC channel and the pros had me check the apache mode with this command: sudo apachectl -V ...
S. Imp's user avatar
  • 516
15 votes
1 answer
37k views

Disabling rp_filter on one interface

I have an Ubuntu 16.04 Server which is acting as a router with multiple (VLAN) interfaces. By default, rp_filter (reverse path filtering) is enabled for all interfaces. I want to keep it that way, but ...
Cybran's user avatar
  • 422
1 vote
2 answers
4k views

Docker service not able to start anymore because of modprobe error

I just ran in some issues with my server running docker that I cannot fix myself. Im using Docker version 18.09.0, build 4d60db4 with Ubuntu 16.04.5 LTS. During the day I noticed, that my docker ...
Dominik Spiertz's user avatar
12 votes
3 answers
6k views

Automatically mount SSD instance storage on AWS EC2 in Ubuntu 16.04

I am using an Ubuntu 16.04 EC2 from AWS on c5d.2xlarge HW. It comes with a 200 GB SSD called /dev/nvme1n1. I am able to mount this drive using: $ sudo mkfs.ext4 -E nodiscard /dev/nvme1n1 $ sudo ...
John Corson's user avatar
11 votes
3 answers
20k views

Why is ALPN not supported by my server?

I'm currently running a Ubuntu 16.04.1 LTS server using NGINX 1.11.9 and openssl 1.0.2g. According to everything I've read, these versions should support ALPN, yet when I run a test on KeyCDN's HTTP/...
Godwin's user avatar
  • 401
11 votes
2 answers
12k views

varnish daemon not listening on configured port

I'm trying to install varnish on ubuntu 16.04, I read several article none are working. From what I read, since ubuntu 15.04, the way of configuring varnish has changed (because of systemd). Now on ...
Bruno's user avatar
  • 213
8 votes
3 answers
25k views

How to enable and use the serial terminal of a HP Microserver Gen9?

I have a HP ProLiant Microserver Gen9. It has HP ILO version 4, but the Java based Remote Console doesn't work reliably and I can't use it after the POST screen in the free version of ILO (asks me to ...
nh2's user avatar
  • 788
6 votes
1 answer
11k views

SSL_ERROR_RX_RECORD_TOO_LONG certbot

I have the following setup: Apache 2.4 Ubuntu 16.04 LTS letsencrypt / certbot Now, as soon as I enable the following .conf on the default server, all my configured top level domains receive a ...
Michael's user avatar
  • 63
6 votes
4 answers
11k views

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 ...
Michael Johansen's user avatar
5 votes
1 answer
11k views

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 ...
TtT23's user avatar
  • 127
3 votes
1 answer
3k views

Using Apache rewrite rules in .htaccess to remove .html causing a 500 error

I have written a small website (4 pages, HTML only) and I want to remove the .html extension from the URL by putting some rewrite rules in my .htaccess file, I've Googled around and found several ...
Enicli's user avatar
  • 43
3 votes
2 answers
3k views

Network interface periodically going down with speed changed to 0 kernel errors

Over the last couple of days, the bonded network interface on one of our servers has stopped responding. Looking through the kernel logs, I notice when the interface goes down, we are getting lots of ...
PicoutputCls's user avatar
2 votes
0 answers
792 views

Certbot renew running but not renewing

I've installed certbot on an Ubuntu 16.04 host using the PPA. I can see that the certbot timer is configured to run and that it's running: jaraco@punisher:~$ sudo systemctl status certbot ● certbot....
Jason R. Coombs's user avatar
2 votes
1 answer
946 views

Installing gitblit GO as service in Ubuntu Server 16.04

I got a new server with ubuntu 16.04 and installed gitblit GO. extracted it to /opt/gitblit/ created user and group glitblit gave rights to user: chown -R gitblit:gitblit /opt/gitblit called install-...
roeb's user avatar
  • 141
2 votes
2 answers
1k views

Static route in initramfs

My hosting provider unfortunately requires the use of static routes for network configuration (gateway is on a different subnet than the host IP). For that purpose I added the following lines to the ...
Alec Hans's user avatar
2 votes
2 answers
657 views

VM becomes slow after some days of runtime with 48 GB of RAM, not with 6 GB

I'm dealing with a problem for some weeks now which results in a very slow VM-guest after the VM ran for some days. "slow" means that CPU-bound operations take more time than before and as well that ...
Thorsten Schöning's user avatar
2 votes
1 answer
4k views

VPN server using StrongSwan "no matching peer config found" - what does it mean?

I have an AWS server running Ubuntu that has a pptpd server for VPNs, and many clients with different credentials. It works great. But apparently I'm not supposed to be using that any more, I'm ...
Matthew Exon's user avatar
2 votes
1 answer
4k views

Various "Config variables" not defined, Apache 2.4.18

I have been setting up a blog/cloud server on Ubuntu 16.04 with Apache 2.4.18 and after rebooting my machine, came across this error. [Wed Aug 03 01:04:41.468928 2016] [core:warn] [pid 3191] AH00111: ...
alexrocksdude's user avatar
2 votes
2 answers
12k views

Apache failes to start, already running but not maching pid file?

Whenever I try to start/restart my apache2 service using systemctl I get an error about it already running but not maching my pid file. ● apache2.service - LSB: Apache2 web server Loaded: loaded (...
waspinator's user avatar
1 vote
0 answers
441 views

mysql_secure_installation on Ubuntu 16.04 doesn't set the root pass

I'm upgrading a few mysql (MariaDB) hosts from Ubuntu 14.04 to 16.04 and noticed mysql_secure_installation doesn't seem to set a root password on the DB, even though it prompted me for it. I changed ...
Server Fault's user avatar
  • 3,624
1 vote
1 answer
4k views

Apache2 Virtual Host auto redirects to https

I have ubuntu 16.04, I have setup virtual host in apache2 mysite.dev in file /etc/apache2/sites-available/mysite.conf <VirtualHost *:80> ServerName mysite.dev ServerAlias *....
riksof-zeeshan's user avatar
1 vote
2 answers
4k views

PHP-FPM status is empty

I set up pm.status_path = /status option: ubuntu:~$ cat /etc/php/7.1/fpm/pool.d/www.conf | egrep 'listen|status' listen = /run/php/php7.1-fpm.sock listen.owner = www-data listen.group = www-data pm....
Dmitry's user avatar
  • 179
1 vote
2 answers
5k views

Trying to confirm is php7.0-fpm is working with apache on Ubuntu 16.04

I configured php7.0-fpm to work with apache on Ubuntu 16.04 but not sure if it is correctly configured and working. As I understand, after installation and configuration, the output of php info file ...
Ash's user avatar
  • 11
1 vote
0 answers
454 views

SSH to a non default port times out over Android hotspot connection

I'm trying to connect to a remote Ubuntu machine using ssh protocol. My local OS is Ubuntu 16.04 and the remote OS is 18.04. My local machine is connected to my Android 5 over shared hotspot ...
Yoones Mehdian's user avatar
1 vote
1 answer
381 views

Replacing root filesystem with EC2 snapshot

This documentation describes "Restoring an Amazon EBS Volume from a Snapshot". Having done that this documentation explains "Making an Amazon EBS Volume Available for Use on Linux" What I'd now ...
glaucon's user avatar
  • 253
1 vote
1 answer
28k views

SSH error: ssh_dispatch_run_fatal: Connection to 192.168.x.x port 22: DH GEX group out of range

I have a problem with SSH. I can not ssh into a server because of DH GEX group out of range My ssh version: OpenSSH_7.2p2 Ubuntu-4ubuntu2.4, OpenSSL 1.0.2g 1 Mar 2016 I tried to ssh into a ...
Cons's user avatar
  • 13
1 vote
1 answer
185 views

Why does my VM become slower during CPU-heavy tasks after some days of runtime?

I'm dealing with some strange problem for some time now: After some days of runtime, one of my VMs seems to become slower on CPU-heavy tasks. One example were this happens is reading virus signature ...
Thorsten Schöning's user avatar
1 vote
2 answers
585 views

Whats is the best user to manage webserver? [duplicate]

In Apache webserver I have user www-data, and all files in /var/www are owned by www-data. Isn't that for security? Sometimes I need to upload files via FTP to /var/www/*, but with my own user I don't ...
mbuhasu's user avatar
  • 21
1 vote
4 answers
2k views

apt-get not working with iptables

I installed iptables and configured to my needs. The problem is that apt-get is not working anymore. Here are my Iptables (iptables -L -n): Chain INPUT (policy DROP) target prot opt source ...
nablahero's user avatar
1 vote
1 answer
14k views

How to monitor services with SNMP?

I want to monitor the status of several services via SNMP. The manpage says: proc NAME [MAX [MIN]] monitors the number of processes called NAME (as reported by "/bin/ps -e") running on ...
Sethos II's user avatar
  • 507
1 vote
2 answers
6k views

Ubuntu Postfix: Mail loops back to myself and host greeted me with my own hostname

my main.cf: smtpd_banner = $myhostname ESMTP biff = no append_dot_mydomain = no readme_directory = no smtpd_use_tls = yes smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache ...
NeonNuke's user avatar
0 votes
3 answers
434 views

Why can't systemd find service files within a BTRFS subvolume within a BTRFS root file system?

I've installed Ubuntu 16.04 LTS Server using BTRFS and got the following setup according /etc/fstab: # <file system> <mount point> <type> <options> <dump> <pass&...
Thorsten Schöning's user avatar
0 votes
2 answers
834 views

Use non default route as non privileged user

On Ubuntu 16.04, the default route for IPv4 is an interface other than eth0. If I try to curl -vvv --interface eth0 v4.ifconfig.co I get * SO_BINDTODEVICE eth0 failed with errno 1: Operation not ...
Gaia's user avatar
  • 1,857
0 votes
1 answer
3k views

Ubuntu versions and using apt-get for SNMP mib downloader

I am running Ubuntu 16.04.5 LTS, which I believe slightly pre-dates a fix to some issues with the SNMP MIBs installed by the snmp-mibs-downloader. I'm trying to understand whether I can use apt-get to ...
djna's user avatar
  • 295
0 votes
1 answer
81 views

How to get SSL on a service?

I'm building a website which uses a routing (as in street nav) service which I'm running on a seperate server on port 8002 (running ubuntu 16.04). (Github link to the router project) The website ...
Kenneth Breugelmans's user avatar
0 votes
0 answers
2k views

Emails bouncing - 454 TLS not available due to temporary reason

I'm trying to work out why I've started getting emails bounced back to me: Delivery incomplete There was a temporary problem while delivering your message to mail@educationusingpowerpoint.co.uk. ...
Andrew Newby's user avatar
  • 1,102
-1 votes
1 answer
6k views

WordPress does not execute PHP file

my main WordPress page shows: <?php /** * Front to the WordPress application. This file doesn't do anything, but loads * wp-blog-header.php which does and tells WordPress to load the theme. * *...
Amzoddin's user avatar