Questions tagged [linux]
Linux is the generic term for a UNIX-like open source operating system based on the Linux kernel.
38,830 questions
0
votes
0
answers
21
views
Management of different web domains associated to different servers running on the same machine
I have a local machine using Debian 12 in the company lab.
On this local machine I have different servers running and reachable from different web addresses.
Let's say the first one is reachable ...
0
votes
1
answer
24
views
How can I safely modify a file on an XFS filesystem mounted by a different or hibernated system?
Recently I broke my system by modifying a configuration file such that the root user would no longer accept login due to PAM crashing. I did not want to power off the system, and instead wanted to ...
0
votes
1
answer
54
views
CSSH (ClusterSSH) installation on Linux (Rhel 9)
I am trying to install CSSH on RHEL9 in WSL, I tried below and getting error. Any Ideas
[root@aaa rhel9]# dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
Updating ...
0
votes
1
answer
30
views
Filtering based on interface IP
I have a local-facing interface on my firewall which has multiple IP addresses (192.168.0.1 and 192.168.0.5) assigned to it. Packets from both of these IPs are forwarded to the WAN interface. However, ...
0
votes
0
answers
18
views
How to Fully Clone Two Ubuntu 22.04.5 Servers to Another Using rsync Without Conflicts?
I have an Ubuntu 22.04.5 server (Server A) that I want to fully clone to another server (Server B) in such a way that Server B becomes an exact replica of Server A (system files, configurations, data, ...
0
votes
0
answers
10
views
How to find out loaded php-fpm config values in cPanel
AlmaLinux 9 with cPanel.
I've specified global config values on WHM-> Home / Software / MultiPHP Manager.
For max_children I've specified 150.
In the php log I see different values which I think is ...
0
votes
0
answers
15
views
CENTOS linux SElinux mls mode.. root user.. root user does not have permissions [duplicate]
root user does not have permissions. SElinux mls mode is active
The system is completely out of control. Information cannot be accessed.
file structure and permissions are disabled..
drwxr-xr-x. 7 ...
0
votes
0
answers
88
views
Accessing Linux files with FACL
OS: Oracle Linux 9.4
I am getting a FACL permissions error on files in /var/www/html
[hussain@mybalancer ~]$ ls -l /var/www/html/index.html
ls: cannot access '/var/www/html/index.html': Permission ...
0
votes
0
answers
35
views
cd /test/ ; tar -czvf test-file /test/abc, result: gzip: short write tar: write error: Broken pipe
I develop a application software, it can tar debug log file and upload to cloud, but the function unwork currently, tar function probable show fail "gzip: short write tar: write error: Broken ...
1
vote
1
answer
55
views
Recovering data from a disk that was formerly part of a RAID1 array
I read previous questions carefully and decided that mine is sufficiently different to justify a separate post. Apologies to anyone who is groaning inwardly.
For many years, I used a computer which ...
0
votes
0
answers
21
views
Enable POST body logging using modsecurity
I have been working on trying to get POST request BODY logging using modsecurity.
In the modecurity.conf file, I have enabled
/usr/lib/apache2/modules/mod_authz_core.so
this is my entire modsecurity....
0
votes
1
answer
61
views
nfs v4 mount failing with operation not permitted over ssh tunnel
I have two Ubuntu Linux machines. One server and other client. The server is hosting a nfs v4 server sharing the /nfs-share directory.
I am attempting nfs v4 mount over ssh tunnel for the following ...
0
votes
0
answers
55
views
Simulating slow connection with tc but what is burst?
Using Ubuntu 24.04.1 and tc
I am trying to emulate a slower cellular network that is 256kbps and 500ms for both inbound and outbound. I considered using Wondershaper but Latency is not supported and ...
0
votes
0
answers
14
views
Sessions of apache webserver expiring - forcing logout of users (non php)
I have got some webservers running behind a proxy-server. These webservers are running an application, but it seems user are getting a "session expired" error. This error forces a logout and ...
0
votes
0
answers
28
views
gio mount smb... volume doesn’t implement mount
I'm pulling out what's left of my hair trying to get gio mount to work in fedora 41 (gnome) with the gio mount command.
After much trial and error, I've realized it runs under sudo (but only sometimes ...
0
votes
1
answer
38
views
Why is htop showing a lot of "kernel" activity?
Is it normal to see this much "kernel" activity on a server that is not currently running anything (at least at the user/application layer)?
According to this link the red portion of the ...
0
votes
1
answer
19
views
How to close all files and ports from parent process
I have an HTTP server (source code not accessible and cannot be substituted at this time) running on my Linux machine, which can be configured to execute any commands on requested. However, the HTTP ...
0
votes
0
answers
34
views
Is there a reason why I can't use find to scan modified files for viruses and malware? [migrated]
I need to scan Linux systems for viruses/malwares, just entire filesystem. There are few options to consider.
One is normally what users do: Use antivirus to scan system once a day.
The second option ...
0
votes
1
answer
49
views
nftables: oneliner to count, log (with limit) and drop
I am using nftables v0.9.6 and the geoip database to drop inbound traffic from specific countries. For example, I have in a chain:
meta mark 0x0000033a drop comment "block traffic from GB"
...
-1
votes
4
answers
228
views
How to check if a domain is registered using whois shell command
I have some trouble with some domains.
The command whois from linux shell says No match for domain but I am expecting the domain results to be registered.
$ whois gnso.com
From the shell whois result:...
0
votes
1
answer
130
views
Keepalived NAT with firewalld: STATE_INVALID_DROP blocking return packets from real servers
I've set up Keepalived as a load balancer but am not using a Master/Standby configuration—just a single server.
The issue arises when firewalld is enabled. Without firewalld, everything works fine. ...
0
votes
1
answer
35
views
Can I get to know list of files/dir which rsync (or other program) transfers/deletes before actually making the sync?
I have two different linux machines(server websites) seperated by internet having similar directory tree and files. both can acess each other via ssh.
I want to sync certain directories, however I ...
0
votes
0
answers
22
views
Can I see how package configurations (CentOS/Ubuntu) are made for prebuilt packages?
We're facing long login times with sssd + ssh since we changed our default Linux to Ubuntu 2x.04 LTS Server. The configuration files are identical. With CentOS 8.5 it takes 1-4 seconds. With Ubuntu it ...
0
votes
1
answer
99
views
Achieving complete transparency using TAP interfaces on a Linux machine
SWITCH-A ------ DEVICE A ------ SWITCH-B
Think of such a topology. In this case, I want to achieve a full transparent communication over DEVICE A. Want I mean by this is, SWITCH-B and SWITCH-A should ...
0
votes
0
answers
20
views
Server appearing offline to browser, even though it is online
I have launched 8 or 9 webservers, personally, and something is very unusual this time regarding http/https transfer with apache2. Ports 80 and 443 are up, as indicated by nmap on a remote client ...
0
votes
0
answers
71
views
Definitively disable the automatic IPv6 address configuration
I have this Unbound container with a static IPv6 address.
It is based on the Alpine Linux distribution (alpinelinux/unbound:latest), so it has limited configurations.
Whenever a client makes a query ...
0
votes
1
answer
65
views
High CPU Usage with less in Forward Scroll Mode (F) After SSH Disconnect on Gentoo Linux (OpenRC)
I'm encountering an issue where the less command consumes 100% of one CPU core after an SSH session is disconnected. Below are the detailed steps to reproduce this behavior:
Log in to the server:
ssh ...
0
votes
0
answers
34
views
MySQL Not Starting and phpMyAdmin Error After Reinstalling XAMPP on Linux [closed]
I'm a beginner using Linux Mint Cinnamon 22 and recently reinstalled XAMPP due to issues with my school site that using Joomla CMS. I installed XAMPP 8.2.12-0 using the following commands:
sudo chmod ...
0
votes
0
answers
17
views
Free5GC/UERASIM - [error] TUN allocation failure [Open failure /dev/net/tun]
Please your kind support with this error, I0m trying to replicate testbed Free5GC, but after PDU session is established there show me an error TUN.
[2024-12-04 10:51:35.763] [nas] [info] Initial ...
0
votes
0
answers
18
views
KVM with openvswitch bridge guestos no internet
Running rockylinux9 with KVM and libvirt / virsh and I have installed openvswitch to be used as the bridge for the guestos's.
No matter what I have tried I cannot seem to get the virtual guest os's to ...
1
vote
0
answers
29
views
Debug OOMed Linux with low load, very low commit% and low slab
I've got a Rocky9 (RHEL-like) server with only NFS workload.
Apparently there is a memory leak and the MemUsed% went from 1% to 99% steadily. But there is no userspace program using memory (oom-killer ...
0
votes
0
answers
29
views
postfix now very slow to send or recieve if it even does
We have a very old postfix/mail server (we are trying to upgrade it /retire/goto the cloud) but before we get to any of this it started to act bizarre the last few days.
I thought it was because the ...
0
votes
1
answer
31
views
enable last login for ftp server
Trying to use pam_lastlog to log last login on a ftp server, vsftp with virtual users. The virtual users are not present as "real" user on the system but use the pam_pwdfile module as ...
1
vote
1
answer
97
views
linux incorrect lvm disk size
I have 3 LVM disks in the system, and they are of different sizes. While the sizes appear normal in lsblk, when I check with the df -h command, the sizes of all three disks appear to be the same. It’s ...
0
votes
0
answers
34
views
Misbehaving docker container process - box is unresponsive, and won't even reboot?
I have a Ampere ARM64 server, and I'm running a bunch of Docker containers on it (Frigate, Immich, InfluxDB, HomeAssistant.
However, I seem to have hit some issue with Frigate, which is pegging ...
1
vote
0
answers
38
views
Best strategy to keep backup mirrored on 3 different hard drives on Linux: rsync? mergerfs? something else?
Let's says I have a server and 3 different hard drives.
I want to know what are the pros and cons of different backup strategies. Here are the requirements:
I want that a new file is being ...
0
votes
0
answers
42
views
redhat + DELL + Controller reset is requested due to IO timeout
We have a DELL server with iDRAC (Integrated Dell Remote Access Controller). Usually, hardware problems related to controllers, storage, or disks are viewed through iDRAC. However, in our case, we see ...
0
votes
0
answers
57
views
Websockets with websocat: How to find out what resource is running out?
I'm in a situation where I've got a TCP server and a websocket client, and I'm using websocat as a bridge between them. Everything works great until I get to about 60 concurrent connections, and then ...
0
votes
1
answer
88
views
IF ELSE not running inside AWS EC2 user data
I am trying to run the following code inside EC2 user data but there no changes happening to the server
#!/bin/bash
echo 'export ENV_VAR=true' >> /etc/profile
if [[ "$ENV_VAR&...
0
votes
1
answer
70
views
Postfix: Is always_bcc always sent as nobody?
Trying to use always_bcc for its most common use: archive mail.
always_bcc = mailarchive@localhost
This fails with permission errors.
postfix/local[2798499]: warning: maildir access problem for UID/...
0
votes
0
answers
15
views
Connecting to a DevContainer running on a remote computer on the same network
In a nutshell, I have two computers in a virtual local network. I need to connect to a DevContainer present in the "Computer A" from "Computer B", so I can remotely develop.
While ...
-1
votes
1
answer
23
views
wireguard routing. vps1 -> wireguard -> vps2 -> internet. Error curl: Could not resolve host
I have vps1 with ip, for ex. 100.100.100.100, with wgp2.conf:
[Interface]
PrivateKey = vps1.priv
Address = 20.0.20.1/24
DNS = 8.8.8.8, 1.1.1.1, 1.0.0.1
[Peer]
PublicKey = vps2.pub
AllowedIPs = 20.0....
1
vote
1
answer
111
views
RHEL on AWS: Red Hat Insights Client suggests changing cipher rules
I have had the following suggestion for my Servers on the insights client.
SSH security is decreased when insecure cipher or hmac is enabled in the crypto policy
The playbook remediation doesn't seem ...
0
votes
0
answers
8
views
Use an integrated fingerprint reader on HP 6710b with linux, Fedora 41 [migrated]
The HP 6710b laptop have an integrated fingerprint reader, how can I use it with Linux on Fedora?
1
vote
2
answers
83
views
What is the best, easiest and most convenient IPMI remote console solution that works from Linux Terminal
I have two questions:
Is it possible to use IPMI remote console without Java? Anything like ipmitools, an alternative toipmitools?
Are there tools that can support Terminal / GUI access to IPMI ...
0
votes
0
answers
27
views
PCIe card inserted in a particular slot causes conflict with NIC
I have a Supermicro as-4125gs-tnrt w/ dual Genoa 9174F, 256GB RAM. The NIC model is Supermicro's AOM module running on Intel X710 controller. The OS I'm running is Ubuntu 22.04 LTS.
Currently, I'm ...
1
vote
3
answers
142
views
Disable 2 simple websites using old Apache version 2.4.37 [duplicate]
I have RedHat 8 server with Apache/2.4.37 running on it and we're hosting 4 vhost simple websites. I'd like to disable 2 of those 4 website while keep the other websites running.
I tried many things ...
0
votes
1
answer
67
views
Server ran out of space, is it safe to delete `/tmp/drill`?
My server ran out of space, is it safe to delete /tmp/drill? Most of the space is taken by the countless *.sys.drill files in /tmp/drill/profiles.
0
votes
1
answer
72
views
Strange error using du -h -d1
I have an aging mailserver....it simply runs courier postfix and smtp. It is a KVM VM and has two drives, one for os and one for data. I have a very full data drive (reports 100% full even though ...
1
vote
0
answers
64
views
Frequent D State and zombies processes (Acronis, MySQL, Java, Journal D) - Possibly Related to KVM Asynchronous Page Faults
I've observed that several processes, including Acronis, MySQL, Java applications, and Journal D, are frequently entering the D state. This state seems to be related to paging, specifically to KVM ...