The tag has no wiki summary.

learn more… | top users | synonyms

-1
votes
1answer
9 views

Where are smbd system links in UBUNTU 12.04?

After installing Samba on UBUNTU 12.04, I checked the system link run level directories and were not able to find smbd links. This is interesting because smbd is started automatically on reboot. Here ...
0
votes
1answer
44 views

Program Files(x86) not being interpretted right on Win7x64 when not running as local admin

Regards, I'm having a peculiar issue with a 32bit software program that is being migrated to a x64 environment (Windows XP SP3 towards Windows 7 X64. The application is question is a electronic ...
2
votes
3answers
100 views

Can I use Bash interpreter in service/daemon scripts?

I'm writing a Debian/Ubuntu service that should start on at runlevel 2-5. Most of the existing services I came accross are written using /bin/sh (Shell) interpreter while /bin/bash (Bash) offer lot ...
3
votes
2answers
93 views

Execution order of runlevel scripts

My runlevel 0 scripts in /etc/rc0.d, which should be executed when stopping are for example K05foo -> ... K10bar -> ... K80baz -> ... S10somemore -> ... S90halt -> ... Is it correct, that the ...
0
votes
0answers
90 views

Linux: immediate logoff upon login

I have a CentOS 6 installation (on a USB disk) that I use for repairs etc. I recently moved the installation to a new disk, and now something strange is happening. Immediately after I logon I am ...
0
votes
0answers
126 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
960 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
187 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
723 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
172 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
949 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 ...
2
votes
1answer
572 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 ...
6
votes
1answer
2k views

Explanation of chkconfig Levels

What do the levels in chkconfig mean? e.g. chkconfig --levels 235 httpd on
0
votes
2answers
2k 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
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
782 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
9k 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 ...
7
votes
4answers
7k 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 ...
2
votes
1answer
511 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 ...