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
3
votes
0answers
41 views

Nginx how to disable per ip rate limiting

I have a API which connect through private ip of the EC2 server and execute sequence of callbacks. I want disable per ip rate limiting on this scenario. I have tried this method in Nginx documentation....
1
vote
1answer
23 views

Identifying specific devices when using sensors in ubuntu

I am running the sensors command in Ubuntu 20.04 to try and get a temperature reading for my NVME SSD drives. However, although I can see the drives I am not sure which one is which: nvme-pci-2300 ...
0
votes
0answers
19 views

How to configure Apache and PHP-FPM to support multiple subdomains?

I have an Apache server that will have several subdomains running inside it, eg: www.example.com api.example.com dashboard.example.com customer.example.com I installed Apache 2.4.41 and PHP-FPM 7.4 ...
1
vote
1answer
34 views

Cannot SSH to second network interface in Ubuntu 20.04 on EC2

I have a VPC 10.0.0.0/16 with an Internet gateway and two subnets 10.0.100.0/24 and 10.0.200.0/24 in the same availability zone. A single security group allows tcp/22 inbound from 0.0.0.0/0 and ...
0
votes
0answers
7 views

Unable to login into User Account through Anydesk on Ubuntu 20

I have an Ubuntu 20 system runnning Anydesk. The system is in headless mode with a dummy video sink defined. What I have noticed running Anydesk is that I can create an Anydesk connection to the ...
0
votes
0answers
20 views

Container killed by oom-killer during docker update

