Questions tagged [init]
Init is the initial process that loads on a linux system. If init fails to load, it will result in a kernel failure.
254
questions
1
vote
1
answer
206
views
How is information passed between ipconfig and the init process at boot time
I'm trying to assign an IPv6 address to my machine at early boot time (in order to boot a diskless system over IPv6) with
ip -6 addr add $ipv6/108 dev eth0
at nfs-premount.
This works fine, but as ...
48
votes
2
answers
50k
views
How can I replace upstart with systemd?
Since Mark Shuttleworth decided to switch to sytemd in the future, I was wondering if I can install it on my Ubuntu now?
2
votes
0
answers
564
views
ubuntu 12.04 Init process provokes memory leak and CPU intensive usage
I have lately been having some memory and CPU issues with init process. After rebooting, the memory used by it keeps increasing at quite high pace, and after half hour it occupies all the memory RAM (...
4
votes
3
answers
8k
views
High cpu use from init and yes [Ubuntu 12.04]
Today, I installed a fresh Ubuntu 12.04 LTS on my Sony VAIO VPCSB.
I noticed a high cpu use of init and yes (as you can see below).
top - 16:26:16 up 11 min, 2 users, load average: 2.71, 2.86, 1....
2
votes
3
answers
3k
views
How disable programmatically notebook built-in keyboard before login screen
How can I disable a notebooks built-in keyboard - before the login screen.
I have a non functioning built-in keyboard on my notebook. In it's current state it types characters randomly. I am using an ...
3
votes
2
answers
3k
views
Running key remap script at startup
I'm trying to re-map my left Alt key to the Alt Gr and Alt Gr to left Alt. So far I've been able to do it in terminal, but it never runs it on start up. I've read multiple Ask Ubuntu questions, but ...
0
votes
1
answer
774
views
After upgrading to 13.10 kernel panic - not syncing
Until today I used 12.04. This afternoon I ugraded to 12.10 then 13.04 and finally to 13.10 .
Everything seemed normal during the updates. Afterwards on 13.10 I kept getting an error message related ...
2
votes
1
answer
5k
views
Auto-Starting Seafile Server 12.04 (Server Edition)
I'm having trouble getting Seafile to auto-start upon boot-up.
here's what I've done so far:
Created ~/lovette/seafile-control-script.sh
#! /bin/sh
# /etc/init.d/seafile
#
# Start/Stop/Restart ...
1
vote
2
answers
395
views
Tool to disable services and daemons
For the old (and still used in debian) init mechanism there are tools such as rcconf to disable services and daemons.
Are there such for whatever is used in Ubuntu (upstart I guess) ?
I am running ...
1
vote
1
answer
218
views
Why does the run level change automatically?
I am trying set up a virtual machine as an exercise for my friend, it came to my mind that I can give him a machine that reboots all the time and ask him to find out whats wrong with it. I change run ...
0
votes
1
answer
1k
views
OpenFire/Redmine service autostart
We are using OpenFire chat service in the office on a Ubuntu server. Everyday I have to enter a command to start it. The command line is sudo su - service openfire start. I also start the Redmine ...
0
votes
1
answer
276
views
stud ubuntu howto?
I've just been looking at the stud init script as I thought perhaps I'm meant to create a stud.conf inside /etc/stud
However, in looking through the init script it would apppear that it loads stud....
3
votes
5
answers
21k
views
13.04: Kernel panic - not syncing: No init found
I know this question has been asked several times on this forum, but none of the answers given worked for me.
Tonight I did an install of Ubuntu 13.04 on a brand new Acer Aspire laptop. I formatted ...
2
votes
1
answer
1k
views
Upstart not starting emacs --daemon
I am trying to start emacs daemon through upstart. Here is my script
# emacs --daemon - Emacs daemon
#
# The Emacs daemon provides a server for Emacs clients.
description "Emacs daemon"
start ...
0
votes
1
answer
1k
views
System V init scripts
How do I list the services running on an instance started by System V init scripts?
I attempted to run 'service | --status-all>' with no luck.
1
vote
1
answer
97
views
Live Persistant Install Won't Boot
I've installed Ubuntu on a flash drive via UNetbootin and it worked flawlessly up until today. A few moments after I booted it said "System Problem Detected" and I reported it. I disregarded this ...
5
votes
1
answer
17k
views
Why doesn't sudo need password when used in rc.local?
I have added
sh /home/victor/startupAP.sh
into /etc/rc.local and the startupAP.sh contains statement which need sudo:
$ cat startupAP.sh
#!/bin/bash
sudo hostapd -B /etc/hostapd/hostapd.conf 2>...
85
votes
4
answers
360k
views
How to install an init.d script?
I am trying to install an init.d script, to run celery for scheduling tasks.
Here is the steps I followed:
copied the file celeryd and pasted it in folder /etc/init.d/
created a configuration file ...
2
votes
1
answer
159
views
Switch raring to systemd [closed]
I know that Raring use upstart as init system. However I'm wondering if it's possible to switch to systemd, as we can do it on Debian. I've found this ppa: systemd : Martin Pitt But the systemd ...
2
votes
1
answer
706
views
runlevel misunderstanding
As I known there is no classical init in ubuntu, instead of init ubuntu uses upstart. Upstart is capable of fully simulation of classical init.
The problem is I still don't understand how upstart ...
2
votes
2
answers
4k
views
mongodb service doesn't restart after being stopped
Currently I am unable to start mongodb with the usual command sudo service mongodb start. When I do that, I get something like:
mongodb start/running, process 23387
however no such process is ...
4
votes
2
answers
9k
views
How to completely remove broken GNOME/GDM installed on Ubuntu Server?
I have installed an Ubuntu Server. It obviously comes with no graphical interface. I tried to install one with:
apt-get install xserver-xorg xfonts* gnome gdm
Then I got an error message trying to ...
2
votes
1
answer
5k
views
Upstart job fails to respawn and hangs when tried to stop/restart it
I'm using Upstart 1.5 in Ubuntu 12.04 to manage a process created by some user but needs to be managed as system job as starting on boot, respawning if it fails and we been able to start/stop it at ...
2
votes
1
answer
864
views
Where is Unity startup script in rc?.d
I've been reading about runlevels and startup scripts lately, and I've learnt that runlevels 2 to 5 are the same in Ubuntu, and that Ubuntu's default runlevel is 2.
What I want to do
I want to ...
1
vote
1
answer
1k
views
Start and stop parameters in init script
I have .conf a file in /etc/init/ with this code at the bottom:
start on (started network-interface
or started network-manager
or started networking)
stop on (stopping network-...
0
votes
1
answer
2k
views
Upstart with a script that start and finish their own processes
I'm trying to setup in Upstart a script that launch several internal procs and kill them if is required
$ listener.py -startall
$ listener.py -killall
I can run it with this settings:
# Listener ...
1
vote
1
answer
831
views
Why can't we remove bluetooth service the reguler way?
The usual way to remove services from startup scripts is to remove it from starting up in the first place (man update-rc.d). Meaning removing the symbolic link to /lib/init. In this case executing ...
2
votes
1
answer
72
views
Need to know what program is writing to the console on start, logout and shutdown
I would like to know what program is responsible for writing messages to the console during the start, logout and shutdown process. What I'm referring to is that black console that comes out and spews ...
1
vote
1
answer
1k
views
Console prompt during boot (for truecrypt)
In short: Please provide me with a up-to-date best practice solution to mount my Truecrypt volumes at boot with secure password prompt! I may accept a answer that has nothing to do with Truecrypt and ...
0
votes
1
answer
1k
views
Help setting up e4rat, no startup.log after e4rat-collect
So I've scanned through all the wiki's and posts to no avail. I'm attempting to set up e4rat on Ubuntu 12.10, and after appending init=/sbin/e4rat-collect to Grub and changing ro to rw startup.log is ...
0
votes
1
answer
256
views
Redirecting /dev/null to some other device
Is it possible to redirect, ie create /dev/null as non-null device, like /dev/console or /dev/stdout? This obviously has to be done before init runs create creates a standard /dev/null. Upstart seems ...
2
votes
1
answer
1k
views
MythTV in dmesg though it is not installed
dmesg shows stranges massages. Last year I tried mythtv but it didn't work for me and thus I removed it again.
Today I saw that dmesg shows this messages:
[ 16.047679] init: mythtv-backend main ...
3
votes
2
answers
11k
views
Booting Ubuntu into the Command Line? [duplicate]
Possible Duplicate:
How to disable X at boot time?
How do I boot Ubuntu by default into the CLI using a multiuser runlevel? I wish to still maintain my graphical desktop manager (GDM or whatever ...
6
votes
3
answers
10k
views
Ubuntu way to run sysctl -p on each boot?
I made some changes to sysctl.conf but now need to run sysctl -p on each boot. I can always create an init script to have it run automatically on boot, but I was wondering if there was an Ubuntu / ...
8
votes
2
answers
45k
views
Why I cannot find in /etc/inittab? [duplicate]
Possible Duplicate:
where is inittab file?
I have learned from the wikipedia that init is usually called by the kernel with an argument to specify the runlevel, in order to do different things ...
0
votes
1
answer
1k
views
X : conditional xorg.conf file during startup
I've got a computer which I use at a couple of different sites, and I've got differen monitors at those sites. What I've done is that I've ceated different xorg.conf files for each of these sites.
...
2
votes
1
answer
242
views
Failed to use upstart to control startup dependency
In a server I have memcached and apache2 installed, I want my apache2 ONLY can start if memcached is started, so in my apache upstart script, I added the line
From
start on runlevel [2345]
To
...
0
votes
1
answer
99
views
For processes to be up and running all the time
I want my python program sample.py to be always up and running. I have read some things and asked people about ways to do this. So far I have following options -
Upstart
Cron
I am trying things ...
4
votes
1
answer
1k
views
.override file isn't working
I have a file /etc/init/boinc-client.override with the single line manual that I use to prevent the BOINC client from starting up. (I don't want it hogging CPU time away from Folding@Home, for now ...
3
votes
1
answer
983
views
Scripts slowing boot
Inspired by the "How fast" video, I've recently been trying to speed up my boot up as much as possible.
I've been reading many forums on different approaches but recently hit a wall with a ...
22
votes
1
answer
78k
views
Is reboot the same as init 6?
Is reboot the same as init 6 for ubuntu?
I'm running Ubuntu 12.04 on Amazon EC2. When ssh'ed into the box I can type runlevel and I get:
N 2
Looking at man reboot I see that:
When called with --...
0
votes
1
answer
315
views
Why my upstart script don't work?
It is strange the script use to work fine,but after the proxy went down for a while,it don't work all the time. But the command in script section can still do it's job,and I have no idea what's going ...
1
vote
1
answer
5k
views
Start-up problems - some daemons not starting
This is a new installation of 12.04 and I can see that my machine is using both the old sysvinit method and the new upstart method to launch programs on start-up.
According to the man page for ...
2
votes
2
answers
1k
views
How do I prevent race conditions in Upstart 'starting on' scripts?
I am working on a package that needs two Upstart jobs: one that launches a daemon, and another that launches a supporting daemon if the configuration file requires it. The logic to determine if the ...
18
votes
6
answers
13k
views
How do I stop all processes in a chroot?
I have a number of LVM partitions, each containing an Ubuntu installation. Occasionally, I want to do an apt-get dist-upgrade, to update an installation to the most recent packages. I do this with ...
2
votes
4
answers
9k
views
Unable to fully remove Juju
After downloading Juju and playing around with it a little bit, my curiosity is satisfied. I decided to move on to other endeavors and uninstall Juju, although despite my best efforts a piece of Juju ...
23
votes
3
answers
42k
views
How can I make fsck run non-interactively at boot time?
I have a headless Ubuntu 12.04 server in a datacenter 1500 miles away. Twice now on reboot the system decided it had to fsck. Unfortunately Ubuntu ran fsck in interactive mode, so I had to ask someone ...
1
vote
1
answer
807
views
Fresh install of 12.04 Kernel panic
I am attempting to install Ubuntu 12.04 on my computer. After the Ubuntu splash screen, the computer throws up this error:
sr 2:0:1:0: [sr0] Unhandled error code
Kernel panic - not syncing: Attempted ...
5
votes
2
answers
11k
views
How can I run an application in gnome-terminal automatically when booting?
I need to run an application automatically when Ubuntu starts. I've got this app running without opening the terminal. However, this application displays some information in a terminal window and, ...
2
votes
0
answers
360
views
Ubuntu doesn't boot after apt-get upgrade (black screen) [duplicate]
Possible Duplicate:
My computer boots to a black screen, what options do I have to fix it?
Some time ago (2 weeks) I ran apt-get upgrade. When complete I turned off the computer. I was on ...