Questions tagged [ubuntu-20.04]
Ubuntu 20.04, named "Focal Fossa" is a Long Term Support release of Ubuntu Linux (released on April 23rd, 2020). Note that http://askubuntu.com is specifically dedicated to Ubuntu questions.
381
questions
2
votes
1
answer
17k
views
Problems with SSL: Unable to configure certificate for slaping
I have a self-hosted lubuntu server on my LAN which has some services useful for my net (a wordpress in /var/www/html, an owncloud, and a flask app). The problem is that some days ago I installed a ...
1
vote
1
answer
401
views
Why do I get an error when pinging a windows computer by HOSTNAME from Linux Unbutu 20.04?
I have a Hyper-V Linx Ubuntu 20.04 VM
I'm trying to ping a windows box in my domain via it's HOSTHAME.
I've followed some threads with this suggested fix:
sudo apt-get install libnss-winbind
I then ...
11
votes
1
answer
12k
views
After an upgrade to Ubuntu 20.04 LTS, why does mySQL not start?
After an upgrade to Ubuntu 20.04 LTS, my WordPress site is stuck in Maintenance mode. mySQL is trying to start with these same 10 lines repeating every couple of seconds in the /var/log/mysql/error....
2
votes
0
answers
106
views
PHP-FPM Upgrade Problems
We've recently upgraded to PHP-FPM from CGI. We're having issues on a Ubuntu server which just runs Apache and PHP-FPM controlling 5 or so sites. We've built a new server with a fresh install of ...
0
votes
1
answer
1k
views
Nginx: Proxy requests to external server during DNS transition
I am migrating a site to a new location with another ip address.
To smooth the transition for users and avoid as much downtime as possible, I plan to change DNS and then proxy requests from the old to ...
1
vote
1
answer
140
views
Ubuntu 20.04 packages with an "{u}" in their name
After an upgrade to Ubuntu 20.04, some packages have "{u}" in their name. I have looked for the answer, but it looks like either google is promptly ignoring the curly braces during search or ...
0
votes
1
answer
1k
views
Stop cron jobs from sending emails as root but allow sendmail to work
I've recently got Postfix working as a send only MTA relaying through Google Workspace (formerly Google G Suite). I would now like to send emails after completed cron jobs to my personal email. The ...
1
vote
0
answers
2k
views
MySQL Ubuntu doesn't start anymore after disk storage was full
MySQL Version: Ver 8.0.22-0ubuntu0.20.04.2 for Linux on x86_64 ((Ubuntu))
Today I encountered that my MySQL stopped running, all my websites are offline.
When I try to run manually I get the following ...
0
votes
1
answer
147
views
Apache to share a /mount where the web page is stored using the networked connection. This worked using xampp ugh. Now using ubuntu
So this page Where to put the web pages in /var/www/ or /var/www/html/ in apache? is similar to what I am asking. The rules wont allow me to ask joining questions to expand on that discussion. There ...
1
vote
1
answer
1k
views
Apache VHost redirect aliases to HTTPS
I'm trying to do Virtualhosts on my "playground" VPS.
I need it to redirect 3 or more domains to the main one.
Also it should redirect HTTPS, Lets Encrypt is configured and working well.
In ...
0
votes
1
answer
1k
views
How to drop dhcp ip assignated when using clevis/tang on Ubuntu 20.04
I unlock my drive with clevis/tang on an Ubuntu server (NBDE). It works fine, but even if my server is configured to use a static ip in /etc/netplan/01-netcfg.yaml, my network interface also listen on ...
1
vote
0
answers
990
views
Ubuntu Server 20.04 freeze/unresponsive, kernel BUG: Bad page state in process
Server Information:
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal
today I noticed my new Server crashed/froze. It did not accept any ssh ...
0
votes
0
answers
42
views
Pip packages updated log
A few days ago I updated all pip packages on Ubuntu 20.04 with this command:
pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U
Does exists any way to ...
1
vote
1
answer
409
views
Ubuntu 20.04 update destroyed Java/Mysql app performance
I'm working on a Java / MySQL app and test runs of batch processing were taking 3-4seconds on Ubuntu 18.04.
I made the upgrade to Ubuntu 20.04 last night, and kept the same mysql conf file, and now ...
0
votes
1
answer
1k
views
Incorrect Folder Pemissions on CIFS Mount
(I'll start by acknowledging that there are lots of questions and answers out there about mount permissions and I have tried a lot of the proposed solutions without success.)
I'm on Ubuntu 20.04 and I'...
0
votes
1
answer
1k
views
Why don't the CRS rules in ModSecurity block all threats?
I'm in the process of configuring the new Ngnix v1.18.0 server together with ModSecurity-nginx v1.0.1. I've added OWASP CRS 3.3.0 rules to the configuration. Unfortunately, I can't clearly tell if the ...
1
vote
1
answer
3k
views
How to adjust TCP Window Size?
I asked a similar question before, but I believe I was not clear with the details.
I'm basically having some problems with my server related to high latency between the server and the clients due to ...
-1
votes
1
answer
1k
views
Bind DNS configuration is not showing A record for domain
I'm new to DNS setup and followed several instructions on setting up Bind DNS. Below is my zone file:
;
$TTL 604800
@ IN SOA sandbox.svr. root.viper.sandbox.svr. (
...
3
votes
1
answer
2k
views
Apply DNS configuration to all interfaces
On Ubuntu 20.04, how can I configure DNS for all Ethernet interfaces, regardless of how they've been named? I have some machines with eth0 as the primary network interface and others with ens5. I'd ...
1
vote
0
answers
1k
views
OpenVPN with IPv4 and IPv6
I’m creating a server with OpenVPN to mask my IP address using this article from DigitalOcean.
The setup worked perfectly when I configure Redirect All Traffic Through the VPN, all my accesses on ...
0
votes
1
answer
1k
views
Error in Node.js / Ubuntu 20 server configuration: 111 Connection refused
I get these three lines of errors when I refresh my page:
2020/10/07 16:38:55 [error] 315270#315270: *7 connect() failed (111: Connection refused) while connecting to upstream, client: 66.249.66.221, ...
1
vote
0
answers
2k
views
OpenVPN sets wrong metric on TAP interface
OpenVPN client: 3.2.1(1180) (Windows 8.1 x64)
TAP1 v9 Windows - metric manually set to 1000, just in case
Realtek RTL8192CU Wireless LAN 802.11n - main network card, metric manually set to 10
OpenVPN ...
0
votes
2
answers
884
views
postfix delivery of mail to the same domain with external relay
I was looking at this answer to solve my issue but I see that I already set it.
The point is: I am running postfix to deliver mail using Gsuite. If I deliver mail to any other domain it works fine. If ...
0
votes
1
answer
3k
views
sshd_config changes in Ubuntu 20.04
I noticed in in Ubuntu 20.04 in /etc/ssh/sshd_config what appears to be the introduction of a new line on the very 1st line of sshd_config. It reads:
Include /etc/ssh/sshd_config.d/*.conf
What is ...
0
votes
1
answer
11k
views
nginx connection refused remotely but localhost connects
I have a strange problem with my Ubuntu Server 20.04 LTS
Brief Background:
I installed nginx and have been having alot of trouble with setting up letsencrypt. Attempting this with a statically served ...
5
votes
2
answers
26k
views
install libssl-dev on Ubuntu 20.04.1 (upgrade from 18.04.1) reports unmet dependecies with 1.1.1g-1+ubuntu18.04.1+deb.sury.org+1
I have upgraded from Ubuntu 18.04.1 to Ubuntu 20.04.1 (forced release upgrade), then while installing php.7-4 it was necessary to also install libssl-dev, that gave the following unmet dependencies:
...
1
vote
1
answer
2k
views
'quiet splash' breaks default Ubuntu 20.04 boot on Server version, not on Desktop
I'm aware that the internet is packed with 'quiet splash' kernel config issues regarding the boot process on several hardware sets, which generally leads to graphics issues that can be prevented with '...
0
votes
1
answer
3k
views
How to start a gnome-terminal with command from the systemd service on Ubuntu 20.04?
I wrote e service file called /etc/systemd/system/mytest.service . Then I would like to start a new terminal window with some commands that print on the new terminal console.
The file mytest.service ...
3
votes
3
answers
43k
views
Installing Jenkins on Ubuntu tells me "Package 'jenkins' has no installation candidate"
I need to install Jenkins on Ubuntu 20.4.1.
I've completed the following:
apt-get -y install openjdk-8-jdk (it's Java 14.0.1)
wget -q -O - http://pkg.jenkins-ci.org/debian-stable/jenkins-ci.org.key | ...
0
votes
1
answer
1k
views
Why is MySQL taking up all the space on my server?
I have a server with Ubuntu 20.04 LTS and MySQL 8
My system drive is normally around 11gb out of the 20gb available.
For a week my database has used everything.
Why is MySQL taking up all the space on ...
1
vote
1
answer
2k
views
xRDP fails on Ubuntu Server 20.04 in Oracle Cloud VM instance and ubuntu-desktop installed
I am running into a problem where xRDP fails to respond to any RDP requests sent to a VM instance running in OCP under Ubuntu Server 20.04 with GNOME GUI installed (via sudo tasksel install ubuntu-...
1
vote
0
answers
655
views
Docker and Kubernetes installed on Ubuntu 20.04 but I cannot get the docker container to reach outside traffic
I had an Ubuntu 20.04 server which was used for CI/CD and it was using Docker on it to build and publish images.
The resources were not that much requested so I decided to install Kubernetes on that ...
2
votes
1
answer
837
views
Container can't reach internet on Ubuntu 20.04
I'm trying to update packages from an ubuntu container; however, updating fails and I've noticed I can't connect anywhere, am able to lookup dns names thought.
I'm using nicolaka/netshoot container in ...
0
votes
1
answer
1k
views
Certbot — Post-Handshake New Session Ticket arrived
At the start of the negociation, Secure Renegotiation IS NOT supported occurs. During the last Session Ticket (and perhaps the one before), it seems that the SSL connection succeeded. Could you let me ...
2
votes
3
answers
4k
views
systemctl --user cannot start docker containers on Ubuntu 20.04
I am in the process of migrating some services from Ubuntu 18.04 to 20.04. In 18.04 I run these services under a non-root user. All these services start a docker container, and they're working just ...
0
votes
1
answer
6k
views
Ubuntu 20.04 server unreachable from external world [closed]
i have an Ubuntu server where i can not access the server from external machines.
I have tried to ssh to the Ubuntu machine but it seams that all requests are drooped or does not arrive. I have not ...
5
votes
1
answer
7k
views
QEMU Ubuntu Server 20.04 Initramfs write error
I created a QEMU virtual machine intending to install Ubuntu Server 20.04. The host is a Proxmox 6.x Debian system. The virtual machine parameters are:
2 CPU cores, 1 socket
512 MB ram, ballooning ...
5
votes
2
answers
6k
views
cgroup fork rejected by pids controller
Have a small server program written in C/C++ that uses nginx and Postgres, currently all are hosted on the same ubuntu system. I usually run the server program from the bash command line.
Recently on ...
1
vote
0
answers
84
views
Nginx server wont start with one particular site enabled
Got a head scratcher that I can't seem to figure out.
If I enable this specific site "example" the nginx server wont restart or anything until I disable it. This problem only shows up if I ...
3
votes
0
answers
1k
views
SSH freezes after couple of lines printing
I am having this weird issue with a server whenever I try to open htop over ssh it hangs, ls works but ls -l hangs after couple of line if I execute history it hangs after printing 50+ line. But mosh ...
2
votes
2
answers
12k
views
Fail2ban won't ban postfix/smtps/smtpd
I've got an Ubuntu 20.04 server that's receiving hundreds of SMTP AUTH requests on my postfix server every day from the same IP. I have fail2ban installed, but ironically, it is failing to ban the IP.
...
0
votes
0
answers
46
views
Email has different ip for sendor when it ends up in spam than when it ends up in inbox. How?
I have a simple vps server that i'm using to send confirmation emails from.
The problem is that sometimes when i send a confirmation email it ends up in spam with sender ip different than the ip of a ...
1
vote
0
answers
948
views
Powerbroker PBIS Open (aka AD Bridge) fails login on Ubuntu 20.04
I'm using Powerbroker PBIS Open to authenticate users on a Windows 2016 domain to Linux workstations and LXC containers running Ubuntu 18.04 and CentOS 7. However, I'm unable to accomplish this with ...
1
vote
0
answers
743
views
nginx choosing wrong virtual host
(disclaimer: yes, I know there's a ton of these questions, but I did search for about a half hour before posting this)
I'm trying to setup zabbix to monitor nginx using ngx_http_stub_status_module by ...
4
votes
1
answer
40k
views
iptables kernel module missing after upgrade from Ubuntu 18.04 -> 20.04
After a release upgrade from Ubuntu 18.04 to 20.04 (focal), the iptables kernel module is missing:
root@server:~# iptables -L
modprobe: FATAL: Module ip_tables not found in directory /lib/modules/5.4....
1
vote
2
answers
733
views
Strange ProFTPD behaviour, seems duplicate installation
I have a strange problema with a fresh install of ProFTPD on Ubuntu 20 LTS.
I noticed that after changing some option on the configuration files, when I run services proftpd restart the modifications ...
0
votes
1
answer
194
views
10TB HDD has a 9999GB partition but only allows me to access 215gb
parted print all result
I have a 10tb hdd with 3 partitions and one flag (not sure what that means).
The flag is set as 215gb and that's all i'm able to access in the filesystem.
I'm running Ubuntu ...
0
votes
0
answers
1k
views
502 Error from nginx server after setting up http2 and ssl
I am getting a 502 error from my nginx server.
I used certbot to configure the ssl and am trying to get http2 enabled and somehow i broke the server.
when I run sudo nginx -t it reads:
nginx: [warn] ...
0
votes
1
answer
3k
views
Cannot Remove Secondary Dynamic IP
I'm running Ubuntu Server 20.04. The system was setup initially with DHCP. I went into /etc/netplan and changed the file to use a static IP, as shown below.
network:
ethernets:
enp0s4:
...
1
vote
2
answers
4k
views
Automated Ubuntu 20.04 server install: How can I get hostname from DHCP server?
On older versions of Ubuntu (using the Classical Installer), I was able to populate the hostname from my DHCP server. I then passed it by using the netcfg/get_hostname= option of the kernel parameters....