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
2 votes
1 answer
7k views

How does changes in /etc/pam.d/common-session-noninteractive affect fail2ban and possibly other programs/services?

Fail2Ban on Ubuntu 10.04 Configuration files /etc/fail2ban/jail.local [DEFAULT] ignoreip = 127.0.0.1 bantime = 10 # made for test purposes maxretry = 3 backend = polling destemail = email@...
0 votes
1 answer
68 views

OpenVPN setup inexplicably stopped working

After some struggle a couple months ago, I set up an openVPN server and client to remotely connect to my first PC build. Everything is running Ubuntu 20. It worked fine until now, allowing me to ...
0 votes
3 answers
37 views

How to setup recovery on Ubuntu server?

We have Ubuntu server on the remote location that may or may not have an Internet access. It will run several applications and we want to make sure that if something goes wrong on OS or app level, we ...
0 votes
0 answers
8 views

Getting command failed: NO_PY2=1

Sorry if its trivial question. I do not have experience with linux terminal. I am trying to install RedisJSON on ubuntu 22 on Windows. https://redis.io/docs/stack/json/#build-from-source When I run ...
0 votes
0 answers
20 views

Failed to remove partition when install ubuntu

For the test, I am going to delete the installed xcp-ng and install ubuntu. The server is HP ProLiant Gen8 and one of the seven HDDs configured with RAID-5 was missing. Language setting, network ...
0 votes
0 answers
12 views

cron / crontab : auto delete oldest backup files when new files get backed up, only if disk space is near capacity

I am using crontab (on Ubuntu Server 20.04) to automatically create daily backups of a text file and storing them on an external hard drive. I am using the following crontab to create my backups: @...
0 votes
0 answers
10 views

Having OpenVPN and Docker running on the same Server

I am relatively new to the whole server administration thing, so I apologize if this is something easy which I was not able to find a solution to on my own. So I have rented a little Server with ...
0 votes
0 answers
19 views

New VPS to host wordpress websites + Node JS Apps and REST APIs

I'm a web & mobile dev and used to host my websites (Wordpress & Joomla) on shared hosting. However, I'm working now on a React app with a REST API built with Express JS/Sequelize/MySQL on ...
-1 votes
1 answer
27 views

How to get password without changing it in linux server

I have linux server ubuntu 20.04 Any command to show you password belong to user ? or a file in server which can show passwords?
0 votes
1 answer
24 views

Run sh script as root on Ubuntu every time a user logs-in

I want to run a sh script as root on Ubuntu automatically, every time a user logs in. I tried to place the script in /etc/profile.d The script is being run but is run using the account of the user not ...
2 votes
1 answer
6k views

Failed to fully start up daemon: Connection timed out

After a few Ubuntu updates this started happening. Whenever logging into this server, either by using the LDAP client or a local user, it takes a long time to get authenticated and log in. /var/log/...
0 votes
0 answers
9 views

Ubuntu 22.04 error in virtual machine : net ads join -U gives error 'illegal instruction (core dumped)'

I am trying to join a Ubuntu Desktop 22.04 (running on VMware ESXi 7 hypervisor) to my domain. All goes well untill the command 'net ads join -U admin-user'. Then I get 'Illegal Instruction (core ...
0 votes
2 answers
25 views

Log the Network Usage of a Linux Process?

I'm looking for a way to log the network traffic of a single Linux process (on Ubuntu, but will look at other flavours too). I'm after something like tcpdump but for a process rather than the whole ...
1 vote
1 answer
45 views

Something deletes my ip rules

So I have this server on Ubuntu 22.04 with a few ip rules, and they get overwritten every few minutes. All my rules get deleted pure and simple. example of such rules: ip rule add pref 10 from all ...
0 votes
0 answers
12 views

Devstack deployment on Ubuntu

I created a clean Ubuntu 22.04 VM in Virtualbox and I want to deploy openstack using devstack. I followed the guide in the Openstack documentation and I encountered the following error: [ERROR] /opt/...
0 votes
0 answers
97 views

ubuntu htop half of cores in blue 100%

I had try to reboot my server with two e5-2637v3 cpu. does blue mean nothing to do?
1 vote
2 answers
2k views

Module ip_tables not found after upgrade

Since I upgraded recently my Ubuntu server from 20.04 to 22.04 I have an issue with Docker. Docker will not start any more after reboot, because of the ip_tables module. After every reboot of Ubuntu ...
-1 votes
0 answers
18 views

Samba share cannot write to other drive

