As of May 31, 2023, we have updated our Code of Conduct.

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
0 answers
8 views

Best way to trigger host to restart a docker container from inside another docker container?

I have a docker container that manages all of the SSL certificates for my services with Letsencrypt. When the certificate for a certain service is renewed, a post-hook script copies the certificate ...
lriley's user avatar
  • 9
0 votes
0 answers
7 views

LibreNMS - clicking the "Config" tab on a device shows a server error

I have librenms installed from the master branch on github. It seems to work mostly, but when I go to a device and try to click the "Config" tab, I get a server error. After following the ...
elyograg's user avatar
  • 229
0 votes
0 answers
12 views

Filtering Amazon servers by IP range AND URL

My server is often attacked by bots hosted on Amazon servers. So I configured iptables to block the largest ip ranges from Amazon. My problem is that let's encrypt use also Amazon servers to issue new ...
Fabrice Kimmel's user avatar
0 votes
0 answers
11 views

Setup kerberos with nfsv4 for no_root_squash mounts

I am very new to kerberos and nfs. Kindly help to know if this is feasible. The NFS server is Truenas scale and client is ubuntu 22.04 desktop. nfs v4 is enabled in Truenas server and exports /export/...
tachy's user avatar
  • 11
0 votes
0 answers
19 views

Gmail not receiving emails sent via ubuntu [closed]

I have a ubuntu 20.04 server running on a vps (ovh) using hestia control panel. My problem is that If I send a mail to gmail address it's not received. All other email services (such as outlook) work ...
Tom Brett's user avatar
0 votes
0 answers
21 views

access.log of Nginx filling up space (Ubuntu 22 Server)

Recently I have deployed my website using node.js server and using Nginx as reverse proxy, also nginx handles SSL, and forwards the https to http server of node.js running at specific port. I am using ...
Albert Einstein's user avatar
0 votes
0 answers
35 views

ubuntu 22.04 + openvpn client = network "down"

I googled everything i was able to google, but with no success. I will simplify my question as much as possible. Routes before openvpn connection: Destination Gateway Genmask Flags ...
Oleg Golovanov's user avatar
2 votes
1 answer
234 views

Allow users to create and write to a log folder

I'm using Exim4 to run PHP scripts when an email is received. This script should create a file in the /var/log/myapp folder if it doesn't exist, otherwise it should just read the file and add more ...
Tom's user avatar
  • 269
0 votes
0 answers
20 views

Ngninx "cannot load certificate BIO_new_file() failed (SSL: error:0200100D:system library:fopen:Permission", help fix this [emerg] error

I am running an Ubuntu 20.04 LEMP server on a Raspberry Pi 4. In my nginx errror logs I am getting the following error: 2023/05/29 11:51:40 [emerg] 3356#3356: cannot load certificate "/etc/...
DanRan's user avatar
  • 93
0 votes
2 answers
20 views

Nginx strange upstream address after app restart

I have an application running in a container with an exposed port 8082. There is also an nginx configuration, part of which is shown below. In a normal situation, I see upstream: 127.0.0.1:8082 in the ...
Joe Doe's user avatar
  • 113
-1 votes
2 answers
58 views

How can I stop my MySQL server from going down?

I have a website based on a MySQL server on an Ubuntu machine. Every several weeks, one of my users complains that the site does not work, and I find out (using service mysql status) that it is ...
Erel Segal-Halevi's user avatar
0 votes
1 answer
34 views

I have an existing artifactory oss install. I want a new install. But it is not adding the "libs-release" and "libs-snapshot" repositories

All servers are Ubuntu 22.04 and I am using the OSS artifactory apt repo from jfrog. I have a VM with artifactory installed on it. For various reasons I need to replace that VM with a new one. I ...
elyograg's user avatar
  • 229
1 vote
1 answer
33 views

NGINX reverse proxy works on all browsers except Opera GX - what is causing the issue? [closed]

