Questions tagged [service]

A service (also daemon or server) is a programme that constantly runs in the background. It usually services requests. If you are asking about online services, please use a different tag.

Filter by
Sorted by
Tagged with
204 votes
9 answers
570k views

How to start/stop/restart launchd services from the command line?

How do I restart, say for example my httpd or afpd, running any Mac OS X >= 10.5 (Leopard-), without having to use the GUI and go to System Preferences -> Sharing and unchecking/checking "Web Sharing"?...
0 votes
1 answer
153 views

How can I determine the resource responsible for a specific APIService?

I'm new to k8s, so please forgive me if I use some definitions incorrectly. Every k8s cluster has a set of APIs available, some of which are part of k8s itself ("core", or "built-in&...
3 votes
2 answers
5k views

Unable to access 3ware 3dm2 web interface, failed to start listening socket

I am unable to get to the 3ware 3dm2 web interface. When I attempt to execute 3dm2 from the command line, i get the following error "(0x0C:0x0005): Failed to start listening socket". This was working ...
0 votes
0 answers
21 views

Can't resolve service in Kubernetes

I have a pod that wants to connect to Redis, but we use dragonfly instead, but it can’t do that. [2024-04-01 14:34:28.421 DEBUG common_server/src/db/redis_manager.rs:112] creating redis pool with ...
0 votes
2 answers
794 views

systemd service definition for SAP (or any other application) start

I have issues to configure a systemd service for starting and stopping SAP (or any other appliaction). I am new to configuring systemd services and please have mercy asking "stupid" ...
1 vote
2 answers
3k views

Can't start postgresql service

I'm trying to start the service but it isn't starting... It says: [....] Starting PostgreSQL 9.6 database server: main[....] The PostgreSQL server failed to start. Please check the log output: 2016-...
0 votes
3 answers
6k views

Windows DNS won't start on reboot

Last night a Windows Server 2008 R2 machine I maintain automatically rebooted after installing updates, without starting the DNS service. Since the machine is the network's DNS server, I got a call in ...
1 vote
1 answer
116 views

Systemd service stops after start (only while booting)

I have a minimal systemd service that seems to work normally when started manually using systemctl start my-application.service And it stops normally using the corresponding stop command. For some ...
0 votes
0 answers
26 views

Issue with IIS and error in biztalk server

I have created an application within BizTalk. It includes a receive location configured with TYPE: HTTP, with a BizTalkServerIsolatedHost handler. The URI created looks like this: /ph_qa/...
11 votes
4 answers
61k views

How do I specify NetworkService or LocalService for a Windows Service on a Domain Controller?

