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

learn more… | top users | synonyms

0
votes
1answer
27 views

What could cause “Waiting for network configuration” + 2 minutes unskippable hanging at boot when no network interfaces are configured?

After installation of a bunch of unknown programs (the program causing the problem must have been in the long list of dependencies, /var/log/dpkg.log contains > 38000 entries for the relevant dates) ...
0
votes
0answers
12 views

Problem with NIS configuration

I tried to configure NIS in a server and a client both running Ubuntu 14.04 following this guide and this official guide. After a reboot the client machine got locked with this message several times ...
1
vote
1answer
37 views

Start script on boot up?

I want to run a script when the system starts. The script is: #!/bin/bash gnome-terminal --tab -t "MyPC" -e "sh -c 'nohup firefox & nohup gedit & bash'" --tab -t "MYPC2" -e "sh -c 'ls -al;ls; ...
1
vote
0answers
31 views

Running service spacenavd start not same as /etc/init.d/spacenavd start

I have an application which makes use of a 3dconnexion space mouse. It works fine when using the spacenavd daemon however I'm having issues getting the daemon to run at boot or as a service. $ sudo ...
0
votes
0answers
11 views

gmote server as a daemon service

I need some help to set G mote Server as a daemon so that it can start at the boot of my system. I'm using lubuntu latest version. I alreay tried to write a script into /etc/init.d using skeleton as a ...
0
votes
0answers
11 views

Pure-FTPd with virtual users

I recently setup a pure-ftpd server, and I'm wondering about how I would include virtual users within the service. I would normally have to run the program with -l puredb:/etc/pureftpd.pdb. How would ...
2
votes
3answers
110 views

How to start a VM on boot, and shutdown on VM stop?

Long story short... I had to install a small server app running in a VM on one of this company's PC. Both computers are running Windows XP (with legacy softwares, so upgrading is not possible), and ...
2
votes
1answer
108 views

How to create a directory in /var/run on startup?

I need to create a non-root owned directory in /var/run that a startup script in /etc/init.d will use. What is the proper way achieve this? I'm using Ubuntu 14.04.
0
votes
0answers
17 views

Dual booting thwarted by rogue keyboard presses?

End goal: successfully dual boot Windows 8.1 and Ubuntu 14.04, both are already installed and working. I just can't get to the bootloader (I think it's called) to choose to go back to my Windows ...
0
votes
0answers
47 views

How to get rid of cloud-init?

I'm using Ubuntu 14.04 image as my base box for vagrant. Unfortunately this base box contains cloud-init which causes many problems during starting-up the machine: ...
0
votes
1answer
47 views

dnsmasq starting before eth0 is ready and therefore not binding

I have setup dnsmasq on ubuntu 14.04. The dnsmasq part works fine. However on boot, dnsmasq runs BEFORE eth0 is up. This causes dnsmasq to not respond to queries on eth0. In syslog I can see dnsmasq ...
2
votes
2answers
89 views

Ubuntu equivalent of CentOS success / failure

A lot of services in CentOS look like this (except green and red, respectively): $ sudo service blah start Starting blah: [ OK ] $ sudo service notrunning stop Stopping notrunning: ...
0
votes
2answers
105 views

init.d scripts and rc folders

I am wondering why not all scripts placed in init.d folder are in rc folders eg. system cups is in init.d but there is not in rc folders? I don’t know if I understand it right. When I want to ...
1
vote
1answer
325 views

Deluge start-up script works but won't start daemon on startup

I've gone through the instructions here to configure Deluge, and I've also gone through these instructions to set up the necessary scripts. The username I chose for DELUGED_USER was the user name I ...
0
votes
0answers
65 views

Sickbeard start service on boot not working: Permissions issue? [duplicate]

I've just installed Sick-Beard on my server. Starting the service via SSH works just fine, as I issue the command sudo service sickbeard start However, I can't get the service to start on boot. ...
1
vote
1answer
232 views

probleme with gdm

I have a problem with gdm , when I run this command sudo /etc/init.d/gdm start I got this message /etc/init.d/gdm: 79: /etc/init.d/gdm: syntax error: "fi" unexpected (expecting "}") So, can ...
0
votes
1answer
780 views

init.d script doesn't log to /var/log/boot.log

