Skip to main content

Questions tagged [linux]

NOTICE: All Linux questions must be related to programming; those that aren't will be closed. Use this tag only if your question relates to programming using Linux APIs or Linux-specific behavior, not just because you happen to run your code on Linux. If you need Linux support, you can try https://unix.stackexchange.com or the specific Linux distribution's Stack Exchange site like https://askubuntu.com or https://elementaryos.stackexchange.com/

-4 votes
0 answers
57 views

Unable to install BeautifulSoup4 on Red Hat Linux

When I try to install BeautifulSoup4. I am getting this: $ pip install beautifulsoup4 Collecting beautifulsoup4 Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection ...
asha ganapathy's user avatar
0 votes
0 answers
58 views

How to use intel TCO watchdog with iTCO_wdt?

I have an intel platform (Alder Lake N50) and I'm trying to use the chipset watchdog hardware. My kernel is configured to have the iTCO_wdt module, when I insert it, the device is detected and /dev/...
zzi's user avatar
  • 98
0 votes
0 answers
7 views

Mapping packets mark to internal Linux priority in PRIO Qdisc

I am trying PRIO qdisc. tc qdisc add dev <interface> root handle 1:0 prio bands 3 tc qdisc add dev <interface> parent 1:1 handle 10: sfq tc qdisc add dev <interface> parent 1:2 ...
piddalagi's user avatar
0 votes
0 answers
32 views

There is a problem with the /etc/docker/daemon.json file [closed]

