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.

learn more… | top users | synonyms (1)

0
votes
0answers
7 views

Restart Windows service if error message in log-file

The service is running just fine as seen with sc query but it does not work. When it stopped working there was an error in the log-file. So I think of running a sort of tail -f on the log-file, and ...
1
vote
0answers
25 views

Network-Wide Process Communication/Coordination

I am looking for a way to connect processes on multiple systems in potentially multiple locations. An event bus or message queue seems the ideal way to do this, but I have not been able to find an ...
0
votes
0answers
17 views

Is it better to have multiple unicorn services or one that's run with different configs?

Right now I'm creating a server that will have multiple applications on it, each with their own configuration. I'm running Redis as a separate service for each app so that I could do something like ...
0
votes
0answers
8 views

mongod doesn't appear in service --status-all

In Ubuntu 14.04, when I run sudo service mongod status, I get mongod start/running, process 10005 but when I run sudo service --status-all, I get a list but mongod isn't in it. Why isn't it in the ...
0
votes
0answers
17 views

SSO Service not showing up after vCenter 5.5 installation

I installed vCenter Server 5.5 u3 and wanted to adopt our monitoring to the new services. However, the SSO Service does not show up in the Windows Services. Everything works fine. Is this normal? ...
1
vote
1answer
18 views

Init script doesn’t work properly by using “service” command

I have the following startup script, which should either start or stop a screen in detached mode: #!/bin/sh # node2 # Maintainer: @KittBlog # Authors: mk@kittmedia.com ### BEGIN INIT INFO # ...
38
votes
4answers
6k views

“reboot” or “shutdown -r now”: what restart command is safer?

We have in our organization around ~500 RedHat Linux machines. On all the machines we installed applications and services under /etc/init.d, and oracle RAC servers. We intend to perform yum updates ...
0
votes
2answers
29 views

how to find the exact windows service that shows up as System [closed]

I installed the latest nginx on widows 7 enterprise. got an error "nginx: [emerg] bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access ...
1
vote
1answer
56 views

How can I confiuger a windows service from the command line

I have a windows service that I've written. I'd like to make it easy for my server team to install it. So I'm building a little batch script. One of the things that I require is for it to be setup ...
0
votes
1answer
20 views

Kubernetes cluster ip not answering

We've setup a kubernetes cluster with 3 masters and 3 workernodes. Then we've installed the kubernetes-dashboard which failes because it can't connect to kubernetes (api-server). It's looking for ...
0
votes
1answer
9 views

Anope Services NickServ will not set modes on Identify

I have set up Anope Services with IRCd-Hybrid. Everything works great, except for one thing... Registered and identified users don't receive a "+r" mode set. I only receive "Password accepted - you ...
0
votes
1answer
108 views

Can't start mysql service [closed]

I can't restart my mysql service from my ubuntu server. Here is the error : ● mysql.service - LSB: Start and stop the mysql database server daemon Loaded: loaded (/etc/init.d/mysql; bad; vendor ...
0
votes
0answers
20 views

NSSM - cannot start serivce as suer

I have prepared a special user that will be used for service. I have allowed user to "Log as service" in Local policies. Then, I have created a service with nssm with "log as" mentioned user. But ...
0
votes
1answer
15 views

Apache windows service ran under custom identity wont start

I have a new windows 2012 R2 server and I am trying to install apache 2.4 as a service with a custom local user made specifically for Apache. I have the user rights assignment to allow logon as a ...
0
votes
0answers
109 views

polkit.service - Authorization Manager fail to activate

Major issue with polkit service how to fix this its trying and failing to activate polkit every time. Sorry if noob question. systemctl status polkit.service ● polkit.service - Authorization ...
0
votes
0answers
18 views

Install OPENLDAP as service from compiled source

I am using Centos 7 and compiled openldap from source and installed it in a custom location, however I found that it doesn't come with the option of installing as service as it would if I yum install ...
0
votes
0answers
20 views

Why wont my service run after reboot?

I have created the following service in the directory /etc/init.d of my Debian 7.2 Wheezy machine: #!/bin/sh ### BEGIN INIT INFO # Provides: myService # Required-Start: $all # Required-...
1
vote
0answers
60 views

