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
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/...
8 votes
2 answers
16k views

What does ALPN, server did not agree to a protocol mean?

I see this quite regularly when using various calls in curl. I'm not sure if its the root cause to some of my returns resulting in error 400 but as a newbie just curious more than anything.
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 ...
2 votes
3 answers
791 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 ...
16 votes
1 answer
22k views

"Excess arguments." while doing "systemd daemon-reload" during MongoDB configuration

I am following the instruction mentioned in : To install and configure the basic elements for MongoDB in Ubuntu. During "Configure MongoDB username and password", on phase 4 "Step 4 - Enable mongodb ...
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 ...
8 votes
0 answers
1k views

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 ...
51 votes
5 answers
54k 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
11k 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
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 ...
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 ...
0 votes
3 answers
10k 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 ...
3 votes
1 answer
18k 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. ...
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 ...
1 vote
1 answer
6k 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
12k 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 ...
0 votes
1 answer
87 views

Ubuntu system logs written to ".log.1" instead of ".log" after rotation

I have an EC2 instance on AWS with Ubuntu 16.04.4 LTS where system logs are written into ".log.1" instead of ".log" (e.g. /var/log/auth.log.1 instead of /var/log/auth.log). This is ...
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 ...
1 vote
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 ...
2 votes
1 answer
41k 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 ...
2 votes
2 answers
1k views

mdadm assemble ignoring --force? Raid10 minimal difference in 'Actions' between Harddisks

My server Is runnIng a 4 dIsk software raId 10 based on mdadm. EarlIer today a small power outage shut down the server and now It only boots to the InItrd emergency system (ubuntu 16.04), complaInIng ...
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 ...
1 vote
2 answers
193 views

How do I make sure that all security updates applied to Apache 2.4.18 on Ubuntu 16.04.7 LTS with ESM support included?

Here's the partial answer to my question: How to patch Apache 2.4.18 on Ubuntu 16.04 LTS? and here: Will Ubuntu 16.04.6 updates ever include a version of Apache newer than 2.4.18? My Apache version ...
1 vote
0 answers
1k views

auth.log errors: kex_exchange_identification: banner line contains invalid characters

I have the auth log with thousands of: error: kex_exchange_identification: banner line contains invalid characters I can't find which process is causing this. How can I troubleshoot it? Using: Ubuntu ...
4 votes
2 answers
19k views

PHP-FPM creating too many proccesses & eating all the CPU

This is an urgent question. My AWS instance with 4GB RAM and 2vCPU is getting exhausted by too many php-fpm processes. PHP-FPM starts creating too many processes which it didn't do earlier. This ...
14 votes
1 answer
16k views

What does locking a password using `passwd -l` mean?

It is possible to lock a password using $ passwd -l john But what does that actually mean to lock a password?
2 votes
1 answer
4k 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 ...
1 vote
3 answers
21k views

What is initial mysql root password in zabbix_server_mysql?

I followed the instruction to install zabbix_server_mysql 3.2 in Ubuntu16. wget http://repo.zabbix.com/zabbix/3.2/ubuntu/pool/main/z/zabbix-release/zabbix-release_3.2-1+xenial_all.deb dpkg -i zabbix-...
2 votes
1 answer
596 views

SQL Server on Linux password complexity policy

From what I can make out from Google, SQL Server on Windows uses the system password complexity policy. I'm creating users on an SQL Server for Linux instance which is not tied to a domain, using ...
7 votes
3 answers
104k views

Error when running docker build on any dockerfile: "unable to prepare context: unable to evaluate symlinks in Dockerfile path"

I'm running : $ docker build -t somefile . Every time I run that I get this error: unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat The full error is: unable to ...
4 votes
3 answers
1k views

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 ...
9 votes
2 answers
6k 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
8k 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 ...
0 votes
2 answers
1k 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 ...
16 votes
5 answers
17k 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 ...
0 votes
0 answers
52 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)" ...
0 votes
0 answers
55 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 ...
0 votes
0 answers
238 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/...
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
2 answers
3k 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
12k 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
2k 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
28k 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
15k 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
3k 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
4k 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
3 answers
4k 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/...

1
2 3 4 5
19