Questions tagged [services]

A Linux service is an application (or set of applications) that runs in the background waiting to be used, or carrying out essential tasks.

Filter by
Sorted by
Tagged with
0 votes
0 answers
31 views

Service vlcpulse access denied

I have a service running, which should play audio for me. [Unit] Description=My script to monitor the shutdown button After=multi-user.target [Service] ExecStart=/usr/bin/python /home/pi/Radio/Radio/...
  • 1
0 votes
0 answers
62 views

Open command line in running service

So I made a minecraft server on my RaspberyPi 4 on Rasberry OS. I created a service so I can run it in the background. But now I wanna know if I can "open" the command line to run some admin ...
  • 1
2 votes
3 answers
106 views

Cannot SSH into periphery RPis from master RPi using python script automated from crontab: Host key verification failed

Project Overview I have a series of RPi 3B+ which collect T/RH data using connected sensors. These "periphery" units collect data every 5 minutes, append the data to a CSV file that holds a ...
0 votes
0 answers
132 views

Restore internet connectivity without Raspberry Pi reboot

Occasionally, my Raspberry Pi 4 disconnects from internet. This unwanted disconnection seems to be due to some errors from wi-fi module drivers. Here is an excerpt of the kernel log: ieee80211 phy0: ...
0 votes
1 answer
339 views

shutdown/reboot raspberry using GPIO - doesn't work for me

I need my raspberry Pi to turn OFF automatically when I press a button, so I've forked the Adafruit-GPIO-halt project and created a slight modified version of it here. I've modified the C code and the ...
1 vote
1 answer
154 views

How to check/see systemctl's running script logs?

Context, I have a python script added to services on systemctl to start on boot. Thing is, I want to be able to check the actual script's logs, in case there are issues. I tried using the journalctl ...
1 vote
1 answer
1k views

Disable systemd-random-seed

I am looking to speed up the boot time on my Raspberry pi and systemd-random-seed is taking 20s (old Pi 1). From what I've read up this is waiting to collect entropy to generate a system random seed. ...
  • 107
0 votes
1 answer
202 views

Running python GUI application with PyQt and python-vlc as a service

I'm trying to run a python GUI application as a service. The application is using PyQt5 and python-vlc packages. I have the following service file: [Unit] Description="Python VLC Service Test&...
  • 1
0 votes
1 answer
103 views

SSL certificate for multiple dock containers running on RPI 4

Hi guys I have a question regarding docker containers and ssl certificates. I want to install more than one docker containers like pi hole , Bitwarden and motioneye . To access them I have to type ...
0 votes
1 answer
104 views

Service does not start at boot time

I am running a Flask application on my RPi successfully by issuing the following command export FLASK_APP=/opt/fzwk-access-source/app.py && flask run --host 0.0.0.0 Now, my next goal is ...
  • 101
0 votes
1 answer
63 views

Downloads stop when I close Putty. What is happening?

I have Deluge P2P installed on my Raspery Pi. It seems the downloads stop when I close Putty, even though the Raspery Pi is still powered on. Should this happen? How can I prevent it? I don't have ...
0 votes
0 answers
25 views

When should something be registered as a service?

I've red a few tutorials on how to set P2P clients up, specifically Deluge. For some reason all of them say to register it as a service. Why is this? I've just been starting it manually in the ...
0 votes
0 answers
88 views

Howto self-restart a service when network link goes down?

I have a VPN using L2P/IPsec. A service I created establishes the ppp0 interface and tunnel. The service basically executes a shell script that does all the work. I can start/stop the service and all ...
0 votes
0 answers
106 views

Check if Raspivid service is running?

I am creating a program the requires the following: Check if raspivid is currently running. Check if its running out of a services file. if it is running out of a specific file, determine which ...
  • 1
0 votes
1 answer
4k views

How do I manually start/stop the motion service from a program?

I have successfully set up motion to run at boot up on a Raspberry Pi running buster Debian Linux. Now I want to start and stop the service from within my Python program. I started by changing the /...
0 votes
1 answer
4k views

Why dhcpcd.service failed for auto matically alllow ip address

I using Raspbery pi zero w. my dhcpcd.service always fail, I do not know the reason: my linux is: PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" NAME="Raspbian GNU/Linux" VERSION_ID=&...
0 votes
1 answer
190 views

Do I need to stop services when performing a full system backup of Raspberry OS on a RPi4 using rsync?

