2,645 questions
0
votes
0
answers
41
views
Daemon not reactiing
I've already asked a similar question a few days ago. Basically I have to make a daemon-client communicate via named tubes. The client part is done and sends messages correctly, but the daemon part ...
2
votes
1
answer
546
views
Daemon clean up itself when get killed
I'm try to create a daemon application by following the example :
Creating a daemon in Linux
In the example, there is no operations about the daemon stop.
Therefore, I'm curious about :
How to send ...
0
votes
0
answers
148
views
Making a Daemon using C and problems connecting it to a client
So, I've made a function in C that "daemonizes" a program, but when I do so, any code I want the daemon to execute, is not executed... even though the daemon is up and running in the ...
0
votes
3
answers
3k
views
Could not receive a message from the daemon in Flutter
I know this message has been already asked before but none of the answers has fixed my issue,
The error message:
I have already tried disabling the hotspot of my emulator (which is a Pixel XL API 30) ...
0
votes
1
answer
154
views
Daemon crash in embedded system when I define a large local array then memory set in program. Why the array spanned two stacks in daemon?
Would someone be able to provide suggestions for this question? I tried for two weeks and couldn't find a solution to fix it.
The problem is when I add a function in daemon, it will be crash in ...
3
votes
0
answers
764
views
docker: Error response from daemon: SIGILL: illegal instruction
Problem
I'm trying to create a docker container from a common image bitnami/airflow. I successfully downloaded the image, but when I run docker run -d -p 8080:8080 bitnami/airflow webserver I get the ...
0
votes
1
answer
1k
views
start-stop-daemon run with external script condition
I need know how run a service with start-stop-daemon with external script condition. Similar to what is done in a systemctl .service file, for example:
NOTE: I need to do the same as the ExecCondition ...
1
vote
1
answer
467
views
Porting a UNIX daemon to a Windows Service
I wrote a UNIX daemon, in C, which I want to port to Windows.
My target is Windows 10.
When I search on how to create a Windows service, I am met by an approach using .NET and C# which I both want to ...
0
votes
0
answers
284
views
getenv core dump error in daemon service program
I wrote a daemon service program and I want to open a file in /home/user path while the service is active. But I don't want to open file as root. The first thing I tried for this was to get the user ...
0
votes
1
answer
145
views
Make Spacemacs server/daemon not share windows in different frames
When I create new frames, they all share the windows.
If I have 2 frames and 2 windows (with different buffers), the other frame will list the window number as 2 instead of 1.
I want to have the ...
1
vote
1
answer
3k
views
Unable to run "adb", check your Android SDK installation and ANDROID_SDK_ROOT environment variable: ...\Android\Sdk\platform-tools\adb.exe
When I start the project popup shows "Flutter daemon terminate" and when starting the flutter application it shows the "No Connected Devices Found" dialog box. Then I run flutter ...
1
vote
1
answer
1k
views
Cannot connect emulator in Android Studio on MacOS
I have a problem with the emulator that I cannot run my app on it. A few months ago, I still can open my old projects and run them on an emulator. After a few months, I come back with a new project ...
0
votes
1
answer
207
views
Understand backend in QtService
I wrote a daemon using Skycoder42/QtService.
It works when run from QtCteator but on the server, I get the below error
qtservice: No backend found for the name "standard"
In the project ...
0
votes
1
answer
413
views
Unable to start the daemon process. problem might be caused by incorrect configuration of the daemon. For example, an unrecognized jvm option is use
When i run my project my .gradle folder is not been created and i get this error
FAILURE: Build failed with an exception.
What went wrong:
Unable to start the daemon process.
This problem might be ...
2
votes
2
answers
195
views
Using a userspace driver in Linux daemon
I'm trying to write a daemon that monitors the state of a USB GPIO device (Velleman VM167) and will then act on changed.
I've found a userspace driver (https://github.com/rahlskog/VM167) and have set ...
0
votes
1
answer
417
views
How to start my telegram bot on Google Cloud
I want to upload my bot to the server. I am using Google Cloud. My bot.service file looks like this:
[Unit]
Description=Telegram bot 'ConverterBot'
After=syslog.target
After=network.target
[Service]
...
3
votes
1
answer
157
views
Daemon errors when building application [closed]
These problems just came out of the blue as for yesterday everything was working fine, today I was trying to debug my flutter app when this error showed up
I even made a new flutter project just to be ...
1
vote
1
answer
864
views
Daemonize a Python script on Raspbian Buster
I am working on an RFID-based access control system for which I have a working python script. For some specific details if they matter, the main processing is done on a pi zero w, which is connected ...
0
votes
1
answer
157
views
How to send parameters to daemon from client to server?
I am trying to create a kiosk client that stores its configuration on the server. Client is based on Raspberry Pi OS Lite (it runs on RevPi). Server is an Debian system. What I had in mind is ...
2
votes
1
answer
617
views
What's the most idiomatic way to implement "live communication" with a process?
I have a program that runs in the background without any intervention.
However, I'd like to provide some control over running instances. Usage might look something like this:
$ foo start
# an instance ...
11
votes
4
answers
70k
views
Unrecognized VM option 'MaxPermSize=512m' Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit
I updated my IDE to Android Studio Arctic Fox version and was facing this issue when I tried to sync gradle after the upgrade was complete:
"Unrecognized VM option 'MaxPermSize=512m' Error: Could ...
3
votes
0
answers
922
views
Paketo buildpack bindings not working when using "external" docker daemon
I have a Jenkins setup with a master and multiple worker/slave nodes. The workers are docker containers running on VMs. The containers themselves have no docker daemon running (nor installed). They ...
2
votes
2
answers
696
views
why we can't call setDaemon(true) after starting thread?
public class MyThread extends Thread {
public void run() {
System.out.println("Thread is running");
}
public static void main(String[] args) {
MyThread t1 = new ...
1
vote
1
answer
3k
views
Gradle build daemon disappeared unexpectedly
When I run the CI pipeline, the build fails and get the following log:
Building without sound null safety
For more information see https://dart.dev/null-safety/unsound-null-safety
Running Gradle task '...
-1
votes
1
answer
551
views
flutter: Unable to start the daemon process
I am tried to solve this issue in VSCode, flutter. I tried all possible solutions, and it works for few days then again same thing happens.
here is what i tried:
1-
changed in gradle.properties the ...
0
votes
1
answer
191
views
Unable to start the daemon process...Could not reserve enough space for 2097152KB object heap
I keep getting the following error when trying to build my ionic app:
* What went wrong:
Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For ...
1
vote
0
answers
995
views
504 Error AWS Server gateway timeout after apache(httpd) configuration with mod_wsgi for django app in redhat
I got an error called Gateway Timeout when trying to load my server elastic ip. I changed documents root to /var/www/public_html My OS is Redhat AWS EC2 Instance
My projects root is
/var/www/...
1
vote
0
answers
2k
views
How do I run a Go program as a background process?
I'm curious, is there a way to run my Go program in the background as a daemon in windows?
I have a hello-world.exe on my machine, how do I run this in the background or hide the console window?
0
votes
1
answer
247
views
Python time.sleep kills the Thread
I'm using Portable Python 3.9.4 x64 on Windows and everytime I'm calling the time.sleep(...)-method the Thread exits and won't return:
import threading
import time
threads = []
print ("hello&...
3
votes
4
answers
2k
views
Gradle Daemon stopped working in parallel due to file lock timeouts
Yesterday all of the sudden my projects on a Windows 10 machine stopped running in parallel due to file lock timeouts.
All my projects are using gradle-wrapper and provide a run task
When I start the ...
1
vote
1
answer
809
views
How to require a user to login in order to push to a docker registry?
I am wondering how to set up my docker-compose.yml file or docker registry such that a user must login in order to push to the registry but any user can pull from the registry. Right now, no login is ...
3
votes
2
answers
1k
views
How can I launch a daemon in a websocket handler with actix-web?
Given a basic setup of a WebSocket server with Actix, how can I launch a daemon inside my message handler?
I've extended the example starter code linked above to call daemon(false, true) using the ...
0
votes
1
answer
549
views
Set Daemon Of Python Thread In Class To True
I'm coding a Texteditor class:
from threading import *
class Editor(Thread):
{python code}
if __name__ == "__main__":
editor = Editor()
editor.start()
I want this editor ...
1
vote
2
answers
7k
views
how do i troubleshoot Error response from daemon?
Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on 192.168.65.1:53: server misbehaving
0
votes
1
answer
228
views
Azure ADB2C - Web APIs authentication for SPA and Daemon App
I have an API project written in .NET which can be called from a Daemon App (desktop client) and also can be called from an Angular Website. I have the Daemon App setup in Azure B2C with a client ...
1
vote
1
answer
634
views
Handle process signals in Swoole script without pcntl_signal() function
I'm implementing a php parallel tasks script based on Swoole module which works as daemon.
Is it possible to use Swoole functions to handle process signals instead of pcntl_signal()?
<?php
declare(...
8
votes
1
answer
467
views
How can a Java program detect that the MacOS machine is being shut down?
I have a Java application that I want to be started on my Mac whenever I start the machine. The application should be shut down gracefully whenever the machine is shut down.
I added a shutdown hook in ...
0
votes
0
answers
102
views
Use python output as an input for another daemon process
I wonder if I can use stdout from python code as an input for another daemon process such as gnome-calculator for instance and if so how could I achieve that.
The goal is to automate the interaction ...
2
votes
2
answers
2k
views
How to restart itself in Go daemon process?
I use go-daemon library to fork process and run it in background. And I need to restart the daemon process after update performed from within http handler.
The handler code is
func httpUpdate(w http....
1
vote
2
answers
1k
views
Using MS Graph in daemon apps requires Application type permissions in Azure AD
The examples from here require Application type permissions, which means, that such app will have access to all mailboxes in the tenant. Which, basically, means that it can't be just any tenant, ...
1
vote
1
answer
187
views
How to store daemon processes?
Imagine Docker. You can start a container in detached mode (daemon) and it will run in the background. While the first container is running in the background, you can create start a new container in ...
1
vote
0
answers
495
views
Supervisor spinning up multiple celery and worker processes on aws
I am running the setup that follows(just showing the beat setup for simplicity) for daemonizing my celery and beat workers on Elastic beanstalk. I am able daemonize the processes successfully however ...
1
vote
0
answers
153
views
Designing simple client to control and interact with daemon in python
I am trying to design a daemon which runs in the background and a CLI client which can interact with the daemon.
When the cli program is called it should send a message to the daemon. This message ...
0
votes
1
answer
424
views
Celery wont run when initiated by supervisor on aws elasticbeanstalk
Update!
Got it to work by adding export LC_ALL=en_US.UTF-8 at the top of my bash script.
I am attempting to daemonize celery beat and worker. I have no troubles running celery or beat when I ssh into ...
1
vote
1
answer
830
views
child process stuck in fork() when parent calls exit(0)
Background:
My program test.c is creating a daemon process.
Code snippet from test.c which creates a daemon process.
sigset_t set;
pid_t pid;
if ((pid = fork()) < 0)
{
printf("Did not ...
2
votes
0
answers
145
views
Gradlew Never Ending Busy Daemon Issue
I'm pretty mad at this, I have reinstalled different versions of Gradle, tried multiple project building, but when I run gradlew ANYTHING or gradlew.bat files in any project, it gives me a never ...
0
votes
0
answers
507
views
Azure B2C - IDX10501: Signature validation failed. Unable to match key:
I have a .net core Api and a Spa application connecting to the Api. Everything works fine. Now I want to authenticate to the Api from a CLI using a client secret. I use get the token using ...
0
votes
0
answers
493
views
Why is plist file not automatically working?
I'm running a simple malware persistence technique on mac using Launch Daemons. I have created plist file as below with a command:
sudo vim /Library/LaunchDaemons/com.themacjesus.mount.plist
the ...
0
votes
1
answer
271
views
flutter run -v continuously shows starting a new daemon, xx busy Daemons could not be reused, use --status for details
When running flutter run -v it is creating a lot of daemon processes and it never ends, thus resulting in freezing the system without completing the build. How to solve this ?
I have to forcibly ...
2
votes
1
answer
871
views
Can not connect a device with bluetoothctl in an embedded linux
I cross-compiled Bluez and d-bus library for the embedded linux and then I ran dbus-daemon and bluetoothd. But I can't connect devices on bluetoothctl. Scanning works on bluetoothctl and even ...