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
0 votes
1 answer
29 views

Connecting Nginx Server to OpenVPN and Accessing it from the Internet

I have an Nginx server running on my local network, and I want to make it accessible from the internet via an OpenVPN connection. Here are the details of my setup: Ubuntu Server Local IP Address: 192....
Daqs's user avatar
  • 101
0 votes
0 answers
20 views

Nginx webserver not available with global IPv6 Address

Recently I changed my ISP, which doesn't give out any public IPv4 addresses (CGNAT) without a monthly charge, which is the reason that I am changing the configuration of my webserver (Ubuntu 22.04 &...
ITpro_LX's user avatar
0 votes
0 answers
6 views

Netplan not changing active port when arp ip target is not reachable

I am trying to configure Ubuntu server 20.0.4 with netplan and use dual copper lan port and optical convertors to achieve redundancy. in my config I have bond created of two interfaces bond-lan: ...
DenisRuzicka's user avatar
0 votes
0 answers
32 views

Ubuntu/sssd/Active Directory suddenly broke

Windows Server 2022 domain controller, Ubuntu 22.04, sssd 2.6.3. System joined to AD via 'realm join'. /etc/sssd/sssd.conf: [sssd] domains = dev.domain.com config_file_version = 2 services = nss, pam, ...
Barmaglot's user avatar
0 votes
1 answer
78 views

Can't receive messages in inbox of Thunderbird with Postfix and Dovecot

I have dovecot and postfix installed and working properly. I send messages to the server with postfix and Dovecot from clientnorbert@clientnorbert-1-2, with the email clientnorbert@ubuntumailsystem ...
Doujinx's user avatar
  • 11
0 votes
3 answers
67 views

Can I rely on `curl` being installed on Debian/Ubuntu? How could I find out?

Is curl installed by default on Debian & Ubuntu (in 2024)? How could I answer this question myself? I am writing the install instructions for software, part of which requires running a script that ...
Amandasaurus's user avatar
  • 32.2k
0 votes
0 answers
94 views

Why I can't activate SSL on my Ubuntu Server (20.04) with ldap auth? (ldaps)

I have to activate SSL for secure comunications with ldap, I count with Letsencrypt .pem files (chain, fullchain, cert & privkey). I followed the steps of some pages but it didn't had any effect ...
Harry02's user avatar
0 votes
0 answers
32 views

Putting a Django application into production on Ubuntu server with Apache2 and Cloudflare

I have this Django application which works very well, but I do not understand at all, how to put it in production on a Ubuntu 22.04 LTS server using apache2 and to link it in HTTPS, on a domain such ...
Ghost0159's user avatar
0 votes
1 answer
58 views

Monitoring the actions performed to my docker container

Is there any way to monitor the operations performed on my docker container? So, i have a docker container with name web. Now i want to check if anyone performs docker exec , docker cp etc , i want to ...
Ravi Teja RVN's user avatar
1 vote
0 answers
26 views

How to initialize kubeadm in a non-default network interface?

