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
6 votes
2 answers
5k views

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 ...
3 votes
1 answer
5k views

Why is Apache creating so many internal dummy connections? CPU usage issues affecting server performance

Trying to get on top of some CPU usage issues and investigate possible malicious activity. As part of this I am curious about lots of dummy connections in the Apache logs. What is the origin of these ...
1 vote
1 answer
5k views

How to properly add syslog to observium server?

I have an Ubuntu server 16.04 where I've installed observium to monitor the server itself and this part is working fine, I can see the event logs. After that I have followed instructions on how to ...
1 vote
3 answers
4k views

Metric client health check failed: the server is currently unable to handle the request (get services heapster)

I am new to Kubernetes and is trying to deploy one master and 2 nodes. I completed the installation in master and the pods are running. kubectl get pods --all-namespaces NAMESPACE NAME ...
0 votes
3 answers
9k views

Resolv.conf reset automatically after reboot to the wrong dns

With my ubuntu 16.04, my /etc/resolv.conf change every system start cat /etc/resolv.conf nameserver 127.0.0.1 Network-manager have the correct dns name server 192.168.1.1 I removed bind9 and all ...
0 votes
2 answers
851 views

Setting up multi websites using different ports with ubuntu 16.04 and nginx

I'm trying to set up multi websites with different ports but same domain. i.e. domain.com, domain.com:81, domain.com:82 Below is the my nginx configuration, /etc/nginx/sites-enabled/magento225 and ...
3 votes
1 answer
16k views

How to reduce latency with Nginx RTMP streaming server

My Virtual Server is configured with 3GB memory, and 1 core. I'm playing the following mp4 file Sample MP4 Video File through my NGINX RTMP server, as small.mp4. I'm experiencing a latency issue. ...
1 vote
1 answer
5k views

Openstack can't connect to instance via Horizon console

I installed Openstack on a machine with Ubuntu Server 16.04 and almost everything works fine, but when I try to connect to the Horizon console of the instance I get the error: Unable to load console....
2 votes
2 answers
10k views

snmpget error: “No Such Object available on this agent at this OID”

I want to create my own MIB. I'm struggling on this from couple of weeks. I followed this tutorial and using net-snmp 5.7.3. What I'm doing is: My setup: I have two VM's, both Ubuntu 16, one is ...
16 votes
5 answers
15k views

OpenVPN for certain IPs, eth0 for everything else

Summary: I'd like to connect to my VPN and have access to certain servers, but for all other traffic I'd like to use my regular networking. I've setup an OpenVPN server on my VPS, my server.conf file ...
3 votes
2 answers
6k views

Navicat failed to connect to server over ssh tunnel on ubuntu 16.04

I'm trying to connect my database in my ec2 instance running on Ubuntu 16.04 with Navicat. But it keeps coming with SSH: expected key exchange group packet from server. I have another instance running ...
2 votes
1 answer
3k views

VSFTPD not behaving in command line, but fine in GUI (Filezilla)

I'm trying to use VSFTP 3.0.3-3ubuntu2 on an Ubuntu 16:04.1 install. I have done this so that an application on another server can run an automated script to pull files from the FTP server triggered ...
2 votes
1 answer
4k views

PostgreSQL Service status Active(Exited) but I am able to connect

I have installed PostgreSQL (9.5) on a new Ubuntu (16.04) VM on GCD. THe status of service is active(exited). The output of sudo systemctl status postgresql is: ● postgresql.service - PostgreSQL ...
1 vote
2 answers
4k views

runit does not start a service

I installed runit-2.1.2 on my ubuntu box, And, I Created very simple streaming service as below, mkdir -p /etc/sv/streaming/ echo 'echo "streaming" >> /var/log/streaming.log' > /etc/sv/...
0 votes
0 answers
30 views

Bind: Zone not loaded due to errors, all FQDNs properly marked

After an update, our intranet manual stopped working, and we get an error about our zone file when we run named-checkzone that says "intranet.dsi.local has no address records (A or AAAA)" ...
2 votes
1 answer
38k views

Apache says "Forbidden You don't have permission to access this resource." to a specific domain

I have a server on AWS which serves a number of websites. Webmin is also installed. In Apache, when I try to create a website, say ferrari.example.com, I get the error Forbidden. You don't have ...
1 vote
2 answers
474 views

How do I use apt-get to install one update at a time?

I have inherited 15 servers running Ubuntu 16.04 and need to install security updates on them all. I have been told by my manager to install them one at a time and then test the system to make sure ...
0 votes
1 answer
4k views

Unable to connect to port 993 for IMAP on Ubuntu server with Postfix/Dovecot/MySQL

