I’ve been trying for the past 3 days to get the /etc/inittab thingie to work, as mentioned in the book.
I’m trying to get init to automatically start monit. “sudo telinit q” doesn’t seem to work, or maybe my “/etc/inittab”:http://pastie.org/252629 is just wrong. When I run the first line (/usr/local/bin/monit -Ic /etc/monitrc) though with “sudo” at the beginning, monit starts.
I’m using Ubuntu Hardy Heron, so I started asking around, and I learned that 2 things: 1) Ubuntu’s init is event-driven 2) Ubuntu runs at level 2
Whatever that may mean (I’m a bit of a newbie), in the different places I’ve asked, they said that I should use “upstart”:http://upstart.ubuntu.com/, which is a bit unfortunate, because this init problem seems too a simple problem to learn a whole new way of doing things.
I wanted to share this though, and I’ll paste my updates so you guys can do the same if you’re having the same problem.