I have been trying to set-up Kubernetes in my university server which has two network interface. The default interface (10...*) is connected to my university network and there is another interface (...
Sadman Amin's user avatar
0 votes
0 answers
21 views

Proper usage of linux mdraid spare-group

I'm going to create two raid1 arrays, lets say: 2x1tb - /dev/md1: /dev/sdb, /dev/sdc 2x2tb - /dev/md2: /dev/sdd, /dev/sde My idea is to use one additional 2tb hdd /dev/sdf as hot spare which will be ...
domino_pl's user avatar
0 votes
0 answers
70 views

Can't access MySQL DB after failed import

Set off a mysql import which ultimately failed due to HD space being maxed out. Since then, I'm not able to drop either the table it was being loaded to or the DB the table belongs to (only one table ...
Chris's user avatar
  • 101
1 vote
1 answer
63 views

Unusual Output in Nginx Status: Seeking Insights on Empty Strings in Process Information

My Nginx server (Ubuntu 22.04 LTS) is operating as expected, and I am not aware of any issues. However, I have noticed an unusual output in the status information: sudo systemctl status nginx ● nginx....
y.y's user avatar
  • 113
1 vote
1 answer
28 views

dovecot telnet localhost 143

I have problem with dovecot, when im trying telnet localhost 143 i got root@ubuntuserver:/etc/dovecot# telnet localhost 143 Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection ...
Doujinx's user avatar
  • 11
0 votes
2 answers
54 views

Unable to ssh using ed22519, although both client and server support it

client & server OS/Version: Ubuntu 22.04.1 Logged in to the box via password, added my id_ed25519.pub to the user's authorized_keys. however it seems the server is refusing to accept the key. ...
Rulasmur's user avatar
0 votes
0 answers
21 views

limit container connection on specific ip address

I just run a container on 8000:8000 my server 192.168.1.10 so if I run curl 192.168.1.10:8000 from another server (like 192.168.1.50) it will return hello-world from my API. I want to limit the ...
Mahdi's user avatar
  • 1
0 votes
1 answer
45 views

How to save custom rule in ufw? Ubuntu 23.10

I am using ufw and I would like to add a custom rule iptables -I INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT But even following iptable-save Upon reboot, the rule is gone. I also ...
brad's user avatar
  • 125
0 votes
0 answers
85 views

Script to wake up and shutdown a remote backup server after rsync command

How can I script the wake up of a remote backup server (with Ubuntu Server 22.04), and after rsync command is complete, shutdown the server. For example, the server would turn on every Friday at 12am ...
aguyfrombrazil's user avatar
0 votes
0 answers
93 views

Issue moving Ubuntu/Apache webserver from Comcast to AT&T router

I've hosted a simple Ubuntu web server for years on port 443 via a Comcast router with port forwarding enabled without issue. I now have to change to AT&T, the router they provided is a BGW320, ...
PortForwardingQuestion's user avatar
-1 votes
0 answers
36 views

Logout windows users when logon hours end from a ubuntu Active Directory Domain Controller

Hi so I am new to IT and thus need some help. I am familiar with some basic scripting. I am trying to setup a small active directory setup for my 10 or so windows pro pc with a ubuntu server. My use ...
Vishal Mittal's user avatar
0 votes
1 answer
46 views

Can't run systemd inside docker container on specific host

I'm migrating a containerized deployment from a Ubuntu 20.04 host to a Ubuntu 22.04 one. The container runs systemd, and it works fine in the 20.04 machine: $ docker run -i -d --name test-cvmfs-...
Nicola Mori's user avatar
0 votes
0 answers
30 views

Ubuntu machine occasionally looses network connection until restarted

We have migrated our services to a new dedicated server, everything works well except one very strange problem. Somewhere once in a 3-4 weeks server gets offline. Our investigation shows that the ...
daocacao's user avatar
0 votes
1 answer
79 views

unable to send emails to gmail using sendmail 550-5.7.26 error

My website is poobel.com, the domain isn't registered with the same host though, so I'm using custom nameservers. and when I send emails like this : sendmail [email protected] this is a test. . I get ...
John Sall's user avatar
  • 103
0 votes
0 answers
66 views

Intermittent Nginx SSL handshake error

I have an Ubuntu server running nginx that forwards requests to a AWS elastic beanstalk environment running an API (partial migration, work in progress). I am seeing intermittent SSL handshake issues ...
user2319914's user avatar
0 votes
1 answer
38 views

How to send email from smtp server1 to smtp server2 (Postfix) via client?

How to make server1 with postfix can send email to server2 with postfix by redirecting DNS query to it (type forward). These servers are on the same local network. Server1 is to receive a non-...
test1's user avatar
  • 1
0 votes
0 answers
27 views

Cron job starts but doesn't wait to be completed [duplicate]

I've made a tool for backing up website files & DB. It works as expected if ran by any user. Usually it takes around a minute to run in my configuration. When I added it to the cron it starts but ...
Md. A. Apu's user avatar
0 votes
1 answer
47 views

Installed Ubuntu server 23.10 using debootstrap / chroot - on boot it fails to mount the correct root partition

I'm trying to work out a process for remote installation of Ubuntu Server. I want to have someone at the other end insert a flash drive and boot up, then I will ssh in and install. Here's the process ...
Jon Hulka's user avatar
  • 101
0 votes
1 answer
87 views

Can't stop attack on nginx server

I'm currently struggling with my Digitalocean droplet (Ubuntu 22.10) which is under some sort of attack (maybe DDOS). The server hosts a containerized application that runs on nginx. Every time I ...
Gianmarco Santi's user avatar
0 votes
0 answers
31 views

Connection closed by foreing host - Postifx, Dovecot

2024-02-07T10:44:27.271322+00:00 ubuntuserver postfix/postfix-script[23192]: starting the Postfix mail system 2024-02-07T10:44:27.277625+00:00 ubuntuserver postfix/master[23194]: daemon started -- ...
Doujinx's user avatar
  • 11
0 votes
0 answers
23 views

How do I boot into Safe Mode in Ubuntu GCP?

I had an Ubuntu in GCP and after I installed some services everything was fine. Since this was a paid job, when I finished someone else took over and made some weird stuff which I don't know and ...
RickyLo's user avatar
0 votes
1 answer
42 views

Apache fails to restart after disabling SSL mod

On Ubuntu trying to disable ssl in apache. But when I restart Apache, it fails... a2dismod ssl Result: Module ssl disabled. To activate the new configuration, you need to run: systemctl restart ...
dsol828's user avatar
0 votes
1 answer
30 views

Get resource usages with a simple command an a simple response in one line

Is there a way for Linux to get the following stats via the commandline with the result in a single string as response? I wanna know the percentage of disk, memory and the CPU that's in use. $ command-...
user1469734's user avatar
0 votes
0 answers
38 views

socket() failed (24: Too many open files) while connecting to upstream

fs.file-max = 70000 added into /etc/sysctl.conf nginx soft nofile 10000 nginx hard nofile 30000 added into /etc/security/limits.conf worker_rlimit_nofile 30000; adding this ...
Ulugbek's user avatar
0 votes
1 answer
30 views

Nginx - IP server in url works, domain not, how I solve this?

I am hosting a React web app on a VPS server and im using Nginx to host the React. While I can access the website via the IP in the browser's URL, it doesn't work when using the domainexample.app. My ...
Guilherme Leonardi's user avatar
0 votes
2 answers
64 views

Install Services with a Script or Use Docker Compose [closed]

I have an old website that runs on a single LEMP Ubuntu server where a bunch of services are installed: NGINX, MySQL, PHP, Redis, Certbot, Postfix, WP-CLI, AWS-CLI, Fail2Ban, cron jobs and some custom ...
Vila's user avatar
  • 169
0 votes
0 answers
34 views

How to allow full use of all available swap space, when a process is running inside a Docker container

I have written a test Node app which eats memory (in 100MB chunks). I am trying to get it to continue allocating memory beyond the physical memory limit of 8GB by using the swap space which is ...
Tom's user avatar
  • 101
0 votes
0 answers
42 views

AWS EC2 Ubuntu instance launches WildFly (Java / Jakarta EE server) but seems inaccessible via browser

I am trying to setup AWS for a JBoss WildFly 31.0.0.Final to get a demo webapp up and running. So I found this tutorial: https://kamalmeet.com/cloud-computing/amazon-ec2-step-by-step-guide-to-setup-a-...
Kawu's user avatar
  • 101
1 vote
0 answers
44 views

zfs errors on hetzner cloud ubuntu 22.04

I have an ubuntu 22.04 system on hetzner cloud arm machines that keeps experiencing zfs errors, and I am a bit stumped as to what is the problem. zpool status -v pool: encpool state: ONLINE status: ...
Robert Ivanc's user avatar
-2 votes
0 answers
87 views

Postfix only receiving email [duplicate]

Port 25 is open, I have tried contacting my server from my local through: telnet andrewsXXXX.org (hidden for security reasons): > telnet andrewsXXXX.org 25 Trying 130.162.144.243... Connected to ...
Andrew's user avatar
  • 97
0 votes
0 answers
34 views

Linux (any distro): Find out who signed a file

I have a file named: shimx64.efi It was delivered with Knoppix 9.1 How can I know who signed this file ? I can do the verification on RHEL 8.x, 9.x or Ubuntu 20.04 Thank you, Zvika
Zvi Vered's user avatar
  • 101
0 votes
1 answer
15 views

IP Filter for REST API does not work behind load balancer for Ant Media Server (Tomcat 10)

I'm using Ant Media Server and I have one load balancer and Ant Media Server instances running behind the load balancer. I want to access to the Ant Media Server REST API by whitelisting my IP address ...
faraway's user avatar
  • 111
0 votes
0 answers
16 views

Can't Access Gui or cli interface on Ubuntu 22.04.3 Server

I tried to uninstall MariaDB and Apache2 but it just flashes saying falled to Start MariaDB 10.6.16 database server
Idk698989's user avatar
0 votes
1 answer
122 views

Prometheus Blackbox http_2xx returning 403 since webserver migrated to StackCP

I had working Prometheus Blackbox Exporter http_2xx checks monitoring various web servers. Then the web hosting provider migrated from cPanel to Stack CP. Since then all the http_2xx just return 403 (...
codlord's user avatar
  • 125
0 votes
0 answers
26 views

How to get syslogd and/or Apache2 to STOP logging DEBUG messages to console

When I SSH into one of my Linux boxes (Ubuntu 20.04.2), I periodically see messages appear on the console screen: Message from syslogd@my-hostname at Jan 30 21:35:17 ... apache2: [MY-APP] DEBUG - 2024-...
GregSD's user avatar
  • 1
1 vote
0 answers
28 views

Certbot SAN not working on migration to Google Cloud from AWS

I'm migrating an ubuntu/Wordpress/Apache2 server (22.04LTS) from AWS to Google Cloud. We host multiple domains from this server and use Certbot to manage certificates. On the AWS instance, I'd just ...
user484336's user avatar
0 votes
1 answer
33 views

Not able to connect to local MySQL install after using Docker and MySQL image to connect to secondary DB on external drive

Huge appreciation for help in advance. Using Ubuntu 22.04 and MySQL 8. I have a legacy MySQL DB on an external hard drive as well as a local install on my Ubuntu machine, both using MySQL 8. I set up ...
Chris's user avatar
  • 101
0 votes
0 answers
24 views

SAS HBA server won't boot under Ubuntu

I Have a Supermicro server with a SAS HBA card, connected to a 44-disk array. It worked perfectly fine, until I reinstalled it on Ubuntu 22.04. Now it won't boot. It hangs right after bios/uefi ...
Frank Vermeulen's user avatar
0 votes
1 answer
99 views

LVM volumes not present when linux start

We have a VMware cluster with 2 hypervisors, named as ESX6 and ESX7, the past Thursday we made a hypervisor fail drill. We shutdown ESX6, we unplugged the cable. All virtual machines starting to go ...
Javier Ros's user avatar
0 votes
1 answer
39 views

Set GitHub Actions Secrets on Docker Container Build/Run Command

Set GitHub Actions Secrets on Docker Container Build/Run Command I'm in the early stages of building an automated pipeline. Still in the exploring phase. Right now, I'm struggling with setting the ...
Jorge Mauricio's user avatar
0 votes
0 answers
55 views

Split tunnel configuration with OpenVPN not working on Ubuntu 18.04

I have Ubuntu 18.04 on my laptop and it has a VPN settings configured on it. PfSense is the firewall and the VPN server is OpenVPN. Split tunnel is configured on that OpenVPN client. I can confirm ...
anand.0976's user avatar

1
2 3 4 5
331