Ubuntu 16.04.5 Apache2 MySQL Postfix w/MySQL Dovecot SASL2 UFW I am trying to install a working mail server and client on this machine. I followed this tutorial which allows authentication through ...
1 vote
1 answer
6k views

Why is /run/nginx.pid disappearing? simply disappears from the system everyday?

IMPORTANT NOTE: I no longer need to restart the servers(my 3 VPS!) to have the pid file back in the dir /run/nginx.pid I just typed the command: sudo fuser -k 443 / tcp && service nginx start ...
0 votes
0 answers
32 views

Unexpected ubuntu server down

I am using an Ubuntu Server 16.04LTS running ISP config that is hosted an VMware ESXi I experienced an unexpected shutdown issue, and I'm trying to identify the source. Upon checking the logs, I was ...
1 vote
1 answer
4k views

unable to connect to an openVPN server from a windows client

I set up an openVPN server and it is functional from android devices and linux desktops. However I have a client that is able to connect using the my.ovpn I provided from an android device but when he ...
0 votes
0 answers
80 views

iptables: No chain/target/match by that name. Ubuntu 16-04 (WSL2)

I know, there are many questions with this topic, but none of them helps me. After I run sudo iptables -w -t nat -A PREROUTING -s 100.64.0.8 -j CONNMARK --set-mark 25119 I get iptables: No chain/...
45 votes
3 answers
43k views

How to allow a user to use journalctl to see user-specific systemd service logs?

I am running user-level services in Ubuntu 16.04 LTS. For example, I have my test.service located at ~/.config/systemd/user/test.service. I was able to run the service by doing systemctl --user start ...
1 vote
1 answer
5k views

Routing to subdirectory as new route with nGinx

Here is my current server block (below). I have a separate wordpress blog installed on /blog and need to route /blog to the directory "/home/forge/example.com/public/blog". I've tried a few options ...
10 votes
6 answers
4k views

Options for performance improvements on very big Filesystems and high IOWAIT

I have a Ubuntu 16.04 Backup Server with 8x10TB HDD via a SATA 3.0 Backplane. The 8 Harddisks are assembled to a RAID6, an EXT4 Filesystem is in use. This Filesystem stores a huge amount of small ...
1 vote
1 answer
9k views

No route to host on port 80 but port is open

I am trying to make my nginx "status" page from machine A (Ubuntu 16.04) available from machine B (Ubuntu 20.04), but I am getting error port 80: No route to host when trying to access the ...
1 vote
2 answers
1k views

Nginx Maintenance Mode configuration

How can i turn on maintenance mode on nginx, I am hosting multiple Angular apps with Nginx. All of them run in their own containers. Maintenance page is located at /var/www/maintenance/. My current ...
10 votes
7 answers
9k views

Start service after AWS user-data has run

I am building an AMI based off of an Ubuntu 16.04 AMI. When I start an instance from my AMI, I would like to pass in a user-data script that runs before the service start up on the AMI. It looks ...
3 votes
1 answer
7k views

Apache SSL Handshake Slow

I am running an Apache 2.4.18 server running under Ubuntu 16.04.1 LTS, only with PHP 7 and Exim 4 installed. In the early morning the SSL handshake is extremely fast, about 200ms, but as time passes ...
0 votes
3 answers
1k views

Cannot enable MySQL bin log

I have a MySQL 5.7.22 server that I'm having a problem enabling the bin log for. As far as I can tell from my reading, I have the proper configuration to enable bin logs, but they're never created ...
3 votes
1 answer
26k views

SSHd does not allow publickey authentication due to libcrypto bug

I can not login to my server with public key. Server details: Ubuntu Server 16.04LTS SSHd: OpenSSH_7.2p2 Ubuntu-4ubuntu2.4, OpenSSL 1.0.2g 1 Mar 2016 My public key is added to /home/user/.ssh/...
1 vote
2 answers
11k views

Can I install php8.0 on Ubutnu 16.04

I'm trying to install php8 on Ubuntu 16.04.5 LTS. Here is the list of commands and output that I ran: apt-get update apt install software-properties-common --- these commands went fine when ran add-...
3 votes
3 answers
2k views

Let's encrypt certificate and NGINX - Cannot find a cert or key directive

My server runs on a LEMP Stack Ubuntu 16.04 and last version of nginx I already have a SSL certificate installed on my server for the following domains and subdomains : example.com, domain1.example....
1 vote
1 answer
3k views

Getting error in curl command(curl: (35) error reading X.509 potentially-encrypted key file: Error in parsing.)