Hello I have a weird problem when browsing to my selfhosted Website: when I browse to my VPS Domain (which should proxy it to my homeproxy (nginx) and then to home webserver1) on Edge/Chrome/Firefox/...
manu1337's user avatar
0 votes
0 answers
23 views

No Input Device after logging in user on Ubuntu 23.04

Hello I am having a weird problem, i say weird because of my lack of technical experience. my Lenovo-Thinkpad T450 runs Ubuntu 23.04 (Lunar Lobster). usually the F4 key on this machine will handel ...
user15214827's user avatar
-1 votes
0 answers
25 views

Develop program that do not blindly accept package from anyone except selected IP [closed]

I used Socket programming in python3 but the problem is that other public computers know about the open port information. whether port 12345 is open or not. I want some low-level programming which not ...
fyaz6194's user avatar
0 votes
0 answers
56 views

Ubuntu automatically changes Current DNS Server not resolving my local hosts correctly

I have the following setup on my local network: A local DNS server running at 10.0.0.102 On the router i have set the primary DNS to 10.0.0.102 and secondary to 8.8.8.8 An Ubuntu server running on 10....
Luccas's user avatar
  • 1
0 votes
0 answers
16 views

Modsecurity Nginx breaking Wordpress Woocommerce checkout page. Can't find working rule exclusions

I am running an Ubuntu 20.04 based LEMP server on a Raspberry Pi 4. I am working on a Wordpress Woocommerce website at https://www.mcmo.is. Currently on iOS using Safari or Google Chrome, I can't get ...
DanRan's user avatar
  • 93
0 votes
3 answers
561 views

Ubuntu in Hyper-V stuck

so I tried to install Ubuntu 22.04.2 in Hyper-V on my Windows Server 2012. Installation goes fine but the first boot stops on black screen and a mouse cursor which doesn't move. I found some guide to ...
Vitas's user avatar
  • 107
0 votes
1 answer
118 views

Cannot install kubectl on Ubuntu - GPG Error

Hi I'm trying to install kubectl following the native package install instructions on the official site, but I get the following error when I try to update apt package list before installing kubectl: $...
sctx's user avatar
  • 3
0 votes
1 answer
42 views

PuTTY Reverse Tunnel to MySQL

I have: A local Windows 10 PC running MySQL Server 8.0.33 on port 33060. A remote Ubuntu 20.04.6 LTS VPS running MySQL Server 8.0.33 on port 3306. I want to create a reverse tunnel using PuTTY on my ...
Tyler's user avatar
  • 101
0 votes
0 answers
16 views

Rebuild a drive in a raid 1 array that got disconected

I am running on Ubuntu 20.04.4 LTS. I have 2 drives in a RAID 1 array. One of them got acidentely disconnected but is now connected again. raid1 sdb1[1] sda1[0] I have [U_] How do I synchronize? ...
Ben Edwards's user avatar
0 votes
0 answers
19 views

Speeding Up Wordpress On Ubuntu 22.04 [closed]

