Init is the initial process that loads on a linux system. If init fails to load, it will result in a kernel failure.

learn more… | top users | synonyms

0
votes
0answers
149 views

init service script is running twice

I have a init script under /etc/init/ to start up an application server. The problem is that it seems to be running twice. here is the command: exec su - deployer -c 'cd /home/deployer/app/current; ...
0
votes
0answers
74 views

Ubuntu 14.04 doesn't start

When booting, Ubuntu doesn't continues from the following page: What could be the problem? Thanks
1
vote
1answer
1k views

Why isn't my Upstart script running on 14.04?

I have the following Upstart script saved as /etc/init/automount.conf: description "SOME DESCRIPTION" start on startup task exec mount -t vboxsf WebApps -o rw,dmode=777,gid=GROUP_ID,uid=USER_ID ...
1
vote
1answer
423 views

Starting a process (sudo start) on boot up

So once I log into my Ubuntu VM I launch my application by doing a sudo app Now I want my application to get started while booting. I tried it by creating an rc. script but nothing seems to work. ...
0
votes
1answer
136 views

Where can I specify init service conf for isc-dhcp-server?

I used service isc-dhcp-server start to invoke the dhcpd. if I do ps -ef | grep dhcp here it is: root@casalab-Latitude-D530:~# ps -ef | grep dhcp dhcpd 6636 1 0 Apr28 ? 00:00:00 dhcpd ...
0
votes
0answers
153 views

Running PHP scriipt as Daemon. System_Daemon or init?

I am relatively new to Linux, and was trying to find a way to run a php script as a Daemon. I have now found 2 ways to do this (Using an init script, or PHP/Pear System_Dameon class). I was wondering ...
0
votes
0answers
191 views

Help understanding initial init script to create root fs in ram

I'm trying to get a handle on the init process in Linux & Ubuntu so that I can create a small netbootable image that runs in memory (no local disk) What I have managed to do is debootsrap a ...
2
votes
2answers
504 views

Am I running 32-bit or 64-bit?

I know this question has been asked a number of times, but my system seems to contradict itself… Following the answer to this question, I have run the following: $ uname -a Linux manaha ...
-1
votes
1answer
84 views

which file in ubuntu defines meaning of each run level?

In redhat based linux, there is a file called inittab in which you can see the meaning and definition of each run level. Is there any file like this in Ubuntu? I know what each run level means in ...
1
vote
1answer
54 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 ...
1
vote
0answers
210 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 ...
2
votes
3answers
2k 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, ...
2
votes
2answers
705 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 ...
0
votes
1answer
188 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 AskUbuntu questions, but ...
0
votes
1answer
678 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 ...
1
vote
1answer
2k 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
2answers
149 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
1answer
125 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
1answer
398 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 ...
3
votes
4answers
12k 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 ...
1
vote
1answer
460 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
1answer
511 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
1answer
70 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 ...
1
vote
1answer
3k 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 ...
27
votes
4answers
56k views

How to install an init.d script in ubuntu?

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
1answer
138 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
1answer
234 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 ...
1
vote
1answer
1k 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 ...
2
votes
2answers
234 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 ...
1
vote
1answer
3k 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
1answer
508 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
1answer
490 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 ...
0
votes
1answer
869 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
1answer
229 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
1answer
54 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
1answer
860 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
1answer
426 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
1answer
129 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
1answer
974 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
2answers
6k 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 ...
1
vote
3answers
1k 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 / ...
0
votes
2answers
11k 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 ...
0
votes
1answer
324 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
1answer
196 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
1answer
66 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 ...
3
votes
1answer
332 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
1answer
503 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 I've recently hit a wall with a ...
15
votes
1answer
28k 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
1answer
224 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
1answer
4k 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 ...