Skip to main content

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
0 votes
0 answers
27 views

systemd user service: ExecStartPost not running, service stuck in 'activating' state

I have a systemd user service file ~/.config/systemd/user/ssh-agent.service, the purpose of which is to ensure that I always have my ssh-agent running, and a particular passphrase-less SSH key loaded ...
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 ...
58 votes
4 answers
46k views

get notification when systemd-monitored service enters failed state

I need to have network messages sent when a systemd service I have crashes or is hung (i.e., enters failed state; I monitor for hung by using WatchdogSec=). I noticed that newer systemd have ...
0 votes
1 answer
28 views

Wait to start an app running on one server until another app on another server is fully up and running

I have the following situation: I have two Raspberry Pi's (Rpi) running in the same network When RPi 1 is (re)started there's a service that is starting application A When RPi 2 is (re)started there'...
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 ...
1 vote
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 ...
14 votes
2 answers
16k views

How DNS service discovery, multicast DNS and Bonjour are related?

I am a bit lost in the terminology. I wanted to start to use Bonjour. As the first step, I tried to find an easy way to use it. And I thought that I, probably, can call Bonjour from the command line ...
0 votes
0 answers
81 views

How to make Microsoft OpenSSH daemon start automatically in Windows Server 2022?

I have just installed Windows Server 2022 in a VM. Then I have added the feature "OpenSSH"; that is, I have installed the Microsoft OpenSSH daemon that is shipped with Windows Server. I have ...
4 votes
2 answers
2k views

list enabled systemd service instances

I'd like to list all enabled service instances. The following lists enabled services, but only shows the service, and not individual instance: systemctl list-unit-files --state=enabled The ...
0 votes
0 answers
56 views

Multiple Postfix Instances *without* postmulti

I have been running multiple instances of certain services (php-fpm, mysqld, httpd) and am now trying to do the same with Postfix. Searching online, I have so far only been able to find descriptions ...
6 votes
4 answers
11k views

Is it possible to add a Windows service dependency using powershell?

I know there is this sc.exe where you can add and set Windows service dependencies, but I was wondering if the same thing can be done using Powershell.
0 votes
0 answers
382 views

Is it possible to get systemd to monitor a process that it does not start?

Some of our startup scripts have an ExecStart line that runs a curl command to start jobs from our Jenkins build server. Systemd does not know anything about the job that is started as a result of the ...
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 ...
1 vote
2 answers
10k views

unix:////tmp/supervisor.sock refused connection

I apologize for my poor English as it's not my first language. I have a website for translating TV shows from English to Spanish. A friend installed a real-time translation system for us. He mentioned ...
0 votes
1 answer
321 views

How can I reload or stop the nbd-server?

I'm running nbd-server on Debian (nbd-server package) with my config at /etc/nbd-server/config, but then I might change the config and need to reload. How can I do that? man nbd-server has nothing on ...
0 votes
1 answer
166 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/...
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 /...
206 votes
9 answers
588k 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
177 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&...
0 votes
0 answers
37 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
970 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
4k 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-...
1 vote
1 answer
187 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 ...
12 votes
4 answers
65k 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
24 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
134 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
16k 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. ...
1 vote
1 answer
916 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
26k 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
65 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 ...
0 votes
2 answers
1k 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
941 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
164 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
855 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
14k 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
100 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 ...
3 votes
2 answers
8k 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
173k 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
2k 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
956 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
504 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 ...
2 votes
2 answers
2k 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
393 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
109 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
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 ...
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
36 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 ...

1
2 3 4 5
21