My current config is [NAS] comment = 1TB NAS Drive path = /RAID/NAS valid users = pluto public = yes writable = yes file mode = 0777 dir mode = 0777 I simply cannot write to my sdb drive which is ...
2 votes
3 answers
4k views

Directory listing isn't working on nginx showing 404 error

So I was trying to setup directory listing on my server with nginx, I followed the instructions step-by-step but nothing worked out -- always showing either 403 or 404 errors while permissions are all ...
0 votes
0 answers
22 views

Simultaneous Use in freeRadius 3.0

I install Ubuntu server 22.04 I install apache2 I install PHP I install PostgreSQL and phpPgAdmin I install freeradius 3.0 ln -s /etc/freeradius/3.0/mods-available/sql /etc/freeradius/3.0/mods-enabled/...
0 votes
0 answers
14 views

Ubuntu, https inspection, in transparent proxy mode (trust self signed cert for all browsers, another soft and system) its possible? [closed]

How you think is it possible on Linux to centrally and automatically add self-signed certificates to trusted ones for many computers and users of (each) computer? To ensure that resources are used ...
0 votes
0 answers
13 views

LXC containers port is not forwarded to external network

I'm trying to set up a Pi Hole to run inside a LXC container on Ubuntu 22.04. So far I successfully initialized LXC, created the container and installed Pi Hole. The host IP is 192.168.153.2. The ...
2 votes
2 answers
4k views

Nginx server redirect loop after SSL

So i've had some problems getting SSL to work on my Nginx server. After some time trying and following tutorials i've finally got it to work. Then when i wanted to access the hipchat server i got ...
0 votes
2 answers
41 views

How to prevent ssh user to login if same user is still logged in?

For security reasons, I want to restrict users to have more than one ssh connection. In terminal, if I check $ last user , I'll find the user is still logged in. Is any solution to check if user is ...
1 vote
1 answer
8k 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 votes
1 answer
15 views

Bind: (Reverse) zone not loaded due to errors

Using Ubuntu Server and bind9... Here's the error: enter image description here Direct zone: enter image description here Reverse zone: enter image description here Named.conf.local: enter image ...
7 votes
2 answers
8k views

ZFS ARC cache and Linux Buffer cache contention (Ubuntu 16.04)

My test system setup is a simple raidz 5 disk (8 TBs each) zpool with 256 GB RAM. Performance starts out good, achieving around 650 MB/sec throughput. Eventually, the Linux Buffer cache fills up and ...
1 vote
1 answer
5k views

Error: KDC has no support for encryption type

I have intermittent authentication issues on my ubuntu 15.04 servers. Periodically, authentication will just stop working. Eventually it will start working again on its own. Or, if I restart both smbd ...
0 votes
0 answers
20 views

LibreSwan IKEv2 multiple left subnet for vpn splitting

I have built an IKEv2 VPN server. The current config in /etc/ipsec.d/ikev2.conf is like this: conn ikev2-cp left=%defaultroute leftcert=58.xx.xx.xxx leftsendcert=always leftsubnet=192.168.1....
0 votes
2 answers
22 views

PowerDNS Master/Slave AXFR chunk error: Server Failure

Short description I´m running two PowerDNS 4.2 machines on Ubuntu 20.04 with PowerDNS-Admin and PowerDNS-recursor. Both machines use mysql backends. The problem is, wehn ever I start a NOTIFY from ...
0 votes
0 answers
18 views

Does QGIS actually need X-Server/xvfb?

I'm new to QGIS and stumbled about this question while playing around with the QGIS Server configuration. The QGIS Server installation guide says: QGIS Server needs a running X Server to be fully ...
0 votes
0 answers
12 views

How do I gain more space on the root filesystem? [migrated]

I have multiple filesystems and mounts on a linux device (its an Odroid XU4 with Ubuntu OS) im using. I'm using an SD Card for booting, which is 64gb, and there is an emmc module also attached, which ...
0 votes
0 answers
14 views

Updating Ubuntu broke permanent etc/hosts configuration

I use /etc/cloud/templates/hosts.debian.tmpl file to have permanent /etc/hosts/ rules for my Ubuntu server (ver 22). Today I updated the server but I had troubles with Nginx Proxy setup on my server, ...
4 votes
4 answers
3k views

Make NFS server listen only on a specific interface

I am trying to run a NFS server (nfs-kernel-server package) on a Ubuntu 20.04 machine and want to make it only acessible via VPN. I have set the appropriate IP address in the /etc/exports file and my ...
4 votes
1 answer
5k views