I am using below command curl --insecure --cert 'cert.p12:password' -X GET https://serverUrl -H 'Content-Type: application/json' curl --insecure --cert-type P12 --cert 'cert.p12:password' ...
0 votes
1 answer
3k views

SSSD fails to enumerate secondary Active Directory groups, "No tokenGroups entries for [user]"

I've been trying to setup Active Directory integration on my ubuntu 16.04 host using Realmd/SSSD (SSSD version 1.13.4). I can login to the box as an AD user, and enumerating groups works with the ...
0 votes
0 answers
55 views

How do I properly remove a staging subdomain that's no longer needed?

I have a WordPress Multisite configuration on an Apache/2.4.46 (Ubuntu) server. I make staging sites using a subdomain of the main domain, then when that staging site is ready to be 'live' and uses ...
0 votes
3 answers
3k views

ufw not enabled on boot

OS is Trisquel 8.0 (Ubuntu 16.04 LTS derived), kernel 4.4.0-131-generic I've reached the hair-tearing stage with ufw, which refuses to start up properly on system start. Have tried: Editing /etc/ufw/...
0 votes
1 answer
3k views

Logging the output of a long command to a file in Ubuntu

I am using Ubunutu. I simply want to create a postgre dump. So I am using the following command: sudo -u wap PGPASSWORD="postgres" pg_dump -h localhost -U postgres -d n26n -n public -FC -f /tmp/...
0 votes
1 answer
2k views

NodeJS ExpressJS Networking Domain on Apache WebServer

I come from the LAMP world so I am a bit confused on how to serve an ExpressJS application from my webserver. I have multiple Apache virtualhosts that all point to various directories and specify ...
29 votes
2 answers
73k views

nginx: [emerg] "stream" directive is not allowed here

I have the latest NGINX from ppa installed on Ubuntu 16.04. nginx version: nginx/1.12.1 From my understanding, it should support stream and UDP load balancing. But I get this error message: ...
3 votes
1 answer
4k views

Can't install mysql-server on fresh Ubuntu 16.04

TLDR Installing mysql-server-5.7 fails at Renaming removed key_buffer and myisam-recover options (if present) Question 1: How do I fix the issue described below? Question 2: Why does it occur? ...
3 votes
2 answers
2k views

RTC time is going totally wrong after a few minutes (Ubuntu 16.04 + Hyper-V)

My RTC time on my Ubuntu 16.04 is going crazy. After a few minutes the RTC time is going totaly wrong. The strange thing is, if I disable NTP Service (timedatectl set-ntp false and service ntp stop) ...
1 vote
1 answer
2k views

Disabling Apache client certificate validation on a specific page

I've setup client certificate validation in apache and it's working just fine. However I'd like to disable the client certificate validation on specific page. Here's the config I use so far : # ...
1 vote
1 answer
401 views

Make gnutls-cli print local root certificate as well as server-provided certificates

I'm diagnosing a TLS certificate verification problem in Ubuntu Xenial that resulted from the recent Let's Encrypt root certificate expiration. The problem happens in cURL which uses GnuTLS under the ...
0 votes
1 answer
2k views

Apache server-status is stuck in redirect loop

I am using Linux in Azure ( Ubuntu 16.04.06 LTS ) and I am trying to enable Apache status. However, after I enable the status module, when I go to http://localhost/server-status I get an error $ ...
2 votes
2 answers
1k views

Convert htaccess to Nginx rewrite rules

I need to convert a .htaccess redirect to Nginx conf. Here is the .htaccess Redirect 301 /wp-content/plugins/zendesk-for-woocommerce/api/redirect-test1.html /wp-content/plugins/zendesk-for-...
0 votes
1 answer
2k views

Samba using homes share with an encrypted directory

Originally Posted on SuperUser but realized it should be posted here. I have a Samba fileserver that I set up to access my files over a VPN connection to my house. I configured my VPN client to ...
3 votes
1 answer
2k views

Ubuntu 16.04 server is listening but not accepting incoming requests

I recently upgraded my server from Ubuntu 14.04 to 16.04. The upgrade seemed successful (so I'm not sure if it's related) but about a week in I restarted the host and it now will not accept remote ...
2 votes
1 answer
2k views

LDAP TLS Error with letsencrypt

I currently have a stack of iRedMail installed,and one of the services is an OpenLDAP 2.4 version,which I am unable to configure properly for a certificate other than iRedMail which is stored on /etc/...
2 votes
1 answer
2k views

How can I restart a server and connect it to an existing cluster?

I have three Nginx servers + php7 + memcache + Cluster Galera + Mariadb + Monit. Everything works and all three are connected. But if I now want to edit the my.cnf file to play the utilized RAM or ...

1
2 3 4 5
19