228,041 questions
0
votes
0
answers
7
views
How to resolve missing libc.so.6 dependency on minimal Linux guest OS in RPi4 hypervisor?
I'm working on a project which involves using a RPi4B in order to build an open source hypervisor with two guest OS: Linux and FreeRTOS. Now all that build process is complete, and I'm trying to ...
1
vote
0
answers
12
views
view systemd startup order without systemd-analyze
I need to debug a system when the system is not booted fully. But when I run systemd-analyze i got this error:
Bootup is not yet finished (org.freedesktop.systemd1.Manager.FinishTimestampMonotonic=0).
...
0
votes
1
answer
19
views
web-scraping using R selenider on linux error --user-data-dir
I'm attempting to web-scrape using the following R code (which was obtained from this thread: link to other question
library(selenider)
library(rvest)
session <- selenider_session("selenium&...
-2
votes
0
answers
24
views
Can't npm install about anything on my VPS [closed]
This issue just popped up recently, like 20 minutes ago and I have no idea what's causing it. Prior to those 20 minutes, npm install was working just fine. I'm involved currently in web development ...
-1
votes
0
answers
19
views
Captive Portal w/ nginx, hostapd, nftables, dnsmasq [closed]
I'm trying to make captive portal with nginx, hostapd, nftables, dnsmasq and python-flask.
I have two main problems
I'm not getting a popup on Android, but am on Iphone/OSX.
I'm not sure how to ...
-1
votes
0
answers
19
views
Tp-Link UB500 v2.8 bluetooth dongle pairing problem in Debian 13 Trixie (linux 6.12.12) [closed]
I bought a new Tp-Link UB500 v2.8 bluetooth usb dongle and connected it to my Debian 13 Trixie PC (kernel 6.12.12).
The default KDE bluetooth manager (bluedevil), is able to search and show the device....
0
votes
0
answers
16
views
Why is there variance in counting with perf stat?
I've run some data collection using perf stat set at an interval of 10ms. However, when looking at the output file, it seems like it's close to 10ms between runs but not the same. Is there somewhere ...
0
votes
0
answers
28
views
Missing Data in Grafana Graphs Despite Continuous Netdata + InfluxDB Collection and Temporary Network Loss
Issue Description:
The system, running Debian 10 on an Intel NUC, was operating normally. However, there was a network connection interruption at approximately 12:10 PM on December 27. Despite the ...
0
votes
0
answers
9
views
Unable to Receive CAN FD Data on SocketCAN in PetaLinux
I am using SocketCAN in PetaLinux and trying to receive CAN FD data. However, I am able to receive regular CAN data but not CAN FD data. I'm using the following command to configure the CAN interface:
...
1
vote
0
answers
17
views
What do the `event_type` and `event_data` fields in the datastructure sent on the ACPI Netlink Multicast correspond to?
I've been experimenting with the ACPI netlink on linux. Mainly, I subscribe to the acpi_mc_group to get ACPI event notifications, using libnl and some datastuctures defined by acpid2. While the ...
1
vote
0
answers
29
views
Failed to attach eBPF codes to kprobe?
My Linux system is WSL2 with kernel-5.15.133, and I wrote a eBPF codes to count calling of kmalloc in kernel with kprobe.
The code failed with kprobe attach failed: Invalid argument.
// ...
0
votes
1
answer
38
views
Raspberry Pi 5 Automatically Adjust Virtual Environment & CPU Cores Without Rebooting
I'm configuring .bashrc on my Raspberry Pi 5 to automatically activate a virtual environment and limit the CPU cores from 4 to 1 when I navigate to a specific directory. When I move to a different ...
1
vote
1
answer
55
views
Shellcode using chmod in x86-64 linux assembly
Sorry if this sounds like a stupid question but I am new to shellcoding ...
Can anyone tell me how to reduce the number of instructions in this assembly code leveraging the chmod (90) syscall:
xor ...
0
votes
0
answers
41
views
Docker ADD command does not seem to honour --chown parameter
I am working on a docker file to create a flutter development environment and learn docker containers. In the process, I came across an incident where docker does not seem to work what it is supposed ...
0
votes
1
answer
57
views
Golang ImageMagick Leftover Threads
I have written a linux service in Go that processes a large number of image files, converting them from TIFF to JPEG and adding a text overlay on top. I'm using the Go package gographics/imagick/v3 ...
-2
votes
1
answer
28
views
Setting up IPTables [closed]
I have a LAMP server inside the company. In addition to port 80, I only have to use ssh on port 1022 and (temporarily and only from my private IP, to be moved later with ssh tunnel) Webmin on port ...
0
votes
0
answers
31
views
Docker container unable to connect to remote host
I have a docker container which is running on OL9 image. The app connects to a database running on a different host on port 30042. When the container starts, its able to connect to the DB and work ...
-2
votes
1
answer
25
views
Annoying Kate every time it opens the project window [closed]
Even modifying and saving, or reinstalling, the problem persists. Kate opens the project window every time, even without a project. You have to close the project window manually every time you open ...
0
votes
0
answers
25
views
Get Firefox DevTools data from Linux command line
Is it possible to get data from Firefox DevTools command line in Linux?
I would like to get the cookies of the POST command (seen on the attached image). I have tried traditional ways using curl and ...
0
votes
0
answers
41
views
I want to run springboot configuration error in linux environment in idea
My program is developed on Windows, and I want to test the cross-platform effect. But it reports an error. I want to debug it on Linux. How to configure it?
Click Runtime Error
Error: Could not find ...
-2
votes
0
answers
17
views
Debian (Linux) and Ejabberd [closed]
I don't know how to set up ejabberd on my Debian server for local development and testing as well as for learning purposes. I have a modem set up on my home without static IP address and using my old ...
2
votes
1
answer
53
views
uniqueness of the LINUX inodes [closed]
I always believed that the inode numbers are unique. But I get
ls -i /dev/pts/2 /dev/null
5 /dev/null 5 /dev/pts/2
is this correct or I should suspect a trouble? thanks
My system is described by
...
0
votes
0
answers
11
views
Linux : pipewire: pro-audio : How can I determine states of headphone and lineout?
I mean, from the regular configuration I could:
Get the active port (headphone or lineout)
Identify it with pactl, for example
Set properties to
Mute
Unmute
Automute on/off
But now, seems like ...
0
votes
0
answers
18
views
kernel/audit.c:995:26: error: too few arguments to function call, single argument 'tty' was not specified
This is a kernel compile error. It's a cross-compile, and i've included linux/tty.h.
I didnt have to because audit.h does so, and both the error still persists. The kernel code looks the same as the ...
0
votes
0
answers
38
views
lsyncd (rsync+inotify) Memory Usage Increases Over Time, Causing High Disk I/O [closed]
I am experiencing an issue on a production RHEL 8.6 server running lsyncd-2.2.2-9.el8.x86_64 with the rsync+inotify sync method.
Once a month, the disk I/O (disk busy) reaches nearly 100%. Normally, ...
0
votes
0
answers
24
views
Problems after Installing Ubuntu with Dual Boot Windows 11 [closed]
I am a Windows 11 user and I decided to try Ubuntu for the first time. I installed Ubuntu 24.04.2 LTS with Dual Boot alongside Windows 11. The installation process was quite soft and successfull but ...
0
votes
0
answers
28
views
NamedPipeClientStream getting permissioned denied even though I can open the FIFO file as a File stream without issue
I have a process on linux that creates a named pipe (FIFO file), then runs a dotnet app, which attempts to read from that named pipe using the NamedPipeClientStream class.
The named pipe is created ...
-2
votes
0
answers
17
views
dual boot fail for ubuntu v24.04 and windows 10 - ubuntu first [closed]
i have a problem with dual booting ubuntu and windows 10 .
my primary OS is ubuntu v24.04 and recently i upgrade my laptop with another SSD to install windows 10 on it , but in the installing of it , ...
-2
votes
0
answers
31
views
Issue when I try to update a CenOS container running on a Rocky Linux host [closed]
I want to update a CentOS running in a container (below, the transcript).
if I try on a VM where the host OS is CentOS, the update is done quickly
but if I try on a VM where the host Os is Rocky ...
-1
votes
0
answers
18
views
No audio in Linux with processor Core Ultra 5 (metheor lake) 125H [closed]
I'm trying to use Linux on my Samsung Galaxy Book 4 Pro but I've tried different distros and kernels (Kali, Ubuntu, Mint) and can't get the audio to work through speakers. The earphone works great ...
-2
votes
0
answers
30
views
Bluetooth is not turning on in my Ubuntu PC setup [closed]
Bluetooth is not turning on in my Ubuntu desktop setup, I have already updated my OS setup, but still, the problem remains the same, for more details, I will provide the problem video, if anyone is ...
0
votes
0
answers
26
views
use plink utility to execute some commands on linux server but it works on Amazon Linux 2 and does not work on 2023 [closed]
use plink utility on windows machine to execute some commands on linux from the file at.cmd
file with command:
sudo su - someuser
id
exit
id
exit
Use this command:
plink.exe -ssh myuser@server -pw ...
-3
votes
0
answers
69
views
Why is Bsize of the Statfs_t struct int64? [closed]
I just got the linter warning G115: integer overflow conversion int64 -> uint64 when using Bsize from the Statfs_t struct in Go. Turns out the block size is int64 in Go, but f_bsize is an unsigned ...
0
votes
0
answers
13
views
journalctl produces less output than dmesg for same error [closed]
I am running a paperless-ngx docker on my SBC. Because of processing some documents with many images (& thus OCR is required) out of memory errors are happening. To troubleshoot it & to know ...
-1
votes
0
answers
23
views
Can't install pgAdmin4 in Linux (Debian 12)? [closed]
I'm trying to install pgAdmin4 on Debian Bookworm, but I'm encountering a "Hash Sum Mismatch" error during the apt update process. Here are the steps I followed and the error I'm getting:
I ...
-3
votes
0
answers
29
views
Transfer Ubuntu to another partition [closed]
I installed Ubuntu 22 on my Laptop last year, but my laptop didn't have that much storage, with only being able to buy extra SSD about 2 months ago and I'd like to have my Ubuntu with extra storage (...
0
votes
2
answers
57
views
Unable to install gd extension on redhat 9 php remi php8.2
I have installed PHP Remi on Red Hat 9 . when I am trying to install PHP gd extension for PHP remi 8.3 then getting package php-gd-8.3.17-1.el9.remi.x86_64 from remi-modular requires libgd.so.103()(...
0
votes
0
answers
43
views
Installing R in Rocky linux 8 [closed]
I am new to linux OS system and I am trying to install R in a linux server root using below commands.
sudo dnf install epel-release -y
sudo dnf config-manager --set-enabled powertools
sudo dnf install ...
-4
votes
0
answers
23
views
Disk Space full for Home Directory on RHEL-8.8 [closed]
I was shown the warning of low disk space on my Home directory on my RHEL 8.8 VM. Below is an attached screenshot after running the command df
Terminal Output
I want to add more space to my home ...
-1
votes
0
answers
32
views
How install SCIP?
The website (https://www.scipopt.org/scip/doc/html/md_INSTALL.php) states the following -
The easiest way to install SCIP is to use the SCIP Optimization Suite, which contains SCIP, SoPlex, and ZIMPL. ...
-2
votes
0
answers
23
views
Microsoft surface 3 no longer sees internal storage after awhile of use on linux [closed]
Have no idea if this is a good place to ask but...
Recently I got a surface 3 with kubuntu on it, I then installed fedora and the Linux surface kernel and all my apps, I used it for a day or so and ...
1
vote
0
answers
100
views
No such device or address. Char device driver [closed]
I started studying char device drivers and encountered such a problem that with any attempt to interact with char device via read, write, ioctl, it writes "No such device or address".
The ...
8
votes
1
answer
302
views
Avoiding strcpy overflow destination warning
With a structure such as the following
typedef struct
{
size_t StringLength;
char String[1];
} mySTRING;
and use of this structure along these lines
mySTRING * CreateString(char * Input)
{
...
0
votes
0
answers
22
views
Ubuntu - syslog & kern.log filling up with messages (audio pci?) [closed]
My syslog & kern.log files are enormous - I checked these files & found that they are being filled with the following messages.
Mar 3 08:12:17 ubuntu kernel: [1033920.187739] sof-audio-pci-...
-1
votes
0
answers
27
views
Resize partitions in linux debian on command line [closed]
I am trying to move the docker install file from my local windows machine to a proxmox linux debian server. I am trying to put it in /home/sftpuser but it says there is not enough space. I checked and ...
0
votes
2
answers
109
views
Why is my virtual environment not working?
I have a Python virtual environment (created with venv) kept in a directory in my project. I created it and sourced the activate script. I am sure that it worked, because my terminal prompt starts ...
2
votes
1
answer
135
views
Linux script with nohup inside it does not terminate [closed]
Consider the following Linux script (script.sh)
#!/bin/bash
echo "Script started"
nohup python3 run_process.py > /dev/null 2>&1 &
echo "Script finished"
The script ...
-1
votes
0
answers
53
views
How to Write For Loop and If Statement In One Line in Bash [closed]
I have a following case where I want to execute if/elif/else bash conditional statement in one line over each loop.
for file in *; do
if[ ! -d "$file" ]; then
continue;
elif[ -f ...
2
votes
1
answer
27
views
Unexpected Interaction Between Double-Colon Rules (`::`) and `include` in Makefiles
While investigating differences between single-colon rules (:) and double-colon rules (::) in Makefiles, I observed some confusing behaviors:
Expectation: The include directive should force the ...
1
vote
0
answers
26
views
DPDK Application keeps showing Discarded Packets
I am using DPDk to get packets from a Mellanox Card (ConnectX-6) Port and process them. The traffic is supposed to be 100Gbps. I am using the following thread to print statistics from the NIC
static ...