2,645 questions
0
votes
1
answer
2k
views
Error using IntelliJ's Docker services when using Docker daemon in WSL through a TCP socket
I really like using IntelliJ's Docker services window, it is a great GUI to visualize and manage Docker containers, images, networks and volumes.
Recently, I started a job where Windows computers are ...
0
votes
0
answers
572
views
Start/Stop Windows Service or Linux Daemon from .Net
Is there a platform agnostic way to start/stop Windows Services or Linux daemons from a .Net app?
I have a Blazor Server app, and I'd like it to be able to start/stop a service/daemon that I created.
...
0
votes
0
answers
201
views
Error when I push and build from GitHub to docker hub unix:///var/run/docker.sock. Is the docker daemon running?
After I fixed the docker program and dockerfile path. A new error shown.
Cannot connect to the Docker daemon.
My teammate try to help me fix it but still having the same error. I try to find the ...
4
votes
2
answers
1k
views
ADB server didn't ACK on MacOs: Ventura 13.2
I can't connect to Macbook real android devices through ADB.
On the android device, the Allow USB debugging?
When I click on OK I see the device in the list with the authorizing status. and the same ...
-1
votes
1
answer
562
views
How to run system service before login in macOS 12.5.1? [duplicate]
I put the plist file in /Library/LaunchDaemons directory, chown to root and run sudo launchctl load -w /Library/LaunchDaemons/homebrew.mxcl.nginx.plist to enable and load it.
zyl@imac:~% ls -l /...
0
votes
0
answers
152
views
keep running python daemon process in background
import time
import daemon
import sys
import os
import mig_file
class Test:
def __init__(self):
self.running = False
self.listfiles = []
def run_daemon(self):
pid = ...
1
vote
1
answer
2k
views
How to kill and stop uvicorn from respawning when running in the background (when started with nohup)
I started a fastapi app and uvicorn in the background with nohup as
nohup uvicorn main:app &
and it seems it runs as root in the background and if I kill it, it will soon respawn using kill -9 $(...
2
votes
0
answers
173
views
Docker: daemon is not running, how to start daemon on windows 11?
Suddenly Docker daemon is stopped on windows 11.
> docker ps
error during connect: This error may indicate that the docker daemon is not running.: Get "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1....
0
votes
0
answers
76
views
How to monitor access attempts to files with no user permissions
I wrote a script using inotify that monitors the file system, and runs another script when access to that file is attempted.
Unfortunately, inotify has no way to check if the user is trying to open a ...
2
votes
1
answer
170
views
How to convert existing macOS command line tool (for a launch daemon) into a bundled app for code signing & stapling?
I have a macOS command line tool project for my launch daemon (written in C++). It compiles into a single Mach-O binary file.
I need to code sign and notarize it for distribution (outside of the App ...
1
vote
0
answers
81
views
How to approach writing a daemon to log user in
I am researching into writing a daemon that can process a request to log a user in. I am looking at
https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPSystemStartup/...
0
votes
1
answer
14
views
Background task won't run on Pi but does on windows
I have written a program that sets up a daemon in python to count down some timers in the background that are interrogated in the main task and it works fine under windows but not on the actual ...
3
votes
2
answers
1k
views
How to adjust what is displayed in the Login Items list for my launch daemon/agent in macOS?
My launch daemon (and the launch agent) are installed system-wide on macOS. I use the following plist file (say, for the daemon) that is placed into the following file /Library/LaunchDaemons/com....
0
votes
0
answers
163
views
How to tell programmatically if my launch daemon is currently running on macOS?
From an app written in C++, how can I tell that my launch daemon is currently running? And preferably how to get its PID?
For instance, if I run the following in the terminal:
launchctl list com....
0
votes
1
answer
2k
views
Get "https:://registry-1.docker.io/v2/" http: server gave http response to https client
Im on the remote server, which is linux machine. I am trying to pull some base images like nginx, alpine. when I used docker pull nginx, it gives me this error(server gave https response to https ...
1
vote
1
answer
922
views
How can I read a SQS message using sqs-consumer inside an EC2 instance?
I have a node.js. daemon running in an EC2 instance that uses sqs-consumer library to read messages from a SQS.
The problem I am having is that messages are written to the SQS but they are not ...
0
votes
1
answer
1k
views
kubernetes daemons kubelite and cluster-agent failure
microk8s is running on the single node.
This happened after pods have taken all resources at one moment, but after some time. I was able to remove some of the deployments to free resources. Then I ...
2
votes
1
answer
270
views
How to make a Flutter appliction a daemon in Linux(Ubuntu)
So, I have a flutter application. It works great, but it needs to do some background API calls. My current implementation is to turn off the gui, by not running the widget classes if there are command ...
2
votes
1
answer
1k
views
Daemon threads - When does a python app finish running?
I found this in the python documentation.
https://docs.python.org/3/library/threading.html#threading.Thread.daemon
The entire Python program exits when no alive non-daemon threads are
left.
Does ...
-1
votes
1
answer
2k
views
why use "nginx -g daemonf off" in dockerfiles for nginx [closed]
i am containerizing a react app, and i realize alot of people using the line "nginx -g daemon off", please what does that mean
is it good for production?
I also ran the container without the ...
0
votes
0
answers
350
views
flutter app gradle Daemon is stuck , how to solve it?
I want to run my Flutter app for the first time on emulator . at first I had problem to running it at gradle . then I deleted the gradle folder and download it manuall and replace it in the folder . ...
0
votes
1
answer
423
views
How can I debug Gradle Worker Daemons in IntelliJ?
I am using Gradle Worker Daemons in a custom task to enable parallel work.
The Worker API can accommodate this using the processIsolation() method that causes the work to execute in a separate "...
0
votes
1
answer
90
views
Getting the exit code of an application launched via startx
I'm setting up Debian so that it works in kiosk mode. To do this, I created a service that performs the watchdog function:
[Unit]
Description=Watchdog for myapp
[email protected]
After=...
0
votes
1
answer
198
views
Flutter app stopped working on emulator/simulator (Windows 10 and MacOS)
My flutter project runs on real devices with F5 or with
flutter run --release
on real devices connected to the PC. It also worked on emulators (Windows 10) and simulators (macOS) but it stopped, ...
0
votes
0
answers
1k
views
"rootless" docker gets permission denied, but account running docker does not - why?
I am running docker "rootless" according to this guide: https://docs.docker.com/engine/security/rootless/
The user which actually runs docker is svc_test.
When I try and start a docker ...
1
vote
1
answer
11k
views
error during connect: This error may indicate that the docker daemon is not running in cmd
I am a beginner at Docker. I need to create two containers for mongo and mongo-express. But, I'm getting an error as error during connect: This error may indicate that the docker daemon is not running....
1
vote
1
answer
107
views
Which frameworks am I allowed to link to from a macOS launch daemon?
I'm writing a macOS launch daemon (in C++). It works for the most part, except that I am noticing some random crashes via SIGABRT (in the log.)
I've asked earlier about the use of the Core Graphics ...
0
votes
1
answer
114
views
Can I call NSApplicationLoad from a launch daemon?
To receive some notifications (for instance, CGDisplayRegisterReconfigurationCallback) from my launch daemon (written in C++ for macOS) I need to call NSApplicationLoad before I call CFRunLoopRun(); (...
2
votes
1
answer
110
views
Can I create a crash dump for my launch daemon on a macOS when it crashes?
I've written a launch daemon for macOS. (It's written in C++.)
The daemon works in most cases, except that once in a while I see that it receives the SIGABRT signal from the own process. (I can see it ...
0
votes
1
answer
4k
views
what is daemonize? I can't understand it [closed]
I'm reading the helper page of busybox's httpd.
In the page, there is an description about option f.
"-f Don't daemonize"
But I can't understand what the "daemonize" means.
Could ...
0
votes
0
answers
413
views
My daemon process in Linux getting stuck randomly
I have a daemon process, which stuck randomly. The /proc/pid/stack shows this:
[<0>] do_sys_poll+0x486/0x610
[<0>] __x64_sys_poll+0xa9/0x140
[<0>] do_syscall_64+0x59/0xc0
[<0>] ...
1
vote
3
answers
912
views
Why docker not working in manjaro, connection refuzed
Every action throws an error.
For example:
[greenjoy@greenjoyPC ~]$ docker run hello-world
Unable to find image 'hello-world:latest' locally
docker: Error response from daemon: Get "https://...
1
vote
2
answers
682
views
Puma Rails server won't start in daemon mode on MacOS 13 Ventura after update from MacOS 12
I just updated from MacOS 12.x to 13.0.1
Starting a Rails app with
➜ rails s
works fine
=> Booting Puma
=> Rails 5.2.8.1 application starting in development
=> Run `rails server -h` for more ...
2
votes
2
answers
4k
views
Get "https://registry-1.docker.io/v2/": proxyconnect tcp: dial tcp 192.168.65.1:3128
docker run -d --name=grafana -p 3000:3000 grafana/grafana-enterprise:9.2.0 Unable to find image 'grafana/grafana-enterprise:9.2.0' locally docker: Error response from daemon: Get "https://...
0
votes
1
answer
278
views
Launchd 'Invalid Property List'
I was hoping someone could point out where I might be going wrong with a launchctl script I'm trying to write and launch.
The intention is to run a python script I've managed to get working, everyday ...
0
votes
3
answers
1k
views
Django waitress- How to run it in Daemon Mode
I've a django application with waitress (gunicorn doesn't work on windows) to serve it. Because its production code and its based on windows 2012 server. But I want the django application to run in ...
0
votes
1
answer
111
views
Phabricator - Command failed with error #255
I have Phabricator installed on me, only it comes to this message:
Usage Exception: Daemons are configured to run as user "phd" in configuration option phd.user, but the current user is &...
0
votes
1
answer
262
views
Set up emacs server so that it dies when the last frame is closed
I have run into issues using the emacs server started when I log in and emacsclient. Specifically, I use the same emacs server for different R projects things get ugly and commands from different ...
0
votes
1
answer
225
views
Microsoft Graph list buckets with clientsecretcredentials
I am trying to manipulate microsoft planner tasks (end goal is to create a task in a certain Scope and bucket).
I am already failing at listing a Plan or the buckets for a plan. I want to make this ...
0
votes
1
answer
117
views
How can i run a java program as a daemon using JNA/JNI without nohup/wrappers
I am trying to start a program using "java -jar $filename" and have it fork itself and keep running in the background, like it is possible with other programming languages e.g. in python
0
votes
0
answers
57
views
having a service like this is wrong in linux?
Let's say I have a service that makes constant requests to a web server and then checks if a certain condition is met, and if it does, it executes a function and then makes requests again. What I say, ...
1
vote
0
answers
351
views
Keep process running 24/7 EC2
I have a script that I need to be running 24/7. However, I cannot seem to get EC2 to stop killing the process
I've tried daemonizing it with python-daemon,
I've tried nohup,
I've tried adding & at ...
6
votes
8
answers
10k
views
Flutter device daemon Crashed
I changed the directory name in which flutter is installed. After that, an error is occurring whenever I started the android studio. The error is 'The Flutter device daemon cannot be started.' A ...
0
votes
1
answer
5k
views
How I can disable daemons / services (that run and that I can't kill) in Mac OS X
I want to kill a process on MacOS but after kill -9 PID it starts immediately.
1
vote
0
answers
501
views
Docker container as Windows service start before login
I have created a container via Docker Desktop on a Windows PC and would now like to start this container like a service or daemon during system startup. If successful, the container would be ...
0
votes
0
answers
51
views
how to manage processes in C language with daemon-process
I made an app-process in C language, but I want to manage the app process by creating a daemon process. (If app-process die, rerun, etc.)
I'm trying to do it, but please help me with how to manage it.
...
1
vote
0
answers
971
views
Run Docker container as daemon without login
I have created a GitLab container in Docker on the Windows 10 operating system. I used Docker Desktop for this purpose. I would like to run the container as a kind of daemon so that the container ...
0
votes
1
answer
4k
views
how do I make systemd service to run python project with conda env through .sh [closed]
I'm trying to run my code on startup through systemd
I want it to run using the current environment cause it's a bit big and I don't want to reinstall all of that
I have a .sh file that activates the ...
0
votes
1
answer
1k
views
Daemon Umask in RHEL 8
I'm working on a hardening task of RHEL 8. The step now is set umask Daemon, I've tried to find /etc/sysconfig.init file to add umask 027 but it's not exist likes RHEL 7.
Where can I config this umask ...
-1
votes
1
answer
83
views
Daemon service in ECS throwing no space left on device
Recently after a production deployment, our primary service was not reaching steady state. On analysis we found out that the filebeat service running as a daemon service was unsteady. The stopped ...