I'm trying to run docker, and I'm having this problem : docker system info Client: Docker Engine - Community Version: 27.0.3 Context: default Debug Mode: false Plugins: buildx: Docker Buildx (...
Contact diteur latex contact e's user avatar
0 votes
0 answers
20 views

VPS server %steal reason

We have VPS hosting for our e-commerce website which use hostinger service. The server specification is 32 GB RAM with 8cpu. Now when there is only user coming up in the website also not getting ...
Safwan Aipuram's user avatar
0 votes
0 answers
34 views

Enable GPIO Sysfs interface on yocto mickledore

I'm trying to get my application to run on a new Yocto Mickledore Image I created. My application is failing to interface to the GPIO's and upon some research I found it is because GPIO sysfs ...
tyleax's user avatar
  • 1,674
-6 votes
0 answers
31 views

Kernel experts, please expain what these error codes mean [closed]

I've been working on customizing the Linux kernel, specifically in the networking stack. I modified the tcp_sendmsg_locked function to include a mod_timer call, aiming to delay the tcp_push. However, ...
정세종's user avatar
0 votes
0 answers
27 views

How to unload nf_conntrack?

i am trying to unload nf_conntrack, but there are different modules that are in use with it and I can't seem to unload them. The reason for the unloading of conntrack is because I am trying to edit ...
JBoy's user avatar
  • 1
0 votes
0 answers
22 views

execute apache-airflow on a remote server

i have a linux server that has apache airflow installed and hosted on it, on the other hand i have a windows server that contains all the dags, i created a connection between the dags folder on the ...
Moe AbuShaqra's user avatar
-1 votes
1 answer
49 views

When i run my app in a docker container file pathes get messed up

public File convert(MultipartFile multipartFile) { byte[] bytes; try { bytes = multipartFile.getBytes(); try (FileOutputStream fos = new FileOutputStream("...
Onurjan's user avatar
0 votes
0 answers
42 views

Why do I keep getting a Segmentation Fault from trying to access /dev/mem in ARM64 on the Raspberry Pi 4?

I've been working at this program for months, and I've fixed many errors, errors with alignment, other segmentation faults, and I've gotten down to this one, where it throws a segmentation fault when ...
Linklordofgaming 's user avatar
0 votes
0 answers
9 views

Harverter HCI Dashboard UI change not relect

I am making some changes in the Harvester HCI Dashboard, after making the build via the Harvester installer repo changes are not reflected in the Dashboard. Dashboard Repo: https://github.com/...
vipin's user avatar
  • 2,490
0 votes
1 answer
158 views

Error Updating Using Pacman: 'failed to commit transaction (could not find or read package)'

Every time I run error sudo pacman -Syu or yay. It always shows up failed to commit transaction (could not find or read package) Errors occurred, no packages were upgraded. -> error installing ...
Ankit Kr.'s user avatar
0 votes
0 answers
27 views

Unable to locate package makeinfo

I need to install a cross-compiler for the Pi and I'm following https://xmleye.wordpress.com/2017/10/17/running-uml-rt-models-on-a-raspberry-pi-based-rover/#comments because it's really similar to my ...
melisa's user avatar
  • 103
2 votes
1 answer
41 views

Socket can't find AF_UNIX attribute

I'm using an Arch Linux machine and trying to run the following code from a Python file. import socket import sys if __name__ == "__main__": print(sys.platform) server = socket....
Praanto's user avatar
  • 369
-1 votes
4 answers
63 views

"Permission denied" when using WebDAV mount as docker volume

I'm trying to use my host-mounted (via davfs2 utility) WebDAV storage as docker volume, but somehow got Permission denied though all target and parent folders have 777 linux permissions # ls -ld /mnt/...
Paul Serikov's user avatar
  • 2,921
1 vote
1 answer
33 views

Performance counter not running with perf_event_open()

I am trying to access the performance counters in a large and complex application. But when I read the result it always returns 0. I also enabled the total running time and the total enabled time, ...
Kipje's user avatar
  • 91
-1 votes
0 answers
20 views

Openproject is not reachable via the browser [closed]

Hello everyone I have an openproject version 12 service (basic installation without docker, the service, a postgresql database and an apache2 for the web exhibition) which runs on an ubuntu 20 server. ...
St235's user avatar
  • 1
-1 votes
0 answers
27 views

How to get count of descriptors in linux? [closed]

I have a linux system. I.e Ubuntu. How to get count of descriptors in linux with /proc or /sys/fs?
Irina's user avatar
  • 1,157
0 votes
0 answers
26 views

I can still see contents of directories on apache linux [closed]

The content of my .htaccess file are as follows: Options All -Indexes AllowOverride None I have Amazon Linux 2023 image and this is not working. I can still see the content of the directories. Can ...
coderatlarge's user avatar
0 votes
0 answers
22 views

How to Connect external harddrive to jellyfin Server [closed]

I am hosting a jellyfin 10.9.7 server on my Raspberry Pi. I can read movies of my boot sd card but not from my external Hard drive. No matter what i do jellyfish cant read the movie folder. I think ...
Johann Theodor Schwarz's user avatar
0 votes
0 answers
24 views

Unable to Resize Partition in Xubuntu VM Due to Busy Target [closed]

I am trying to resize the main partition of my Xubuntu virtual machine (VM) running on VMware, but I encounter an error stating that the target is busy when attempting to unmount it. Despite several ...
doneil chapman's user avatar
-1 votes
0 answers
19 views

How to resume after loginctl suspend in artix linux? [closed]

Please, help, on artix linux do not know how to resume after loginctl suspend. (The screen remains black) CPU 1: 12th Gen Intel i5-1240P (16) @ 4.400GHz GPU 2: Intel Alder Lake-P GT2 [Iris Xe Graphics]...
Andrey _V1's user avatar
-1 votes
0 answers
31 views

Modifying UDP payload on the fly with scapy

My network has 2 interfaces eth1 ethernet 192.168.1.1 eth2 wifi 10.42.0.1 Linux Ubuntu I'm getting ~20 udp packets to the port 10000 each 1 sec with the eth1 interface and it sends to my wifi hotspot ...
quickset's user avatar
0 votes
0 answers
21 views

artix linux не получается встать после loginctl suspend [closed]

Please, help, on artix linux do not know how to resume after loginctl suspend. CPU 1: 12th Gen Intel i5-1240P (16) @ 4.400GHz GPU 2: Intel Alder Lake-P GT2 [Iris Xe Graphics] I've tried to change the ...
Andrey _V1's user avatar
1 vote
0 answers
24 views

How to fix MPTCP Protocol related errors in Debian12

I am working on a research project and need some help in resolving some errors in MPTCP implementation. I am pasting below the error that I get when I execute a Golang code to initiate communication ...
Elikem's user avatar
  • 11
0 votes
1 answer
70 views

Trouble reading a file with C++ in vs code, not sure if this is because I'm working within Linux

Im trying to read the contents of a file in C++, but when I go to run the program it keeps failing. Not sure if this is because I'm using ubuntu linux. Code below: seems basic enough but for some ...
Dokkaebi's user avatar
1 vote
0 answers
68 views

/usr/bin/ld multiple definition of during compile

I just want to mention that I didnt write this code or modify it in any way prior to trying to compile it. I have just been copying the source from EL5 to 6 to 7 and compiling it. I think when it went ...
ZCT's user avatar
  • 329
1 vote
1 answer
39 views

run an input/output waiting application in function in background getting output of that function

I have a shell function func() { read < /dev/ttyUSB3 & PID=$! echo "$PID" } do not focus on its exact purpose, the thing is that I need to run some app (in this case read)...
Anonymous's user avatar
  • 629
0 votes
1 answer
48 views

PEAR binary directory is empty

I'm setting up my php setup, and I decided to install PEAR but even following the official installation I couldn't install. I downloaded PEAR manually through https://pear.php.net/go-pear.phar ...
HatanakaThiago's user avatar
-2 votes
0 answers
15 views

Execute Windows routines on Linux or Roseberry Pi [closed]

I built and ran my project on Windows using windowsPath. Now I want to run it on a Raspberry Pi, but I'm getting errors because of the Windows paths. Changing all the paths to Linux-compatible ones is ...
Erfan Razavi's user avatar
2 votes
1 answer
27 views

Secure communication between a daemon and D-Bus on Linux

So I have a daemon which is used to authenticate users via Azure Entra Id (the daemon is Himmelblaud). I'm writing a session D-Bus service (the bare bones here) to provide SSO creds to various apps ...
David Mulder's user avatar
  • 7,847
0 votes
1 answer
30 views

GNU Makefile deps across three directories

I have a tree where I have something like this : libFoo/foo.c libFoo/bar.c resulting in libFoo.a being placed in an .out directory at the top of the directory tree. I then have an application like so:...
Justin Banks's user avatar
0 votes
0 answers
6 views

How can I symlink to a pre-existing folder and maintain its connection to a GitHub repository?

I am trying to figure out the best workflow for website management with >1 users. The website is deployed from shared/WWW, and User 1 has a user1/WWW directory which is linked to shared/WWW. ...
Josh's user avatar
  • 11
-2 votes
0 answers
51 views

When I run wget google.com from my busybox container in my worker node I get wget: bad address 'google.com', what am I getting wrong? [closed]

I have a Microk8s two node cluster both in a private instance that allows all Egress and allows ports needed by kubernetes. I created the container in the worker node and exec into the container with ...
okechukwu achebe's user avatar
0 votes
0 answers
24 views

black screen after changing resolution in CentOS 9 [closed]

When I installed CentOS 9 I faced with an error like this: "nouveau sched error 20". I solved it by adding "splash nouveau.modeset=0" to the end of kernel configuration in the grub ...
amirabbas Gheisary's user avatar
0 votes
0 answers
31 views

SSL Module Unavailable in Python: Configuring TLS/SSL for pip on Rocky Linux 9

The issue arises when attempting to install flask-oidc==1.4.0 and okta==0.0.4 using pip on a Rocky Linux 9 server. The error stems from the absence or misconfiguration of the SSL module within Python, ...
Harshal Dharpure's user avatar
0 votes
0 answers
21 views

How to collect operational information from the Android system

I currently need to collect operational information from the Android system, including process launch information (including process ID, parent process, launch time), process network requests (process ...
ZSY-ARCH's user avatar
-2 votes
0 answers
19 views

TCP SEVER PERFORMANCE TESTING [closed]

I have a tcp server which on connecting send the custom message 0000050 to know it is intializing the server to accept transaction and after that it send 0000051 to know the client it is ready to ...
Ankit Vashisht's user avatar
-1 votes
0 answers
25 views

How to traverse VMA in Linux 6.6 version? [duplicate]

In the old version of Linux(5.10), we can traverse VMA like that : static void walk_vma_range(struct mm_struct *mm, u32 *nr_vma, u32 *nr_pages) { struct vm_area_struct *vma = mm->mmap; u32 ...
Askemi Wang's user avatar
-1 votes
0 answers
23 views

Flutter web on linux: numpad issues

When opening the web page with num lock activated I am unable to enter numbers through the num pad, it only registers the shortcuts from num pad. However, when opening the web page with num lock ...
Tom's user avatar
  • 31
0 votes
0 answers
21 views

How can I link an object file in a subdirectory to a kernel module?

I have a directory structure that looks like the following (for practical reasons, I'll simplify the structure of my project): . |__ subdir | |__ subdir.c | |__ Makefile | |__ mymodule.c |__ ...
kelos's user avatar
  • 37
0 votes
1 answer
39 views

How to resolve glibc errors in conda enviroment installation?

I am a non root user in a Linux based cluster. It doesn't have docker nor I have privileges to install it. The base environment have GLIBC version 2.17. I am trying to install packages (like faiss-gpu,...
Ayush Gupta's user avatar
0 votes
0 answers
22 views

Permission error with Arch Linux and Laravel

I'm creating a Laravel project, and I'm struggling with permissions. When I first create the project through a terminal command, I have to change the root folder permission to 777 because I can't ...
Telexx's user avatar
  • 551
-6 votes
0 answers
23 views

Tell me how to do this task. Find a 100 Mb disk in the linux system (debian) and mount it [closed]

Tell me how to do this task. Find a 100 Mb disk in the system and mount it in the mnt folder with read-only permissions. After rebooting, it should remain mounted. I tried to partition the disk using ...
Webdev's user avatar
  • 1
-3 votes
0 answers
31 views

How to bind ip with domain in a multi-networkinterface machine? [closed]

I have four network interface in my machine, each network interface has it own public ip. And I need to send http post/get request with server side. the server side domain is: fstream.binance.com, it ...
kevin h's user avatar
  • 49
0 votes
2 answers
29 views

Node 16 Installation Warnings keep on repeating without stopping. How to solve the installation issues?

I had Node 16 installed initially, and I wanted to install Node 20 to use with a specific module of a software. So I cleaned npm caches and then installed the Node 20. Afterwards I wanted to use Node ...
Ransike Randeni's user avatar
0 votes
0 answers
20 views

Docker Checkpoint / Restore hanging

I installed criu and activated experimental setting in docker and trying to checkpoint and restore a fresh container : docker run --name cn --network=host --mount type=bind, source=/mnt, target=/mnt -...
Elyes Lounissi's user avatar
-2 votes
1 answer
73 views

What does ${USER:root} mean and how to get its value with Java?

We have a Java Spring Boot based program which reads the following line from a property file: spring.cloud.config.username=${USER:root} When it runs on Linux server, it's able to retrieve the current ...
user3573403's user avatar
  • 1,804
1 vote
0 answers
21 views

Syscall tracepoints missing in custom 5.15 aarch64 android kernel for Pixel 6

I recompiled a custom 5.15 kernel for my Android Pixel 6 phone with Android 13 with event tracing enabled (especially syscall tracepoints). After booting, the kernel does not have the /sys/kernel/...
Pete1234's user avatar

15 30 50 per page