0
votes
1answer
35 views

Make sure that sshd will automatically start after reboot

I am connected to a computer over ssh. I have to reboot it remotely, while making sure that I will be able to reconnect to it over ssh just after reboot. I install 'bum' and marked sshd to be ...
0
votes
0answers
227 views

Howto start scripts before/after: Startup / Reboot / Suspend / Hibernate / Powerup / etc

This is what i have so far, but for some reason it doesnt work: cd ~ cd /etc/pm/sleep.d/ sudo touch 99myStartup.sh sudo nano 99myStartup.sh chmod +x 99myStartup.sh #!/bin/bash #!/bin/sh echo ...
0
votes
0answers
66 views

Add iptable rule before networking starts

I have an iptable rule that is critical. I have followed the instructions here to make sure the rule gets added when the server is rebooted. However, my rule drops ping requests. I've noticed ...
2
votes
1answer
71 views

Calling script on reboot only after MongoDB has started

I'm using the @reboot option as a root cron to update MongoDB when we do a reboot of a EC2 instance. The problem I have is MongoDB isn't loaded at the point the cron runs the script. Where is the ...
0
votes
1answer
5k views

Howto enable boot messages in ubuntu 12.04? [duplicate]

Possible Duplicate: How to enable boot messages to be printed on screen during boot up? Hello when I do reboot or init 6 in console under ubuntu 12.04 my system does not start correctly. it ...
0
votes
1answer
264 views

Starting / Shutting down Problem

I have 12.04 installed on my laptop. There is the following starting/shutting down problem: When clicking the power button, the laptop starts for 1 second and after that abruptly shuts down. When ...
0
votes
3answers
113 views

How can I ensure that my custom written C application runs at startup?

I have written a command line C application that I need to run every time the system starts up. How would I go about doing this? I have seen other questions and answers that show ways to do this for ...
4
votes
1answer
4k views

When you run `update-rc.d myscript default` - what is called on startup/shutdown?

What gets called on startup/shutdown when you run update-rc.d myscript default? Docs seem fuzzy, I want concrete. I am guessing that this happens: At startup (specifically at entry to runlevel 2, ...
8
votes
3answers
16k views

How can I make a specific set of iptables rules permanent?

Is there a "best practice" or standard to make a few iptables rules permanent? I mean: automatically applied upon a system reboot? I am using a VPS with Ubuntu Server 10.04 LTS (Lucid Lynx). Thank ...
0
votes
1answer
103 views

Start the same “sessions” after shutdown

Many times it happen I got several terms & app sessions opened, while I just have to quick shutdown the machine to move away in another building. Is there a way, when I next boot the laptop, to ...
8
votes
1answer
627 views

Why does my system boot so slowly?

I installed Ubuntu 10.10 a few days ago. It is really awesome but the problem is that it takes unusually long time (about 20 minutes) for the login screen to appear after the Ubuntu startup screen. ...