Questions tagged [init.d]

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

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

291 questions
0
votes
5 answers

Weird init script issue with corosync

This probably has a simple explanation, but I certainly can't think of it. I've got corosync installed (via yum), with it's default init script. Something is strange on this particular CentOS installation as I often need to manually link…
user705142
  • 433
  • 6
  • 16
0
votes
1 answer

Mysql server doesn't start at boot on Ubuntu 10.04LTS VPS

I did a apt-get update & installed few updates on my server which runs 10.04LTS. But this has broken mysql. it doesn't start at boot. I tried to manually start it using the following commands: $ sudo /etc/init.d/mysql restart Rather than invoking…
CuriousMind
  • 185
  • 1
  • 8
0
votes
1 answer

Process started from init.d takes a long time

I have a wget https://url request that i want to launch from a daemon started from /etc/init.d If launched from /etc/init.d, it will take approximately 10 times longer than if i launch it from a console. I checked with time(1) and the difference is…
arved
  • 453
  • 2
  • 14
0
votes
1 answer

Can I use Upstart to start a script which requires the user's X session?

I wrote a script which greps through the output of synclient to determine whether a laptop's touchpad has miraculously turned itself off (Ubuntu seems to /love/ doing this recently) and, if so, turns it back on. The script is something like…
ledneb
  • 179
  • 6
0
votes
1 answer

MySQL init.d script with different configuration file

I have two instances of mysql running on a server. I need two different init.d scripts. The two instances have different configuration files /etc/my.cnf and /etc/my-slave.cnf. I copied the /etc/init.d/mysql files to /etc/init.d/mysql-slave and…
gAMBOOKa
  • 999
  • 6
  • 19
  • 34
0
votes
1 answer

Glassfish 3 Cluster and Local init scripts

I'm trying to set-up a Glassfish 3.1.1 Cluster for testing purposes. Currently, I've got 2 hosts with Glassfish 3.1.1 installed. I've set-up a DAS domain on host1, and followed this guide to create the cluster:…
fatmcgav
  • 1
  • 1
0
votes
1 answer

Upstart output pre-start script content

Based on the content of the Ubuntu init.d script to control nginx instances, found at : http://wiki.nginx.org/Nginx-init-ubuntu I'm trying to update Upstart version, found at: http://wiki.nginx.org/Upstart to make the configuration syntax…
0
votes
1 answer

I can't get Postgres configured correctly

I have spent quite a bit of time wrestling with this postgresql update, but I just can't quite get it configured correctly. I recently upgraded from 9.0 to 9.1, and I can't get Postgres 9.1 configured correctly. I wanted it to start on start up, so…
zermy
  • 157
  • 1
  • 7
0
votes
1 answer

/etc/init.d/functions weirdness

OS: fedora 15. seems something has gone awry inside my /etc/init.d/functions file. i can still stop/start/restart services and daemons using /etc/init.d/restart, but the output is no longer showing my the [OK] and [FAILED] message. example: :)…
adamfield
  • 11
  • 1
0
votes
2 answers

Commands /etc/init/boot.local get started before some environment variables get initialized

I have OpenSuse 11.4. I start some on-boot scripts inside /etc/init/boot.local. Where could I move those scripts so that they would be started after all (most) environment variables got initialized? These scripts need to be started really once, so…
0
votes
1 answer

init.d scripts not executed upon startup

I have a strange problem on an OpenSuSE11.1 box. Only very few of the init.d scripts for runlevel 3 and 5 are executed, eg. syslog and network. Despite the fact all links in the rcS.d folders are setup for various other services none of them are…
Bernhard
  • 121
  • 7
0
votes
1 answer

Bind will not run at start up

I have the named script in init.d and a symbolic link in all of the rc#.d directories. I can manually run the script and the symbolic links and named will start just fine. I added "touch /test.test" at the top of the script and the file is not…
Eric Milas
  • 103
  • 2
0
votes
1 answer

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 http://www.ndchost.com/wiki/server-administration/upgrade-ubuntu-pre-10.04#post-1004-upgradefinal-steps] No login prompt…
Shoaibi
  • 809
  • 1
  • 10
  • 28
0
votes
3 answers

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 97 03 # # processname: quotes-srv # # # source…
fatNjazzy
  • 69
  • 3
  • 11
0
votes
2 answers

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 to do. An "sudo update-rc.d sslh defaults" says…
user46942