Questions tagged [linux]

Linux is the generic term for a UNIX-like open source operating system based on the Linux kernel.

Filter by
Sorted by
Tagged with
1 vote
0 answers
6 views

Azure NFS migration from on prem NFS

Context: We are working on a data migration project involving the synchronization of data between an on-premises NFS filesystem and an Azure NFS-based file share. The goal is to ensure a seamless ...
green's user avatar
  • 11
0 votes
1 answer
21 views

Bash script : Print all lines between two pattern in variables with slashes

I have a directory that looks like so : /path/to/files/data-file.1 /path/to/files/data-file.2 /path/to/files/data-file.3 /path/to/files/data-file.4 /path/to/files/data-file.5 /path/to/files/data-file....
Ror's user avatar
  • 323
-1 votes
0 answers
10 views

pcap_inject fails with error "No buffer space available" on CentOs

I am creating an application where I am sending packet to network port / veth port with pcap_inject(). It was working few days back but now it started throwing error as "No buffer space available&...
Jai Kishore's user avatar
0 votes
0 answers
8 views

Using sssd for local authentication and identification against /etc/passwd?

This question is about RedHat Enterprise Linux 7/8/9 and Ubuntu 22.04, but it is probably pretty universal for most distros. I have sssd working for authentication against both Active Directory and an ...
Kevin Keane's user avatar
0 votes
1 answer
37 views

Apt asks me "Which services should be restarted?", but won't accept my answer

Restarting services... Daemons using outdated libraries -------------------------------- 1. containerd.service 4. fail2ban.service 7. networkd-dispatcher.service 10. systemd-logind.service ...
Alex's user avatar
  • 213
0 votes
1 answer
40 views

Logging Source IP of SMB Login Attempts

We have an TrueNAS System running TrueNAS-13.0-U5.3. It is bound to Active Directory and used solely for SMB file sharing. Recently there have been periodic event where SMB service quality is degraded ...
sardean's user avatar
  • 833
0 votes
0 answers
6 views

Fluentd logs not sent to Elasticsearch on K8s

I have a cluster in VirtualBox to learn kubernetes. I have a deployment that contains MySQL and phpMyAdmin. I created a DemonSet that has the fluentd image and collects the logs to transmit them to ...
vasile Berco's user avatar
1 vote
1 answer
71 views

Blocking traffic from specific countries. How to kill existing connection?

Using Linux Debian Bookworm. Problem I want to block all incoming connections to my server coming from specific countries. Edit As someone pointed out in the comments, I really shouldn't be doing this ...
Zippy1970's user avatar
  • 259
1 vote
0 answers
15 views

Replacing Xcfe4 to GNOME [closed]

We are planning to make a Linux Distro using EznixOs and I want to change the environment to GNOME from Xfce4. How can I do that?
Aditya Kamble's user avatar
-1 votes
0 answers
45 views

Convert plain TCP package into http request

I have an Apache server set up on port 80, and I receive data (text string) in plain TCP/UDP packets on port 8082. I need my Apache server to receive these text strings for processing. If I have ...
Matt Welander's user avatar
-1 votes
0 answers
20 views

Small linux box suitable for router [closed]

I'm looking for small (maybe ARM) box suitable to work as a router. The point is it should have pure Linux distro (maybe Debian or Arch based) and allow installing new packages. The perfect candidate: ...
Dzery's user avatar
  • 1
0 votes
0 answers
24 views

In Linux how to find if a file was read and at what time [migrated]

Is there a tool or command where we can see if a file was read and at what time? I would only find for last modified.
kumar's user avatar
  • 317
0 votes
0 answers
10 views

Performance problems when running Wireguard between Linux virtual machines. Same config on physical hosts works fine

I’m running into performance problems with Wireguard tunnels running between two virtual machines on the same hypervisor (running under Qemu/KVM) and I would greatly appreciate any insights/advice ...
Tulkas's user avatar
  • 1
0 votes
0 answers
26 views

Simple solution to archive dovecot/postfix emails to second server nightly for long term storage with roundcube access

Our email server has ~150 email accounts containing material that cannot be deleted for 10 years. Some accounts are heading towards 10gb of data so I'd like to setup a nightly archive process that ...
Adam's user avatar
  • 41
0 votes
1 answer
40 views

VPN on Linux - IP routing issue

I got the following scenario: an ubuntu server 20.04 lts, for simplicity named A server with the following network interfaces: loopback enp1s0 (wan) PUBLIC-IP/23 enp8s0 (lan) 10.9.96.3/20 ppp0 (l2tp) ...
Emiliano Spada's user avatar
0 votes
0 answers
23 views

Trigger OS shell script post kubernetes container boot

I am running truenas scale 23.01 with kubernetes. On the system I have a container X and a small app Y running natively that interacts with this container through its local IP and port. Whenever ...
cmplieger's user avatar
  • 101
1 vote
1 answer
19 views

Exim, Debian 12 (bookworm): Tainted '..Maildir/' (file or directory name for maildir_local_delivery transport) not permitted

