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
20 views

How do I make an OpenVPN server access the internet using its second IPv4 when a client connects to VPN on a specific port?

Here are my current environment details for clarification: Platform: Linux VPS OS: Ubuntu Server 20.04 Firewall: UFW I have deployed an OpenVPN server on a Linux VPS. the VPN server works perfectly ...
user avatar
0 votes
0 answers
17 views

Recover inactive raid5 array (disk not included in array?)

I have a 4-disk raid5 setup, and after a power outage one of the disks suddenly thinks it doesn't belong to the array. Each of the disks are /dev/sdb-e, with the raid at /dev/md0. mdadm --examine /dev/...
user avatar
0 votes
0 answers
21 views

Reload Coturn SSL certificates

I'm using Coturn-4.5.1.1 'dan Eider' on Ubuntu 20.04.3 LTS , and try reload renewed SSL certficates without restarting the whole service to avoid downtime by using SIGHUP reload OpenSSL certificates ,...
user avatar
0 votes
0 answers
14 views

USB Serial Communication With Docker

So I'm trying to create a docker container to run my python script that reads serial data from an RFID reader. The scripts are as follows: read0.py: import serial import time arduino = serial.Serial('...
user avatar
0 votes
1 answer
38 views

Add self-made certificate as trusted

I have a locally generated root certificate (Company_CA.pem) used to sign PDF files. The signing process works fine and, after installing the public key on Adobe, I'm able to verify signatures and ...
user avatar
  • 121
0 votes
0 answers
45 views

Removing removed disk from Raid-1 in MDADM

I have a server where 2 disks were in Raid-1. Disk-1 went faulty and due to some reasons I had to take reboot of the server and below is the current status after that. Now, I am unable to remove the ...
user avatar
0 votes
0 answers
16 views

Force non-interactive setup on Debian/Ubuntu

I'm using packer to update an RStudio image that I maintain (https://marketplace.digitalocean.com/apps/rstudio), this is something I do for the community. The 1st script in the pipeline starts with ...
user avatar
0 votes
0 answers
14 views

Docker getting roundcube work under subpath /webmail

So I have a docker server up and running, using apache2 (unfortunately nginx proxy manager has problems with subpaths). I have dockerized applications and I only have one subdomain and have to get my ...
user avatar
0 votes
0 answers
24 views

how to log the port details in nginx access-log?

I am maintaining nginx as the load balancer for the servers. Now I am maintaining the access-logs, I need the details of the port of which I am receiving the request from the external servers. For ...
user avatar
0 votes
0 answers
40 views

Unable to connect to SFTP neither using Filezilla nor PuTTY (client_loop: send disconnect: Broken pipe)

Everything was working this morning but maybe I broke something with my SFTP user. On FileZilla, I was unable to download a file from my Virtualbox VM so I decided to restart my FileZilla client and ...
user avatar
  • 1
0 votes
0 answers
12 views

Poor dockerized zabbix frontend performance

I'm new to Docker. I decided to try out turning into containers my Zabbix monitoring system. The first thing I noticed was poor apache performance that is in zabbix/zabbix-web-apache-mysql container. ...
user avatar
0 votes
1 answer
25 views

Why Does Iptables rules not persisten by default?

I would be happy if I can learn why iptables rules do not exist persistent if saved by default without any effort to install a new package named netfilter-persistent. Thanks.
user avatar
0 votes
0 answers
14 views

Need help changing this NGINX config to APACHE2

So I've been trying to rewrite this NGINX config to apache2 for over a few hours now. But nothing seems to be working. NGINX v server { listen 80; server_name dash.mcworld.cc; return 301 https://...
user avatar
0 votes
0 answers
14 views

Wireguard server: allow clients to communicate with devices local to the server through Wireguard (effectively using wireguard as a tunnel)

I've got a bit of a weird problem, and I'm not sure if I'm trying to fit a square peg through a round hole or if I'm just not sure how to ask the question I really want to ask. At home, I have a ...
user avatar
0 votes
1 answer
19 views

Nginx Bad gateway error code 502 archivematica

hey everyone I am a new to Linux. I have installed archivematica on my VM using VMware Workstation. I have followed the guide below, but when i try to access this machine using its IP address which is ...
user avatar
0 votes
1 answer
36 views

spamass-milter[1403]: Could not retrieve sendmail macro "i"!. Please add it to confMILTER_MACROS_ENVFROM for better spamassassin results

I am running an Ubuntu 20.04 based LEMP server on a Raspberry Pi. Installed on it is postfix/dovecot/amavis/spamassassin. When I look at my mail.err logs by running the following command: cat /var/log/...
user avatar
  • 63
0 votes
1 answer
14 views

KVM bridge only assiging ipv6 adresses on VM

I use KVM in bridged network mode so I can have a VM that has an IP from the host LAN network. My host (Ubuntu 18.04 server) networking is configured as below : network: ethernets: enp0s31f6: ...
user avatar
0 votes
1 answer
29 views

