Tagged Questions
0
votes
0answers
20 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
149 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
1answer
83 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
395 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
0answers
140 views
the same daemon script, but works on only Ubuntu server 12.04.1
I would like to run Perforce Server (p4d) as daemon.
so, I copied a /init.d/p4d file from /init.d/skeleton file and modified to run /usr/sbin/p4d -d
It is worked well by manually run it.
$ ...
0
votes
2answers
1k 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
482 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
...
1
vote
2answers
1k 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 ...
1
vote
2answers
184 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
2answers
8k views
How can I see or change default run level?
In the Linux / Unix administration handbook it mentions that you can edit the /etc/inittab file to change the run level. I don't have that file on 10.04. I Googled this and found a tip saying that ...
3
votes
1answer
2k 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
3k 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 ...
0
votes
2answers
3k 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
228 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
240 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
6k 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 ...