The script below is working fine at system startup. However, its log messages don't show in /var/log/boot.log, when the system boots. I compared it with other init.d scripts and couldn't reach any ...
1
vote
2answers
312 views

upstart multiple parameters

So Im working on a upstart process and wanted to know if I could pass in multiple parameters my-upstart-service restart PARM1=foo PARM2=bar PARM3=hello Here is kinda what I had in mind description ...
0
votes
1answer
64 views

Why a service in init.d and not in rc*.d started?

I have a configured and working service script myservice in the /etc/init.d and in /etc/rc*.d directories of an Ubuntu 13.10 distribution. Removing the links in /etc/rc*.d using update-rc.d -f ...
1
vote
2answers
337 views

Which init daemon starts cups?

I have a fresh installation of Ubuntu 14.04, and have not touched anything. Cups is running, as reported by both ps and netstat. There are /etc/init/cups.conf and /etc/init.d/cups, both of them seem ...
0
votes
1answer
71 views

How do I restart vsftpd?

I am using Lubuntu. I have installed vsftpd using sudo apt-get install vsftpd That ran all ok. However when I try to retstart the service with the following it cannot find it: sudo ...
-1
votes
1answer
48 views

Are there any plans to simplify console service management on Ubuntu?

I am quite perplexed about the direction in which service management is going on Ubuntu and the funny part is that the same seems to be happening with OS X but that's another story. I do appreciate ...
0
votes
1answer
136 views

Which arguments are passed to init scripts during shutdown

I am currently looking at the startup and shutdown procedures for ubunut precise pangolin. As far as I understand at shutdown the system switches to runlevel 0 and all scripts with K* are executed ...
1
vote
0answers
39 views

How can I automatically reboot machine after usb pull off?

I have this situation - I've got a boot-able pen-drive with Ubuntu 12.04 for automated installation - when I plug the USB stick in installation begins from it. At the end of installation process I ...
0
votes
0answers
58 views

Init.d script not updating git repository

I have the following init.d script running on my ubuntu machine: # /etc/init.d/do-updates cd /home/ubuntu/Fox;git pull sudo /home/ubuntu/Fox/batch_update_process.py 1>> ...
1
vote
0answers
70 views

init script of debian package not working correcly in different computers in Ubuntu 12.04

I created a Debian single binary package (.deb) for a software project to install the application as a service in ubuntu. dpkg --install package installation is successful in the computer I used to ...
0
votes
1answer
257 views

nfs-kernel-server installation : file does not exist

I am extremely new to Ubuntu and need to work on EdX platform. I need to install the NFS Client on Ubuntu 12.04 for the same. I used the following stuti@stuti:/$ sudo apt-get install ...
1
vote
1answer
36 views

Failure during boot with service failures (slowing down PC)

While Ubuntu is starting and showing it's boot screen an error occurs for several times saying: failed to execute 'lib/udev/socket:4/org/freedesktop/hal/udev_event' ...
2
votes
1answer
52 views

A bad boot command made my system inaccessible

Okay, so I made a really stupid mistake. I made a shell script that runs nodemon /path/to/nodejs/file and added it to the boot process via update-rc.d mystartup.sh defaults 99, thinking I could use ...
0
votes
1answer
1k views

Ubuntu 14.04 startup difficulty [duplicate]

I installed Universal Media Server 3.6 on ubuntu 14.04 desktop. What I want to do is, to launch it during startup. How to add this into startup? Any suggestions? Thanks in advance.
1
vote
1answer
3k views

Samba started twice on boot up after upgrade to 14.04

