1
vote
1answer
19 views

sudo service command not found when installing mongodb

I am currently on OS/X using macbook. I want to stop the instance of mongodb service running. Hence I tried: > sudo service mongodb stop sudo: service: command not found After looking up on ...
1
vote
1answer
43 views

Why I get status: Unknown job on the service?

I followed this tutorial to add a program to init.d as a service (I guess), when I want to see its status with: sudo status /etc/init.d/noip2 I get : status: Unknown job: /etc/init.d/noip2 What ...
1
vote
0answers
15 views

Setting up touch driver to run through service

We are trying to integrate a touch panel to our Debian system. Touch driver (General touch) I am trying to run this application in Linux service.Below are the steps which i followed Driver ...
0
votes
1answer
153 views

Why does sendmail's status keep changing to “dead but subsys locked”?

Every day I get the output of sudo service --status-all emailed to me using crond. The server is a CentOS 6.5 web server which I use to host a few WordPress websites. Occasionally sendmail will change ...
0
votes
0answers
62 views

sudo service errors out with JAVA_HOME not found

I've used visudoer to set the keep_env for JAVA_HOME: $ sudo printenv | grep -i JAVA_HOME JAVA_HOME=/opt/java $ ls $JAVA_HOME bin db jre LICENSE README.html src.zip ...
0
votes
1answer
86 views

autorun a linux program on startup from a non-root user in centOS 6 64bit

I have a software that needs to be run via specific user "non-root" hence its home directory is /home/non-root/, I have to emphasize that the program must not be run via root and must only run after ...
3
votes
1answer
66 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
44 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
53 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
337 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
64 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
472 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
154 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
69 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
375 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
937 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
4k 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
70 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
115 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
85 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
557 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: ...