Change remote server's hostname with ansible

I want to change my remote server's hostname so I used the hostname module: - hostname: name="{{my_hostname}}" But that also changed the ansible_host to that value, and so messed up remaining tasks. ...
0 votes
1 answer
5k views

Python script keeps getting killed

I run a python script on VPS and I have problem that script keeps getting killed. I had this problem already with 2GB RAM server config, then I upgraded to 4 GB and it seemed to fix the problem (at ...
2 votes
2 answers
9k views

Nginx configuration issues

I'm having a lot of trouble getting my Nginx Website showing up correctly. I've been getting 404 errors, and now i'm getting a Connection Refused error. This is my Nginx configuration user www-data;...
0 votes
1 answer
35 views

Ubuntu server: after upgrading to 22.04 LTS my disk space decreased from 54% to 30%. How can I free up some space?

I recently upgraded an old VM from Ubuntu 18.04 to 20.04 and 22.04. Before the update, I had ~50GB of free space, now I have 24GB. I already run apt autoremove, I purged unused kernel files and ...
0 votes
0 answers
40 views

I installed kubeadm for Linux + Windows Server 2019 but it shows not ready for Windows Server node

I installed kubeadm and kubernetes as a master-worker on Linux machines and Windows Server machines, kubectl and kubelet are running on both, when I say get nodes, I see both nodes, but I could not ...
user avatar
0 votes
0 answers
79 views

cURL error 7: Failed to connect to localhost port 443: Connection refused

OS version: Ubuntu 20.04 x86_64 Plesk version: Plesk Obsidian 18.0.47.5 Hi, I am running XenForo Forum on my Plesk which running behind Cloudflare. I get following erro log, which is showing me that ...
0 votes
2 answers
2k views

Why does udevadm not provide me a disk serial number when hdparm can?

Compare: root@home:~# hdparm -I /dev/sdb | grep Serial Serial Number: WCJ025C8 Transport: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3....
0 votes
0 answers
17 views

Lower throughput in a Bridge created as a Ethernet Switch in a Ubuntu Server -

The setup is given below. I have a server with NIC(eth0 and eth1). I have created a bridge br0. The idea is I want to send the packets received from eth0 via br0 to eth1. (Laptop)__________Ubuntu ...
0 votes
0 answers
31 views

Ubuntu ethernet bridge limited to 1Gbs?

I have an Intel 522SFP network adapter in a Ubuntu Server machine and I am facing a strange issue with speed. If I use it "directly" with this netplan (enp1s0f0 interface) : # This is the ...
2 votes
4 answers
29k views

IPTABLES: Another app is currently holding the xtables lock

I manage an Ubuntu server (14.04) with ispconfig 3 installed on it. The server is being used for mail, web and data. The sysadmin before me had fail2ban and ufw enabled but we have been experiencing ...
1 vote
1 answer
8k views

Running a bash script from Putty on a remote server

I was advised to post here after my question was closed on Stack Overflow. I'm trying to run a bash script on a remote server using Putty over SSH. I'm on a Windows 10 machine and the script is saved ...
-2 votes
1 answer
62 views

ubuntu: /bin/sh: apt: not found

I have a container on which I want to install ca-certificates, but despite being ubuntu, it doesn't recognize both apt and apt-get ~ # cat /proc/version Linux version 5.4.0-109-generic (buildd@ubuntu) ...
0 votes
1 answer
31 views

Nginx sometimes crash

Sometimes nginx randomly crashes (once every few months) Here's the log I got when I ran systemctl status nginx nginx.service - A high performance web server and a reverse proxy server Loaded:...
0 votes
0 answers
27 views

Ubuntu FTP random behaviour

I'm doing backup via a shell script on multiple machines and uploading the files to a FTP server. The backup is triggered either by Ansible (or for testing purposes via a cronjob). All servers are ...
0 votes
1 answer
49 views

socat is missing commands for haproxy on ubuntu 20.04

I have installed haproxy 2.6.6, socat 1.7.4.1 and have a working load balancer for Exchange. I want to be able to turn off a node for maintenance and have unsuccessfully tried to use socat to do this. ...
0 votes
0 answers
24 views

How to create a secure tunnel between two servers? [closed]

I have two Ubuntu servers at different locations and i would need a secure way to communicate between them i have thought about using vpn but i couldn't find a way for it. Both of the servers are ...

1
2 3 4 5
324