The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
5 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 ...
0
votes
1answer
513 views

Apache listed in runlevels, not starting at boot (OpenSuse 12.3)

I want my compiled apache2 server to run when my OpenSuse 12.3 server boots. I've followed the procedure listed in How do I get apache to startup at bootime on Linux, namely: Creating the file ...
3
votes
1answer
152 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 ...
1
vote
1answer
333 views

Delay init from starting a service for a period of time?

I am trying to get a rudimentary NFS server up and running. Right now the server is configured as an NFS server due to a workaround for a vendor issue not supporting direct attached clustered storage, ...
2
votes
1answer
146 views

How to add a service to the S runlevel in Debian?

I have the following script (what it does exactly is not important): #!/bin/sh -e ### BEGIN INIT INFO # Provides: watchdog_early # Required-Start: udev # Required-Stop: # ...
3
votes
1answer
776 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 ...
3
votes
1answer
1k 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 ...
2
votes
1answer
398 views

how to define service runlevel order position?

I setup bind-dlz and need mysql start prior NAMED when system starts here is what I have [root@semenov]# ./test.sh mysql 0:off 1:off 2:on 3:on 4:on 5:on 6:off named ...
5
votes
1answer
1k views

Explanation of chkconfig Levels

What do the levels in chkconfig mean? e.g. chkconfig --levels 235 httpd on
0
votes
2answers
1k views

Rescue Mode For EC2, Process Hangs On Startup

I have an ec2 server that was running for several months without any problems, but I recently had to reboot due to an unknown reason. Now, it appears that it is having trouble starting up, possible ...
1
vote
1answer
135 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
496 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 ...
3
votes
2answers
6k views

How to run script on first boot?

I need to run some bash script only once on first boot (after OS installation) of my CentOS machine This script should run before network service start (because this script will change network ...
0
votes
1answer
2k views

CentOS Server won't reboot when issuing reboot command

CentOS 5.x Hi all, For some reason, my CentOS server didn't want to reboot after I issued the reboot and shutdown -r now commands. All I saw in the /var/log/messages logs were: Aug 25 ...
5
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
9k 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 ...
1
vote
1answer
350 views

Rebuilding /etc/rc?.d/ links

A regular filesystem check on a Debian Lenny system triggered an fsck, and that nuked a handful of links in the /etc/rc?.d hierarchy (unfortunately I didn't keep a list). The system seems to boot and ...