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

learn more… | top users | synonyms

0
votes
0answers
28 views

Cannot find log of application started through init.d script

I have created a .deb package of my scala application using sbt. I have successfully installed the application and am able to run it properly. Now, I want to start my application on system startup. ...
2
votes
2answers
24 views

Why does my init.d script show up under --status-all, but I can't otherwise control it?

I get the following (truncated) output from --status-all $ service --status-all [..] [ - ] ossec [ - ] ossec-hids-authd [..] But I can't access it through service: $ service status ...
1
vote
1answer
193 views

Problems updating plexmediaserver on Ubuntu 15.04

I followed the guidelines in this post - @ - but it seems that this has brought about a new problem, I can no longer update plex due to the error "E: The package plexmediaserver needs to be ...
1
vote
2answers
361 views

“A start job is running for /etc/rc.local Compatibility”: how to fix?

I just upgraded to Ubuntu Vivid (15.04) today, and after the restart I experienced a very long boot process. My laptop usually boots in 5 seconds or less, and now it hadn't finished even after a few ...
-1
votes
2answers
33 views

script wont execute after boot raspberrian os [closed]

I have created the following script: myserver.sh /home/pi/Downloads/ngrok http -subdomain=anewdomain 80 which i have place inside init.d folder. My problem is that it will not be executed after ...
0
votes
1answer
83 views

How do I create a script to restart a service every two hours? [duplicate]

I want to make a simple init.d file that makes it possible for me to reset a trial service that I'm using. I am currently using CodeSys and the startup script cuts me off after 2 hours, so I need to ...
0
votes
1answer
43 views

Accidentally deleted my /etc/init.d folder from system

I know this is really bad, but I have accidentally deleted the init.d folder from my system. I am using VMWare player to load Ubuntu 14.04 LTS. Now my system is not starting properly. I don't have CD ...
1
vote
1answer
29 views

init.d script + upstart help/advice

I have written up a Shell init.d script named "My_first_initd_script". The script works great when I run it from the /etc/init.d/ -working in the foreground. I would like to ...
7
votes
1answer
2k views

Problems starting plexmediaserver on Kubuntu 15.04

I have recently installed plexmediaserver 64-bit from the plex site on my Kubuntu 15.04 laptop and am unable to start. I believe it is in the change from how init scripts work? If you look at the ...
1
vote
1answer
74 views

Init file in init.d calls using sudo in script.sh give error sudo: no tty present and no askpass program specified

I an trying to make a script that launches on boot to connect to my personal VPN. I have an init file: /etc/init.d/vpnstartup which calls my vpnon.sh script on boot with the commands: case "$1" in ...
0
votes
1answer
34 views

Init.d code not quite working

The filtered out data from a MQTT live stream is dumped into a csv file named mqtt.csv and the dumping process is done by executor_start_up_job.txt which is written in BASH (has a shebang). I want to ...
1
vote
1answer
77 views

How does the Ubuntu boot process work?

I have read many articles about the Linux boot process. As I understand the Linux boot process is something like this : BIOS (UEFI) → MBR → grub → Kernel → init What I really don't understand ...
0
votes
1answer
27 views

PHP & Init script

I've written a php job handler for mediawiki. The script will spawn 4 PHP processes (Scanner, and three workers). youri@pewpew:~$ ps -aux | grep php www-data 1579 0.5 0.2 263888 12752 ? SN ...
0
votes
0answers
67 views

list all services

There are two ways you could do this service --status-all. The other way is to do initctl list. I would like to know the difference. some services like mysql do not show up in initctl list, and some ...
2
votes
0answers
19 views

Deluged Upstart not starting [duplicate]

Setting up a new ubuntu server installation (14.04.1), I have been completely unable to get deluge to start as a daemon at system startup. Originally tried following this set of instructions: ...
1
vote
2answers
58 views

Which package provides the Postgresql init scipt?

If I haven't got /etc/init.d/postgresql file in what package could I find it?
0
votes
1answer
211 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) ...
1
vote
1answer
811 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
65 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
208 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
32 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
40 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 ...
3
votes
3answers
386 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
232 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
18 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 ...
2
votes
1answer
573 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
132 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 ...
3
votes
2answers
386 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: ...
1
vote
2answers
418 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
2k 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
67 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. ...
2
votes
1answer
985 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
2k 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
1k 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
76 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
1k 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
116 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
75 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
260 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
42 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
76 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
94 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
667 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
42 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
58 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.
2
votes
1answer
4k 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. ...
-1
votes
1answer
97 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 ...
3
votes
2answers
12k 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 ...
1
vote
2answers
410 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 ...