General :: Start A Script Only At Boot?

Oct 23, 2010

I have found on the net the solution (debian testing)

to add this /etc/init.d/myscript code...

and then it makes it as rc2.d but however it starts it when I turn off the pc too

View 2 Replies


ADVERTISEMENT

General :: Cannot Get Ssh To Start At Boot ?

May 15, 2010

I've configured ssh on opensuse a few times without issue, and to get it to run at boot I've used 'chkconfig ssh on' and it's done, sshd starts at boot.

I've recently started to use Debian 9.04, and for the life of me I cannot get ssh to start at boot, or to be more exact, if I try and connect via ssh I get 'Network connection refused' and 'ps -ef|grep ssh' shows that it is not running.

1) If I start it via '/etc/init.d/ssh start' it runs fine until the server is rebooted

2) I've done 'update-rc.d -f ssh defaults 20' it returns that the links are already in place

3) During the boot up process I can see 'Starting openBSD Secure Shell' (it was also at this point I discovered that BOOTLOGD is not enabled by default)

Another strange thing, when I edit /etc/motd it is not retained after a reboot.

View 14 Replies View Related

General :: Service Won't Start At Boot?

May 25, 2010

I have a service/daemon that won't start from boot. I have used the chkconfig --add <script name> command that went ok I also used the chkconfig <script name> on and that seems to be fine and I have made the script executable Chmod 777 <filename>. By all account it looks like the script is running at boot the the services has not started. When I do a ps -ef | grep ndb_mgmd this process is no there. the script can be run from the console and sems to run fine!

#!/bin/bash
# chkconfig: 345 70 30
# description: MySQL Cluster management server start/stop script
echo hello Paul >> /tmp/hello.txt
configdir=/var/lib/mysql-cluster/

[Code]....

View 10 Replies View Related

General :: Boot Label Changes Using Kick Start

Jan 30, 2011

I am customizing CentOS and doing the entire procedure through ks.cfg file. Everything is been configured properly except the boot label. I would want Boot label to be customized rather than the default one. Is it possible to achieve this using kickstart?

View 2 Replies View Related

General :: No Option To Select OS At The Start Up / Boot

Mar 30, 2011

I was installed linux mint in windows 7 using option "Install inside windows"... I got trouble with windows7 so i reinstalled it... but now there is no option to select OS at the start up... But i have the drive where i installed mint and all other files.. Is there any way to get it back.. Because i dont have time to reinstall mint...

View 1 Replies View Related

General :: Cannot Boot Linux At Start Screen

May 7, 2010

i have downloaded linux mint 8 and burnt it to disc ive been trying for what seems like for ever to load it but cant find out how to! im using a laptop with windows xp, and an external hard drive so cannot boot linux at start screen can anyone help me do it please.

View 2 Replies View Related

General :: Make Dhclient Start At Boot In Opensuse 11.0?

Jun 15, 2009

I looked into the handbook,googled for it,but found no working solution to this "problem". Everytime I use Opensuse I must su and then type dhclient,how can I make sure my connection will be up as soon as I log in?

View 7 Replies View Related

General :: Boot - Controlling When Services Start In Fedora 14

Nov 7, 2010

Whenever I start up my laptop running Fedora 14, I notice that it says that it is failing to connect to my default wireless network since the wireless card is not activated. Since it appears that the wireless card is not activated until the NetworkManager service is started, is there anyway for me to set NetworkManager to start before this check is made? Boot message log is attached. [URL]

View 1 Replies View Related

General :: How To Start Postgresql Server Automatically When Boot?

Aug 5, 2010

I'm wondering how I start it automatically when I boot up the ubuntu 10.04? especially, when I created the user "postgres", I set a password to it. every time I issued "su - postgres" command, I need to give it a password.

View 2 Replies View Related

General :: Enter The Boot Prompt For Red Hat 5.3 Kick Start?

Apr 5, 2010

