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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
5k views

How to disable /etc/hosts from resetting after reboot

Using Ubuntu 20.04 LTS on a Raspberry Pi and trying to setup a DNS and DCHP Server on it using DNSMasq Got to the point where I want to add static DNS results in the /etc/hosts file however when I ...
-1 votes
1 answer
39 views

How can I get SSH to work?

My pc is running Lubuntu 20.04. I am trying to ssh to a raspberry pi 4 running Ubuntu Server 22.04. I have followed the setup instructions but see the following: ssh -v [email protected] OpenSSH_8....
0 votes
2 answers
3k views

MySQL 8.0.20 via SSH

DBeaver 7.1.0 on Windows 10 trying to connect to MySQL 8.0.20 on Ubuntu 20.04 using SSH. I also tried other Windows MySQL GUI clients, with the identical results, which leads me to believe the problem ...
1 vote
1 answer
5k views

MySql 8 crashing on loop without specific errors and with enough memory

I'm running Ubuntu 20.04.03 with Mysql 8.0.27. I have reinstalled LAMP from scratch several times and at the moment I only have 3 WordPress sites but I have tested only 1 and only 2 sites as well. ...
0 votes
1 answer
1k views

Cannot enable OpenLDAP memberOf of Ubuntu 20.04

I've spent the last few days following multiple how to guides to create an LDAP server with memberOf enabled, on a fully updated clean install of Ubuntu Server 20.04.2, purging between each attempt. ...
0 votes
1 answer
12k views

curl: (28) Failed to connect to X.X.X.X port 80: Connection timed out

I'm getting this error: curl: (28) Failed to connect to X.X.X.X port 80: Connection timed out When I run this: curl X.X.X.X I'm curling a specific IP address and it fails on both port 80 and 443. I ...
1 vote
2 answers
3k views

Custom listen ports for Apache not working

I wanted Apache (v2.4.41) to listen to port 802 and 44302 instead of 80 and 443 on my Ubuntu (v20.04) server so I did the following: Edited the port numbers in /etc/apache2/ports.conf. Now the file ...
0 votes
0 answers
462 views

Ubuntu 20.04 / 22.04 - Remote ssh or rsync killing all process from user

