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.

288 questions
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
  • 169
  • 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
  • 979
  • 6
  • 18
  • 33
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
  • 789
  • 1
  • 9
  • 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
0
votes
1 answer

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 127 May 19 09:56 S80apache -rwxr-xr-x 1 root …
Daren Thomas
  • 113
  • 2
  • 5
0
votes
1 answer

`# 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.: service nfs probe But this is due to the fact that the…
Chen Levy
  • 283
  • 3
  • 12
0
votes
0 answers

troubleshooting alpine netboot init scripts

So must be very close but not seeing answer. Have no issues w/alpine netboot, overlays or anything like that. First time trying to use a sdcript that loads on startup in an overlay tho. Already consulted most relevant serverfault guide to using init…
josh
  • 101