I have ks.cfg and file.iso burned to a DVD. Both files are at the root of the DVD. Besides that, I also created a folder and keep some drivers in the folder.

I inserted the CD and reboot the server ( which already has a red hat 5.3 that I installed before, I want to erase it using kick start ).

Howver, I just can't get into the much said "boot prompt".

Do we need to press certain hot key during certain stage of reboot?

View 5 Replies View Related

General :: Start Up The VM - Get A GRUB Menu Allowing To Boot?

Nov 29, 2010

In order for me to get started with Linux, I downloaded & installed Virtualbox (V3.2.10) on my WinXP machine, and downloaded the Puppy Linux image from as per[URL].. When I start up the VM, I get a GRUB menu allowing me to boot

Quote:
Linux (on /dev/hda1)
Install GRUB to floppy disk (on /dev/fd0)
Install GRUB to Linux partition (on /dev/hda1)

I tried the first option, which results in Quote:

Booting 'Linux (on /dev/hda1)'
root (hd0, 0)
Filesystem type is ext2fs, partition type 0x83
kernel /boot/vmlinuz root=/dev/hda1 ro vga=normal

[Code]...

View 7 Replies View Related

General :: Adding Script - SH File Did Not Start At Boot Up

Mar 14, 2011

How do I add a script to rc.local to run at bootup?? I've few .sh files, service files and .cgf files. The service files are fine but the .sh file didn't startup at the bootup. I've included the .sh and cfg file as below:
/path/to/directory/file.sh start
/path/to/directory file.cfg

View 14 Replies View Related

General :: Start X Server And App At Boot (or Services Load) Time

Oct 14, 2009

I need to start an application (graphical) when the PC start, even before anybody login, and use/launch a specific user. Now only can do this manually; when gdm starts, switch to any text tty [ie. Ctrl + Alt + F1], then I login into the special user, start a X server, export the DISPLAY environment variable, and start the application.

With this steps:
Code:
$X :1 -verbose -nr -nolisten tcp &
# Maybe Metacity -> $ metacity
$export DISPLAY=:1
$JavaApp &
Now i need put this steps (script) in some place to launch the app automatically, and with and specific user [ie. manager].

How can I made it? Maybe in init.d? or an special xinitrc? And how can start the app with the specific user? And, if is possible, who can stop the app when the system going turn off? I have Debian 5.0 and a beginner knowledge of shell script.

View 5 Replies View Related

General :: To Start On Triple Boot Acer Aspire One Netbook

May 13, 2011