Sensu-Client won't start on Windows Server 2012 R2

I've installed sensu-core and performed the necessary configurations for sensu-client as per the documentation laid out here for sensu v0.23. I used Windows SC utility to create the Windows service ...
0
votes
1answer
42 views

WinRM-Service is running but can't be reached

I have a virtual testing environment for developing scripts. As .NET isn't capable of all the possibilities PowerShell offers I use Remote PowerShell Runspaces. My problem is now, that I can't reach ...
0
votes
1answer
15 views

Does upstart have a built in way to respawn a process that is not stopped using initctl stop in specific intervals?

We thought the following directives would try to respawn the process 10 times in 60 seconds (i.e. once every 6 seconds): respawn respawn limit 10 60 However these directives restart the process as ...
1
vote
1answer
130 views

How long do daemons have to exit when the server shutdown signal is received?

As we are developing a complex set of services on Linux, we developed a tool that starts them one by one. One of the many considerations for creating such a tool was the order in which items can be ...
-1
votes
1answer
45 views

service script for any linux dist… possible?

I'm developing an app which will be run on linux. It can run on most distributions. Is there any way to create a startup/service script that will work on any distribution? I've read about /etc/init.d ...
0
votes
0answers
92 views

Tomcat7.exe vs Tomcat7w.exe and Windows NAS drive

I am still fighting with how to make Tomcat installed as a Windows service (Windows server 2012 or experimenting with Windows 8) see mounted NAS drive. I tried various approaches from http://...
2
votes
0answers
85 views

start systemd service on start of requirement

I have a service which depends on mysql.service via Requires=. This is necessary, because the service crashes, if mysql is not available. Executing systemctl restart mysql works fine. It stops my ...
5
votes
1answer
67 views

OpenNMS check if service is running on remote server using SSH

I have an OpenNMS system configured and up and running. I have a few Linux (debian) servers and I need to monitor if a specific service is running on them. This must be done using only ssh access. No ...
1
vote
2answers
74 views

Tomcat webapp failing to start when Tomcat started as a service

I have a webapp that is failing to start in Tomcat on a Linux install. The app works on a different Tomcat installs on different machines and on the same machine when using a standalone Tomcat. The ...
0
votes
3answers
105 views

restart php5-fpm from php script

Ok, this is a tricky one (I think) I need to reload php5-fpm from a php script The obvious issue is that once the reload command is executed, the current script is disturbed, I tried to delay the ...
2
votes
1answer
38 views

How can I start systemd unit files (someservice.service) with logging set to /dev/null?

Is there a way to start a service using systemd and direct it's logging to /dev/null WITHOUT including the proper lines in the unit file. For example, A file that has the StandardOutput and ...
0
votes
1answer
21 views

Start stopped service because of dependency update

I have two systemd services: postgresql.service and app.service. postgresql.service is distribution provided (ubuntu 15.10) and app.service is written by myself. Since app needs postgresql, the ...
1
vote
0answers
35 views

Run Java Mission Control as a daemon, and activate alerts?

I would like to use Java Mission Control (JMC) to monitor a java application I have that will expose certain information via JMX. In JMC it is possible to setup alerts to trigger when certain ...
1
vote
1answer
38 views

Ubuntu “service” command

I type in the following command on two separate machines both running Ubuntu: service ssh status Output of machine 1: ssh start/running, process 25369 Output of machine 2: ● ssh.service - OpenBSD ...
0
votes
1answer
24 views

Change name of the internet network service on CentOS

If I try nmap to my server (CentOS 7), I get something like this: $ nmap myserver.com Nmap scan report for myserver.com (1.2.3.4) Host is up (0.93s latency). Not shown: 998 filtered ports PORT ...
0
votes
1answer
84 views

Add a Windows service in WinPE 5.0/10 image (64 or 32 bit)

Is it possible to add my own Windows service (myservice.exe) in a WinPE 64bit image? myservice.exe is 32bit applicatication that relies on the winusb driver. How can I add (manually) my own service in ...
2
votes
1answer
26 views

