10
votes
2answers
475 views

What does init on Ubuntu do?

I already know that init is the magical program that is needed for booting your computer and managing runlevels, but what is it's real purpose? Why do we even need init in the first place? Why can't ...
0
votes
1answer
81 views

How Can I Suppress “Load Fallback Graphics Devices” and “Plymouth Upstart Bridge” Messages During Ubuntu Server 14.04 Boot-Up?

When booting Ubuntu Server 14.04 LTS, I see messages such as: * Starting load fallback graphics devices [FAIL] and init: plymouth-upstart-bridge main process terminated with status 1 and init: ...
1
vote
1answer
37 views

Securing shared memory in Ubuntu (Linode VPS) renders it useless. Doesn't boot up [duplicate]

Everytime I setup a new VPS, I secure shared memory by adding the following to /etc/fstab: tmpfs /dev/shm tmpfs defaults,noexec,nosuid 0 0 Which works as expected on every host, ...
0
votes
0answers
28 views

Bitnami MediaWiki Stack - Autostart problem

I'm pretty new to the unix world and am stuck on the following problem: I've installed a bitnami MediaWiki package onto my Ubuntu system which includes an Apache Server, MySQL, PHP and the MediaWiki ...
0
votes
0answers
112 views

Xubuntu 14.04 LightDM stalls after install of NIS NFS and reboot

After a clean 14.04 install of Xubuntu I went on to add NIS and NFS for remote access to the server. However, on reboot the system gets to the LightDM greeter and stalls (the consoles at Alt-F1 etc ...
0
votes
1answer
1k views

14.04 PXE slow boot process (udev/upstart/systemd)

I've been using a diskless installation of Ubuntu for our department up until Ubuntu 13.04, without any major issues so far. However, with 14.04, something weird is happening in the boot process ...
1
vote
1answer
48 views

How to setup this X server as a service with upstart?

This is the script I have to make my X Server up and running... The goal is to make it restart in case of a crash... description "X server" start on runlevel [2534] stop on runlevel [!2534] script ...
0
votes
3answers
499 views

/etc/sysctl.conf doesn't persist after reboot

In a mission to reduce frequent memory flushes to filesystem, I added the following two lines to /etc/syctl.conf. vm.dirty_background_ratio = 50 vm.dirty_ratio = 80 I then ran, sudo sysctl -p and ...
3
votes
2answers
124 views

How To Run An Application On Startup Automatically?

I am using "UbuntuServer13.10" and I have Dynamic IP. So for learning purpose, I want to add a host on my dynamic IP to open my server easily from anywhere. For this purpose, I used www.noip.com ...
0
votes
1answer
464 views

Running a daemon process from upstart

I'm running my application on a VPS under Ubuntu 12.04 LTS. And I have a problem with one daemon process for one of my applications. This process is called "delayed_job" (If not familiar - this is ...
1
vote
3answers
3k views

upstart job works only with manual start/stop

I have a very small upstart job in /etc/init/tsm.conf to start backup client after network starts. It works just ok if I start/stop it manually via service tsm start|stop|status. But service tsm ...
0
votes
0answers
167 views

Ubuntu taking forever to boot

hi well this started happened after i only installed Ubuntu for few days less than a week on my new pc:) well i only go to windows 8 that i chosed alongside for downloading! i just went yesterday to ...
3
votes
0answers
1k views

Synaptics driver doesn't load sometimes

Sometimes (randomly), the synaptics touchpad driver won't load on bootup. When reading /var/log/boot.log, i don't see anything touchpad-driver-like being started when this happens. But the file ...
0
votes
1answer
231 views

Upstart job not starting

Can someone help me with a startup script not starting? I started it with initctl start startupScript, and it works fine. But it wont start at startup (= virtualbox, and mount, doesnt execute). I need ...
20
votes
4answers
34k 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 ...
1
vote
1answer
454 views

Upstart - Bluepill not starting without sudo

I have an upstart service to start bluepill (Ruby gem to monitor processes). The upstart config is below. description "Start up the bluepill service" start on runlevel [2] stop on runlevel [016] ...
1
vote
1answer
2k 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 ...
3
votes
2answers
1k views

Why is this laptop taking almost 1 minute to boot Ubuntu 13.04?

My dad's new HP Pavilion dv6 laptop running Ubuntu 13.04 takes almost a minute to boot up - it seems like it's hanging somewhere. Is there something I can do to easily fix it? I need some help ...
2
votes
1answer
933 views

Why are there start 'S' symlinks in rc0.d (shutdown) and rc6.d (reboot)?

Start 'S' symlinks in shutdown and restart runlevels? Why are there 'S00-S99' start symlinks in rc0.d and rc6.d? Ubuntu 13.04 directory listing: $ ls -l /etc/init.d/rc6.d lrwxrwxrwx 1 root root ...
1
vote
1answer
373 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
270 views

How to check if openvpn is connected in Upstart?

I need to run a script after mysql and openvpn are started (Ubuntu for ARM). I can succesfully run the script with upstart with this .conf: # my upstart for logging boot start on (starting openvpn ...
1
vote
1answer
686 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 ...
3
votes
1answer
7k views

