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
1answer
780 views

Converting update-rc.d redis_6379 defaults to chkconfig command

I'm trying to run the command below on CentOS and of course I get command not found: $ update-rc.d redis_6379 defaults How do I then perform the equivalent using chkconfig?
-4
votes
1answer
93 views

Peculiar lack of RHEL 5.8 service management documentation [closed]

I am needing to see the status of some services on some of our RHEL 5.8 hosts on which I am not an admin. Much to my surprise, I am not able to get any info how to do it (such as chkconfig or ...
2
votes
0answers
257 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 ...
0
votes
2answers
743 views

Best language to write linux services [closed]

I want to create a crawler that scans one single web page and sends me an email in case something is wrong on the page (the page holds some webservers' status - Up/Down). What would be the best ...
4
votes
1answer
1k views

MySQL stop/waiting issues; “can't connect … through socket” [duplicate]

So this was my first time putting up a LAMP stack on a Bodhi machine (previously experience with WAMP, and LAMP on 10.04); I got Apache going, and a Drupal install begun, then I go to create a new ...
-1
votes
1answer
102 views

How to know what will execute at startup/bootup?

I would like what scripts will run at start, without needing to "restart and see what happens", is there any way to know what 'services' are ready to run? Shoud I check every single file in ls ...
1
vote
1answer
1k views

What is rsh.rlogin and How to remove rsh.rlogin

I never heard of this word rsh and also received a check list from Security pro that we have to disable rsh. Can someone please tell me what is this rsh and how to disable it. Base OS : RHEL 5.5 and ...
3
votes
2answers
862 views

Bash script needed to run every second

I have a few cleanup commands to run for my datacaching scheme. I was thinking a bash script would be an easy way to check if the full clean up job needed to be run. But the cache is very time ...
0
votes
1answer
120 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 ...
2
votes
0answers
89 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 ...
0
votes
2answers
573 views

Simplest screen echo server?

What is the simplest way to do the following thing? Run a program which will open specified port, listen for it, and display whatever it receives. Also if type something -- then send back to ...
0
votes
1answer
599 views

run 'service php5-fpm restart' without using sudo

I am integrating my cakephp projects using jenkins. Right now, I am exploring the use of Phing. There is one task where I need to run service php5-fpm restart So far I tried to do this manually. ...
3
votes
1answer
3k views

How to manage fedora services and daemons using the GUI?

I am using Fedora 17, I need a GUI program to start/stop and enable/disable services and daemons. I have installed "system-config-services" but it did not have enable/disable feature(run it with ...
4
votes
2answers
884 views

How to get notified when svcadm restarts a service that died

I'm using svcadm to keep my node.js server running on Illumos, is there a way to get notified if svcadm restarts the server because it crashed? Specifically if the process went down on its own and not ...
1
vote
2answers
255 views

MySQL server on Ubuntu fails to start after changes made to my.cnf in Windows

I have MySQL 5.5 running on Ubuntu Server 12.10. When I run /etc/init.d/mysql restart, I get the following: mysql start/running, process 2754 However, when I open /etc/mysql/my.cnf in Windows via a ...
0
votes
1answer
435 views

Can't access /transmission

I have installed Transmission service on Centos. It is running. The problem is when I type myservername/transmission in my browser address it doesn't open. It was working before.
2
votes
1answer
695 views

Changing service startup order

I use wpa_supplicant to configure the wireless connection. Now I have a problem in that the network service starts before wpa_supplicant so this happens: Bringing up interface wlan0: Determining IP ...
4
votes
1answer
3k views

nmap shows me that one service is “open|filtered” while locally it's “open”, how to open?

I have a Quake 3 server. And it's launched successfully. The problem is that no one can connect to that server. I am running: nmap -sU -p 27960 hostname and it's showing me that it's state ...
1
vote
0answers
87 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 ...
1
vote
2answers
774 views

How to disable inetd and sendmail under OpenBSD 5.1?

# grep '^inetd_flags="' /etc/rc.conf inetd_flags="NO" # for normal use: "" # grep -i 'sendmail_flags="NO"' /etc/rc.conf sendmail_flags="NO" # after a reboot..: two questions: # ps ...
3
votes
3answers
258 views

systemd service that needs .ssh/id_dsa password

I have a systemctl service that starts a process smd-loop in a screen session. This process requires acces to remote SSH sources (for syncing purposes) and thus needs to be able to access my id_dsa ...
1
vote
1answer
239 views

For an init.d startup script, what is the ideal user to use as the owner of that process

Everyone says that running processes as root is bad, since it defeats the security and privileges model. But what user should be used to run a startup process? Is it really necessary to create a new ...
0
votes
1answer
292 views

Command not found

I am trying to stop a syslog using chkconfig but bash says that command is not available. But when I do man chkconfig it opens man page. This is the command i'm trying to execute. ...
1
vote
1answer
653 views

list Windows shared folders (samba) available in the local network? [duplicate]

Possible Duplicate: How to get list of computers similar to what is shown under “Network” in Windows I suspect the services shared by Windows (including shared folders) can ...
7
votes
3answers
11k views

How to start a script file on boot?

I am running a stupid little minecraft server. I want Lubuntu to execute the following script when the server boots up. NOT on login, and NOT on restart (unless it's starting up of course). The ...
3
votes
1answer
2k views

Start network service at boot time on CentOS

I've recently reinstalled CentOS onto a computer of mine. I have OpenSSH Server on it now, as did I before I reinstalled the operating system. Here's the difference: Before, SSH started without even ...
9
votes
2answers
8k views

How to make unix service see environment variables?

I have set my environment variable using /etc/profile: export VAR=/home/userhome Then if I do echo $VAR it shows /home/userhome But when I put reference to this variable into the ...
2
votes
1answer
566 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: ...
3
votes
1answer
679 views

How do systemd and chkconfig interact with respect to services and runlevels?

I recently updated some of our machines to Fedora 17. I have noticed that there are some services that I can configure their runlevels using chkconfig, while others don't appear there at all, and can ...
5
votes
2answers
405 views

Why is a service being started if it isn't mentioned in /etc/init.d?

After a clean install of Fedora 17 and distcc-server, I did a service distccd start, which completed successfully. man service indicates that it would merely be running the distccd script at ...
2
votes
0answers
552 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 ...
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 ...
1
vote
3answers
4k views

Difference between /etc/init.d/networking restart and invoke-rc.d networking restart

Is there any real difference between /etc/init.d/networking restart and invoke-rc.d networking restart (Debian)?
2
votes
1answer
353 views

Configure & Compile syslog-ng from source, got: Threads are not supported on this platform

I have configure, gmake, and gmake installed syslog-ng-3.4.0alpha1 with eventlog-0.2.12 and other dependencies. From then output of the ./configure --prefix=/syslog --with-gnu-ld, I can see that the ...
2
votes
1answer
3k views

How to make a program/process a service ?

I wonder how can I make a regular application like for instance noip2 updater a system process. I use Debian 6.0.2. For now I have it like this : the binary is in the /usr/local/bin/ as noip2 file ...
3
votes
3answers
995 views

linux launch script /etc/init with a specific user

I've created a script in /etc/init/mms-agent.conf : start on runlevel [2345] stop on runlevel [06] exec /usr/bin/env python /home/mms/mms-agent/agent.py >> /home/mms/agent.log 2>&1 ...
2
votes
1answer
123 views

/etc/rc*: Why does this command stop NFS services from starting at boot?

I recently found this home networking tutorial surprisingly enlightening. However, there is one thing I don't understand: Disabling NFS Start On Boot: If you are not planning on regularly ...
33
votes
9answers
57k views

How to automatically start and shut down VirtualBox machines?

I need to run a software system that is intended to be installed as an appliance on a dedicated machine. In order to save energy, I plan to run the system on a VirtualBox VM instead. The host is a ...
6
votes
1answer
488 views

What is wrong with this shell script?

The service for a piece of software I just installed (from a provided .deb file) on a Ubuntu server won't start. When running the service I get the error: /etc/init.d/matrixsa: 44: Syntax error: "}" ...
1
vote
1answer
2k views

What starts the login prompt in RHEL?

I don't have a service in my run level that starts the login prompt, so I was wondering what does.
1
vote
2answers
2k views

Can a service script put inside init.d be called at startup and shutdown?

I'm running Red Hat 5.1. I have a script called sysinit that I added as a service using chkconfig --add sysinit. I have the following set in the file: #chkconfig 4 01 01 This creates one symlink ...
1
vote
1answer
593 views

Every time I restart my computer I need to restart Bluetooth service, how can I fix this?

Every time I turn on, restart or wake up my notebook or I have to restart my Bluetooth service in order for me to use it. But once I restart the service everything is fine. How can I delay the start ...
3
votes
2answers
3k views

Using nohup at /etc/init.d/service

I have been trying to create a daemon using /etc/init.d/myservice and it will call a shell script that contains nohup within the script line. Will it affect it if I could do service stop later?
1
vote
1answer
3k views

Start a service on HPUX at boot

I'm trying to start a service on HPUX 11.31 at boot time. I generated the appropriate symlinks, but the system is not starting it up. If I run the script once the system is up, everything works as ...
3
votes
2answers
1k views

How to start the cron daemon

I am using RHEL 5.4 I killed the cron daemon accidentally. I wanted to stop a cron task, didn't know how to do it, ended up killing the cron daemon itself. How do I start it again?
4
votes
2answers
6k views

rpc.statd running on system not using NFS

I have a Debian machine that gets warnings (via the Tiger automatic auditor) that rcp.statd is listening on such-and-such socket. Googling shows rpc.statd is a daemon used by NFS. As far as I know, ...
2
votes
4answers
2k views

How can I run a process in a terminal window and then hide that window?

I want to run python ~/program/proxy.py in a terminal when I boot up. And then hide this terminal window (because it is just a proxy program, and I don't want to see the debug info). So how can I get ...
1
vote
2answers
147 views

How to run regular programs as daemons/services [duplicate]

Possible Duplicate: How can I close a terminal without killing the command running in it? I'm using Debian for my Server. I just installed MediaCore, which works well. Now I want to have ...
2
votes
1answer
413 views

/etc/rc.d/postgres start vs rc.d postgres start

What's the difference between those two commands? /etc/rc.d/postgres start and rc.d postgres start Aren't those interchangeable? I tried starting PostgreSQL using the latter, but it only works ...
9
votes
2answers
1k views

How do I hide/anonymise/defend a computer when on hostile networks?

I connect to a lot of open networks when I'm pootling around. I'm fairly careful to VPN home for anything important but that's not really my boggle. The laptop runs several services (nfs, dev http ...