3
votes
1answer
43 views

Init-systems and service management on different distributions

Is there some overview which Linux distribution comes with which (default) init system and uses which tool for starting/stopping services? Is there some distribution independent way to ...
0
votes
1answer
29 views

Should “invoke-rc.d” or “service” be used to restart services?

I'm confused as to which is best and in which circumstances: invoke-rc.d apache2 restart or service apache2 restart Is there a real difference? man service has the following interesting bit: ...
1
vote
1answer
33 views

How to modify rngd's default command line?

I need to perform the following... rngd's default command line should be modified to add --no-tpm=1 rngd is a daemon that feeds data from a random number generator to the kernel's random ...
0
votes
1answer
84 views

Disable iptables service on CentOS

I don't want the service to start after reboot. my code does this: service iptables stop service iptables save chkconfig --level 123456 iptables off service iptables status iptables: Firewall is not ...
2
votes
2answers
53 views

What environment and credential is used by startup, background and service processes

Startup scripts (on boot) Processes running in (or sent to) the background (when using SSH -fN for example) Services etc... What $path variable will they be using? What credentials? Anything else I ...
2
votes
2answers
180 views

Why Service accounts in Linux and Unix Systems? [duplicate]

I have a question regarding Linux and Unix non-user service accounts. We know there are user accounts in Linux , what are (non-user) service accounts such as daemon,news, bin, etc used for? $cat ...
0
votes
3answers
116 views

How do we know what applications are installed in Linux?

I'm trying to understand the following in Linux. In windows we have the services that run or "startup". When we install an application it could be installed as a service so that it starts ...
1
vote
1answer
56 views

Startup script doesn't work

I have the following start script. #!/bin/bash # MyApp # # description: bla bla case $1 in start) /bin/bash /javaprog/serport-start.sh ;; stop) /bin/bash ...
2
votes
1answer
325 views

Process calling getaddrinfo() at boot gets permanently stuck with bad /etc/resolv.conf?

I'm running pianod, a Pandora client/server, on a Raspberry Pi with Arch Linux ARM. I have pianod set up to run as a service at boot. It starts up before the network stack, so getaddrinfo() fails. ...
1
vote
4answers
778 views

how to monitor up time and down time of a linux service

How to monitor up time and down time of a linux service. I have created a service for my application using chkconfig (RHEL 6.3). I want monitor when the service is turned started and stopped. I can ...
7
votes
3answers
3k views

The rc0.d,rc1.d,… directories in /etc

I'm running Ubuntu 10.04 LTS where I have the directories /etc/rc0.d, /etc/rc1.d, /etc/rc2.d, ..., /etc/rc6.d. Example files from my machine: directory example symlinks in the dir ...
1
vote
3answers
69 views

Create a service that logs all input

I need to create a service that logs all input on a certain port to a file. Do I have to create a custom program for this, or is there an existing tool out there that can help me with this?
0
votes
1answer
110 views

What is a remote config server?

I found myself enabling one of my computer on LAN to connect to a server through port 1236. A check on the list of services show: bvcontrol 1236/tcp rmtcfg # Daniel J. Walsh, Gracilis Packeten remote ...
1
vote
0answers
84 views

Running Tomcat MySQL and Apache under a group

I am trying to set up a web server at home using Ubuntu, but prefer my bash scripts to be platform agnostic hence why I am asking here. I also dislike apt-get everything. I am trying to create a ...
2
votes
1answer
555 views

Bumblebee (Optimus) Service Won't Start w/ 3.4 Kernel on Fedora 16

I'm using an ASUS laptop (MUXless graphics) w/ a GT 630M (re-branded 540M) GPU and only Fedora 16 installed. I installed bumblebee and the NVIDIAdrivers using the instructions described here: ...