Questions tagged [ubuntu]

Ubuntu Linux is a Debian derivative that aims to bring Linux mainstream. Questions on this site should generally refer to Ubuntu Server. Note that http://askubuntu.com is specifically dedicated to Ubuntu questions.

Filter by
Sorted by
Tagged with
1
vote
2answers
2k views

Ubuntu 20.10 Active directory integration not working

I've just installed Ubuntu 20.10 and I enabled Active Directory integration during setup. It asked me AD user and password, I provided those and the setup showed green thicks and went on. After ...
0
votes
2answers
758 views

EC2 SSH sudden keypair issue

I was normally working with the SSH on my server, then disconnected to re-connect using a different keypair, but received this message: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ ...
0
votes
0answers
11 views

Openstack Victoria SPICE configuration not working

Running openstack on Ubuntu 20.04 with a controller node and four compute nodes. I am reading the instructions on configuring SPICE here. I will admit, I found out about which packages to install from ...
2
votes
1answer
35 views

tail command retry flag not working with wildcards?

I want to tail a bunch of unknown directories names containing a particular non-existant file, e.g.: tail -F /tmp/*/app.log However that does not work as intended with the wildcard: if I create a file ...
0
votes
1answer
17 views

AWS Ubuntu instance keeps dropping ssh connections

My AWS LightSail Ubuntu instances used to allow my ssh clients to stay connected forever. However, a newly created Ubuntu 20.04 instance now keeps dropping the ssh connection, even though connections ...
8
votes
8answers
17k views

Unable to start rabbitmq-server on Ubuntu 12.04

I try to install rabbitmq-server on ubuntu-server 12.04 but failed. Then I add the apt source list following the guide in http://www.rabbitmq.com/install-debian.html But reinstall still have the ...
3
votes
2answers
870 views

apt-get install -y doesn't work with license agreements, how to automate that?

For most packages that require a yes/no answer, this works fine for me: sudo apt-get install -y .... But if you require a package that makes you accept a license, how do you automatically agree to ...
-2
votes
1answer
28 views

Setup an Email server [closed]

I know that the title of this post is not very indicative. But I thought the simpler it was the more people would watch. I am trying to set up a mail server with Ubuntu 20.04. The software I am using ...
-1
votes
0answers
8 views

Use USB Ethernet as backup to WiFi in Ubuntu Desktop Laptop [closed]

I have a Ubuntu 20.04 Desktop running on a Laptop. It is usually connected to my WiFi on wlp2s0 (network 192.168.1.x). Sometimes, due to reasons unknown, I loose the WiFi connection, which breaks all ...
2
votes
1answer
2k views

Netstat showing multiple connections for on ssh login

I connect to my server via ssh. I am the only person who has access to connect to the server. After connecting via ssh, I run the following command: sudo netstat -tupn The output includes the ...
0
votes
0answers
6 views

Fail2ban exited and didn't start back up

Today I faced a what seemed like a DDOS attack. My server provider warned me about excessive CPU usage (400% for over 6 hours) and I couldn't access any website, could not login via SSH either. Lish ...
12
votes
3answers
14k views

Fail2ban log filled with entries saying “fail2ban.filter : WARNING Determined IP using DNS Lookup:..”

My fail2ban log at /var/log/fail2ban.log is completely filled with entries saying: fail2ban.filter : WARNING Determined IP using DNS Lookup: [IP address] I think this may have begun after I changed ...
0
votes
2answers
1k views

/proc/XXX/smaps does not exist

I am trying to debug what is going on on an ubuntu server. I tried to use my good old friend smem but it does not display anything, even if run as root. strace shows the culprit: open("/proc/32376/...
1
vote
1answer
47 views

Established connection to StrongSwan VPN running on Ubuntu but can't connect to the internet

I have an issue connecting to the internet though I have established connection to IKEv2 VPN running on an Ubuntu VM on GCP. I have connected to the VPN from my Macbook. I followed this tutorial to ...
0
votes
1answer
1k views

nginx reverse proxy UDP traffic (invalid parameter “udp”)

I'm trying to host a Unifi controller behind a nginx reverse proxy. This works well except that I'm having troubles with the STUN protocol. I'm using nginx 1.18 on Ubuntu 20.04. When I check the ...
0
votes
1answer
158 views
+100

grub rescue on Ubuntu 18.04 with btrfs partition

I have a small server (HP ProLiant MicroServer Gen8) running Ubuntu 18.04 64 bit with the latest HWE generic kernel (5.4.0.74.83~18.04.67); it has two SATA drives, GPT partitioned but booting in ...
0
votes
1answer
29 views

Resizing Virtual Ubuntu Server

I have a virtual instance of Ubuntu Server running. Increased the virtual disk from 37GB to 50GB, but now stuck on getting the additional space to the LVM. I have tried lvextend and resize2fs with the ...
0
votes
0answers
107 views

Unable to install K3s on Proxmox VM

I'm trying to create an HA k3s cluster using Proxmox and a small fleet of Raspberriy PIs 4B. For the PIs everything works fine, but when trying to install a master on a Proxmox VM it will not start. ...
3
votes
6answers
28k views

apt-get commands pausing at 'Waiting for headers'

I have a VM running Ubuntu Server 9.10 running a basic web server setup. Whenever I run an apt function it will pause for around 1 minute at 'Waiting for headers...'. It will eventually clear through ...
0
votes
0answers
20 views

Apache Guacamole working fine over HTTP, but not over HTTPS

I've recently installed Apache Guacamole on Ubuntu 20.04 LTS and use NGINX as the proxy server. Everything works fine with it over HTTP but when I use HTTPS, the application still loads, but then the ...
2
votes
1answer
2k views

How to debug dnsmasq requiring a service restart in order to work?

On a server of mine, I have dnsmasq setup; it is configured as another server, where it works (although, with other hardware and o/s). On this specific host though, dnsmasq doesn't work after boot (...
0
votes
1answer
2k views

Permission Denied in Squid Proxy Server

I have successfully installed and configured Squid Proxy Server 3.5.26 in Slackware 14.2. Im currently logged in as root user and I get an error when starting Squid using the command sudo squid -z: ...
2
votes
1answer
32 views

mdadm partitions gone after reboot

I had a RAID 6 setup in Cockpit UI with multiple partitions. There was one partition in particular that I wanted to extend from 10TB to 11TB using available space and attempted on /dev/md127p6 using &...
1
vote
1answer
2k 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
2answers
4k views

Ubuntu + Apache doesn't work on port 80

I have some problems with apache (OS Ubuntu). for some reasons apache doesn't work on port 80. For this settings: etc/apache2/ports.conf Listen 80 <IfModule ssl_module> Listen 443 </...
0
votes
1answer
19 views

Strange behavior of Docker's Image Pull Rate Limit

I have an Ubuntu 20.04 LTS Server with packages docker-ce, docker-ce-cli, and containerd.io installed on it. When I try to pull an image from Docker Hub for the second time this day, the ...
94
votes
8answers
83k views

GPG does not have enough entropy

I've got a ton of processes running in the background to try and get enough entropy, but I am still failing. **We need to generate a lot of random bytes. It is a good idea to perform some other ...
1
vote
1answer
1k views

Gunicorn error: “Error opening file for reading: Permission denied”

I'm getting an error when running my Django app with gunicorn: when I make a post request over 7800 bytes I see the following error from gunicorn: "Error opening file for reading: Permission denied". ...
0
votes
1answer
1k views

Unable to stop Squid3

When trying to stop squid3 that is running off a docker image jpetazzo/squid-in-a-can, I am unable to stop squid! root@myserver:/# service squid3 stop [FAIL] Stopping Squid HTTP Proxy 3.x: squid3[.......
0
votes
0answers
9 views

Will dropbear-initramfs work along with a keyfile in crypttab in Ubuntu (21.04)?

/etc/crypttab # <target name> <source device> <key file> <options> crypt_root UUID=12989868-19fe-4834-90a8-f1bf13977745 /dev/disk/by-label/wopr_keys:/...
1
vote
1answer
27 views

Ubuntu 20.04 + Docker: correct folder permissions

When I was setting up Ubuntu 20.04, I opted for Docker to be installed as well. I haven't made any changes to its settings (i.e. I believe Docker runs as root), apart from creating a docker group and ...
0
votes
0answers
33 views

Output iptables drooping 443 even when rule allows it

Output iptables drooping 443 even when rule allows it This are my current rules INPUT DROP [2:406] :FORWARD DROP [0:0] :OUTPUT DROP [0:0] :DOCKER - [0:0] :DOCKER-ISOLATION-STAGE-1 - [0:0] :DOCKER-...
0
votes
1answer
66 views

IPTables -m set unknown option

I'm having trouble seting-up iptables on Ubuntu 20.04. Does anyone know why this doesn't work? # iptables -A INPUT -m set -–match-set cf src -p tcp -m multiport –dports http,https -j ACCEPT iptables ...
-3
votes
0answers
27 views

Minecraft server stop using systemctl failure [closed]

I'm trying to configure a minecraft server to play with my friends and I'm running it on Ubuntu 20.04. When I stop using 'sudo systemctl stop minecraft@1.17.1' and then check status it says it failed ...
0
votes
0answers
21 views

debmirror not sync dist-upgrader-all correctly

We have mirrored the Ubuntu bionic from archive.ubuntu.com with debmirror tool in Centos 7 and we can upgrade servers with this local mirror without any issues,but when we were trying to do-release ...
0
votes
0answers
22 views

How to protect Backend server from DDoS

I live in a country where there is no DDOS protection for game servers ( UDP Protocol ). Since latency is important for users, I can't host it in other country or region. So I have only one option ...
0
votes
1answer
2k views

Unable to connect to openvpn with saved password “auth-users-pass”

I'm trying to save the username, and password of my openvpn client in '.secret.txt', and I'm receiving errors when attempting to connect, or the password is requested, instead of being read from '....
0
votes
2answers
2k views

Processes spawning randomly and sucking CPU

I am currently on Ubuntu 16.04, and I have noticed slowdowns across the server in general. Upon viewing htop, I noticed that processes with random commands are spawning, while taking the CPU usage ...
0
votes
2answers
36 views

How to delete specific files? [duplicate]

I'm running Ubuntu 20.04. I have a directory with million of files named like this master-stdout.log.20210801.024908 master-stdout.log.20210801.025524 master-stdout.log.20210801.064355 How can I ...
0
votes
0answers
15 views

How to delete specific files older than 1hour on cronjob? [migrated]

I'm using cronjob for Ubuntu 20.04. I want to auto delete files older than 1hour and only files with filename begins with master-stdout.log* How can I do this? find /root/logs/ * -mmin +60 -exec rm {} ...
36
votes
6answers
27k views

“A new version of /boot/grub/menu.lst is available” when upgrading Ubuntu on an AWS server

I just tried to do a sudo do_release_upgrade on an AWS EC2 Ubuntu 13.10 server to upgrade to 14.04. All was going well until I got the following message: A new version of /boot/grub/menu.lst is ...
1
vote
1answer
1k views

Redirect IP to a domain name using htaccess

Let's say I have this IP Address 11.12.13.14 and the domain example.com. Now what I want is to redirect the user from IP Address to domain name (but without changing the domain name to address bar). ...
0
votes
0answers
24 views

NFS mount is gone after reboot, but present in fstab

I have added the following to /etc/fstab, which I understood would automatically mount upon startup of the machine. 192.168.1.236:/volume1/Media /nfs/plex nfs auto,nofail,noatime,nolock,intr,tcp,...
2
votes
2answers
2k views

Turn off buffering in systemd unit-file?

When I write my unit-file I want all output from Exec*-options (ExecStartPre=, ExecStartPost=, ExecStart=, and ExecStopPost=) to be sent to the journal. But apparently the output is buffered in some ...
10
votes
8answers
49k views

Unable to get the SSH access for a new user

I created a new user on ubuntu 10 username: codeuser There is an existing user called "admin". Now, my problem is that I cannot directly connect to the server using the codeuser credentials. But, I ...
0
votes
1answer
30 views

commands which dont exist refer to python instead of apt suggestion

I had some issues when installing a newer version of python on my ubuntu installation. Having downloaded a few different versions i then changed some soft links including repointing python to the 3.8 ...
1
vote
1answer
47 views

DNS lookup not working when using Ubuntu as an access point

I have a Ubuntu system with a wired connection to a router, and a USB connection to 4G internet via an iPhone. I want to be able to connect other clients to the router and access the internet via the ...
1
vote
1answer
1k views

How to configure a second IP address (to bind it to a VBoxHeadless virtual machine then)?

I've requested my ISP to dedicate me a second Internet IP address and have got it. Now I need to configure it (I've never had any experience with using multiple IP addresses on one network interface) ...
0
votes
1answer
23 views

iptables doesn't redirect 443 to 8443 on local machine

I want to redirect all the traffic from my computer from port 443 to port 8443. All the traffic is on the same machine. A proxy server is listening to port 8443 and i tried to add the following Rule: ...
3
votes
2answers
3k views

how do I configure dummy interface with netplan on ubunty 17.10?

how do I configure dummy interface with netplan? I could manually configure them with systemd: Configure the dummy interface to setup at boot: edit /etc/systemd/network/dummy0.netdev ...

1
2 3 4 5
304