How to change DefaultTasksMax in system.conf?

I want to change the DefaultTasksMax in /etc/systemd/system.conf but won't change. The command: systemctl show --property=DefaultTasksMax still (even after server restart) produces this output: ...
user avatar
0 votes
0 answers
26 views

MySQL 5.7 (5.7.38): install audit plugin - MariaDB variant gives problems

To get a audit trail of users/hosts they're connecting to a MySQL server, I would like to install an audit plugin. I read a lot about the MariaDB server_audit plugin. However, when I try to install ...
user avatar
  • 1
0 votes
0 answers
39 views

postfix/submission/smtpd: How to blacklist IP addresses with too many failed login attempts using fail2ban or by any other means [closed]

I am running a LEMP web/email server using Ubuntu Server 20.04 on a Raspberry Pi. I have successfully setup an email server on it following a lengthy guide from linuxbabe.com. Just as the tutorial ...
user avatar
  • 63
0 votes
0 answers
32 views

Disable usage of PHP-FPM pools on server

I originally setup my client's server to have PHP-FPM pools for each domain. I realize now this was not necessary and I am wondering what steps need to be taken to disable the pool functionality and ...
user avatar
0 votes
0 answers
40 views

glib-2.56 is required to compile [closed]

I downloaded the glib-2.56 and configured it with ./configure --prefix=/usr and make and make install. But still I get this error when I try to compile qemu. I'm using Ubuntu 16.04 LTS. root@ubuntu-c:~...
user avatar
  • 327
0 votes
1 answer
34 views

Cron Docker container not rebooting properly after unattended upgrades

Disclaimer, I have very little experience with Docker and servers in general. Most of the server-related things I do by following manuals created by former employees and a lot of Googling. We are ...
user avatar
0 votes
1 answer
143 views

Unable to start php-fpm on ubuntu 20.04

I am trying to start php8.1-fpm and i get the following error (while php8.0-fpm and php7.4-fpm start correctly). Any help would br greatly appreciated. [root@ ~]# systemctl status php8.1-fpm.service ● ...
user avatar
0 votes
1 answer
32 views

Get usernames and IP addresses via tcpdump (or another capture tool) connecting to a MySQL server

I've MySQL installed on my Ubuntu server. Because I would like to clean up my users they're currently active in MySQL, I would like to check first which users - and from which host - are connecting to ...
user avatar
  • 1
0 votes
0 answers
26 views

How to redirect all https domain from www to non www using nginx config file nginx.conf?

I want to redirect all domain from www to non-www using Nginx config file nginx.conf. I have tried using the below configuration but it only work for URL start with HTTP but does not work for HTTPS I ...
user avatar
  • 101
0 votes
2 answers
30 views

"postconf: warning: /etc/postfix/main.cf: undefined parameter: mail" when running the command "postconf default_process_limit" in Ubuntu 20.04 Server

I am running an Ubuntu 20.04 LEMP Server. It is an Email and Web Server. I am having a puzzling warning in my postconf messages that I need help fixing. When I run the command postconf ...
user avatar
  • 63
0 votes
1 answer
28 views

OpenVPN Not Listening on Non-Default Port 1190

I am trying to set up OpenVPN on a server, but cannot get it working. I have changed the default port (mostly to by-pass possible VPN blocks), but cannot connect to the server. openvpnas@ip-xxx-xx-xx-...
user avatar
1 vote
1 answer
14 views

qemu-kvm: prevent host from accessing passthru LVM disks

I am running multiple Ubuntu (5.4.0-117-generic) qemu-kvm hosts. On each I am passing multiple block devices through to VMs thusly: <disk type='block' device='disk'> <driver name='...
user avatar
  • 151
-2 votes
1 answer
32 views

Config HPE servers BIOS Settings By OS

Is there a way to configure BIOS settings, for example: hyperthreading 2.date/time power settings BOOT mode and etc... Can you suggest a package for my needs in Ubuntu? I found hpasmcl, but I didn't ...
user avatar
0 votes
0 answers
22 views

Why cant i ping the Server, when i used an Tinc Invitation?

i have a Tinc VPN and created an invitation on 1 specific node. Then i installed the same tinc-version on a new server and used the invitation code. The new files were created and i changed the tinc-...
user avatar
0 votes
2 answers
43 views

How do I install PHP 5.5 on a new version of CentOS or Amazon Linux or Redhat or Ubuntu?

I just joined a new company. I've been asked to build a CI/CD pipeline for a Laravel app. It is very fragile. It was built for PHP 5.5 and it breaks when they've tried to upgrade to 5.6 or 7. They don'...
user avatar
0 votes
0 answers
20 views

deluge client cannot connect to the server

I have a deluge daemon (version 2.0.3) running on my home server (Ubuntu 20.04). The problem is that I am not able to connect to it with my client running on Mac OS: It's looks pretty weird to me, as ...
user avatar
0 votes
0 answers
17 views

Best way to bypass 'VPN' port blocking for SMTP and IMAP on iOS