I use docker to host several web services. There are mainly composed with Apache/nginx, PHP and a MySQL database. Currently, I have 38 containers. If I use docker stats, I see a total of ~4GiB (/ 15....
0
votes
1answer
16 views

Should I change the default folder for uploads?

PHP 7 uses the default system folder (/tmp) to store uploaded files. PHP allows you to change the settings and change the upload destination directory. Some sites indicate to change this folder to ...
0
votes
0answers
43 views

Ubuntu Server wont boot. (/boot is missing)

I have been searching for my specific problem, and I can't find anything helpful. I'm currently using SYSRCD 5.1.0, and my system can't boot to the primary Ubuntu operating system. It has been ...
0
votes
0answers
44 views

Best user to own web root of Apache2 on Ubuntu 20.04 [duplicate]

I've read the CIS benchmark for Apache several times, but there are some points in it that I don't understand, as it was based on another distribution I use (Ubuntu 20.04). Some sites say to set ...
0
votes
1answer
51 views

Can ssh into Ubuntu 20.04 virtual machine but domifaddr shows no IP

I created an Ubuntu 20.04 virtual machine following this guide. I am able to ssh into the virtual machine using the IP address I wrote in the network-config file, i.e., 192.168.122.101, however, when ...
0
votes
1answer
48 views

Ubuntu 18.04 to 20.04 : Broken Update

I upgraded from 18.04 to 20.04 using : do-release-upgrade After downloading all the packages it asked me if I wanted to keep my version of an existing config file. Trying to exit out of the file, I ...
0
votes
0answers
11 views

Securing OS root directory access in Apache

I am implementing the CIS benchmark for Apache on my server. There is an item in it regarding blocking access to the OS root folder, saying that I have to add the directive below to block access. #CIS ...
0
votes
1answer
26 views

Unwanted site traffic to my WP site

I am getting lot of unwanted web site traffic to my WordPress web site. It is apache web server on Ubuntu 20.04. Is there any way to block them. Please refer the screen shot.log example
0
votes
1answer
51 views

Ubuntu 20.04 cloud image can't get IP address

When using virt-install to create a guest, CentOS 7.9 cloud image successfully gets an IP address, which can be checked with sudo virsh domifaddr <domain>. However, Ubuntu 20.04 LTS cloud image ...
2
votes
1answer
29 views

How do I properly use flock(2) with a cron script?

I am using a crontab to execute a php script that retrieves data and writes it to a database. My crontab entry looks like: * * * * * php /path/to/file/fileName1.php * * * * * php /path/to/file/...
0
votes
0answers
23 views

Mounting an ocfs2 partition (with multipath removed)

(I previously posted this on AskUbuntu, but I've since deleted that since no one replied and I now think it's server-related and probably more suitable for here.) I look after a set of servers running ...
0
votes
0answers
22 views

Ubuntu Snap Service Configuration (for “webhook”)

How do I set service configuration options for a snap. Specifically this one: https://snapcraft.io/webhook I've tried: $ sudo snap get webhook error: snap "webhook" has no configuration $ ...
-2
votes
0answers
47 views

I think my Drupal 8 (Ubuntu 20.04) site has been hacked [duplicate]

I think my Drupal 8 site has been hacked Hi, I have a website www.example.com in production and I just saw the Drupal 8 installation interface appear then when hovering over my menu links, I saw the ...
0
votes
1answer
48 views

Broken MySQL Installation, Cant Install or Uninstall

So, ive installed MySQL but in the middle my PC Decided to crash and the Linux Terminal died therefore cancelling the operation... Now when i try to install it i get this 0 upgraded, 0 newly installed,...
0
votes
1answer
63 views

How to Run/Access different web directory for virtual host other than default root?

I made the virtual host setup in Ubuntu 20.04 for accessing virtually to my web projects. I have followed the necessary steps properly, but since I wanted to work more portable and access my web ...
0
votes
0answers
19 views

Partitioning Google Cloud Ubuntu 20.04 Instance

I would like to change the partitions on my Google Cloud instance disk. One big 64GB ext4 partition should be split into 16GB ext4, 16GB swap and 32GB btrfs partitions. Until now, this has worked for ...
1
vote
0answers
31 views

Getting error while connecting with other nodes in cluster

I create Galera cluster for mysql 8, when i'm restarting the nodes it is connecting in the cluster but after few seconds its getting disconnected. Please help me to fix this issue. Please see the logs-...
0
votes
1answer
44 views

nfs downgrading from 4.2 to 4.0 depending on the client machine while theoretically capable of 4.2 - why?

I'm playing around with NFS to test some client options. Before going with the "options" thing, I just test a "by-default" connection from a couple of clients to a given server, so ...
0
votes
0answers
47 views

Yellow text on startup - Ubuntu Server 20.04

I have an ubuntu 20.04 server and when I start my server the text is yellow? I have searched google but I haven't found anyone with the same problem as me, any help is greatly appreciated.
0
votes
0answers
13 views

Ubuntu-20 Installation on Lanner FW-7525 on Putty/TeraTerm

Aoa, Hello All I am trying to install Ubuntu 20 Server on Lanner switch FW-7525, when the installation is complete and when I reboot the device then the error occurs "Reboot and Select Proper ...
0
votes
1answer
39 views

veth does not respond to other veth ping requests on same bridge

I created two veth pairs and connected them to the same bridge. However, they do not respond to ping requests. This is ubuntu 20.04. # create the interfaces and bridge sudo ip link add br0 type ...
0
votes
0answers
86 views

aacraid: Host adapter abort request followed by hung IO

I have Supermicro 4U X10DRi-T4+ 36 LFF Bay HW RAID Storage Server with two Xeon E5-2620 v3 with Adaptec ASR-71605 Running Ubuntu 20.04 server with 5.4.0-72-generic #80-Ubuntu SMP Mon Apr 12 17:35:00 ...
0
votes
1answer
41 views

How do I block incoming traffic from Google Cloud IPs?

I'd like to block ALL incoming traffic from Google Cloud IPs. I don't know how to do this, and I don't know how to know what the Google Cloud IPs are. I have a dedicated server running Ubuntu 20.04 ...
-1
votes
1answer
35 views

Fail2Ban is not updating iptables rules

I have set up fail2ban to protect my ssh port using these rather old instructions: https://www.digitalocean.com/community/tutorials/how-to-protect-ssh-with-fail2ban-on-ubuntu-14-04 I tested my set-up ...
0
votes
1answer
221 views

pcs creating cluster fails because of unknown hosts

I am following several tutorials now and all of them have such steps -- authenticate given hosts in pcs and then create cluster. Yet in my case the first step (authenticating) works while the second ...
0
votes
1answer
36 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
1answer
73 views

systemd-resolve fails to resolve hostnames when using bind9

I'm running Ubuntu 20.04. I set up bind9 inside a docker-container that I want to use as the dns-server. The container is running fine and will resolve correctly if queried with dig. Running dig on ...
2
votes
1answer
177 views

Why ubuntu 20.04 cannot support mysql 5.7.33?

Today I tried to update ubuntu from 18.04 LTS to 20.04 LTS. with do-release-uprade After upgrade completed, I tried to start mysql with service mysql start The result is Job for mysql.service failed ...
0
votes
0answers
30 views

Wildcard SSL or Automatically Install New Ones?

I'm very new to SSLs and trying to figure out if something is possible to do. I have a VPS with Ubuntu 20.04 and have multiple domains pointing to the /var/www/html directory. Some are pointed using ...
0
votes
1answer
31 views

Is it Safe to Use “ufw allow from xx.xx.xx.xx” Command for IP Addresses Which are Faced With UFW_BLOCK?

I have UFW opened on my database servers and I have seen a lot of UFW_BLOCK logs. Is it safe or right to use "ufw allow from xx.xx.xx.xx" and "ufw allow to xx.xx.xx.xx" command for ...
1
vote
1answer
61 views

Redirecting HTTP to HTTPS without DNS or static IP

I've setup web servers in the past, but now I'm working on an embedded Linux project that is a bit different. I need the embedded Linux device to run an Apache server support DHCP not require any DNS ...
0
votes
0answers
48 views

awstat with nginx on ubuntu 20.04

Hi this is the outupe of my command sudo /usr/lib/cgi-bin/awstats.pl -config=2m-partners.tn -update From data in log file "/usr/share/awstats/tools/logresolvemerge.pl /var/log/nginx/2m-partners....
0
votes
0answers
20 views

Error* The path to iptables is either not set or incorrect for IPTABLES [/usr/sbin/ip6tables]

I use CSF Firewall of Configserver en several servers. After day 23/03/21 I see a problem in one server with Ubuntu 20.04 *Error* The path to iptables is either not set or incorrect for IPTABLES [/usr/...
0
votes
0answers
16 views

Why Getting Speed With SNMP is not Stabil?

I am trying to get network usage percentage and I check the time and speed between of two octets(before and next). Generally the speed of network of one octet is 1GBit(1.0E9) but sometimes I see that ...
0
votes
1answer
26 views

Routing from private interface to public interface

Our server has two interface, one for connecting through internet and the other for internal network. 172.20.54.10 -> Interface with static ip for connecting through internet 10.1.1.1 -> ...
1
vote
0answers
36 views

Why I am Getting Higher than %100 Network Usage From SNMP?

I am using SNMP in Ubuntu 20.04 to get the network usage info and I am using this formula to calculate the network usage: InOctets : The difference between two poll cycles of collecting the snmp which ...
1
vote
1answer
147 views

Weird kex_exchange_identification error

sshd error: kex_exchange_identification: client sent invalid protocol identifier "CONNECT hotmail-com.olc.protection.outlook.com:25 HTTP/1.1" This line appears in logs 2-3 times per month, ...
0
votes
1answer
70 views

Ubuntu Server 20.04: IP address in use

I have a bare metal dedicated server with a UK hosting company. They have an automated system which keeps blocking my server because they claim that I am using an unauthorised IP address. The IP ...
0
votes
0answers
116 views

Keepalived not sending or replying to ARP requests Ubuntu 20.04 Server

I am not able to ping the virtual IP of keepalived. When I checked further, I found that keepalived is not sending ARP requests or reply. None of the hosts in same network received gratuitos APR ...
0
votes
1answer
191 views

Ethernet (wired connection) is Unreachable in Ubuntu 20.04

I have Ubuntu server where I have configured the static IP it was pinging and able to update and use internet and able to connect through ssh. but after the shutdown because of power failure. I was ...
1
vote
0answers
15 views

Ping Request to Virtual Machines Sometimes Drop Sometimes Not

We have installed on a server PC Hyper-V Server 2019 then install three VMs which are Ubuntu Server 20.04. There are two physical ethernet port on the server PC. We configured one of them as a private ...
0
votes
2answers
84 views

Fresh Ubuntu 20 server getting wrong DHCP address

I need to setup a new Linux server on VirtualBox, I'm using Ubuntu Server 20.04 LTS and in Virtualbox my network adapter is set to bridge adapter with promiscuous mode on "allow all" First ...
0
votes
0answers
30 views

Using setuid in a Shell Script on Ubuntu 20.04

So I have a Laravel PHP app on Nginx on Ubuntu 20.04. I have a simple deploy.sh script that will: Put Laravel into maintenance mode, so it returns a 503 error if anyone visits the site Pulls down the ...
0
votes
1answer
29 views

Wordpress Website is Broken When Migrating to NGINX

I recently migrated by wordpress website to NGINX, from apache2. I installed PHP-fpm, PHP-cli, and the other required php packages for NGINX. The site worked fine, but after clearing the cache (I use ...
0
votes
0answers
40 views

How to avoid many versions of PHP being installed with apt?

In December last year I had to move back from the standard PHP 7.4 to PHP 7.3 on an Ubuntu 20.04. I believe to have followed How to Install PHP on Ubuntu 20.04 to do so. So far so good. After a couple ...