the second attempt results in a failure: Starting SMB/CIFS File and Active Directory Server[74G[[31mfail[39;49m] I'd like to figure out where the second attempt is coming from and remove it. ...
0
votes
0answers
169 views

Problem with dnsmasq

I'm using hostapd and dnsmasq to turn my server in a wifi access point. The WiFi is set up and seems to be working. But when the computer boots there's a massage saying something like "Interface ...
0
votes
0answers
452 views

HAproxy failed to start

HAProxy is configured to use as load balancer for geoserver i followed the procedure explained in this http://geoserver.geo-solutions.it/edu/en/clustering/apache/haproxy.html page and i edited ...
-1
votes
1answer
55 views

which file in ubuntu defines meaning of each run level?

In redhat based linux, there is a file called inittab in which you can see the meaning and definition of each run level. Is there any file like this in Ubuntu? I know what each run level means in ...
1
vote
0answers
57 views

Starting Network Audio System via its init.d script fails but works when using start-stop-daemon on the command line

I'm running Ubuntu 13.10 (saucy salamander) and need the Network Audio System service (package nas, version 1.9.3-6) which relies on /dev/dsp and /dev/mixer so I installed the OSS Proxy Daemon osspd ...
0
votes
0answers
40 views

Ubuntu precise 12.04 init.d issue after installing percona 5.5

First of all, it keeps on starting mysqld_safe even if it is not provided by my my.cnffile. I found this in the init.d script: "${PERCONA_PREFIX}"/bin/mysqld_safe > /dev/null 2>&1 & And ...
1
vote
1answer
5k views

How do I stop transmission-daemon?

How do I stop transmission-daemon? I've ran sudo /etc/init.d/transmission-daemon stop and after a while I get confirmation that it completed [ OK ]: greg@VManage:~$ sudo ...
0
votes
0answers
297 views

How to get update-rc.d to order init scripts as defined in the LSB header

I'm getting really frustrated trying to get some init scripts to work. I've read up on LSB and the ubuntu man pages, and AFAICT, to get my init scripts to run at a specific point in the startup ...
1
vote
2answers
239 views

What's the best way to make a Qt executable program run as a service in Ubuntu

I've written my Qt code for an embedded system which is running on Ubuntu. I want to run my program as a service in Ubuntu so I can stop or start it using monit. I've seen some people creating a new ...
1
vote
0answers
40 views

log files prevent clean root umount

My root fs is always dirty after shutdown. To see why, I added a couple of lines into /etc/init.d/umountroot: /usr/bin/lsof / | /usr/bin/awk '$4 ~ /[0-9].*w/' ... mount -o remount,ro ... /bin/bash ...
0
votes
0answers
21 views

how to start interactive shell during shutdown?

I want to start a shell after /etc/init.d/umountroot stop . I tried: /bin/bash </dev/console >/dev/console 2>&1 But it's detached from tty and typing in it is unreliable.
0
votes
0answers
211 views

How to switch between two internet connections without rebooting?

I have two internet connections, one with the static IP and the other with the PPPoE.When my static IP connection is not working, I switch to the PPPoE connection. I change my connection this way, ...
0
votes
1answer
788 views

initclt not seeing init script in Ubuntu 12 64bit

I created an init script in LSB format, and copied it to the /etc/init.d directory. I can manually start, stop, status the service and all works fine. I then try to set the service to auto stop/start ...
0
votes
0answers
115 views

How can I fix this vncserver startup script?

I've been working on getting multiple remote desktops up-and-running on my new installation of Ubuntu 12.04.3 by following this guide: ...
2
votes
2answers
557 views

How disable programmatically notebook built-in keyboard before login screen

How can I disable a notebooks built-in keyboard - before the login screen. I have a non functioning built-in keyboard on my notebook. In it's current state it types characters randomly. I am using an ...
0
votes
1answer
305 views

An alternative to init.d?

Is there an alternative to Ubuntu's init.d? Like a way of starting and stopping daemons that don't require those monstrous init.d scripts: # cat /etc/init.d/skeleton #! /bin/sh ### BEGIN INIT INFO # ...
1
vote
1answer
98 views

need help with Init.d script

I am trying to run a wireshark capture as a daemon. I found this init.d script. http://new.networkprotocolspecialists.com/downloads/tsharkd it works to start dumpcap, but when I try to use sudo ...
0
votes
2answers
206 views

Celeryd not running at startup

I ran sudo update-rc.d celeryd defaults All good. I ran: /etc/init.d/celeryd start All good. I restart machine. All bad. sudo /etc/init.d/celeryd status celeryd not running (no ...
0
votes
1answer
253 views

Running a script in a screen at start up

I have a Python script that I wish to keep running all the time on an Ubuntu 12.04 machine, and I am doing so by adding an init job that runs a short script that checks for a screen session and if not ...
1
vote
0answers
228 views

UPSTART services all hang when stopping (stop/waiting)

I am using Ubuntu 13.10 After an IPL, there are many run once services that hang, they are all in STOP/WAITING status. Also, if I try to stop any normal service like apache2, mysql, vsftp I get the ...