I got a weird strange odd behavior (there's not enough adjectives for that) on Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. This is a IBM Db2 test server. The server runs a Db2 service under db2inst1 user ...
0 votes
0 answers
14 views

Set Default Policy for all of user on kerberos ubuntu

I am confused when creating a password policy in kerberos ubuntu, what I don't know is how to make the policy that we have created become the default and how to make the policy apply to users that we ...
4 votes
1 answer
413 views

zfs not using full disk I/O

I have setup zfs on a fresh Ubuntu 20.04. But speed seems awfully slow. The disks can deliver 140 MB/s if run in parallel: $ parallel -j0 dd if={} of=/dev/null bs=1M count=1000 ::: /dev/disk/by-id/...
0 votes
0 answers
51 views

MariaDB 10.3 vs 10.4 performance degradation

We're migrating to a new server and noticed some weird performance degradations. Old server is Ubuntu 18.04 running MariaDB 10.3 (10.3.27-MariaDB-1:10.3.27+maria~bionic-log); new is Ubuntu 20.04 ...
0 votes
2 answers
306 views

Ubuntu 20.04 server ignores incoming postfix connections on IPv4, accepts IPv6

I've hacked my server to bits and now I need help. Everything was working, but I think these issues started when I tried to add a VPN server to this server to test some items at work. That process ...
0 votes
1 answer
253 views

opendkim not singing my outgoing emails ubuntu 20.04

i'm following this tutorial to integrate opendkim and sign my emails,i'm not much in ubuntu but i configured everything as the tutorial but the emails is sent without dkim signing I'm hitting the wall ...
0 votes
2 answers
135 views

Is it safe to expose monitd http server to the world

I'd like to use monitd for monitoring my webserver. I read it has built in http server. By default it is set to run on 2812 port. Is safe to open the port on firewall and view it via a browser?
1 vote
2 answers
2k views

apt-get upgrade vs unattended-upgrades under ubuntu 20.04

unattended-upgrades seems to skip certain upgrades, e. g. google chrome upgrade. A subsequent call of apt-get upgrade then finds and installs the ugrade. Does this mean, I must schedule apt-get ...
0 votes
0 answers
56 views

Unable to cURL into redis

I'm getting a connection refused error on port 9443. redis-server is definitely running, version 7.2.4. I'm not finding any other configuration I need to be setting up. It's not using the docker image....
0 votes
0 answers
27 views

Cannot start mysql anymore after fsck because of Apparmor permission and winbindd

We are on Ubuntu 20.04 and had several restarts and ran fsck. Now mysqld refuses to start: Jan 16 12:40:01 example audit[1427]: AVC apparmor="DENIED" operation="connect" profile=&...
1 vote
3 answers
10k views

Can't open PID file /run/opendkim/opendkim.pid (yet?) after start: Operation not permitted

i am about 2 hours on configure dkim with postfix on ubuntu 20.04. I try absolutly everything, but dkim wont work. OpenDKIM-Service won´t start: root@mail:~# service opendkim status ● opendkim.service ...
0 votes
1 answer
5k views

ssh-keyscan to known_hosts produces no results

When I execute: ssh-keyscan -H 172.22.56.2 I get the following output: # 172.22.56.2:22 SSH-2.0-RomSShell_4.31 # 172.22.56.2:22 SSH-2.0-RomSShell_4.31 # 172.22.56.2:22 SSH-2.0-RomSShell_4.31 # 172.22....
1 vote
2 answers
2k views

GitLab with local IP install hangs at logrotate

I am trying and failing to install GitLab (EE) onto an on-premises bare-metal server PC running Ubuntu Server 20.04. The server is intended to later have internet-facing access, but for now it needs ...
4 votes
1 answer
7k views

MariaDB using much more memory than it should

We are using MariaDB 10.3.32 on a Ubuntu 20.04.4 machine with 6 GB of memory, about 20 applications running on it. Databases are all InnoDB. Even with mostly default settings (see on the bottom), ...
0 votes
0 answers
201 views

Can not connect to mssql server on Ubuntu using AD user account

I have installed a mssql-server (15.0.4335.1-6) on Ubuntu 20.04.6 LTS, following Microsoft Documentation Mssql-server is up and running and I can connect using the sa account. What I want to do, is to ...
2 votes
1 answer
270 views

no connection and cgroup error on standalone kubelet with containerd on ubuntu

I am trying to setup kubelet component as standalone service from kubernetes page, though it seems I am missing something. I've configured the containerd + runc (according to steps) with: $ mkdir -p /...
1 vote
1 answer
3k views

MySQL memory usage crashing server

I just want to preface this with the fact I am new to server admin work like this, but am very interested and eager to learn. I'm hosting a small WordPress site on Digital Ocean, the site is ...
1 vote
1 answer
339 views

Can't reach public IP or domain name of my server from within

Say I have a domain name "my.domain.com" with an A Record that resolves to the public IPv4 address (say 160.200.200.21) of my server (running Ubuntu 20.04) I've installed BigBlueButton on ...
0 votes
0 answers
82 views

Site is not accessible after deploying to the live server with docker

There is a web application, which is placed within a docker container. When I start the docker container using the docker compose locally - everything works fine. However, after deploying it to the ...
0 votes
1 answer
511 views

how does one "select a boot disk" in ubuntu 20.04 install

I have a volume group consisting of 4 x 1TB disks. I have created LVs for /, /var/ and /boot all formatted ext4. On other machines I have done installs on simply mounting /boot seems to be all that ...
0 votes
1 answer
3k views

How to enable IPv6 on Ubuntu 20.04

I'm trying to enable IPv6 support on ubuntu 20.04 with no success most resources i find online involve adding the following lines to /etc/sysctl.conf net.ipv6.conf.all.disable_ipv6 = 0 net.ipv6.conf....
3 votes
3 answers
2k views

Unable to run nginx because of missing nginx.conf after fresh install on Ubuntu 20.04 LTS

I had trouble with getting my letsencrypt certificate running for nginx so I tried uninstalling everything and starting from scratch. Now, when I (re)install nginx on my Ubuntu 20.04 LTS server sudo ...
1 vote
0 answers
92 views

Retrieving IPV6 address of connections on Apache2 & Ubuntu 20.04

I'm unable to get IPV6 addresses from connections to my server. All connections display an IPV4 only even when the IPV6 is available. UFW has apache full and V6 allowed. To ...
0 votes
1 answer
148 views

php-fpm creats only one socket file

I have multiple virtual hosts with unique domain names, users, and root directories for each on Nginx and php8.1-fpm. In the /etc/php/8.1/fpm/pool.d/domain.com.conf contains user = domainuser group = ...
0 votes
1 answer
123 views

How to redirect ssh port to another port by username?

I have sshd: Listen 2222 on server, and what I want to do is: ssh -p 2222 userA@ip, and server finds userA, then redirects this connect to 6122 port of this server, but I don't want to modify on my ...
0 votes
0 answers
218 views

IPv6 / Kea DHCP / Ubuntu 20.04 / DNS Server Issue

Here is my current setup: I have IPv6 / IPv4 enabled in my environment. My router is doing RA for that IPv6 subnet. Router is configured with other options flag. I have Kea DHCP6 / DHCP4 server ...
0 votes
1 answer
68 views

Command not running in Nagios

Can anyone clarify for me why the following code is not running when I place it in command_line for a custom Nagios command? It works when I run it in terminal. command_name notify-host-by-sms ...
0 votes
0 answers
474 views

I was trying to remove 'python 3.10' in my ubuntu 20.04 and everything is broken now

I was trying to remove python3 by hitting the command sudo apt-get remove python3 and now the whole system is broken. I tried multiple solutions found on the internet, such as reinstalling ubuntu-...
2 votes
1 answer
2k views

What controls the NIC naming convention after fresh Ubuntu 20.04 install?

This is a fresh install Ubuntu server 20.04.04 system. I'm using networkd and netplan to configure networking. I did not do any custom install steps, just loaded the .iso and installed Ubuntu server ...
0 votes
0 answers
25 views

Root user action constraints with sticky bit

I have an ubuntu 20.04.x instance on AWS which displayed very unexpected behaviour. I have a file in /tmp: root@ip-10-0-1-145:/tmp# ls -l api_requests_2023-08-23.log -rw-r--r-- 1 www-data www-data ...
0 votes
0 answers
31 views

self signed for a site accessible through VPN

I'd like to know if what I'm doing is right or is there another way to do this? I have this site that is accessible through VPN and i'd like the end users not to see the "not secured" ...
11 votes
5 answers
71k views

Apt-Get Update Failing because of Certificate Validation

Using Ubuntu Focal fossa. I was trying to install a checkpoint ssl software for VPN, but seems like something messed up all my certificates. Now whenever I try sudo apt-get update I get the following ...
0 votes
1 answer
139 views

Block access to remote mysql database using iptable in ubuntu 20.04

I am configuring iptable rules in a Ubuntu 20.04 machine (Client). There is a mysql db in a remote machine (Server). I need to block access from client machine to mysql DB server. These configurations ...
0 votes
0 answers
69 views

ip address inet 127.0.0.1 changed unwillingly to 172.27.28.124 (Ubuntu 20.10 without netplan)

Below you can se the address 172.27.28.124 being used for lo. However the address was a few hours ago 127.0.0.1, this is the good value. This should not be changed. Could you please advice on how to ...
0 votes
2 answers
6k views

Installing sql server drivers for php on ubuntu

Background I have an ubuntu server running laravel that needs to connect to a different server of ours running mssql. Linux server: Ubuntu 20.04 php 8.1 I created a laravel test query to help me ...
2 votes
2 answers
488 views

How to bind spdk driver to NVMe device if root filesystem is mounted there?

I am trying to use SPDK in Ubuntu 20.04 (Linux kernel 5.4.0) to run storage applications. My NVMe SSD is allocated as below: $ lsblk ... nvme0n1 259:1 0 1.5T 0 disk ├─nvme0n1p1 ...
0 votes
0 answers
918 views

How to add new multiple ip addresses with different default gateway ip to same interface on ubuntu server 20.04

and thanks in advance for any help. I got /29 ip address range, and this was after I had set up my server with a different ip and default ip. So, I was assigned a new range of ip's which have a ...
0 votes
0 answers
1k views

Setup proxy with local CA certificate on Ubuntu 20.04

In our company, we have a proxy server with a self-signed CA certificate implementing MITM inspection. No internet connection is possible without this proxy server. My certificate installation process ...
0 votes
0 answers
116 views

Replacing pacemaker ip addresses with static IPs and then back again

Looking to upgrade corosync/pacemaker, a problem is that version 2 and 4 of corosync cannot communicate. Having 3 nodes, on Ubuntu 20.04, seems like it will lead to a momentary split brain, will all ...
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....
1 vote
0 answers
84 views

Setting up a proxy pass for rest api server not working

So I am trying to setup proxy pass to a rest api that is on port 30422, basically what I want to do is have for example sub-domain.example.com link to the port 30422 on the same webhost. I am hosting ...
0 votes
0 answers
129 views

How to confirm whether the packages in local mirror are updated and in sync with official repo for ubuntu-20/22

I have created a local repo using apt-mirror for ubuntu20 and 22. When I run the command apt-mirror the command is successfully run. I see some files like packages.gz is showing the latest timestamp. ...
0 votes
0 answers
210 views

NGINX returns 301 - Not following WebSocket redirect

I have been in the process of commissioning my new server which is an upgrade of an already existing server. In this process, I have moved from Apache2 to NGINX on Ubuntu 20.04 which interfaces with a ...

1
2 3 4 5
8