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.
947
questions
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
2
answers
194
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 ...
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/...
0
votes
0
answers
203
views
Cannot Ping Primary interface after configuring second INT on AWS
I have an Amazon EC2 Instance running Ubuntu server 16.04
I want the EC2 to have two network interfaces. After configuring the secondary interface. I cannot ping my primary interface from my other ...
1
vote
1
answer
2k
views
Nginx more_set_input_headers throwing an error
i am running Ubuntu 16.04.2 LTS. i am trying to upgrade my Nginix from nginx/1.10.3 to nginx/1.21.0.
when i run the upgrade and test the configuration file i get the below error
root@myserver:/home/...
0
votes
1
answer
495
views
Ubuntu 16.04. Rebooted no logs [closed]
My server which was up since last 6 months got rebooted today. Unable to know the reason so far. Checked the following...
last reboot shows "reboot system boot 4.14.0-generic"
/var/log/...
0
votes
1
answer
176
views
Naemon still sending DOWN notifications for removed host
I shutdown an old web server, and immediately started receiving DOWN notifications from Naemon.
Now I have removed that host entirely from the Naemon config, and restarted the Naemon service. Yet I ...
0
votes
0
answers
349
views
How do I fix issue with renewing my certbot certificates on ubuntu
I am trying to renew my certbot certificates running the command
cerbot renew
and I get this error
2021-12-02 10:46:30,686:INFO:certbot.plugins.selection:Plugins selected: Authenticator nginx, ...
1
vote
0
answers
128
views
Check script running by Apache by PID
Via HTOP I detect some Apache scripts running (www-data /usr/sbin/apache2 -k start) for a long time, or even using a lot of CPU.
In some cases these scripts are the cause of database congestion and/or ...
1
vote
1
answer
786
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 ...
1
vote
0
answers
909
views
Ubuntu Server Syslog is cluttered with apparmor="DENIED" operation="open" profile="snap.net-snmp.snmpd"
Is there anything to worry?
If not, how to stop these logs?
audit_printk_skb: 39 callbacks suppressed
Sep 27 06:27:02 Servername kernel: [7575458.811518] audit: type=1400 audit(1632713222.554:17386376)...
0
votes
0
answers
221
views
blacklisting download from sftp for a single user
I need to create a user that can use ssh, but not download files through sftp.
I've googled a lot, and had try a lot of configurations, but none of them work.
So I think the only way to do it, it's ...
0
votes
0
answers
421
views
route two interfaces that has ip of two different subnet
Yes I know it's a duplicate of many questions but I can't find my solution to them.
I have a host virtual machine (ubuntu 16.04) that has two network adapters. one of them is connected to the gateway(...
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-...
2
votes
0
answers
249
views
ipsec duplicate policies: allow and block
I'm trying to set up u IPsec connection between two virtual machines using Strongswan. The configuration on my first machine is the following (ipsec.conf):
conn %default
ikelifetime=60m
...
1
vote
1
answer
1k
views
DNS bind9 server failure after forwarding
I'm setting up a dns server in a vm with Ubuntu 18.06 for school and I encounter strange behaviour when forwarding a request which my server is not authoritative for. My server asks the dns server in ...
0
votes
0
answers
316
views
iptables-restore fails in GKE with error: iptables-restore v1.6.0: Bad IP address ""
GKE Cluster:
Get into a pod (kubectl exec -ti ha-77lgb bash).
root@gke-ha-pool-1-10438716-b5wj:/home# iptables-save > /tmp/iptables-save.txt
root@gke-ha-pool-1-10438716-b5wj:/home# iptables-...
0
votes
1
answer
1k
views
Why is sendmail only logging internal messages to /var/log/mail?
I'm pretty sure that in the past my sendmail (triggered from PHP) was logging messages sent from PHP to the MTA and also MTA to the recipient. Although emails are received by the recipient and I can ...
0
votes
1
answer
214
views
How to use 1 ip to receive connections, and another to establish connections
I have a VPS with 2 usable IP addresses. I would like to use one of them to receive connections on, and use the other when the server is establishing a connection. So if the starter of the connection ...
0
votes
1
answer
867
views
Ubuntu set hostname via hostnamectl with multiple virtual hosts
I would like to set the hostname of my Ubuntu 16.04 to a FQDN, as I plan to install Postfix server. However I have multiple domains hosted in the web server via Apache2 virtual hosts. For example:
...
1
vote
0
answers
319
views
Apache2 stopped working after upgrade to v2.4 ((38)Function not implemented: AH00141)
I was happily running apache2 and mysql on a Ubuntu 16.04 server with no problems, but yesterday I noticed that there were a bunch of updates available and I installed them using apt-get.
One of the ...
1
vote
0
answers
392
views
How to troubleshoot a systemd timer on Ubuntu 16.04 that won't re-schedule every minute as expected?
I have an existing systemctl target that was originally (by default installation) scheduled to run everyday, almost continuosly with just a pause of 30 seconds between the end and beginning of each ...
0
votes
0
answers
36
views
/etc/ directory overwritten by mistake in Ubuntu
I've a running (installed fresh) Ubuntu 16 server. By mistake I've overwritten /etc/ directory with old backup of earlier server. As of now all seems to be working fine, unless some server(Postfix, ...
0
votes
1
answer
68
views
Why am I no longer able to reconnect to remote server
I worked fine on a remote server (ubuntu-16.04), and when I ran the command from https://github.com/ubuntu/microk8s/issues/408 to fix a bridging problem in microk8s (kubernetes) I fell into a bigger ...
0
votes
0
answers
87
views
Websocket connection delay from Mobile App to Ubuntu 16
I've customers with Android mobiles with my app which forwards selective SMS to a Nodejs based Websocket server on Ubuntu 16.
I've two set of customers and another similar Ubuntu 14 with similar app ...
0
votes
0
answers
670
views
Dell server with NIC that won't show link up
I have a dell server (PowerEdge R330) and I have just tried to liven up the second on board NIC. idrac says it is connected as does poking into the lifecycle setup on boot but ethtool says it isn't ...
0
votes
1
answer
1k
views
SFTP hangs when listing a large directory from a Windows Server 2012R2 VM
I have two machines on the same ethernet network segment:
VM running Windows Server 2012R2 [sftp client]
Physical server running Ubuntu 16.04.7 LTS [sftp server running openssh-server 1:7.2p2-...
1
vote
0
answers
184
views
ODOO 10 Page wasn't loaded completely
Since a few days I can't access my ODOO instance from the external network. The home page doesn't load completely if I use a public IP address, only the logo loads. I searched in google and I found ...
1
vote
0
answers
250
views
Daily cron running, But can't find file
I wrote simple shell script for backup mysql and send it to my email few months ago, It works very well even now, I can get packed sql file on my mailbox everyday.
Today I am going to change mail ...
0
votes
2
answers
2k
views
ufw blocking certain traffic on web server that ought to be allowed
In an Ubuntu 16.04 machine hosting an internet-facing web application, my /var/log/syslog is being flooded by messages of the sort:
Jan 9 17:41:50 ip-172-31-11-100 kernel: [483324.699896] [UFW BLOCK] ...
0
votes
0
answers
218
views
Why apache2 ocuppied too many memory and took a long time to release the memory?
I have installed ubuntu 16.04 with 16GB Memory and 8 CPU. When I start an apache program, it occupied lots of Memory and took long time to release.
For example, start the program first time, the ...
1
vote
0
answers
183
views
EC2 cannot access to EFS
Our website has mounted on 4 EC2 and 1 EFS. Sometimes EC2 servers cannot access to EFS. When I run commands like cd and ls, they are not responding when access is not available.
When I restart the ...
0
votes
0
answers
240
views
Set the limit of sent / received packets
My vps server provider limits me to 50,000 packets per second. After exceeding the number of packets, the link speed slows down to 1Mbit / s. Is it possible to set the ubuntu system not to exceed 50,...
-1
votes
1
answer
2k
views
Can access ssh, cannot access from browser
straight to the question, i was been provided a server by our clients with ip x.x.x.x port 2215 to access it by ssh. Therefore i upload all my website to /var/www/html folder. Because i lack of ...
0
votes
0
answers
390
views
NFS mount on housing user home shares not mounting on Ubuntu 16.04
The issue I am trying to resolve is a bit of a head-scratcher. I say that because the issue is consistently inconsistent and not happening on all of the Ubuntu 16.04 VMs that are hosted in our ESXi ...
0
votes
0
answers
1k
views
Apache status "150 requests currently being processed, 0 idle workers"
My Apache Server Scoreboard Status is as shown below when the "150 requests currently being processed, 0 idle workers" condition is hit.
--Log-trace---
Apache Server Status for localhost (...
0
votes
0
answers
534
views
Apache | redirect with Self-Signed SSL Certificate not working
OS: Ubuntu 16.04
I'm trying to enable a self-signed certificate for apache. I already created the certs with the following command:
sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /...
0
votes
1
answer
112
views
How to run updates on Ubuntu command line without upgrading PHP
I run an Ubuntu server on 16.04 using LAMP stack. I ran into an issue last week when updating using:
sudo apt update
Basically PHP was automatically upgraded from 7.4 to 8.0 during the upgrade &...
0
votes
0
answers
291
views
How to disable Sendgrid mail relay on Postfix
I have a Sendgrid account, and have setup Sendgrid to work with my Postfix mail server. However, I would like to disable Sendgrid as a mail relay. I followed this article to set up: https://serverok....
0
votes
0
answers
42
views
BigBlueButton getting unusaul traffic
We are running a bare-metal server which can handle 400 concurrent video conferencing users. We are using BigBlueButton application for video conferencing. It was running smoothly for the past 6 ...
1
vote
0
answers
404
views
Ubuntu 16.04 server loses default route on restart
One of my Ubuntu servers always loses its default route when restarted. I have a second server which has an almost identical set up which works fine. I am not sure when the problem started but it ...
7
votes
2
answers
2k
views
ubuntu only use 8 cpu for RX and TX queue with vmxnet3
I installed Ubuntu 16.04 on vmware esxi 6.7 with 32 core cpu for this machine. Linux only run 8 queue for tx and rx and it cant use all cpus in heavy load.
# ethtool -S ens192 | grep Queue
Tx Queue#: ...
-2
votes
1
answer
38
views
2 address on 1 server dont ping
enter image description here
ifconfig
enter image description here
interface
I have a problem, I would like to add 2 addresses to my server, but when I add it to interfaces, it shows up in ifconfig ...
0
votes
2
answers
51
views
Cleaning and upgrading legacy infrastructure
I am a fullstack engineer in a small company, and I am responsible for everything related to technology, from infrastructure, to code.
I arrived a few months ago, and quickly realised that there were ...
5
votes
1
answer
4k
views
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 ...
0
votes
1
answer
331
views
MySQL shows lot of connections
I checked my MySQL process list using "show processlist;"and it is showed nothing, But I used "show status like 'Conn%';" to check the connections and it is showed me around 9K ...
1
vote
0
answers
850
views
Trying to Install Kubernetes with Vagrant and Ansible on Ubuntu 16.04 lab
So I am trying to install Kubernetes on a lab with Vagrant and Ansible.
I am using the following documentation on Ubuntu 16.04:
https://kubernetes.io/blog/2019/03/15/kubernetes-setup-using-ansible-and-...