Why isn't rc.local executed?

I am PXE booting some Ubuntu machines in a cluster. All of a sudden my rc.local script has stopped working. I've check the permission of /etc/rc.local: -rwxr-xr-x 1 root root 1087 Jan 14 11:04 ...
0
votes
1answer
255 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
3k views

Ubuntu 12.04, why service procps start doesn't start procps?

I have been trying to get some settings in /etc/sysctl.conf to take effect upon rebooting. So, I did the following as the root user on this node running Ubuntu 12.04 LTS 64bit # service procps ...
2
votes
1answer
750 views

Boot computer to text mode using kernel parameters

Referring to this question: How to remove the graphical user interface? The answer of modifying /etc/default/grub to have GRUB_CMDLINE_LINUX_DEFAULT="text" would be great, but unfortunately I don't ...
2
votes
1answer
544 views

How do I correct items that are now upstart jobs but still have an entry in /etc/init.d?

How do I correct items that are now upstart jobs but still have an entry in /etc/init.d? I have an ubuntu 12.04 machine which complains in the boot.log file like: Since the script you are ...
0
votes
1answer
1k views

Boot order of MySQL

I have a conflict with two programs in Ubuntu 10.04. I have configured an init.d file that boots up a program. However, this program requires MySQL to be running before it starts. When I boot the ...
0
votes
2answers
5k views

Squid3 fails to start on boot

Squid3 does not start automatically on boot, in some cases. I have start it manually with sudo service squid3 start. Any reason why?
0
votes
1answer
3k views

vncserver in rc.local will not run at boot

I'm using /etc/rc.local and here is the current contents: Okay, for some reason the formatting here isn't making a codeblock and instead is making everything bold and 3x the size. Those who are able, ...
3
votes
5answers
22k views

After Upgrading to 12.04 I can't get to the login screen

I cannot go pass the black screen and the following shows up on my screen after upgrading and rebooting with the Ubuntu update manager from 11.10 to 12.04: ata_id [27]: HDIO_GET_IDENTITY failed for ...
7
votes
2answers
590 views

Upstart script: Detect shift key down at boot

I want to create a boot up potential which allows a different upstart/runlevel configurations to load based upon specific key downs at boot (or combos). How do I detect a key down event with an ...
2
votes
1answer
2k views

How can I boot to upstart failsafe mode?

http://upstart.ubuntu.com/cookbook/#failsafe-mode-ubuntu-specific says 11.10 introduced a new failsafe mode. How can I boot to it? What commands do I give grub to pass to upstart to do this failsafe ...
3
votes
2answers
8k views

How can I boot into recovery mode if it hangs booting single user?

How can I boot into recovery mode if it hangs booting into single user mode? I am trying to boot into "recovery mode" or any single user mode, but upstart is trying to start modem-manager no matter ...
3
votes
1answer
864 views

GDM killed on startup

In order to fix a sound issue, I'd completely removed all PulseAudio packages, which removed several additional packages which I hadn't kept track of. I have since added back several packages that ...
21
votes
9answers
23k views

Why isn't my upstart service starting on system boot?

Following on from this question, I have written a simple upstart service (/etc/init/pms.conf) for my headless Ubuntu Server 11.04 box as follows: start on filesystem and net-device-up IFACE=eth0 stop ...
7
votes
1answer
2k views

Do newer Ubuntu releases benefit from multicore processors at boot time?

I've read the Upstart features and it says nothing about concurrency. I also read old advices to set CONCURRENCY value in the /etc/init.d/rc But there is a comment: Specify method used to enable ...
1
vote
1answer
419 views

How to allow Upstart task to block system boot?

I'm writing an Upstart task which runs at runlevel 1. This is for an ecrypted system, and the task's job is to verify the integrity of the MBR & /boot. As such, it is important that this task ...
11
votes
4answers
7k views

Slow boot after clean install of Natty

The time have risen from 20-25 sec in Meerkat to 35 sec in Natty. I do not know if it is ureadahead but made a bugreport of it in launchpad. I tried Fedora shortly before installing Natty. They use ...
2
votes
2answers
1k views

Disable GDM on ubuntu netbook remix

I'm running Ubuntu Netbook Remix 10.10 (on a pandaboard), and it doesn't boot with grub (so I can't pass it the 'text' parameter at boot time). How do i disable gdm so it doesn't start at boot? ...
20
votes
2answers
11k views

How can I make sure one Upstart job starts before other Upstart jobs?

This is a general Upstart question, but let me use a specific case: Centrify is a NIS to ActiveDirectory gateway. It needs to load before any service that will depend the authentication service that ...
5
votes
2answers
5k views

MySQL server Upstart script not working on boot

For some reason the Upstart script for the MySQL server isn't working when I boot my server, however it does work once the server has booted and I execute sudo start mysql manually. I'm running an ...
3
votes
1answer
380 views

Why does mysql process starts on boot?

As you can see, mysql exists only in the /etc/init.d directory and not in /etc/rcN.d, therefore it shouldn't start on boot. $ sudo find /etc -regex ".*\(rc.*d\|init\.d\).*" | sudo grep "mysql" | sort ...