Well I guess the title is pretty self-explanatory but to put a little more words on, I want to use rsync to perform a weekly, incremental backup of my RPi4 which is hosting Pi-Hole, Unbound DNS and ...
2 votes
2 answers
563 views

Unable to auto livestream when booting - enable .service does not work (failed to enable unit: Invalid argument)

I want to set up a service that starts a livestream when booting the rasp. I have been following this tutorial: domoticproject.com/creating-raspberry-pi-service This is what my .service in /lib/system/...
  • 23
0 votes
0 answers
134 views

All in one Raspberry pi Server?

Does Grafana server + influxDB + ChirpStack Gateway OS full runs on same Raspberry pi that RAK2245 mounted gateway? As you know latest raspberry pi 4 have 8gb ram. I will only monitor about 20-30 ...
0 votes
2 answers
147 views

Trying to install OrientDB a run it as service

I'm trying to install OrientDB on my Raspberry 3, and configure it to run it as a service. I'm following the instruction found at here. I downloaded the binaries, and unpacked them at /opt/orientdb/ ...
  • 103
2 votes
1 answer
58 views

Does Raspbian start its automatic services/daemons when it's turned or when someone logs in?

I'm using Raspbian. I connect through Putty. My question is, before I connect with Putty, is the Pi actually doing anything or is it just sitting their idly? Before logged in, does it start the ...
1 vote
0 answers
1k views

My raspbian buster is stuck at Splash Screen with polkit.service!

I was working fine with my Rpi4 this morning. Next time when I started it was okay. Then there was some resolution issue. so I went into raspi-config and disabled the OpenGL. After a restart my PC is ...
  • 1,780
0 votes
1 answer
48 views

Problem with launching webpage at boot

I am facing some issues starting a webpage with my raspberry pi at boot. I created a web weather dashboard with some widgets and I want my raspberry pi to start this webpage at boot. My raspberry ...
  • 3
0 votes
0 answers
95 views

Cannot setup Samba

I want to access files from my Raspberry on my Windows machine. I did it previously, but I resetted both my devices some time ago. I haven't made any advanced network configurations to them yet. I ...
  • 101
1 vote
1 answer
67 views

Troubleshooting my project xorg error. Services not booting

My /etc/X11/xorg.conf is empty i did have a 99-calibration.conf I put in /etc/X11/xorg.conf.d/ but I had to make the xorg.conf.d/ dir so i migth have already messed up before. Now starting the pi ...
  • 29
2 votes
5 answers
5k views

Which services on the Pi are mandatory and optional?

I am looking to make the Pi more responsive by disabling unneeded service. I am looking to disable services in /etc/init.d (and anywhere else if there are other places) and want to find a list ...
  • 419
0 votes
1 answer
426 views

Switch back from WLAN AccessPoint to normal WLAN client

I configured my Raspi (3B+, Raspbian Stretch) as a WLAN Access Point, as described here: https://www.raspberrypi.org/documentation/configuration/wireless/access-point.md Now I want to switch my Raspi ...
0 votes
0 answers
175 views

Python app scheduler issue on Raspberry pi, i got error like this "python[2132]: WARNING:apscheduler.scheduler:Execution of job"

I an using Raspberry PI zero W and connected 5 sensors to getting reading from sensors. i used services for start the sensors scripts and i installed python apscheduler for time sequence. Sometime ...
  • 109
0 votes
1 answer
473 views

openvpn exits with error 1194 port already in use

I have pivpn installed on my raspbian stretch running on 1194 port. in the beginning it was working fine , but now from few days I am getting this error on reboot. Sep 26 21:17:29 titan ovpn-bridge-...
2 votes
2 answers
509 views

Determining how specific services were started?

I have a Raspberry Pi which is running well, and am looking at creating a status app for it. I have some services that are run on startup, and I want my app to check that they are running, and if not ...
  • 148
3 votes
2 answers
987 views

Can't establish SSH connection in systemd.service

I created following service: [Unit] Description=Server Tunneling After=network-online.target Wants=network-online.target [Service] Type=simple ExecStart=ssh -R server-login:80:localhost:8003 serveo....
  • 151
2 votes
1 answer
2k views

isc-dhcp-server can't bind to dhcp address

I'm trying to set up an ethernet DHCP server on a Raspberry Pi to connect one device via eth0 and give it an ip address, but I cannot for the life of me get the service to start. This won't be an ...
0 votes
0 answers
792 views

Can't restart failed services