I live in a country that requires a VPN to access most of the internet. My email is hosted outside of this country. The VPN provider provides Shadowsocks proxies which when wrapped in Shadowrocket on ...
user avatar
0 votes
1 answer
22 views

postfix loops back to myself email issue (was working before apt upgrade Ubuntu)

Everything was working normal till apt upgrade on Ubuntu 20.04 LTS, don't even remember what was upgraded, just routine, didn't change any config... I really tried to fix, searched, but I don't know ...
user avatar
  • 103
0 votes
1 answer
13 views

postgres log file rotates after about one meg

I'm running postgres 10.2 on ubuntu 18.04. I'm getting mulitple log files throughout the sameday, it seems like they are rotating after a certain file size: -rw------- 1 postgres postgres 10485987 ...
user avatar
  • 271
-1 votes
0 answers
11 views

Error 404 Ubuntu and Xampp [closed]

I'm creating my project in a virtual machine (Ubuntu 20.04.4) using bind9 to resolve the domain name and Xampp. So when I try to visualize it from another computer I have the 404 error: Forbidden ...
user avatar
0 votes
1 answer
20 views

Port 80 filtered can't open it . Ubuntu 20.04

I have install nginx-full package in ubuntu. Then make listen port 80. Try to open port 80 but still show filtered. I use nmap -sS 183.63.219.79 then check the trouble must be from iptables: -P ...
user avatar
0 votes
0 answers
71 views

iptables: what's the best way to block hackers attacking our site via our CDN IP address

We are using fail2iban on Ubuntu 18 to detect bad login attempts and ban the IP addresses which try too many times. We use iptables for the IP blocking. After using it for a while we noticed that some ...
user avatar
0 votes
0 answers
28 views

User not found in /etc/passwd error while installing kubernetes cluster with kubespray

I am trying to deploy a Kubernetes cluster using kubespray, however, when I run the command: ansible-playbook -i inventory/mycluster/hosts.ini --become --become-user=root cluster.yml It displays the ...
user avatar
0 votes
0 answers
36 views

Nginx configuration with NodeJS application on Ubuntu 20.04

I've been attempting to configure a backend NodeJS server (ExpressJS) to use with Nginx, but there have been some difficulties. I am currently running a DigitalOcean droplet with Ubuntu 20.04 ...
user avatar
0 votes
2 answers
48 views

How to use ssh-copy-id on remote server?

I have an ec2 instance which I can connect using this command with the ssh_key.pem file I have. ssh -i ssh_key.pem ec2-user@54.174.85.61 I am trying to use ssh-copy-id to add the public key I have on ...
user avatar
0 votes
0 answers
9 views

Monitor free space with monit ... but only if the folder is mounted

For my backup, external disk space is mounted via cronjob as /mnt/backup on a Ubuntu machine every night. When the backup is complete, the disk is unmounted. No need to expose the backup drive to ...
user avatar
  • 858
0 votes
0 answers
28 views

Alternative to ufw and iptables on Ubuntu with Docker

I’ve recently learned that when I’m running docker containers it modifies iptables and makes life difficult to keep ports closed that I want to keep closed. For example I have an nginx proxy that ...
user avatar
  • 119
0 votes
0 answers
44 views

apt-get stuck at downloading deb file at 33%, but wget+dpkg is OK

I use Google Cloud Artifact Registry to serve a public deb package. Recently apt-get stucks when downloading the deb file at 33%: # apt-get install pkg_name_placeholder Reading package lists... Done ...
user avatar
  • 101
0 votes
1 answer
14 views

LVM Extending Fails

I'm running a VM in proxmox. I originally didn't have enough space allocated to the VM so now I'm trying to extend it. I've allocated more space in proxmox. And it is recognized in sda3. I was using ...
user avatar
0 votes
0 answers
55 views

Install pip3 on new Ubuntu Server 22.04 install (Raspberry Pi)

I have just installed Ubuntu Server 22.04 LTS on my RPi, and I cannot for the life of me get pip3 to install. (It should already be there, no?) Here's my /etc/os-releasse: PRETTY_NAME="Ubuntu 22....
user avatar
0 votes
1 answer
27 views

Ubuntu ZFS install hangs before reaching grub menu

After upgrading some packages and restarting, I can no longer reach the grub menu. My system hangs at the motherboard logo and provides no other output. I can boot to an Ubuntu Installer USB, and I ...
user avatar
  • 123
0 votes
1 answer
51 views

RDP into VM without an OS

Is it possible to RDP into a Virtualbox VM in order to install an OS on it? So in other words is it possible to RDP into a Virtualbox VM that has no OS installed yet? I have a headless ubuntu server ...
user avatar
1 vote
1 answer
24 views

UFW not allowing ssh even though i have allowed it

Struggling a bit with UFW on ubuntu, i have internal and external adapters and on this particular server i only want public access to port 22 which is the adapter "eno1" To acomplish this i ...
user avatar
  • 119

1
2 3 4 5
316