Questions tagged [linux]
Linux is the generic term for a UNIX-like open source operating system based on the Linux kernel.
38,316
questions
0
votes
1
answer
109
views
Why can't I ping local IPv6 address?
OS: almalinux9
2610:150:c002::1:a563 is the IPv6 address of my local network card eno2.
[root@alpha ~]# ip addr show eno2
3: eno2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state ...
1
vote
0
answers
46
views
A gateway of 0.0.0.0 gets added in my linux machine after I assign a static IP and static gateway
I am assigning static IP address on a Linux module (custom Yocto Distribution on TI AM3359 custom hardware) using the ifconfig command.
sudo ifconfig eth1 10.11.3.80 netmask 255.255.248.0
sudo route ...
1
vote
1
answer
50
views
SSSD, openLDAP and nested groups
I am trying to figure out how to structure my ldap and/or configure sssd to read membership of nested groups.
Something like this works for normal group membership:
DN: cn=server-admins,ou=Groups,dc=...
0
votes
1
answer
51
views
Multiple wireguard interfaces each using the 'real' interface directly, and through either be able to reach any IP
I'm in need of setting up multiple wg-quick interfaces on a single machine, both using the real ethernet NIC directly, independently.
The issue I appear to be hitting is that through each of these I ...
1
vote
0
answers
49
views
Availability of CHROOT in Docker containers and clusters
Is the Linux tool chroot generally usable in a Docker container running in clusters and cloud platforms?
(background) I'm developing an application where I may need to use chroot inside a Docker ...
2
votes
3
answers
470
views
Can one VG (Volume Group) contain different types of PVs (Physical Volumes)?
The background is we have our database data directory on an LV which is located on a VG. We want to use the LVM's snapshot function to backup our database data, but this VG has no free PEs left. We ...
0
votes
1
answer
88
views
Almalinux 9 Failed to allocate memory
I have SingleStore DB CLI (Cluster in a Box) deployed in a AWS EC2 Instance r6i.4xlarge with Almalinux 9 OS. At the moment of load data by pipelines the following error appears:
line 34: ER_MEMSQL_OOM ...
0
votes
1
answer
22
views
On SD card the patitions come back after removing them
A little funny problem I'm curious about the reason.
I found an old SD Card, I even don't remember that it was used for.
So I want to remove the old partitions and use it for some of my devices.
And ...
0
votes
1
answer
21
views
Map dev notation to logical volume name
I need to figure out what dm-2 or dm-0, etc. is (this notation is found in dmesg notices, sysstat reports, etc.) and lsblk is not installed
I find lvdisplay output a little bit confusing.
Can someone ...
0
votes
0
answers
21
views
Can somebody provide an example smb.conf for a NT domain controller?
After I updated my domain server from Ubuntu 18.04 to 20.04 the NT domain no longer worked. Domain logons on the Windows 10 computers fail. (Ubuntu 18.04 is no longer supported).
So I set up a new (...
0
votes
1
answer
27
views
OpenDKIM & OpenDMARC on SLES 15 SP2
Hello is it possible to install OpenDKIM & OpenDMARC on SLES 15 SP2 through the default repository of OpenSUSE?
1
vote
0
answers
94
views
Routing 2 public IP ranges on 2 bridges
I've set up a new Proxmox 8 server, and I'm struggling to get my networking set up correctly. A normal bridge interface with a single IP range is easy enough, but I can't seem to get my 2 IP ranges to ...
0
votes
0
answers
31
views
/grub/i386-pc/normal.mod not found with special condition
I updated my ubuntu server from 18.04 to 20.04 and reboot. after reboot I fall in grub rescue. in the (hd0,gpt2) there are some directories include grub. in grub there is i386-pc and in the i386-pc ...
0
votes
0
answers
22
views
Virtual machine static ip doesnt work
I have created vps private Ubuntu server on virtual machine.
Then I have deploy my app on it with static ip 192.168.56.101.
Everything is working, when I open it on my local machine, but when I try ...
0
votes
1
answer
48
views
OpenVPN - Problems routing between clients in different subnets
I've been searching for many hours to try and solve a problem I am facing, but with no luck.
I have an OpenVPN (CentOS 7) setup consisting of a VPN server and clients, some of which are in different ...
0
votes
0
answers
18
views
Error burning custom system through ubuntu 19.04 live environment
I made a live environment for ubuntu19.04 on a U disk, and then I entered the live environment, executed Burning.sh, and burned grub.cfg, bzImage, roootfs.tar.gz from another U disk to the hard drive /...
0
votes
1
answer
70
views
Send STDERR to console and file, STDOUT to file only
I have some script with STDOUT and STDERR output. By default, both STDOUT and STDERR goes to console:
./script.sh
I can redirect STDOUT to file, leaving STDERR output in console:
./script.sh > log....
1
vote
1
answer
33
views
TCP Packet Loss in nftable nat chain
I am trying to connect to a Minecraft server but get a connection Timeout when tryping to connect although the Server is showing up as online
Minecraft Multiplayer screen
This question meight seem out ...
1
vote
0
answers
30
views
Does OverlayFS support Quotas?
I tried mounting an overlayfs upper directory with quotas enabled (Linux system). The quota tools, however, keep telling me that quotas are not enabled on that filesystem.
This makes me wonder if ...
0
votes
1
answer
40
views
Apache 320 redirect loop with correct htaccess and virtualhost conf
I am web designer and I manage a VPS Server.
Server is LAMP Ubuntu 18 apache2 PHP 7.4 root index.html
This page isn’t working test.com redirected you too many times.
Try clearing your cookies.
...
0
votes
1
answer
70
views
can not sudo to root in Ubuntu instance
I have an error when i want to become root
╭─saviam@server ~
╰─$ sudo -i ...
0
votes
1
answer
102
views
Ethernet connection is dropped when restarting openibd ( Infiniband ) service
I have a multiple servers with Ethernet controller on board and InfiniBand controller installed in a PCI slot.
The problem is when im restarting openibd.service which should control only the ...
0
votes
1
answer
28
views
Service to monitor Service not triggering
On Ubuntu 18 I have a service :
[Unit]
Description=Gets CSV
OnFailure=pushovercsv.service
[Service]
ExecStart=/usr/bin/vehicles.sh
[Install]
WantedBy=multi-user.target
This works. I am trying ...
1
vote
1
answer
62
views
rsync uncompressed to single compressed archive
Question
How can I rsync uncompressed (but highly compressible) data to a single compressed archive (.tar.gz, .zip, etc) without transferring all the data each time?
Current
This is what I am using ...
2
votes
1
answer
123
views
Save commands used in shell to a file
Someone is going to connect to my server and type some commands into the terminal. But after finishing his work, he deletes bash_history.
I am looking for a way to save every command entered into the ...
0
votes
1
answer
43
views
How to check several (n) last statuses of a systemd service?
I asked google and ChatGPT about that, i.e. see a specified n recent status of a service, obviously in chronological order.
ChatGPT told me this would work:
systemctl status --quiet example.service -...
0
votes
1
answer
73
views
Server unresponsive when restart network
We have a debian 11 just installed and when i execute "systemctl restart networking" the server becomes unresponsive and the console shows this:
enter image description here
I have to ...
0
votes
1
answer
60
views
VPS server all domains showing This site can’t be reached error
Hello all hoping someone may be able to help.
I have a VPS server running apache with linux centos 8. I have a few domains running on PHP 8 and one wordpress and node API application. Everything was ...
0
votes
0
answers
25
views
MacOS MySQL Client Gets Stuck on Query That is a Certain Size
My MySQL client gets stuck on a query when the output is a certain size. When it's small enough, the query will successfully output. The client is connecting to a remote server (Ubuntu 18.04). When I ...
2
votes
0
answers
20
views
Issue with Volume Mounting after Server Restart
Originally on bkp-01 instance. The server and disk have manually been set to a different availability zone. The disk are running zfs for backups/snapshots. It's an old server with a manual Raid ...
0
votes
1
answer
47
views
What is the correct way to check monit status/summary success/failure
I have monit utility on production for monitoring several daemons (our micro-services). I'm trying to figure the best way to unmonitor/monitor my daemons while updating them. So, basically I need ...
0
votes
0
answers
47
views
at jobs don't clear the queue even when completed?
I have some very simple python code that sets up a job queue, piping to the linux batch command:
import subprocess
for j in range(1,17):
process = subprocess.Popen('/bin/sh', '-c', f'python test.py ...
0
votes
0
answers
594
views
Linux Auditd: Error receiving audit netlink packet (No buffer space available)
I have some Linux servers that are getting errors like the below in the logs...
auditd[1074]: Error receiving audit netlink packet (No buffer space available)
I know HOW to resolve the issue (tweak ...
0
votes
1
answer
31
views
changed crontab, jobs run at old AND new time now
I did a non-best practice on /etc/crontab and manually changed it to run a daily cron job at a specific time, initially for testing so I could make sure it fired off correctly.
/etc/crontab looked ...
2
votes
1
answer
78
views
HPE Smart Array P410 - Replacing failed drive of a degraded mirror with a new one using ssacli with the failed drive kept connected?
A server is using attached drives without the HP hot-plug drive cage, with drives attached to P410 using two SFF8087 -> 4x SAS SFF8482 cables. I can add new drives while running, but cannot remove ...
3
votes
1
answer
39
views
Increasing RAID1 (mirror) redundancy in HP Smart Array P410?
Please is it possible to add a third (or more) drives to a mirror (RAID1) in P410? IIUC it would mean creating "Mirror Group 3" (or more). I could not find any way to add a new mirror group ...
0
votes
0
answers
31
views
JBoss CLI command running into failure
I want to automatically delete my Wildfly logs after a certain period of time (e.g. 3 days). As I am running my application in a container which has no access to crontab, I want to do this via a JBoss ...
0
votes
1
answer
63
views
Setup A Program to Run At Startup As A Specified User On Linux
I have a server running Debian 12 that does not have root access enabled as recommended by many. I do have an another user admin privileged account on the server.
I have a program that does not come ...
1
vote
0
answers
40
views
Sort two config files in the same order
I have two servers running the same set of internally developed apps. One is the "production" server, the other is the "dev/test" server. As time has gone on, the config files ...
2
votes
1
answer
62
views
Tail log files on multiple servers
Scenario: I have load balanced servers running a web application. To debug I'd like to see the output of the same log file (such as the nginx log) combined into a single stream, e.g. a tail -f on all ...
1
vote
1
answer
189
views
WSL2 stopped running windows tools seemingly all of a sudden - cannot execute binary file: Exec format error
I have been using WSL2 for almost a year now and was always able to run windows tools from it without any problems.
Today I have noticed I am unable to do it anymore:
mark@L-R910LPKW:~$ alias npp
...
0
votes
0
answers
31
views
Wireguard peer rejecting traffic
My Wireguard setup randomly stopped working yesterday and I don't know how to trace the source of the problem.
I inspected the traffic with Wireshark and it shows that the traffic gets sent from the ...
0
votes
0
answers
30
views
Configuring salt stack on virtualbox manually
First time using salt stack.
I configured salt stack on three virtual box machines. All three machines are set up as bridged networks. Centos7(Master), Centos7(minion), Ubuntu(minion). On the master, ...
0
votes
0
answers
23
views
Best approach for deploying code to servers behind a gateway
I am attempting to adjust my deployment scripts to access a server behind a newly established gateway that I've configured. The gateway currently is accepting traffic from the internet correctly and ...
0
votes
1
answer
100
views
First attempt at connecting to any TCP service fails
Symptom: The first attempt at connecting to a TCP service (https, ftp, or ssh) fails. The second attempt succeeds Subsequent connections will work until there is a 15 minute period of inactivity, in ...
4
votes
1
answer
198
views
why read is faster when using O_DIRECT flag?
I copied a 10GB of file in my SSD which has read bandwidth of around 3.3GB/s, benchmarked using fio command. Here is the ref: https://cloud.google.com/compute/docs/disks/benchmarking-pd-performance
I ...
1
vote
2
answers
104
views
Linux: Run a specific command as another user?
I want to be able to allow users to run a specific command as another user, is this possible?
I have a script that reads a remote file through ssh to get a status, something like:
#!/usr/bin/sh
state=...
0
votes
0
answers
41
views
Which certificate files need to be passed to gunicorn for https?
I have the following files:
private.key, example.com.pem, example.com.crt, example.com.pem-full-chain,
example.com.p7b and server.csr
I am starting gunicorn using :
gunicorn -b example.com:5000 'app:...
0
votes
0
answers
40
views
Network Card Flow Bifurcation for DPDK
I am trying to set up Flow Bifurcation. The idea is to have udp traffic from chosen address / port pairs handled by DPDK and the rest of the traffic going through the kernel network stack.
The system ...
0
votes
0
answers
96
views
Cannot install kernel core
I am trying to upgrade my CenOS from 7 to 8. Refer to https://www.tecmint.com/upgrade-centos-7-to-centos-8/ I find errors when doing step 5
Step 5: Install the New Kernel Core for CentOS 8 To install ...