This question is a not duplicate of these existing questions: AUTHORITY\NetworkService does not exist (question is for Windows Server 2003 How can I run a process as "NT Authority\NetworkService&...
0 votes
0 answers
18 views

Create a service for lc_adapter.exe in Windows - Error 1053

I have a program named lc_adapter.exe. The program is used to foward syslogs from a firewall to LimaCharlie.io. I want the program to start as a service. I have tried the following two different ...
0 votes
1 answer
71 views

Can not ExecStart service python script as root on Linux

OS: Ubuntu 20.04.6 LTS I created a service that executes python script checker.py. The problem is this service does not execute python script with root privileges, although sirjay user has root ...
1 vote
6 answers
15k views

isc-dhcp-server doesn't start automatically

Running on Astra Linux 1.3, my dhcp service (isc-dhcp-server) is well-configured now and work as expected with a slight nuance - it works only when it's started, but a system don't run it at startup. ...
3 votes
1 answer
12k views

Mysql cannot start - Could not find valid tablespace file for

My mysql service is currently unable to start with the error InnoDB: Could not find a valid tablespace file for 'wowcher/temp_import'. I think I know what the issue is. I have a PHP script which ...
3 votes
1 answer
10k views

'net view' generates error "The service has not been started"

I have a problem in Symantec Endpoint Protection Manager where by the computer browser to do a remote push install has randomly stopped working showing the error message Network Provider: Microsoft ...
1 vote
1 answer
302 views

Mystery "Failed to locate executable"

I've been setting up a monitoring solution for various servers using Promtail, Loki and Grafana, following this article. I got a monitoring machine running Loki and Grafana (on Rocky Linux 9.3) and a ...
9 votes
2 answers
24k views

How to configure a service auto-restart after failure with PowerShell

On a Windows system, in the Service console, there is a recovery tab to configure actions for a service in case of failure. How can I configure this with PowerShell?
0 votes
0 answers
29 views

Not able to create a project in GCP by using a service account through API

Description I am facing an issue while attempting to create a project in Google Cloud Platform (GCP) using a service account through the API. Here are the steps I've taken: Initially, I manually ...
1 vote
2 answers
4k views

bash wait for service to start

I'm having trouble with the first part of the bash script, I need to wait for server mysql to start before executing mysqadmin commands... I cannot reliable get it to work! #!/bin/bash if [[ ! -f /...
0 votes
2 answers
558 views

SQL Server Services won't start and database engine can't be accessed

So my SQL server can't be connected to after the computer crashed while connecting to it over RDP. The MSSQLSERVER, UALSVC and MSSQL$SQLEXPRESS services are all set to automatic (the ualsvc is set to ...
0 votes
1 answer
411 views

Tomcat9 used environments variables on server.xml

I try to insert environments var on conf/server.xml file I follow the tomcat documentation : https://tomcat.apache.org/tomcat-9.0-doc/api/org/apache/tomcat/util/digester/EnvironmentPropertySource.html ...
4 votes
3 answers
4k views

Need help converting init.d service scripts to systemd (CentOS)

I have spent several days on an issue that's incredibly frustrating and I'm straight out of options. I am currently using a CentOS 6.8 server at work for our website. CentOS 6 (Enterprise Linux 6 or ...
0 votes
0 answers
77 views

Linux service constantly restarting

I have a service file mmctrl.service with the following contents [Unit] Description=MosquitoMax Controller Service After=network.target [Service] User=mm Group=mm WorkingDirectory=/home/mm/ ...
2 votes
2 answers
4k views

Clickhouse: Failed to get D-Bus connection: Operation not permitted - CentOS 7, no docker image

I am trying to set up a Clickhouse server on my WSL which is based on CentOS. After following instructions in this page, and installing the DB successfully, when I want to enable the service I get ...
0 votes
0 answers
385 views

What is the standard Windows service timeout?

While starting or restarting a Windows service the service might time out, for example if you're starting is programmatically. In my current script the timeout is set to 30 sec. and that applies to ...
1 vote
2 answers
13k views

Failed to enable unit: Access denied - while enabling a service on AWS RHEL instance

When I run this command sudo systemctl enable /home/ec2-user/my_custom.service I get Failed to enable unit: Access denied And When I run systemctl enable /home/ec2-user/my_custom.service I get =...
0 votes
0 answers
97 views

Why can my K8S service only access one of three replicas?

New to K8S I have installed microk8s on three Raspberry Pi 4 computers (blackpi, bluepi, redpi). I have a little hello world REST application as docker image in a local registry. I have deployed it as ...
2 votes
2 answers
6k views

Windows service modify logon for managed service account

Windows server 2019 with a service running with a local admin account. I have configured that application to logon with a gMSA service account. After running with certain issues, I wished to switch ...
36 votes
6 answers
171k views

How to list services/daemons started at boot _and_ check their loading order

I want to be sure in what order services are started during boot process in Debian based systems (Debian Squeeze in particular).
1 vote
2 answers
992 views

On MacOS brew service doesn't start on reboot if started as a user

I'm installing a gitlab-runner service on MacOS using brew install gitlab-runner, after which I can start the service using brew services start gitlab-runner. If I start the service with sudo (or from ...
7 votes
1 answer
4k views

How do you automate enabling a service on a debian filesystem without booting into it?

I want to have a custom service that I've placed into /lib/systemd/system start at boot, but th eonly way I know how at the moment is to run systemctl enable myservice.service but I would like to ...
1 vote
1 answer
492 views

Windows automated service logon with AD service user fails to start the first time

I am dealing with this issue for the past 4 years and it bugs me very much. My company generates msi installers with wix toolset, and they create multiple Windows services. Those services run with an ...
0 votes
0 answers
330 views

Systemd service executing a script with error handling

I have the following issue: I created a systemd service which executes a script. This script contains several commands including psql commands which queries a database and stores the outcome into ...
1 vote
2 answers
1k views

How to pass environment variables with FreeBSD service command?

The rc.subr ${name}_env specifies this for setting environment variable: ${name}_env A list of environment variables to run command with. This will be passed as arguments to ...
5 votes
0 answers
271 views

Powershell: How to read secure strings from textfile with windows service

I saved credentials of my vSphere environment to text files with the Powershell ConvertFrom-SecureString. I want to use this credentials in my powershell script using the following command: $...
0 votes
1 answer
72 views

Service to monitor Service not triggering

On Ubuntu 18 I have a service : [Unit] Description=Gets CSV OnFailure=pushovercsv.service [Service] ExecStart=/usr/bin/vehicles.sh [Install] WantedBy=multi-user.target This works. I am trying ...
0 votes
0 answers
24 views

How to use open service mesh in kubernetes?

I am trying to test open service mesh for our application. No tags in serverfault for service mesh or servicemesh or osm or open service mesh,etc. So I kept istio as serverfault tag to this question ...
0 votes
2 answers
6k views

Some services refusing to start on Win 7 machine. What could the root cause be?

When I check msconfig, there are no services that are blocked from starting up. When I look in services.msc, the problem services have a start up type of 'Automatic', but have a blank space where ...
0 votes
0 answers
40 views

Dockerd run as ServiceUnit alters /tmp access

It's been my first success weeks developing Docker containers using dockerd along its plugins and recently i found out some problems after automating the daemon. Tried to manipulate dockerd as a ...
0 votes
0 answers
25 views

Unable to modify Recovery Actions for a service

I have a service (NameOfService.exe) that frequently shuts down on its own. I haven't yet figured out why it keeps stopping. I want to trigger an alert for when it does shutdown. I assume that this ...
2 votes
3 answers
4k views

Postfix master.pid ExecStartPre with exit status 255

When I restart the Postfix daemon on my Rockylinux server, It happen an restorecon error who don't avoid the starting of the service but still an error : ● postfix.service - Postfix Mail Transport ...
0 votes
1 answer
35 views

Protecting the service of a specific application

We have a business requirement where we don't want even Admins to be able to stop a service of a specific application running on windows machines. Reason being the application plays an important role ...
0 votes
1 answer
108 views

Daemonized influxdb container won't start on Ubuntu 22

I'm trying to upgrade a server to Ubuntu 22. Among other things it's running a docker image of InfluxDB 2.7. The whole setup is puppetised, so I'm not "upgrading" the OS as much as I'm ...
1 vote
2 answers
512 views

munin-node worked fine, now "start operation timed out"

I have had munin-node running successfully on my machine for a while, but since recently it won't start anymore. There is no munin-node log for me to check, and systemctl status munin-node does not ...
0 votes
2 answers
286 views

Starting MySQL standalone works but as windows service it fails

I have an xampp-portable directory that contains mysql/mariadb. The xampp directory is located directly on d:, so path is d:\xampp and mysql is d:\xampp\mysql I want to run mysql as windows service so ...
0 votes
1 answer
308 views

Dynamic NVM node path for service unit file

I recently migrated from using node installed on my Ubuntu server to using NVM to manage my node, but the issue is the application I use on this server uses a .service file that executes with the path ...
-3 votes
1 answer
104 views

Redirect OR warn (during initial negotiation) SMTP submitters to use TLS on port 587 - leave 25 explicitly blocked by firewall for better security [closed]

I've managed to find a lot of closely related information, but not an answer truly addressing my question. I am expanding on my homelab server, and have decided to use a small publicly hosted server ...
0 votes
1 answer
77 views

Unit shutdown.service could not be found

I'm trying to set up in a Redhat server, 2 services that start a database at startup, and stop it at shutdown, so I have put 2 files under /etc/systemd/system as follows: shutdown.service: [Unit] ...
6 votes
2 answers
11k views

How do I make one service dependent on another in Windows 7?

If I view properties for a service, I can see the "Dependencies" tab, but I can't assign other services to this tab. I have two services that start on startup, a server and a database. The server ...
0 votes
0 answers
141 views

Application started from start.sh and monit .jar file (systemd)

How to correctly write a service that will allow start aplication with start.sh where is a bash command and monitor the (.jar) application? [Unit] Description=Some service After=syslog.target [...

1
2 3 4 5
21