I currently am the owner of a website for a school project. It is my first time using Wordpress and I host it on Oracles free ARM capacity (24gb ram 4 core) on Ubuntu 22.04 with apache2 (done with ...
Angency's user avatar
-1 votes
0 answers
16 views

Allowing users to register on a website and thus adding entry via a form to database [closed]

we were recently requiered to add an account system to a website. The website is running with Nginx, and we use PhpMyAdmin to manage the databases. The forms to register and login were both made in ...
StopSign's user avatar
0 votes
1 answer
54 views

How to forward traffic through Linux box except requests to the box itself?

I have an Ubuntu box with IP forwarding enabled and a very simple iptables configuration to allow all packets from within the LAN to be forwarded: echo 1 > /proc/sys/net/ipv4/ip_forward /sbin/...
Adam J. Kessel's user avatar
0 votes
0 answers
47 views

fail2ban block plex failed login attempts

I want to ban IPs who attempt to authenticate against my public Plex instance. Im on Ubuntu and the log Im looking at is the following: /var/lib/plexmediaserver/Library/Application\ Support/Plex\ ...
Deac Karns's user avatar
-1 votes
0 answers
9 views

How setup Ubuntu host server to share files and VM with windows with an ERP software to windows clients?

I'm attempting to set up the network of a small office from my company. I run an ERP that just works on Windows, and we need a file server as well. At the office, we have 8 client machines running ...
FabioB's user avatar
  • 1
0 votes
2 answers
49 views

netstat no support on this system [closed]

in dealing with try to resolve another issue into my Ubuntu 22 OS I need to check out the ports that tightvnc is listening on for connections. I use this command : sudo netstat -lvp | grep vnc BUT ...
darkomen's user avatar
  • 103
0 votes
1 answer
28 views

Postfix/Dovecot Not receiving external emails in Ubuntu 16.04

I have read all of the threads and can't figure out what is the problem. I can send emails. I can receive emails from my localhost and my other email names of the same domain, but I cannot receive ...
Don40's user avatar
  • 103
0 votes
1 answer
19 views

Migrating server and backup server to bigger RAID 1 (software) arrays

I have 2 boxes. The server (actually an ownCloud server) and a backup server. Both are running Ubuntu servers. The main server has a RAID 1 array of 2x2TB drives. The backup server has a RAID 1 ...
Ben Edwards's user avatar
0 votes
0 answers
23 views

How to set speed limit per IP in IP range in Ubuntu

What I want: I've setup a openvpn-server and want the clients in range of 10.8.0.0/21 limit their speed to 10mbit for each IP as a total limit of 100mbit. wan interface : eth0 openvpn interface : ...
Root's user avatar
  • 101
0 votes
0 answers
31 views

Port forwarding in Ubuntu VPS server, from public ip to a clients

VPS in installed Ubuntu server 20.04 and OpenVPN, I need to forward all the traffic from a specific port of the vps public ip, to the same port of a VPN client. My Ubuntu VPS ip is 107.172.142.153 And ...
Firuj Ahmed's user avatar
0 votes
0 answers
26 views

Ubuntu20.04 : How to give non root user access to systemctl

The ubuntu version is 20.04 I am running a http service on port 6000. I have created the service and as a user root i can run the service successfully I have created a account svc_auto_bm and wanted ...
user305312's user avatar
0 votes
1 answer
71 views

IPv6 to IPv4 converting - tunnel between to ubuntu servers

I live in a country that recently launched a heavy censorship protocol on Internet. most of the IPv4s are restricted or completely banned. I have two servers , one in my country and another one in ...
Tobi Wright's user avatar
0 votes
1 answer
50 views

Sudoers NOPASSWD not working for specified commands

I have the following entries in the sudoers file: christian ALL=(root)NOPASSWD: /usr/sbin/shutdown christian ALL=(root)NOPASSWD: /usr/bin/systemctl start mc When running sudo shutdown -h now or sudo ...
Apollo's user avatar
  • 113
0 votes
0 answers
58 views

How was apache2 able to use 8+GB ram "in idle"? (oom-killer)

I bought a vps in Contabo, using ubuntu22, installed apache2, php, mariadb.Sometimes the apache2 uses all of my memory. Literally all. At idle, not really anything was running. A php process was ...
szlev's user avatar
  • 1
0 votes
0 answers
20 views

Bind9 and Web Server on the same machine + domain setup

I want to ask can I setup for example LAMP with all domains and Bind9 on the same machine ? If yes, ok. Now I have one .com domain for example : site.com Now I want to understand the steps to do to ...
webstackoverload's user avatar
0 votes
0 answers
15 views

Should I use a Squid on the host machine or a virtual machine?

I have a server from SoYouStart and 32 failover IPs. I need these IPs for proxy (for scraping). Should I set up Squid on the host machine (Proxmox) or on a virtual machine like Ubuntu + Squid? I read ...
robokonk's user avatar
-1 votes
0 answers
39 views

How do I expand the disk size? /dev/sda is not populating, /dev/vda1 full

I started uploading images and got my /dev/vda1 full. How do I expand the size? Googling told me to mount volumes. I use Digital Ocean, and followed these instructions: # Format the volume sudo mkfs....
Ivan's user avatar
  • 107
0 votes
0 answers
60 views

netplan mac address matching doesn't seem to work

I have a small pc box that only have one network interface, and since I needed 2 more interfaces, I've bought two usb network cards. Both same manufacturer. I wanted to rename interfaces (since they ...
zbro's user avatar
  • 27
0 votes
1 answer
48 views

How can I compress files while uploading them to GCP?

I am trying to automate backups to a remote GCP bucket. I am using the gsutil CLI and Crontab to schedule transfers of all files in a given directory. I would like to compress the files as they are ...
chargingBrontosaurus's user avatar
0 votes
0 answers
8 views

Networking issue in subdomain for two ISP - if one fails and other up

We have a subdomain which is connected through a ISP-A in CNAME. Through subdomain, a Program runs in a local server with ISP A. If the ISP-A is down, then program doesn't run. So we have added ISP-B ...
Anand Babu's user avatar
0 votes
1 answer
60 views

Setting mysql using ansible in ubuntu remote machine

I have written one ansible playbook for installing MySQL server in ubuntu remote machine but is not working here is the yaml code --- - name: setting mysql in ubuntu hosts: web01 become: yes ...
Nikhil Chopra's user avatar
0 votes
0 answers
36 views

same proxy pass config not working on both instances

i have a config /etc/nginx/sites-available/test that only proxies one server the first (blog) and returns a nginx 404 on the second (api) I have tried trouble shooting but to no avail i tried checking ...
georgy's user avatar
  • 1
0 votes
0 answers
23 views

Image upload continues after uploading all of their data [migrated]

I upload some images to a Telegram channel. They're about 10000 files. I choose them to be grouped and compressed. They're splitted into groups with 10 images each. After taking a reasonable time to ...
hamidi's user avatar
  • 111
0 votes
2 answers
74 views

apache server not responding due to HTTP CONNECT requests how to block them?

Apache server is getting this kind of traffic. Due to that server is not responding. Please suggest how can we handle this issue. 78.135.85.252 - - [07/May/2023:16:08:33 +0000] "\x16\x03\x01"...
Yogesh Prajapati's user avatar
0 votes
0 answers
38 views

Failed to apply the firewall configuration

I want to activate Firewall extension but i get error messag as you can see right below. "Command '['/usr/local/psa/var/modules/firewall/firewall-new.sh']' timed out after 14.999689102172852 ...
MrServerLearner's user avatar
0 votes
0 answers
32 views

How does pandora.x86 infect cloud servers?

We have a cloud server instance hosted at vultr. A previous instance at this provider has been infected by pandora.x86 a few weeks ago, causing 100% CPU load and over 1TB of traffic. (We believe it is ...
merlin's user avatar
  • 2,083
-1 votes
0 answers
51 views

DNS attempting to resolve a.domain.local

I was investigating some nginx issue when stumbling upon firewall logs which pointed to DNS activity from the VM where the nginx in reverse proxy configuration is situated. It seems odd to me that ...
foax's user avatar
  • 21
0 votes
0 answers
53 views

Installation and configuration of nginx on Ubuntu 20.04 LTS

I have been trying to install nginx web server on my local machine (Ubuntu 20.04 LTS). But the installation could not be completed. It's giving error that systmd is not found. Is it possible to ...
Achebe Chika's user avatar
0 votes
0 answers
16 views

nginx reverse proxy gateway not behaving with ssl

port 80 on the web server destination serer 192.168.0.43 works in every way: gateway and inside the lan. Perfect. I have the certbot certs on the gateway 192.168.0.60 generating perfectly the domain ...
Mr Heelis's user avatar
  • 123

1
2 3 4 5
327