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

0
votes
2answers
503 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
36 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
157 views

creating a custom service on ubuntu

I am setting up an ap called scumblr (https://github.com/Netflix/Scumblr/wiki) The final step calls for initiating the server using the following 3 commands: redis-server & ...
1
vote
1answer
104 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
52 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
55 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
141 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
39 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
648 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
152 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
323 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
97 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
585 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
20 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
27 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
35 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
125 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
93 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
38 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
103 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
334 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
492 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
546 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
90 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
45 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
20 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
209 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
39 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 ...
0
votes
0answers
43 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
42 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
828 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
23 views

Proper way to deploy my service on linux

I have a service that I wish to deploy on a Linux server. The service will be in the form of a number of executables that are started and stopped like a service using upstart of similar. Also, the ...
0
votes
0answers
213 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
0answers
1k 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 ...