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.
1,040
questions
0
votes
0
answers
14
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
1
answer
84
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
15
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 ...
1
vote
1
answer
199
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 ...
0
votes
0
answers
20
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
396
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
244
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
...
0
votes
0
answers
59
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/
...
0
votes
0
answers
264
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 ...
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 ...
0
votes
2
answers
752
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 ...
0
votes
1
answer
66
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 ...
0
votes
0
answers
292
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
1
answer
400
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 ...
5
votes
0
answers
230
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
57
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
23
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
0
answers
36
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
20
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 ...
0
votes
1
answer
32
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
98
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 ...
0
votes
2
answers
253
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 ...
-3
votes
1
answer
101
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
72
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]
...
0
votes
0
answers
136
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
[...
0
votes
0
answers
203
views
This site can’t be reached in kubernetes minikube
I applied my react kubernetes manifest file on minikube with the service
I am trying to access it on the browser but I am getting error
This site can’t be reached
deployment.yml
apiVersion: apps/v1
...
0
votes
1
answer
968
views
Can't disable WinHttpAutoProxySvc
The WinHttpAutoProxySvc is disabled in Services on Windows Server 2019.
Is it safe to disable it and if it does, how to do it?
I'm running into this problem: https://stackoverflow.com/questions/...
0
votes
1
answer
147
views
StartExecPost calling the service itself
I have a service defined as bellow:
Unit]
Description=My Service
After=network.target
[Service]
ExecStart=/usr/local/bin/myservice
KillMode=process
Restart=on-failure
ExecStartPost=/usr/local/bin/...
0
votes
0
answers
67
views
Trouble starting by service: Linux 3.10.0-1160.62.1.el7.x86_64 #1 SMP Wed Mar 23 09:04:02 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Linux XXXXXXXX 3.10.0-1160.62.1.el7.x86_64 #1 SMP Wed Mar 23 09:04:02 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
cat -vetn rc.service
1 [Unit]$
2 Description=Script Daemon$
3 $
4 ...
1
vote
1
answer
365
views
How to reload MySQL 8 and update SSL certificates
What is the correct way to update MySQL 8 SSL certificates without having to restart the service?
With PostgreSQL, you can do a reload using "systemctl reload postgresql", for example.
0
votes
1
answer
148
views
one public IP Address same service (https) for two website is working (different Domain name) [duplicate]
One Public IP Address giving same service for two web site (Different DNS).
beirutmotorsparts.com - 66.96.147.120 - 443
alwaslautoparts.com - 66.96.147.120 - 443
One public IP can give 443 to one Web ...
1
vote
2
answers
915
views
Is it possible to start apache2 as non-service foreground program? [closed]
apache2 normally runs a service. I don't apache2 service to run in background. I want to run it as long as it's a foreground program so I know that when I close my terminals while forgetting to stop a ...
0
votes
1
answer
88
views
When and How we should specify "clusterIP" inside the "service.yaml" file?
I tried to deploy mysql and cassandra databases using kubernetes.io/docs instructions. In both of them, within the service.yaml files, they use clusterIP: None like following:
For cassandra:
...
0
votes
1
answer
90
views
Secure SQL Server and other traffic with end to end security
All,
I am wondering if there are any best practices or ways that I can open up secure access to a service such as (for example) SQL Server, or any other program normally requiring a port to be opened ...
0
votes
1
answer
380
views
What is the easiest way to shut down Kubeadm on Ubuntu?
I have just installed kubeadm, kubelet, kubectl, docker, docker-ce on Ubuntu 22.04 and they all are working fine. I am wondering how I shut them all down without making them corrupted?
Also how can I ...
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
...
0
votes
0
answers
2k
views
kube-apiserver.service failing after complete reinstall of kubernetes and kubectl plugins
I'm having an issue where kube-apiserver.service will always fail on my local Fedora 36.
Getting the namespaces from a context I was experiencing certificate issues that prevented me from succeeding. ...
0
votes
1
answer
923
views
SystemD memcached service - (code=exited, status=1/FAILURE)
So I had to deploy in Rocky Linux 8 memcached with SOCKET in /var/run/memcached
In order to avoid the service to fail, I have run the following:
systemctl edit memcached.service
Pasted in:
[Unit]
...
0
votes
0
answers
540
views
Start program as user on Windows Server 2016 boot (allowing access to program via RDP)
I'd like to set up a non-domain'd Windows Server 2016 to automatically start a specific graphical application as a specific user at boot such that it is always running -- even after a reboot -- and ...
0
votes
0
answers
227
views
How to troubleshoot 3rd party service start failure on windows server 2016 standard edition
I have a windows server 2016 standard edition 64-bit machine. The machine is up to date and has the latest security updates.
On this machine I have a 3rd party service called Couchbaemphasized ...
0
votes
0
answers
880
views
Ubuntu 20.04 Power LTS: How to disable "multipathd" service at boot time, from the petitboot shell?
Setup:
I have large number of multipath LUNs from SAN, connected to this system. Most of these LUNs are not formatted for the Linux env and needs to be reformatted before using.
The Problem:
To work ...
2
votes
1
answer
398
views
Is it possible with IPTABLES to ACCEPT a service by NAME like ssh or only by PORT?
I have a local machine in my network 192.168.0.30 and i ssh over port 12121, setting in my sshd_config file.
I done changes to iptables:
/sbin/iptables -A INPUT -i eth0 -p tcp --dport 12121 -j ACCEPT
/...
0
votes
1
answer
124
views
Exclude Service with spaces in name in NRPE arguments
exclude=edgeupdate = working fine
exclude=Sophos Clean Service = not working
what syntax do I have to use here?
0
votes
1
answer
255
views
Change the localhost setting
I followed the steps mentioned in this blog post..
https://aws.amazon.com/blogs/opensource/dashboards-as-code-a-new-approach-to-visualizing-aws-apis/
and was able to start the service.
$ steampipe ...
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
250
views
Redis failed every few hours
I have a problem in redis, Each 18-30 hour it failed and I should restart it manually to run it again.
Our server have 1 wordpress website.
Redis version: 5.0.3
OS: CentOS Linux release 8.3.2011
...
0
votes
1
answer
272
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 ...
0
votes
1
answer
272
views
Using Windows Event Logs versus using a text file
I'm porting a Unix server application that writes logs to text file, typically generating about 15MB of logs per day; and the log file is rotated daily by a cron job. The porting is to be a Windows ...
0
votes
1
answer
362
views
Why does status says it's dead and subsys locked, but it still running without issue?
Whenever I start Amavisd, the reports starting OK, but a status check says it's dead.
$ service amavisd start
Starting amavisd: [ OK ]
$ service amavisd ...
0
votes
1
answer
6k
views
How do I autostart a program with a "X" second delay after internet connection is established at login (LINUX)
I want to use systemd to configure this, do I have to create a custom target and then custom services on it to make this happen? How do I do that?