I currently have an Acer Aspire One netbook 120GB drive which came with Linpus lite preloaded. I have set-up dual boot a year or so ago. It now dual boots to either Linpus or Vista (yes I know!) via the Linpus grub.conf ( I got the instructions I think from here: [URL] I want to get the latest Ubuntu 11.04 build on this as a third boot option. If this work OK I may ditch the Linpus or Vista build at some point. So I've used Gparted on a USB drive to setup up three extended Logical Partitions (sda5, 6 and 7).

I then loaded Ubuntu s/w via an external drive with

/boot on 100MB /sda5
Swap on 1GB /sda6
/ on the 40GB+ /sda7

When I was asked for the bootloader location in the Ubuntu install gui I chose /sda5 (out of complete ignorance) All fine at this point. What do I have to get the linpus lite /boot/grub/grub.conf to see and start ubuntu?? Or is there something else I need to do?? Also, how does Ubuntu know which swap partition to use, as there is already one for the linpus lite install.

View 14 Replies View Related

General :: LiveUSB - Boot Screen Appears But Do Not Start And Continue

Aug 5, 2010

I created a live usb and I am trying to boot linux, but after it starts a large written ubuntu screen when starting appears i.e its boot screen but it do not start and continues as if it is still loading.

View 8 Replies View Related

General :: Boot Loader Failure - Windows Could Not Start Because The Following File Is Missing

Oct 18, 2010

I have a system with 2 hard drives. One drive (D) is my Ubuntu 10.04 system and the other drive (C) is my Windows XP system.

When I boot, I get BIOS then GRUB. If I choose the XP selection I am taken to a Boot Loader that now longer works. I get an error saying: "Windows could not start because the following file is missing. <windows root> system32hal.dll Please reinstall a copy of the above file.

Can I remove the boot loader and let Grub take me directly to the C:/windows? If so how?

View 4 Replies View Related

General :: Deleting The Dual Boot Option Menu At The Beginning Of Start-Up?

Mar 7, 2011

I'm currently having a problem trying to remove the black screen that appears at Start-Up that asks me which operating system I want to run...I've already deleted wubi but this screen keeps appearing every time my computer starts up...How do I remove or disable this feature?

View 1 Replies View Related

General :: Make Windows 7 Start Automatically With Dual Boot Fedora 14?

May 25, 2011

I have Windows 7 and Fedora 14 both on my laptop in dual boot configuration. When my computer starts up it shows a screen that says press any button to select another operating system to start, then I can make Windows 7 start. But after 2 seconds, if I DON'T press any button then Fedora starts automatically. How can I change this so Windows starts automatically when I don't press any button?

View 4 Replies View Related

General :: Fedora 12 After Upgrade - When Start Interactive Boot It Hangs After Trying To Run The Service Local

May 19, 2010

Recently i've upgraded my fedora 11 to 12 using the preupgrade command and now I have a problem booting! when i start the interactive boot it hangs after trying to run the service local, it looks as if its trying to boot because the cursor blinks really fast then blinks normally after a few seconds. no error was stated during the event. what seems to be the problem here?

View 3 Replies View Related

Ubuntu :: GRUB Boot Menu At The Start Like Any Other Dual-boot System?

Jan 28, 2011

I've installed Ubuntu on my new desktop alongside Windows 7 (each OS is on a separate drive), I seem to have run into a small problem. Let me start with what I did:

- Unplugged 1TB drive from the PSU, BIOS was not seeing my formatted (and thus empty) 500GB drive and I couldn't put it into the boot order at all with the 1TB turned on.

- Loaded up the boot CD and was able to install Ubuntu 10.1 on my 500GB drive.

- Did a bit of configuring, shut my PC off and plugged my 1TB (with Windows 7) drive back in. I tried to see if I could now see my Ubuntu drive in BIOS but nothing is there - just the Windows drive is in the list of available drives to boot from (along with DVD-ROM and USB).

This is where I've run into my problem. What I want is to have a nice GRUB boot menu at the start like any other dual-boot system but just have the two operating systems on separate drives altogether.I did it this way because I was having issues with the advanced partition menu on the boot CD so just went ahead and followed the KISS method by unplugging the Windows drive.

I was told by a friend that if I put my Ubuntu drive into the first position in my boot order and the Windows drive in the second, then I could boot into Ubuntu and run a GRUB update command (he told me to google it) and that would create the necessary GRUB that had the entries for Windows 7 and Ubuntu.Both operating systems are 64-bit, I imagine that might make a difference in whatever help you guys can offer me. I love the hell out of both OS's and want to be able to use them interchangeably.

View 5 Replies View Related

OpenSUSE Install :: Boot From USB Connected External Hard Take Long Time From Loading INITRD Image To Start Boot Process?

Jul 18, 2011

I have installed "open-SUSE 11.4" on a "500GB Free Agent External Hard Drive". I didn't have any problem in booting since last week that I booted it from my laptop. Also I did it before several times from then when I try to boot it e.g. from an "Intel(R) Core(TM)2 Quad CPU Q9400 @ 2.66GHz" PC the time between loading INITRD and starting boot sequence messages lasts nearly 30 minutes!(i didn't actually measure it but it take a long time in the same order). after starting boot sequence which is showed on monitor everything looks normal. e.g copy of files would be done by speeds between 2MB/s to 30 MB/s depending on the targets.I used to use the external hard derive to boot from different laptops and PC's from start but I didn't have such a problem anytime.

