The init.d directory contains a number of start/stop scripts for various services on a Linux system.

learn more… | top users | synonyms

2
votes
1answer
6k views

insserv: There is a loop between service foo and bar if started… Breaks aptitude

Does anyone know how to resolve these init errors that happen from the Cyberpower powerpanel for linux package? Ref: http://www.cyberpowersystems.com/products/management-software/ppl.html - I tried ...
0
votes
1answer
1k views

Ubuntu 64bit Xen DomU Issues after upgrade from Karmic to Lucid

I was upgrading my servers today and it all went fine except the last machine which has the following issues: [Resolved using ...
3
votes
1answer
237 views

Problem with startup script

I am trying to get Chandler running on a debian box on startup under user 'chandler', and have tried the following script, locating it in init.d: #! /bin/sh # # /etc/init.d/chandler # RETVAL=$? ...
5
votes
4answers
2k views

No coredumps for daemons started at boot by init.d on Ubuntu

How can I get daemons started by init.d at boot to coredump on Ubuntu? This is what I have done so far... echo "ulimit -c unlimited" >> /etc/profile mkdir /corefiles/ chmod 777 /corefiles/ echo ...
0
votes
3answers
444 views

fedora 13 init.d script, can’t stop

I wrote init.d script that suppose to run java CLI proccess. The problem is that when i stop it, i get [failed] and the proccess is still running. thanks #!/usr/bin/env bash # # chkconfig: 345 ...
1
vote
2answers
3k views

Restart Apache and Kill All Sub Processes

I am trying to restart Apache on my server but it does not seem to kill all the processes that Apache is currently running. The command I am using is sudo /etc/init.d/apache2 restart Is there ...
2
votes
1answer
423 views

My init.d script is never called with the stop parameter?

I created a script called blueBoxT for starting and stopping Oracle and placed it in the /etc/init.d directory. #!/bin/bash echo "blueBoxT $1 - `date '+%Y%m%d%H%M'`" >> /root/blueBoxT.log case ...
1
vote
3answers
2k views

How to activate eth0 / eth1 earlier in ubuntu boot process

Let's see if I can explain this right: I have servers with two ethernet interfaces - one external and one internal facing. I have a DB (pg) on one server and accessible from other machines on the ...
19
votes
3answers
21k views

stop apache from asking for SSL password each restart [duplicate]

Using instructions from this site but varying them just a little i created a CA using -newca, i copied cacert.pem to my comp and imported as trusted issuer in IE. I then did -newreq and -sign (note: i ...
3
votes
1answer
568 views

Script in /etc/init.d won't run on startup (Ubuntu 8.10)

I'm on Ubuntu 8.10 The script runs when called from the command line with sudo /etc/init.d/xbindkeys start. Here's how it looks: #! /bin/sh ...
0
votes
2answers
557 views

Ubuntu SSLH Service Not Starting on Boot

I am trying to run SSH and HTTPS both on Port 443 on an Ubuntu server. I found SSLH which seems to do the trick. My only problem is getting it to start on system boot. Supposedly, it is already setup ...
2
votes
2answers
3k views

Unable to get Webmin or Vboxdrv to auto start on boot

Ever since installing Ubuntu 10.04 I've had issues getting things to auto-start. I have installed webmin and VirtualBox but every time I reboot I have to manually run: sudo /etc/init.d/webmin start ...
0
votes
1answer
5k views

How to properly create a startup script for tracd on Synology DS209+II?

I'm running tracd on a Synology DS209+II NAS. For that purpose, I have created a script in /opt/etc/init.d called S81trac: myserver> ls -l /opt/etc/init.d -rwxr-xr-x 1 root root ...
0
votes
1answer
410 views

Debian package with init.d without autostart

I'm trying to create a package which contains the init.d file, but doesn't try to start the daemon right after the installation. Currently, I'm using scripts created from the dh_make template. Right ...
3
votes
3answers
10k views

How can I adapt this debian init.d script to work with CentOS 5?

I'm trying to get an lsyncd daemon running. I installed the lsyncd RPM from epel, but it doesn't seem to come with an init.d script. In the lsyncd repository, there's this script that works with ...
0
votes
1answer
159 views

`# probe: true` in /etc/rc.d/init.d/* files on a RedHat system

Some files (e.g. nfs, nfslock, bind) in my /etc/rc.d/init.d/ directory have in their comment header a line such as: # probe: true I found that those particular scripts has the probe verb i.e.: ...
3
votes
3answers
8k views

Have a service start on startup with Ubuntu

I'm not clear on how to start a service when the server boots, I read on some of the other questions asked about adding the script to /etc/init.d, but It's just one line that I need to execute in the ...
3
votes
1answer
19k views

How to conform to update-rc.d with LSB standard?

This is a migrated question from stackoverflow, as I was told, this is the place for it to be. http://stackoverflow.com/questions/2263567/how-to-conform-to-update-rc-d-with-lsb-standard I have set ...
1
vote
3answers
6k views

Redhat init script best practice

I want to write an init service script which runs the program as a particular user (and not root). I will then chkconfig this script and install into my production run level. I could just put a su ...