The services tag has no wiki summary.
2
votes
4answers
44 views
How to set proper monitoring of my services in a automated way? So that if one crash it auto on the fly restarts?
How can i setup monitoring to my system services?
Either using automated script which scan every moment, if httpd, mysqld, and my custom daemon is running or not, if not running it will automatically ...
3
votes
1answer
110 views
What is the service that's responsible for automounting a USB drive in CentOS 6.4?
I know of the legacy Linux way of mounting a USB stick or drive: mount /dev/sdb1 /mnt/
But in some CentOS 6.x installations I saw, you just insert the USB stick and CentOS automagically mounts it, ...
1
vote
2answers
55 views
Run service after logging in on an X session
I am using Ubuntu 12.04. I want to automatically start a service after login with LightDM. This service is not meant to start on boot, but after X is initialized.
1
vote
1answer
117 views
Problem starting a service running Debian
I want to run a UPNP renderer as a service on a Raspberry Pi using Raspian, a Debian based distro.
Actually, everything runs fine but one thing : I can't manage to start the service at boot time at ...
1
vote
1answer
43 views
Custom application running on embedded device - do I need to register my listening port in /etc/services?
I have written an application that will run on an embedded device. The installation is very minimal and uses busybox and not many other things. Part of the software includes a listener thread that ...
4
votes
1answer
28 views
Determine monthly internet transfer to detect right FUP
I live in a country where many ISP (internet service providers) have FUP (fair use policy, limit on amount of data transferred). I need to get a new connection and I would like to measure how much ...
0
votes
1answer
113 views
Converting update-rc.d redis_6379 defaults to chkconfig command
I'm trying to run the commmand below to Centos and of course I get command not found. How do I then convert it to chkconfig ?
update-rc.d redis_6379 defaults
-4
votes
1answer
67 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
109 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
128 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 ...
3
votes
0answers
158 views
MySQL stop/waiting issues; “can't connect … through socket”
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
67 views
How to know what will execute at reboot without reboot?
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
197 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 ...
2
votes
2answers
210 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
49 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
56 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
103 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
109 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
242 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
142 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
173 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
173 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
245 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 ...
3
votes
1answer
296 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
71 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
1answer
247 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
114 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
106 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
117 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
296 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 ...
5
votes
3answers
5k views
Best way to start .sh 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 ...
2
votes
1answer
1k 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
435 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
314 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
283 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
352 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
872 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
2answers
1k 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
144 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
712 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
455 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
78 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
...
20
votes
5answers
26k 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
341 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
1k 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
719 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
440 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 ...
2
votes
1answer
1k 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
1k 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 ...