View 1 Replies View Related

General :: Start Script Bash When System Start Stop Reeboot?

Dec 10, 2009

I have 3 script BASH. I want start this script when the system start,stop and reeboot.

View 4 Replies View Related

General :: Start Up Script That Displays Icons On The Far Right Of Start Panel?

Sep 2, 2010

I am using Rhel5 and I'm new to linux so pardon me for sounding a bit green around the ears.Anyway..I got an error message a few weeks ago about how the start up script that displays icons on the far right of my start panel was malfunctioning and it was going to be deleted from the start-up. didn't really know what it really meant and I just clicked ok.wireless eth0 status icon as well as my amarok status icon are hidden on the start panel. How do I get it back/add that script back to the start-up

View 6 Replies View Related

General :: How To Get Conky Start Automatically When Start Fvwm

Sep 22, 2009

I use Opensuse 11 with fvwm. How can I get conky start automatically when I start fvwm?

I setup the conky under fvwm session for my Opensuse 11 but it won't start automatically. I am wondering how to write some kind of scripts to force it to start automatically and with a delay about 10 seconds after fvwm starts.

View 10 Replies View Related

Fedora Servers :: Mysql At Boot Time In 10 / Get Mysql To Start At Boot?

Jul 28, 2009

I am trying to get mysql to start at boot without any success.

The mysqld scripts works fine when run from the command line, but it does not work when i use the links created by chkconfig. I checked the boot.log and found that mysql starts but then it stops or gets shutdown. This is the log message:

Starting mysqld daemon with databases from /data/mysql [ OK ]
Starting cups: [ OK ]
STOPPING server from pid file /var/run/mysqld/mysqld.pid
starting DenyHosts: /usr/bin/denyhosts.py --daemon --config=/usr/share/denyho
sts/denyhosts.cfg
090727 04:35:47 mysqld ended

The same init script works fine in Ubuntu.

View 2 Replies View Related

Ubuntu :: 9.04 - MPD Start Up At Boot

Jun 2, 2010

Running ubuntu 9.04 and have mpd installed and running good. I just cant seem to get it to start at boot. I want it to run on a headless system so don't want to have to login to start it. I have successfully done this on another system but I cannot remember how I did it and cant seem to find.

View 7 Replies View Related

Ubuntu :: GDM Does Not Start At Boot

Oct 15, 2010

So for the last few days gdm ans not started on boot up. tty7 is a blank screen and I'm automatically put in tty1. There I can log in and run gdm manually.

It has a started automatically a few times with out me doing any changes, but most of the times not. So far I haven't found out what the cause is but I've found some similar (the same?) problems:

[URL]

I'm running 10.04 64-bit if it matters.

View 5 Replies View Related

Slackware :: How To Start KDM At Boot

Jun 5, 2010

Is there a way I can tell the system to boot up KDM when the system is booted up completely?

View 1 Replies View Related

Debian Installation :: Boot Up The USB And Start Using?

May 2, 2011

Unfortunately I only minored in Computer Science, but I enjoyed it nonetheless and unfortunately I stopped using Linux after those classes. During this time I actually really got to like Linux (the class used Ubuntu but my friend who was majoring in it got Debian for me).

I only got a C in that class because like I said, it was something I minored in. Anyways, my main question is how do I install Debian on a USB (not a FAT32) so that if I move it from home to work or something, I can just boot up the USB and start using Debian on that computer (assuming it has something else like Windows for example)?

View 12 Replies View Related

Fedora :: Cannot Boot And Start The Installation ?

Mar 30, 2010

I downloaded fedora from the site, burned the iso it starts up, the loading fedora logo appears and after that I get a strange grey and black screen and no login screen.

I have win 7 running on this laptop 2gb ram, 1,86ghz... 256 graphic card.

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved