A Linux service is an application (or set of applications) that runs in the background waiting to be used, or carrying out essential tasks.

learn more… | top users | synonyms

3
votes
3answers
180 views

How to start SSH daemon on boot on Linux Mint Debian v2

I'm using Linux Mint Debian v2, 64-bit. I noticed recently that my ssh daemon does not start automatically on boot. It used to. I'm not sure if it had to do with my UFW configuration or sshd_config ...
1
vote
3answers
32 views

Dynamic logic in systemd service file

I'm trying to rewrite an init.d service file that contains the following code: if [ ! -r /var/spool/torque/server_priv/serverdb ]; then DAEMON_SERVER_OPTS="-t create ...
0
votes
2answers
19 views

Systemd optional service dependency that checks for error

I'm trying to rewrite an init script to systemd, but I'm struggling with an issue of optional dependencies. My service depends (optionally) on two other services. These two dependencies are mutually ...
0
votes
2answers
1k views

Installing MySQL on CentOS throws error that cannot find mysqld.sock

I have yum install mysql in CentOS 6.4. Now, when I use mysql command, it throws the following error: ERROR 2002 (HY000): Can't connect to local MySQL server through socket ...
1
vote
1answer
93 views

How to start Virtual Box service on Linux

I performed a dist-upgrade and then and autoclean and autoremove. It disabled the Virtual Box service on Linux because the headers were out of date. The headers caught up, so I rebuilt the modules off ...
1
vote
1answer
192 views

Linux- Stop a process running as daemon

I've started uwsgi as a daemon, how can I kill that process? Everytime I kill its pid, and then does ps aux | grep "uwsgi", it again comesin the output. I've also tried pkill uwsgi, but no use. How ...
1
vote
1answer
330 views

Stopping postfix - are messages queued when postfix is idle?

I am running some scans on my server tonight and would like to disable email notifications since there is a chance for a LOT of them to be sent out. I am planning to issue service postfix stop ...
1
vote
1answer
56 views

Find service by network activity

I see a strange DNS request at tcpdump and I want to find service which is originated from. I've already tried to find it with different monitoring tools but still no luck. Is there any proven ...
0
votes
1answer
12 views

Where do service permissions come from

I'm trying to broaden my knowledge of the events surrounding system startup. I see that there are many process which are started without root level permissions. e.g. rsyslogd is listed as running ...
0
votes
1answer
53 views

opening a terminal with a command on startup in debian

I have an application which is an object file (obtained from a c source code). When I run this application from the terminal it works fine. I want to run this application on system start up. Since ...
0
votes
1answer
139 views

Create a service in Debian that sources a bash startup script

The server is running Debian 7 Wheezy without systemd. I have a user in Debian with Perlbrew installed into their home directory. The user is running a Mojolicious app. In order for the app to work, ...
0
votes
1answer
161 views

Is it possible to prevent systemd from executing the command specified with ExecStop?

I have a service that I only need systemd to run ExecStart= command at boot, and don't run the ExecStop action at shutdown / reboot. Is that possible? I can't just remove the ExecStop line, 'cause ...
3
votes
0answers
86 views

What is the difference between “systemctl restart” and “systemctl start”?

I have two services A and B where B is dependent on A which means in the A's service unit i have After and Requires set to B After=B.service Requires=B.service Now when i stop the service B the ...
3
votes
0answers
735 views

Plymouth splash not working and causing VT problems

Since I tried installing Plymouth (boot splash), I'm facing two problems : It's not working My Virtual Terminals (tt1 - 6) aren't working anymore Here what I did : Added plymouth hook (after ...
2
votes
0answers
104 views

start-stop-daemon, services, environment variables, and ansible

So, I have a Java program that runs Ansible. I'd like to run this program as a service. I've written a service script in /etc/init.d that uses start-stop-daemon to run/stop the Java program. I've run ...
2
votes
0answers
137 views

Wireless LED indicator issue

The question itself: is there any way to make this indicator be turned ON and OFF depending on wireless status (not just blink when there is wireless activity)? After having installed Linux, I saw ...
2
votes
0answers
170 views

Why did my debian server crash?

I have a debian server newly installed yesterday evening. I used an image called debian-7.0-amd64-minimal from my hoster. Just installed apache2, mysql, php, vim, lynx and configured a few webpages. ...
2
votes
0answers
366 views

Run a command before services are started

I have a Oracle Linux 6.3 system on which I would like to run a command when the machines starts up before any other services are started. The reason for this is to try and work around a bug in RHEL ...
2
votes
0answers
102 views

No communication services enabled following startup

I recently installed Parsix (Debian) on my system, and I've been struggling to figure out how to autostart my services. Of the list of services that don't run and should run are: ssh apache mysql ...
2
votes
0answers
607 views

PPPoE connection problem

I have just installed Backtrack 5 R2 and I'm finding it difficult to make a DSL internet connection. What troubles me is that I think I have all the steps figured out, and after completing them, the ...
1
vote
0answers
27 views

How to configure Systemd User Service with a Timer

I have a systemd user service that works as expected. It is started like this: systemctl start test@user The problem is that I need to run this service on a timer possibly for multiple users. There ...
1
vote
0answers
29 views

