0
votes
0answers
73 views

Aptitude safe-upgrade hangs on php5-fpm update-rc.d warning

When running sudo aptitude safe-upgrade on my Ubuntu 12.04 LTS server, I keep receiving this warning: update-rc.d: warning: php5-fpm stop runlevel arguments (0 1 6) do not match LSB Default-Stop ...
3
votes
1answer
166 views

How to remove MySQL on boot

denis@australia:~$ cat /etc/issue Ubuntu 12.04.1 LTS \n \l denis@australia:~$ chkconfig --list mysql mysql 0:off 1:off 2:off 3:off 4:off 5:off 6:off But mysql runs on the ...
3
votes
1answer
881 views

Cannot get Nginx to start on boot with Ubuntu

I'm running Ubuntu 12.04 and Nginx 1.2.1 which I compiled from source. I tried the below commands to get nginx to start on boot: $ sudo update-rc.d nginx default $ sudo update-rc.d nginx enable 2345 ...
4
votes
1answer
2k views

Upstart: stop on runlevel [016] vs stop on starting rc RUNLEVEL=[016]

So, I'm working on an upstart init script for mysql. Should be trivial, right? My stop stanza looks like: kill timeout 30 stop on runlevel [016] I shutdown now -r, and mysql yells about my MyISAM ...
1
vote
1answer
136 views

ubuntu 11 runlevel

probably a simple question, but i think im wording things wrongly to the googles: i have a ubuntu 11 server that 90% of the time runs headless, and is only accessed over ssh. i use it as a ...
3
votes
3answers
609 views

What is Runlevel 'S' on Debian/Ubuntu for

According to Wikipedia, 'S' is supposed to be a standard runlevel: "Single-User Mode". But if I'm not mistaken, the Single-User mode on Debian is Runlevel 1. One Debian article I found claims, that ...
7
votes
4answers
6k views

Any way to make service do not autostart in Ubuntu/Debian, but leave K00 scripts in place?

I need to have only stop scripts in rcN.d (runlevels 0,1,6) for apache2. So that I always start it by myself, but when reboot occurs server will shut down apache2 properly. And when I change runlevel ...
6
votes
2answers
10k views

How to change default runlevel of Ubuntu (lucid)?

I have Ubuntu lucid on my home computer. Today I was experimenting with runlevels and I couldn't figure out how to change the default run level of Ubuntu. I can do that using /etc/inittab on Debian ...