I have two processes in my Pi that are stuck in the failed status. The output of systemctl --failed is: ● lighttpd.service loaded failed failed Lighttpd Daemon ● wpa_supplicant.service ...
0 votes
1 answer
129 views

The service error for startup app in a terminal

My Python application needs to run on a Raspberry Pi 3 at startup and in a terminal. What I did: I created a service screenscript.service in /etc/systemd/system a bash file in /home/pi/mydir/screen....
  • 1
-3 votes
1 answer
611 views

software copy protection in raspberry pi [closed]

i need to ensure that even if my executable C/C++ codes are copied to another raspberry Pi (dumping the SDcard), they will not run there. what are the possible ways to do this. Update: adding "PI ...
0 votes
0 answers
32 views

The application stalls when the service is loaded at startup

I have RPI3B + with Raspian Stretch on which I run the QT application. When I create my service to launch the application after starting the rpi i have problems.. The application starts and then the ...
1 vote
2 answers
868 views

Running pygame and webcam works from command line not when using a service

I am writing a small program for a Museum display that captures a still from a webcam, displays it on screen, waits a few seconds and takes another, loop forever. This all works fine from the command ...
0 votes
1 answer
4k views

Running a Python script as a service file on boot

I have a Python script (that works) set up and I want to run it automatically every time the Raspberry Pi is on. I have read that I need to create a unit file and I have done so, but whenever I try ...
  • 175
0 votes
2 answers
814 views

Restart Pi after ping failure?

I have been creating a prototype using Pi Zeros, they work great at my house but are failing often at customer's site (other side of country). I do not know if the Pi kernel is crashing or if it's ...
  • 99
3 votes
1 answer
2k views

Docker 'core-dump' error when starting service

I'm using a Raspberry Pi 1 Model B. I've just installed using the easy script: curl -sSL https://get.docker.com | sh install results: # Executing docker install script, commit: 4957679 + sudo -E ...
  • 63
-1 votes
1 answer
68 views

Python program runs with 'python3 progfile.py' but fail to start as service

I installed a python program from a github repo with an automatic script. It is configured to launch itself as a service on startup, and everything seems working fine. I edited the 'py' file to change ...
2 votes
1 answer
138 views

Monitoring NICs on the Pi

Is it possible to have a script running as a service constantly monitor certain NICs and alert me throught LEDs if one of them has been disconnected or is not properly detected by the OS? Would ...
1 vote
1 answer
847 views

Running a Python Script with Tensorflow via systemd doesn't work, but running the same script via the terminal works

I have successfully coded a Python 3 Script that detects objects in a frame given my the camera. Based on those objects detected, I run commands and logic. I have tested this and I can run it via the ...
  • 175
0 votes
1 answer
72 views

Functioning Script for Access Point Which Fails When Run as a Service

In order to reach my Raspberry Pi 3 B +, I need it to broadcast an access point upon booting. I am aware that there are common issues with crontab @reboot and systemctl running when networking is ...
1 vote
1 answer
50 views

Getting Service status and automatic mounting of external drives

I have following bash script, I wanted to add few more things to it: (This script runs from root cronjob every 6 hours). Device is Raspberry Pi running raspberian. #!/bin/bash # Script: temp_email.sh ...
3 votes
1 answer
2k views

Start Service with Sudo

I am trying to run an Express API server with sudo permissions and have it automatically start on boot. The API needs access to bcm2835 library, and I get the following when trying to run node server....
  • 155
0 votes
1 answer
460 views

running python script as service and calling functions from another program

I have a python script to control some LEDS. In a compiled c++ program I have been calling python scripts like so in various places: system("python /home/pi/leds_flash.py") system("python /home/pi/...
  • 101
0 votes
1 answer
4k views

Not able to start the Plex Media Server on my Raspberry 3 anymore

I currently have the problem, that my Plex Media Server, which is set up on a Raspberry Pi 3 Model B, cannot be started. When I hit sudo service plexmediaservice status, I get the following error: pi@...
1 vote
3 answers
1k views

Boot: multi-user.target starting late

My Raspberry Pi Zero running Raspbian Stretch Lite (2018-10-09) seems to be slow at boot. First off, the state of the OS: It is basically a freshly installed image on a properly working Class 10 SD ...
  • 61
0 votes
2 answers
475 views

How to make a service to run a python script which includes browser automation

I have python script which is using selenium web driver to do some web automation task. This python code is running perfectly fine when I am running it from the terminal. It launches firefox and does ...
  • 412