Is it possible to create aliases that affect services starting?

Currently I have a custom service that executes java in multiple places. I want to be able to add an option to any executions of java this service will spawn (I'm specifying the error log location, ...
1
vote
0answers
39 views

Start TCP-based service on demand, and stop it after connection is closed

A server needs to provide several huge (consuming lots of RAM) tcp-based services. What I want to achieve is, that they are started on-demand (lazy), and stopped after either the connection is closed ...
1
vote
0answers
90 views

Running etherpad as a service on raspberry pi

I am setting up etherpad-lite on my raspberry pi ubuntu 14.04 server. I got stuck trying to make etherpad-lite run as a service, following these instructions (I've also checked several others but that ...
1
vote
0answers
57 views

Service script and shared libraries

I have the following simple script IPN in CentOS 6.5 in /etc/init.d/ #!/bin/sh # chkconfig: 2345 05 06 cd /root/IPNHost . /etc/rc.d/init.d/functions start() { echo -n $"Starting..." ...
1
vote
0answers
155 views

(Super)user issues in handling services

Headless Ubuntu server 14.04. I have installed dropbox (as outlined here http://ubuntuserverguide.com/2012/06/how-to-install-and-configure-dropbox-on-ubuntu-server-12-04.html) and have added the ...
1
vote
0answers
65 views

Limit system reboot burst

Systemd allows to automatically restart services if they have crashed. To prevent indefinite services restart it uses @StartLimitInterval@ and @StartLimitBurst@ variables. Moreover, I can reboot ...
1
vote
0answers
148 views

Cgroups unrecognised service

I'm running the following command, after having modified my version of /etc/cgconfig.conf but get the following error (I'm running Ubuntu 14.04). Does anyone have any idea why this is the case? $ ...
1
vote
0answers
51 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 ...
1
vote
0answers
136 views

MongoDB “service” on clean Redhat can not be started

I just bring up Redhat 6.5 64-bit from AWS and did the below things: Disabled SELinux Disabled Iptables All ports opened in Security Group Rebooted Then i just followed, both of the below ...
1
vote
0answers
556 views

openfire chat server Deamon not getting start while server up every time

we using a Chat server, its installed with openfire, for local office use we installed it, every day morning while server getting ON openfire service is not getting started, I have added it in run ...
1
vote
0answers
754 views

Running uuidd automatically on startup on Ubuntu 13.10 server?

I am running the 13.10 Ubuntu server edition on which I have installed SAP's Netweaver Gateway 2.0 trial. This requires the UUID daemon to be running. Whenever I start up the system and run uuidd as ...
1
vote
0answers
1k views

Bittorrent Sync Autostart as a Service

I'm running a raspberry pi with the latest raspbian (debian) on it. I've installed btsync. Now I want to run Bittorrent Sync, when the system boots, not only when somebody logs in. Do I have to run ...
1
vote
0answers
784 views

service command: Failed to issue method call

I downloaded the source of tinyproxy and then use ./configure make make install to install it Then I want to start it, but get errors, like the following: [root@kitty tinyproxy-1.8.3]# service ...
1
vote
0answers
94 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 ...
0
votes
0answers
25 views

Service failing to start during server boot

Facing some issue with jboss startup script for our QA box. The jboss service does not startup during reboot although the startup script is there. $chkconfig jboss --list jboss 0:off 1:off 2:on ...
0
votes
0answers
38 views

How to make sdptool add SP persistent or configure it automatically as bluetoothd starts?

I found that simply adding sdptool add SP to an initialization script does not make the serial port persistent. If I restart the bluetoothd service, the change will be lost... How can I add an SP ...
0
votes
0answers
93 views

How to debug failing service in Arch Linux

I have a application which i can run without any problems as a normal application. The application is using I2C and WiFi. I can detect the data flow through wireshark so i can confirm that it is ...
0
votes
0answers
27 views

How to backup current chkconfig configurations

How to backup current chkconfig configurations chkconfig --list list the current services configurations, and when (run level) a service set to start. I need to backup the configurations and check ...
0
votes
0answers
967 views

nginx won't to start

I have run nginx -t and it returns successful. On boot I see messages about nginx has failed to start, and it wont start when I try nginx or service nginx start Instead i get a message to check ...
0
votes
0answers
12 views

Will I be able to install a service as a sudoer?

I will need to install a custom application as a service on a RHEL 6.2 box this weekend. Will I be able to do this with sudoer powers or will I need the root password for anything?
0
votes
0answers
63 views

How do you connect app and DB servers from separate containers?

With Docker, how can I make the DB in one container accessible by the app server in another?
0
votes
0answers
45 views

Why wouldn't distributions use a cross-platform service manager?

I use Supervisor for my services on production servers. I also recently switched to MacOS and, for services that I need for development, instead of a OSX's service manager, proposed by brew ...
0
votes
0answers
1k views

Runtime parameters for a systemd service

I am a little confused about how runtime parameters are normally supplied to a systemd service. The general idea I have is that the following happens: There is a file that contains the environment ...
0
votes
0answers
2k views

Mail Server not working?

I am trying to setup mail server since a long time but as I am new to Linux I have unsuccessfully configured it to the best as I could but now I need assistance. I have installed it using the links ...