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)

3
votes
1answer
2k views

inetd and echo service

inetd - From Wikipedia, inetd (internet service daemon) is a super-server daemon on many Unix systems that provides Internet services. For each configured service, it listens for requests from ...
0
votes
0answers
200 views

WDS after installation of Windows 7 64bit, not bootable device found

When I install Windows 7 (64bit) Enterprise over WDS, it successfully goes through the installation but then when it actually tries to boot from the hard drive where it installed windows, it doesn't ...
0
votes
1answer
263 views

Open connection communication between two machines

i'm trying to connect two machines. Azure Cloud service (A) with Linux machine (B) that doesn't belong to Windows Azure. What i`am trying to do is to make an open connection between A and B. So A ...
4
votes
1answer
1k views

How to reset service permissions after messing up with `sc sdset`?

After applying this "solution" I have no way of starting the spooler service, not even as Admin. If I open services.msc as Administrator, that service has disappeared, as noted here (I wish I found ...
0
votes
1answer
85 views

Upstart is not sending CONT to my stopped daemon which is configured to use 'expect stop'

I have the following test configuration file for an upstart service, running on Ubuntu 14.04: expect stop chdir /home/joe/Projects/Marketplace env RAILS_ENV="development" script ruby -e "STDOUT....
1
vote
3answers
3k views

Server 2012 R2: World Wide Web Publishing service is failing to start

I've got Server 2012 R2 running in Hyper-V with Exchange 2013 installed. It's not a critical system - I'm using it to learn Exchange administration. I went to log into the server tonight after ...
0
votes
1answer
509 views

Execute a service as a specific user under ubuntu

I'm running a gameserver and want to start it on a screen on system start, but screen is user specific, so I have to run the command as 'user'. So I wrote this short service script which starts itself ...
0
votes
0answers
131 views

upstart fail to run service and not able to debug

I am using os-svc-daemon to create my upstart service for openstack project. my upstart job config is as below File : /etc/init/myservice.conf start on runlevel [2345] stop on runlevel [016] env ...
0
votes
1answer
228 views

Chef installation in a chroot (packer): not starting services

I'm trying to use packer.io to create a machine image for a server who's deployment I already have automated using Chef (chef-solo specifically), using the amazon-chroot builder and the chef-solo ...
1
vote
1answer
195 views

apache2 fails when run through service but not when run directly

I have apache running just fine on start up and manually using /etc/init.d/apache2 start and I'm ok with that, but one of the server managers is used to using the service command, and for some reason ...
6
votes
2answers
76 views

How did windows services get linked across three machines

I have a set of windows machines that are running similar software. In fact, they may have been cloned by my IT co-workers. I am not sure about that. The other day I noticed that when I started a ...
1
vote
2answers
5k views

Powershell script that executes another powershell remotely

It's a long story, but I need to create a SQL trigger that executes a script remotely which executes another script remotely (yeah, I know). I'm using PowerShell. I have started at the end: Get-...
0
votes
1answer
307 views

Monitor Linux services with Nagios 4 [closed]

I'm trying to monitor a few RHEL7 services via Nagios. I'd like to monitor if the services are running or stopped and receive an alert when stopped. I haven't any out of the box option with Nagios 4 ...
1
vote
2answers
219 views

Best ways to discover servers in a public cloud? [closed]

I want to make a ubuntu server image to run in a public cloud that discovers when other servers from the same image come online. I came up with this list of solutions, but I'm not sure what is best? ...
0
votes
0answers
79 views

How do I tell which program is using a service account to auto stop and start a service?

I have a windows service on windows 2003 sp2 r2 that is being stopped, then started, every minute(ish). I can see the computer, the service account, and the program being restarted, but I cannot tell ...
1
vote
1answer
233 views

starting linux services delayed issue

I have an issue where the bind9 service aka named in my ubuntu system is starting up before my openvpn service. When this happens, the network interface that openvpn creates (tun0) is not found by ...
1
vote
1answer
2k views

service stuck at pending start

The thing is, i have a third-party application, that, somehow, in its service form, works properly only with the 'standard' name, the one with which it installs itself. Would i create my custom own ...
-3
votes
1answer
36 views

Service port accessible only by one network card

I have server 08 R2 with two network cards. One is for the internal network (10.1.1.x) and another for internet (192.168.1.X connected to the modem). Network clients always accessed a service in this ...
4
votes
3answers
363 views

How to control the rate of automatic restarts of a runit service?

I have this runit service with run and log/run scripts properly working. As it happens, the service itself can crash for external reasons and might not be able to start for many minutes. The default ...
0
votes
1answer
310 views

logrotate output to /dev/null twice?

So I was checking my logrotate config for httpd, and, in the section postrotate ... endscript it has the following: /sbin/service httpd reload > /dev/null 2>/dev/null || true I understand the ...
0
votes
1answer
483 views

Slow Upload Speed - CentOS 6

I've been having an issue with my servers upload speed slowing down for the last week. When it first occurred restarting the network service would resolve the slow speeds. The speed would then be okay ...
0
votes
1answer
215 views

can't stop syslogd on centos, sending constant messages

Syslogd sends messages on terminal and doesn't let operate normally. Commands can be run, but because there are constant messages I cannot see what I do. Here the example of the message kernel:[...
0
votes
1answer
1k views

Windows Server 2012 Run Service On Startup Unsuccessful

I have an EC2 instance with Windows Server 2012 R2 with all the latest updates. I made a service at first, and then a task to run a batch file to create a Microsoft Word report (using my custom C# ...
0
votes
2answers
2k views

starting redis as a service fails on redhat 6.1

I have installed redis on a redhat 6.1 linux machine. I used the commands make make install cd utils ./install_server I used all default settings so I can start the server with the redis-server ...
0
votes
1answer
36 views

Service startup type for Terminal Services

What should be the proper startup type for the Terminal Services service on Server 2003? I have noticed on a couple of servers that I manage that the service doesn't always start when the server ...
0
votes
2answers
10k views

Zimbra - 'Some services are not running'

I installed Zimbra Collaboration Open Source Edition 8.5.0 in a Centos 6 Virtual Machine. Zimbra is up and running and all the services are up and running. #>service zimbra status Host test.mail....
-1
votes
1answer
146 views

Service Tomcat7 Restart vs Stop and Start [closed]

Is there any difference to doing: service tomcat7 restart vs service tomcat7 stop service tomcat7 start Thanks
2
votes
1answer
498 views

Why do I get connection timeouts to private services in Azure?

I seem to be seeing this with both my SQL Server, and my MongoDB replica set. I only get a handful a day, but it still concerns me. I am getting a timeout when trying to open a new connection to the ...
0
votes
2answers
3k views

Apache service has no access to network drive [closed]

Im trying to get a xampp installation running. In my httpd.conf i use the following DocumentRoot setting: DocumentRoot //DiskStation/Work/htdocs If i now start the apache service i'll get the ...
2
votes
1answer
1k views

What's the 64-bit equivalent of `Get-wmiobject win32_service`?

I'm using powershell to get a list of services from several computers to see which ones use the administrator to run. So far I have: Get-wmiobject win32_service | Select -Property startName, Name,...
3
votes
3answers
859 views

Querying services from a remote Windows 7 PC extremely slow

When I query installed services from a remote Windows 7 PC it's very slow. With a remote Windows XP PC it's always fast. For example, from my Windows 7 PC the command sc \\pc1 query type= service ...
1
vote
1answer
1k views

Installing GitBlit GO as Service in Ubuntu Server 14.04

I downloaded it (version 1.6.0), unpacked it in /opt/gitblit (ubuntu server 14.04.1), configured http to 8280 and disabled https assigning 0 (I expose it by https using nginx). I created gitblit user ...
1
vote
0answers
39 views

Init script to run overlapping servers at service restart

How can I create a init script that starts (and tracks) the new process before the old is completely terminated at restart? I am developing a node.js service that needs to be able to restart ...
0
votes
1answer
255 views

vnstat service not showing status

When I run service vnstat status No result is returned. Usually one of the following three results would come up. But I got nothing when checking the service status. vnstat (pid 94330) is ...
1
vote
1answer
2k views

How to sequence a proper shutdown and startup of web services with systemd?

I am trying to structure the shutdown and startup of Apache, PHP-FPM and MariaDB services using systemd: These are the additional configuration files in /etc/systemd/system folder: # httpd.service ....
6
votes
2answers
7k views

How to set systemd service dependencies?

During CentOS 7 system boot nginx start fails with the following error: 2014/08/04 17:27:34 [emerg] 790#0: bind() to a.b.c.d:443 failed (99: Cannot assign requested address) I suspect this is ...
8
votes
2answers
478 views

Is it reasonable to use Nagios to check that a service is NOT available?

Suppose I have a server with a private interface and a public interface. Public might have things like HTTP(S) servers, private might have MySQL and SSH. Obviously Nagios is useful to check that the ...
2
votes
2answers
1k views

Start and stop services as docker containers

I like the idea to isolate some server services (like MySQL) for example to containers and only provide them to the services needing them (say, SqlUsingApp). If I understand that right, the usual ...
11
votes
1answer
8k views

Understanding service --status-all output

I am trying to understand the output of the service --status-all command on Ubuntu 13.10, since the man page doesn't explain it. For example: [ + ] rsyslog [ - ] sendmail [ ? ] sendsigs [ + ] ...
2
votes
3answers
195 views

Can I use Bash interpreter in service/daemon scripts?

I'm writing a Debian/Ubuntu service that should start on at runlevel 2-5. Most of the existing services I came accross are written using /bin/sh (Shell) interpreter while /bin/bash (Bash) offer lot ...
1
vote
1answer
2k views

runit does not kill process on sv stop or sv reload

i am running a headless selenium process along a jenkins server on an AMI linux box, all managed by runit. the problem is that issuing "sv stop selenium" or "sv reload selenium" do not term or kill ...
-3
votes
1answer
374 views

How to create inbound rule on Windows firewall for custom service?

Service is written in C#. It is a server that requires opening port 8080 for inbound connections. It runs as Local System and has unrestricted SID (created by sc tool). If I add in Windows Firewall ...
1
vote
1answer
1k views

Monit and multiple actions: chaining commands in Monit restart command?

After some researches, it occurs that even if I can find some talks about multiple actions when restarting a service, it also seems it it not really possible to achieve : if failed port 80 and ...
0
votes
1answer
121 views

Notifying a windows service when there is a change in “web.config” or “applicationHost.config”

I am trying to optimize the no. of file reads made to "web.config" or "applicationHost.config" by my service. I'm planning to do it by reading the requested configuration into the memory if the same ...
1
vote
2answers
520 views

start mysql service after syncing data dir to tmpfs

hej there! I'm maintaining a network of 8 Pandaboards. One of them is acting as server to host a php-based browser game, others are clients running that game. The server runs Debian Wheezy from SD ...
1
vote
0answers
93 views

Cant access varnish without www

Yesterday i installed varnish and memcached on my CentOS 6 32-bit VPS server for my magento store, when i go to www.my-website.com or http://my-website.com it works, but when i type in firefox "my-...
4
votes
1answer
4k views

Monit configuration reload - supposed to restart monitored services?

Running Monit 5.4 on an Ubuntu server. When I use monit reload, it seems that it restarts monitored services (Tomcat 7 in this situation). Is it the expected behavior? Documentation says : reload -...
0
votes
1answer
3k views

Bacula daemon fails to stop or restart

Foreword: I have already resolved this problem and am asking this question to share the solution I've found. Please bear in mind that the problem described here may (or may not) be more generic and ...
0
votes
1answer
42 views

How to restrict all services to single domain in Ubuntu?

Someone has pointed an unknown domain to my server's IP address likely via A records. I would like to reject access to ALL services (httpd, ssh, mail, etc.) from this domain and only allow requests ...
1
vote
2answers
922 views

All traffic is passed through OpenVPN although not requested

I have a bash script on a Ubuntu box which searches for the fastest openvpn server, connects, and binds one program to the tun0 interface. Unfortunately, all traffic is being passed through the VPN. ...