postgres solaris smf service reports status online before it can listen for connections

I have an SMF service (Naviserver web server) that depends on postgres to be up and running (i.e. accepting connections) before it should start. Postgres reports it's status as "online" well before it ...
-1
votes
1answer
45 views

Rabbitmq-server restart failure

When i am trying to restart the mqqtt-server, it fails without any error ubuntu@ip:~$ sudo service rabbitmq-server restart * Restarting message broker rabbitmqserver [...
3
votes
1answer
29 views

What happens to running queries when stopping a Microsoft SQL Server instance?

Consider that a MS SQL Server instance is executing a long-running query the service is stopped via services.msc or - as it actually happening - a system shutdown triggered by a UPS as the server is ...
2
votes
1answer
18 views

How to say when a service (any service) is available on a specific remote port

I'm using docker and docker-compose to compose a service which is a combination of several others. As the inner services are serving each other, there's a predefined priority by which they must be ...
0
votes
0answers
22 views

ubuntu service not working (permissions?)

I'm trying to set up a service task in init.d for freeradius. At boot, everything runs fine: radiusd binary is started and switches to user radius (as configured) When I try 'sudo service ...
2
votes
1answer
144 views

Remote service query (sc.exe query) fails with “access is denied” for one service, but not others

I'm trying to remotely uninstall a specific service, but get the famous "FAILED 5: Access is denied." message. I've reduced the test case to running sc \\remotemachine.domain.local query "flexnet ...
1
vote
2answers
25 views

Set Apache specific Environment variables in Windows

I've used Apache in Ubuntu is the past. There is a envvars file contains environment variables used by the Apache Service. I'm unable to find such a file for Windows. There are two approach that I've ...
0
votes
0answers
43 views

Restart service from non-admin user

I write my C++ program and run it as daemon by writing upstart script inside /etc/init/ So my program is automatically started after reboot and can be controlled using sudo service my-service restart ...
0
votes
0answers
95 views

“systemctl reboot” not working

I added reboot target/service file to my system /lib/systemd/system/reboot.target [unit] Description=Reboot Requires=reboot.service After=reboot.service AllowIsolate=yes /lib/...
0
votes
1answer
234 views

/var/log/syslog is empty. Service rsyslog is running, but not installed

Problem Periodically I encounter the problem that /var/log/syslog is empty. $ ls /var/log/syslog -rw-r----- 1 root adm 0 Dez 31 06:29 /var/log/syslog Environment and Installed packages I am using ...
2
votes
2answers
409 views

Non standard ssh port: should I edit /etc/services?

On a *nix system, when configuring ssh to listen on non standard port, should I also edit /etc/services to reflect that. I would think it should be done, so tools that use it (such as ufw) will ...
-5
votes
1answer
72 views

cron - How many times the cron job will run when given aterisk(*) on all positions [duplicate]

If we define a cron job with * * * * * /some/task/to/perform, how many times the job will executed in 60 seconds?
1
vote
0answers
54 views

redis-server2 is start-stop-daemon: warning: this system is not able to track process names longer than 15 characters

So I've had the need of running 2 instances of redis in the same server. My server is an Ubuntu 14.04 box. So I followed this guide, but not in a strict way. I mean, instead of modifying redis init ...
1
vote
0answers
19 views

service --status-all freezes part way through displaying list

debian 8.0, logged in over ssh service --status-all freezes part way through displaying list of services it gets to ssh and then doesn't display anything else and doesn't finish, it doesn't matter ...
1
vote
1answer
77 views

Force Locale in Windows Services

I have some windows services running on an Windows 2008R2 server. My system locale on that server is English (US). Is there any way you can force a windows services to use a specific locale (without ...
2
votes
3answers
621 views

Nginx hangs using “service nginx start”

I've compiled nginx with custom paths for my production server and when I try to start/restart the service using: service nginx start or service nginx restart It enters a new line without ...
0
votes
1answer
28 views

Run service under AD account

I am trying to run a custom service (made in visual studio) on a networked applications server that has been joined to a domain. I would like the service to run under a very specific account (...