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.

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.

1009 questions
23
votes
2 answers

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 happening due to the network interfaces not being up yet…
vincent.io
  • 935
  • 3
  • 8
  • 23
22
votes
2 answers

Configure buggy systemd service to terminate via SIGKILL

Background I've been asked to create a systemd script for a new service, foo_daemon, that sometimes gets into a "bad state", and won't die via SIGTERM (likely due to custom signal handler). This is problematic for developers, as they are instructed…
Cloud
  • 405
  • 3
  • 12
19
votes
1 answer

Why isn't my upstart service listed in service --status-all

I created a bunch of upstart jobs for my services that I'm running on an Ubuntu 12.04. I can successfully start them and stop with with: service my_service start service my_service stop but they are not listed when I do service --status-all Any…
Pablo
  • 7,249
  • 25
  • 68
  • 83
19
votes
4 answers

How to "restart" particular network interface on RHEL?

In RHEL, instead of using service network restart command, how can i restart a particular network interface, lets say "eth1", with only one command. "Only one command" because that is the only interface where my ssh is working on also. So if i'm…
夏期劇場
  • 455
  • 2
  • 5
  • 18
18
votes
2 answers

Although 80 and 443 are system ports, how are most web servers able to bind to them anyway?

Running a web-service that binds to port 80 usually doesn't require sudoer privileges. Since ports 80/443 are system ports, meaning they can only be used by privileged users, how come those services are still able to bind to these ports?
adaml
  • 351
  • 2
  • 6
18
votes
5 answers

Is there an equivalent command for 'init.d/networking restart' in OS X

From time to time, I've encountered issues with OS X clients' network connections (Wired and Wireless, Leopard/Snow Leopard) where nothing will fix the issue, until you reboot. Is there a particular 'network service/process' I should be watching…
l0c0b0x
  • 11,697
  • 6
  • 46
  • 76
17
votes
1 answer

Proxy with netcat forever

I am proxying a VNC TCP server port with netcat. The proxy machine runs linux. This is the comand I use: mkfifo backpipe nc -l 5902 0backpipe 10.1.1.116 is the "remote" machine with the original VNC service running…
Alojz Janez
  • 473
  • 2
  • 5
  • 16
17
votes
4 answers

Windows Service: Can I configure the current working directory?

By default, Windows services start in the sytem32 directory (usually C:\WINDOWS\system32). Is there a way to set up a different working directory? I am thinking of some registry parameter beneath…
Tomalak
  • 1,605
  • 4
  • 17
  • 32
16
votes
4 answers

Linux: How to pass parameters to `service foo start` (at command line)?

I'd like to pass an argument to the service I am starting. E.g. starting a server in a debug mode. Like, service jboss-as start debug Or such. But service seems not to support that. Is there some way? (For RHEL 6 if that matters.) Note: This is…
Ondra Žižka
  • 424
  • 2
  • 5
  • 14
16
votes
3 answers

Stopping the WinPcap Packet capture service

I just installed WireShark, which also installed WinPcap. During the installation it said "do you want xxx to start automatically", which I answered yes. Now I would like to stop the service when I am not running wireshark, but cannot find a service…
Shiraz Bhaiji
  • 2,219
  • 8
  • 34
  • 47
16
votes
4 answers

How to change Linux services startup/boot order?

As the question is clear from the title, how do I change Linux services startup/boot order?
Gnanam
  • 1,439
  • 13
  • 26
  • 32
15
votes
1 answer

systemd service with multiple After

Is it possible to create a service that depends on several other services? What is the right syntax? Such as: [Unit] Description=service…
15
votes
5 answers

Cannot change Windows Service properties: Error 87: The parameter is incorrect

I'm trying to disable a service in Windows 10 from the Control Panel > Administrative Tools > Services snap in. Service Name: OneSyncSvc_1e21e Display Name: Sync Host_1e21e Description: This service synchronizes mail, contacts, calendar and various…
Jonathan
  • 253
  • 1
  • 2
  • 7
15
votes
1 answer

How to remove or uninstall an orphaned service?

There are times when Windows Services are installed and for various reasons, that hopefully are not important to the answer, the service no longer has the installer attached to it. Therefore, this particular service shows up in the list of Services,…
Scott Saad
  • 436
  • 2
  • 7
  • 10
14
votes
1 answer

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 [ + ] setvtrgb [ - ] ssh What do +, -, ? mean? I can't…
p4sh4
  • 241
  • 1
  • 2
  • 7
1
2
3
67 68