0
votes
0answers
42 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: ...
1
vote
0answers
359 views

Changing a start up init.d script to use with new ubuntu

This is my code. I would like to change it to use with new versions of ubuntu. The thing is ubuntu doesn't have chkconfig any more. Also I heard that new ubuntu uses upstart instead of init type start ...
4
votes
1answer
3k views

Script at /etc/init.d does not run at start-up

I wanted to run my Dropbox daemon automatically at start-up. I did it via terminal, that is, I (1) moved it to /etc/init.d, (2) made it executable, and (3) ran sudo update-rc.d dropbox.sh defaults. So ...
1
vote
1answer
159 views

Am I using upstart correctly?

I'm trying to write a startup script for my Ubuntu 12.04 desktop that pings my Netgear router every 30 seconds (this is necessary as a nasty workaround for a separate problem I'm having). I read this ...
3
votes
2answers
2k views

How to prevent Tor from starting automatically on Ubuntu server?

How do I stop Tor from starting automatically on startup? It is Ubuntu Server so I don't have any GUI.
1
vote
2answers
658 views

Cannot automatically start JIRA via init.d script

I am running Atlassian JIRA on Ubuntu 12.04 LTS (Precise Pangolin). I would like to automatically start JIRA whenever the system boots. For this purpose, I created script jira in /etc/init.d, similar ...
2
votes
1answer
2k views

What does `Unknown id` mean?

When I start or reboot my Ubuntu Server I get a lot of messages starting this or that but towards the end I get a message Unknown id: /home/kevin/riak-1.2.1/dev/dev1/bin/riak. I checked the ...
0
votes
2answers
2k views

What startup system does ubuntu use?

i've seen several ways to add programs or daemons to startup in Ubuntu 12.04 but I am kind of perturbed with the meaning of each method, basically because i dont understand the underlying startup ...
1
vote
2answers
1k views

What is start_daemon?

I'm trying to understand start_daemon in the following /etc/init.d/nagios-nrpe-server startup script: start) if [ "$INETD" = 1 ]; then exit 1 fi ...
2
votes
2answers
3k views

How to Automatically run two commands after login?

I have these two commands that I need to manually run every time after login: autossh -M 2000 -N -f -q -D 127.0.0.1:7070 user@domain.com and sudo mkdir /media/C sudo mount /dev/sda2 /media/C I'd ...
2
votes
3answers
279 views

How to disable mysqld in 10.04?

I have a few (Linode) Ubuntu 10.04 (64bit) VPSes, and mysqld keeps starting on every reboot on all of them -- $ uptime 16:32:26 up 1 min, 1 user, load average: 0.09, 0.08, 0.07 $ ps -ef | grep -i ...
4
votes
1answer
4k views

When you run `update-rc.d myscript default` - what is called on startup/shutdown?

What gets called on startup/shutdown when you run update-rc.d myscript default? Docs seem fuzzy, I want concrete. I am guessing that this happens: At startup (specifically at entry to runlevel 2, ...
2
votes
2answers
7k views

How to write an init script that will execute an existing start script?

I'm trying to understand the init process. I have a script which launches 3 background processes (2 shell scripts and a java app). It works just fine from the command line. I'd like to execute that ...
1
vote
2answers
6k views

update.rc-d init.d startup script is not starting

I got a simple script called hwtestinit which I installed using update-rc.d hwtestinit defaults On the surface, as far as I can inspect, all seems fine , I mean, the following files, all exists, ...
2
votes
1answer
311 views

Where can I find information or description of the boot up process?

I am looking for links to detailed information on how the ubuntu boot process is managed after grub is finished. I have googled by all the documentation referes to individual packages. (upstart, ...
3
votes
1answer
307 views

Is init.d “safe” enough to use or should i use `runit` or `daemontools` on a server

I am looking to deploy my application on a server on which I would have no access in the future. I would like to have an indication of start-up errors generated by my program in particular and the ...
2
votes
5answers
12k views

init.d script startup problems

I Have this init.d script which I am trying to get to startup with ubuntu however it wont run at startup. It does work when i type "sudo /etc/init.d/couchpotato start" though. Any ideas on how to get ...