I have this Exim transport that works just fine on Debian 10: maildir_local_delivery: driver = appendfile group = mail maildir_format = true create_directory = true directory = /home/${...
LetMeSOThat4U's user avatar
4 votes
1 answer
41 views

Filtering for HTTP methods in IPv6 packets using tcpdump

I am using "tcpdump" to capture traffic, and I want to filter by HTTP methods. When I have IPv4 packets, I am using: tcpdump -s 0 -A 'tcp[((tcp[12:1] & 0xf0) >> 2):4] = 0x47455420' ...
Sagi313's user avatar
  • 41
2 votes
1 answer
201 views

Samba share not accessible to client in the same network

Two servers in the same network, a Windows server (client), and a Linux server (samba share host) The shared folder can be seen by the client but not accessed. See below for the configuration: smb....
Tango's user avatar
  • 23
1 vote
2 answers
82 views

How to use nft on linux bridge to block access to certain ip addr?

I have an Ubuntu box with a bridge br0 defined. The bridge has eth0 connected to the internet service and eth1 connected to the network port of a PC. The bridge is functioning as expected and passing ...
Michael's user avatar
  • 13
0 votes
0 answers
45 views

Very strange behavior of OpenVPN between two sites

We've got a OpenVPN configured with layer2. It is connected to a BGP router which announces a /24 IPv4 and a /29 IPv6. The purpose of the VPN is to redistribute IPv4 and IPv6. However, recently I have ...
Kibioctet's user avatar
0 votes
0 answers
23 views

OpenVPN connected with route errors [closed]

When connecting to OpenVPN, i get new IP and 2ip shows me it (even though it shows me another country). Whenever i cannot acces websites that are not working without VPN. OpenVPN GUI shows me message &...
8hoursking's user avatar
0 votes
0 answers
21 views

How to secure linux Server for dev purpose [closed]

I'm working on a website project with a friend, and we're using instances like Keycloak and MongoDB for our project. To avoid the need to install everything on each of our devices, I've rented a ...
RandolfDerGraue's user avatar
0 votes
0 answers
20 views

Systemd sequencial stop of template unit instances

I have a template unit that that I have to created in order to start/stop some services running an a given port. something like [email protected], ser[email protected]. [Unit] After=network.target ...
thiebaut fischer's user avatar
0 votes
1 answer
32 views

Have you got a worked example of using Postgres through ODBC with openssl and the Progress DataDirect Linux driver?

I am new to openssl configuration, Postgres, and the Progress DataDirect ODBC driver, and I am trying to set this up. I have Postgres working in a container, set up with tjcw:~$ openssl req -new -x509 ...
Chris Ward's user avatar
0 votes
1 answer
51 views

Is it possible to configure a Linux/Ubuntu computer to be network silent?

I'm testing a customized network device using a Ubuntu computer from which I send network packets and check the actions on the network device. I'd like to only send over the packet I want, but since ...
fiedel's user avatar
  • 3
0 votes
0 answers
19 views

AWS CodeDeploy - Must be connected to a terminal

I have a CICD Bitbucket pipeline that runs and tries to execute a deployment script. appspec.yml version: 0.0 os: linux files: - source: scripts/osgi-deploy.sh destination: /home/...
Richard's user avatar
  • 145
-1 votes
1 answer
46 views

SSL Certificate Renewal Broke Payment Gateway - Modulus Mismatch

I have encountered a problem with my website's SSL certificate renewal, and it seems to have affected my payment gateway. Here's a brief overview of the issue: Background: I have a payment gateway ...
Eann's user avatar
  • 3
3 votes
0 answers
53 views

Reading from software RAID in parallel is slower than it "should" be, given other benchmarks

Note: I have seen some somewhat similar questions here, but: none of them concern reading many files in parallel, and most are 10+ years old and concern no-longer-relevant hardware and kernel ...
Daniel McLaury's user avatar
0 votes
0 answers
21 views

umount a bind source won't work, and device out of space

I think I may have shot myself in the foot. Long ago I tried to backup a old linux machine to a nas using the mount bind command: mount --bind / /mnt/src tar -C /mnt/src -c . > /mnt/backup_to_nas/...
Codejoy's user avatar
  • 117
1 vote
0 answers
50 views

Nftables does not work as expected to block with meter

Goal: Account for excess packets whose rate source IP and destination port are greater than 200 packets per second, example: 1s to 2s: IP 1.1.1.1 to MyServer:80 [This happens 201 times in second 1] ...
Gabriel's user avatar
  • 11
0 votes
1 answer
37 views

Unable to Connect To Repo Server On Local Network

I currently have two VMs: node1 (192.168.55.201) repos (192.168.55.203) I'm trying to set up node1 so that it can retrieve packages from the repo server. I currently have the AppStream repo, and ...
hixavier's user avatar
0 votes
0 answers
25 views

Building server for research team

this is kind of a big task for me, I have an engineering background with computer science knowledge but I'm no expert in servers and networking. I want to build a GPU-enabled computing platform that ...
Frmrz's user avatar
  • 1
0 votes
0 answers
29 views

TPROXY is not redirecting all traffic to a specified port

I'm writing a UDP transparent proxy in Rust, I'm using several crates socket2 => Access to the creation of a RAW socket nix::sys::socket => Access to all of the low level socket API calls std::...
User582016482's user avatar
4 votes
1 answer
83 views

Different behavior of `man` for root and user

Recently a user asked me for help and wrote: "Why does invoking man /bin/find display gibberish?" I answered that he was using man incorrectly by providing a path, that man was ...
Thagomizer's user avatar
0 votes
0 answers
16 views

Possibility to handle HTTPS connections by retrying failed ones via proxy, solve occational "connect: connection refused"

Sometimes I receive this error: Error: Get "https://example.com/etc/etc": dial tcp 10.0.0.1:443: connect: connection refused The connection fails occasionally. When I try again, it works. ...
laimison's user avatar
  • 579
0 votes
0 answers
16 views

Root user action constraints with sticky bit

I have an ubuntu 20.04.x instance on AWS which displayed very unexpected behaviour. I have a file in /tmp: root@ip-10-0-1-145:/tmp# ls -l api_requests_2023-08-23.log -rw-r--r-- 1 www-data www-data ...
Samveen's user avatar
  • 1,873
-1 votes
0 answers
33 views

NTP / Chrony time sync with no external source

we have a customer who doesn't allow internet access, so all servers are in their own clock mode. we used windows Domain controller to be the Source but as it cant talk to internet, STRATUM is low so ...
Kaleem Rehman's user avatar
0 votes
1 answer
35 views

AD Domain joined linux server equivalent of NLA

First, some background. Today, if you're in a mostly-Windows Server AD environment with just a small number of linux servers, you have a choice for authenticating to the servers via SSH: Manage the ...
Joel Coel's user avatar
  • 12.9k
0 votes
1 answer
27 views

Best Practices for Setting Up Multiple OpenVPN Instances for Different Clients

I'm working on a project where I need to set up OpenVPN instances to connect IoT devices from various customers to a central server. Each client should have its own isolated VPN connection. I'm ...
Mat's user avatar
  • 3
0 votes
0 answers
26 views

kafka kraft configuration + dedicated controllers machines

We are preparing Huge Kafka Kraft cluster Installation is on 35 physical Linux machines and 3 dedicated controllers on 3 VM Linux machines each broker machine include: 512G RAM memory 64 CORE's ...
King David's user avatar
-1 votes
0 answers
38 views

Access Ubuntu OpenVPN Client From Other Machines on Local LAN

I have an OpenVPN client running on an Ubuntu machine (192.168.107.1/24) and able to successfully connect to a remote OpenVPN server (10.0.0.1/24). The problem is when the client is connected, other ...
ProAm500's user avatar
0 votes
0 answers
37 views

Prometheus Server Pod Suddenly Crashed (unexpected fault address 0x7f911b1795d4)

With traffic Prometheus server pod getting restarting with below error stack. This is happend when the live traffic of the system. But could not be able to reproduced with the load testing. Grafana ...
Sidath Weerasinghe's user avatar
0 votes
1 answer
74 views

KVM: qemu-system-x86_64: cannot set up guest memory 'pc.ram': Cannot allocate memory

When trying to start a VM (1GB allocated) I have run into memory allocation issue even though I have more than enough memory on the system (16GB): error: Failed to start domain exampleVM error: ...
LetMeSOThat4U's user avatar
0 votes
0 answers
33 views

RHEL9.2 complains about missing /lib/modules/5.14.0-284.25.1.el9_2.x86_64 when rebuilding initramfs

The kernel on one of our RHEL9.2 servers was recently upgraded to 6.2.8 in preparation for a software upgrade but due to complications, we've had to revert back to 5.14.0-284.25.1.el9_2.x86_64. I've ...
nathan.glades's user avatar
-1 votes
0 answers
24 views

Accessing IML log on a HP Miniserver Gen10 plus v2

I have an HP Gen 10 server running Proxmox hypervisor that frequently hangs and restarts. I found nothing in system logs. Is it possible to access IML logs without having a subscription for the ILO?
carlogiga's user avatar
1 vote
1 answer
106 views

Show quota limit of user's home directory

What I am trying to do is to get quota limit of current system user's home directory, which is btrfs quota-enabled, using the following command: /usr/sbin/btrfs qgroup show-reF ~/ The above command ...
Keram Yasin's user avatar
-1 votes
0 answers
30 views

Disk capacity discrepancy in gparted linux

I just buy an old server which has an old HDD hard disk with Ubuntu OS inside. I want check capacity of hard disk and when I check this with gparted command, result show in gparted result. In line &...
Hai Pham's user avatar
0 votes
0 answers
45 views

NTP symmetric key authentication to chrony servers

Pretty simple question (I think), but in reading chrony's own docs and perusing through RedHat's docs, I can't find a firm answer. Probably because it's too dumb of a question to need an answer :P If ...
Nathan Lee's user avatar
-2 votes
1 answer
45 views

Tomcat Service failed

Hello I am trying to run the status of my Apache tomcat and I keep having it failed. this is what I am getting tomcat.service - Tomcat 10 configuration file Loaded: loaded (/etc/systemd/system/...
Rickson Costa's user avatar

1
2 3 4 5
767