Ubuntu :: /etc/init.d Script Not Loading On Startup?

Jul 14, 2011

I fear I may have missed something simple, but I have a "miner" under /etc/init.d

Code:
#!/bin/sh
### BEGIN INIT INFO
# Provides: Miner
# Required-Start: $all
# Required-Stop: $all

[Code].....

I can also manually can start, stop, and restart on it. However, it does not launch on startup. I can find no messages in /var/log/syslog showing any attempt to start it. Did I miss a step?

FYI: uname -a Linux wrath 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 athlon i386 GNU/Linux

View 7 Replies


ADVERTISEMENT

Debian :: Loading A Module From The Init Process?

Dec 6, 2010

recently I've updated my kernel, i had to reconfigure some stuff, in particular, the b43 module is not loading at init process, my question is: what command should I use to load it from the init? or what file should I hagve to edit?

View 1 Replies View Related

Ubuntu :: Init.d Startup Script ?

Oct 24, 2010

I have a startup bash script to give the user options at startup (launch firefox etc), however it causes ubuntu to hang on the loading screen with red things at startup. I dropped into command line and removed it, so that is definitely the problem. The script works...does anyone know if having a startup script in init.d can open a terminal to interact with the user, and why this script causes ubuntu to be unable to startup?

View 4 Replies View Related

General :: Ubuntu Init.d Script Not Being Called On Startup

Oct 29, 2010

I've got a script in ubuntu 9.04 in init.d that I've set to run on start on with update-rc.d using update-rc.d init_test defaults 99. All of the symlinks are there and the permissions appear to be correct

-rwxr-xr-x 1 root root 642 2010-10-28 16:44 init_test
mike@xxxxxxxxxx:~$ find /etc -name S99* | grep init_test
find: /etc/rc5.d/S99init_test

[code]....

The script runs through source and ./ without issue and behaves correctly. Here is the source of the script:

#!/bin/bash
### BEGIN INIT INFO
# Provides: init test script

[code]....

When the machine starts, I don't see "script called" or "start called" in the test.log at all.

View 1 Replies View Related

Fedora :: View The Startup Programs Of Init Whenever Boot Up?

Aug 26, 2010

I am trying to view the startup programs of init whenever I boot up, but don't know how to edit /etc/inittab file. I am running Fedora FC13 and my runlevel is 3. I have the following in my inittab file:

Quote:
#
# inittab This file describes how the INIT process should set up
# the system in a certain run-level.
#
# Author: Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>

[Code]...

View 5 Replies View Related

Programming :: Startup Scripts In Init.d Disappear After Boot Up

Jul 8, 2010

I'm running a Debian based Linux compiled for ARM9 hardware. I am trying to auto start a process on bootup but occasionally I find that my startup script becomes empty (i.e. the file still exists but has not data). The script is located in /etc/init.d/S91-sercom

Here's the script:

Code:
#!/bin/sh # /etc/init.d/S91-sercom
# Start the Serial Communication Protocol Program at boot
echo "Starting Serial Communication"

[Code]....

View 1 Replies View Related

Fedora Networking :: Setup Pppd On Startup With Init.d Script For Vpn?

Apr 3, 2011

I can connect to Strongvpn (pptp) through command line call 'sudo pppd call stongvpn' followed by' route add default dev ppp0'. Everything works well.I would like to set this up on start up. I use kde. I have set up basic /etc/init.d/strongvpn script which gets called at boot and creates ppp0 but the route command does not seem to work. When I use command route add in terminal the connection comes up.Here's my /etc/init.d script

#!/bin/bash
# chkconfig: 345 85 15
pppd call strongvpn

[code]....

View 3 Replies View Related

Software :: PuppyLinux Installation - (loading The Lup525.sfs Mainfile) To Ram - Kernel Panic Not Synching Attempt To Kill Init

Apr 27, 2011

When loading puppy linux on my computer from a CD I get an error message on the third step which is (loading the lup525.sfs mainfile)to ram. kernel panic not synching attempt to kill init. The CD works on other computers with no problems. My computer is a dual boot XP and Win7 machine.

View 3 Replies View Related

Ubuntu :: Snd-hda-intel Not Loading At Startup?

May 18, 2010

I posted this as a bug: [URL]

On Ubuntu Lucid Lynx, 64-bit, 2.6.32-22-generic kernel When I log into the system, the speaker icon in the upper bar is black (just an outline) suggesting there is no sound output available. After further inspection I found that the snd-hda-intel kernel module isn't getting loaded.

I have to load the module myself (using 'modprobe snd-hda-intel') every time I turn on the computer.

View 2 Replies View Related

Ubuntu :: Wallpaper Not Loading At Startup?

Nov 27, 2010

I'm having this problem since some time ago, in which the wallpaper won't load at startup. I have to manually go to the Appearance Manager and load it.

Isn't there a way to do this automatically at startup? I know it's kind of a minor thing, but I'm all for aesthetics of my pc.

View 1 Replies View Related

Ubuntu :: KB-Mouse Usb Not Loading Startup?

Jul 12, 2011

Ist install 11.04, everything excellent-dual boot. usb kb & mouse. everything fine until install ATI upgrade. reboot then cannot use kb/m - so cannot edit or go past login?

View 1 Replies View Related

Ubuntu :: Startup Applications Not Loading On 9.10 Boot

Sep 3, 2010

Since several months ago (I think when I upgraded to Karmic), whatever program I add to session startup won't load on boot, and no icon appears at the top-right of the screen, only clock and shutdown button (no audio etc.). [URL] didn't help, nor did searching in forums and bugs. I've enabled debug to /etc/gdm/custom.conf, and this is my .xsession-errors first part:

Code:
Unable to create /home/name/.dbus/session-bus
(gnome-settings-daemon:1957): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
(gnome-settings-daemon:1957): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
Avviso del window manager: Lettura del file della sessione /home/name/.config/metacity/sessions/10202b25c953eedbf3128344035910216700000019440001.ms non riuscita: Apertura del file "/home/name/.config/metacity/sessions/10202b25c953eedbf3128344035910216700000019440001.ms" non riuscita: Nessun file o directory
Unable to find a synaptics device .....

I removed .recently-used.xbel to avoid recently opened files to be logged, so this explains part of these errors. I had disabled gnome-screensaver but now I would need it to automate screen lock and looks like dbus may be the problem. My .dbus directory is empty.

View 1 Replies View Related

Ubuntu :: Startup Disk Creator Not Always Loading Iso's?

Nov 8, 2010

I have this problem across all my computers running Ubuntu (Lucid and Maverick installations). It works sometimes but it's hit and miss. Sometimes it will load up an iso no problem and i have a start up flash stick in no length of time. Other time's it will not load up an iso. I have tried formatting my flash drive these times but it doesn't make a difference as the drive is always recognised by the program yet i sometimes can't load an iso. When this happens i find that i generally have the same problem at the same time on my other Ubuntu installations. I find it weird. Anyway it's very frustrating when i come across another distro that i really want to try out and i cannot load the iso in the program.

View 3 Replies View Related

Ubuntu :: Prevent A Program Loading On Startup?

Feb 24, 2011

How can I prevent a program loading on startup? The program does not appear in Preferences / Startup Applications. I want to avoid having to sudo kill all programname every-time I login.

View 2 Replies View Related

Ubuntu Installation :: Getting Desktop With Pointer Loading On Startup

May 28, 2011

I am new to ubuntu (from today) so I know nothing above, so I install it, and trying to load it, I have a problem if I try to start my session "ubuntu"or "ubuntu classic" I fall on the wallpaper, with a pointer loading, but loading is "eternal", the only way I have to use it is run "ubuntu classic (void)" or "ubuntu (secure mode)".

View 1 Replies View Related

Ubuntu :: Error While Loading Shared Libraries : /lib/libc.so.6 During Startup

Jun 3, 2010

After the upgrades have installed on my installation of Ubuntu 10.4 (there were some kernel upgrades, I don't remember if there was any libc update there) it asked me to do a reboot. So I did and I got that error when Ubuntu was starting:

Code:
/bin/sh: error while loading shared libraries: /lib/libc.so.6: invalid ELF header
Kernel panic - not syncing: Attempted to kill init!
And if I run Ubuntu in recovery mode there's what I get after this:
Code:
Pid: 1, comm: init: Not tainted 2.6.32-22-generic #35-Ubuntu

There's also Call Trace after this, and a bit of text there, but as I'm rewriting those errors from a photo captured (because I cannot find logs of this in /var/log/) I will skip it unless it's needed to solve the problem. EDIT1: I cannot find anybody who had this problem during startup, there are only guys who had this during compiling or installing software

View 9 Replies View Related

Ubuntu :: Prevent Loading X During Startup After Error In Xorg.conf

Aug 22, 2010

I am using ubuntu 10.04 and made some changes in Xorg.conf to try enabling twinview. Unfortunately, Ubuntu just stops at the startup logo now. Is there a way I can stop the loading of X, so I can undo the error in Xorg.conf and hopefully make Ubuntu load normally again? Grub automatically loads Ubuntu, there is no Grub menu that allows loading of some alternative config.

View 1 Replies View Related

Software :: Rhythmbox Not Loading Library On Startup?

May 20, 2011

When I startup Rhythmbox music player I have no library. Whats strange is when I click edit/preferences/music and then browse to select my library location (which is already correct), apon selecting the hard drive that my library is on the whole music library suddenly loads and I don't have to re-select my library folder, I just cancel the preferences window. But if I just wait for Rhythmbox to load the library without beginning to remind it where it is, it never loads.

View 2 Replies View Related

Ubuntu :: Running Old Script Instead Of Updated Init.d Script On Startup

May 27, 2011

i wrote a script and placed it in init.d some time ago to run on system startup. that all works well and good. but now i have changed the script (all i basically did was add the line echo 'afasdfasdfsf' > /tmp/x at the start), and the problem is that when i reboot, the old script still seems to be running (ie nothing shows up in /tmp/x). is this a standard feature of ubuntu and i simply need to reload the new script into some sort of cache?

View 2 Replies View Related

OpenSUSE Network :: XFCE Not Loading KNetworkManager On Startup?

Nov 19, 2010

After switching from KDE to XFCE, knetworkmanager doesn't automatically start when you log in. If you open it yourself, you magically get internet. How can I add KNetworkManager to the programs automatically started by XFCE?

I'm on 11.3

View 1 Replies View Related

Networking :: Wifi Rt8192e Not Loading Module On Startup?

Feb 18, 2011

download new driver compiled and installed boot it is not loading. uname=Linux Kev 2.6.35.11-83.fc14.x86_64 #1 SMP Mon Feb 7 07:06:44 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

lsusb=
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 002: ID 03f0:0024 Hewlett-Packard KU-0316 Keyboard
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

[Code]....

View 1 Replies View Related

SUSE / Novell :: Enable Automatic Loading Of KDE On Startup In 11.1?

Dec 20, 2008

I have updated from 10.2 to 11.1. When 11.1 starts I get into the CLI rather than an automatic startup of KDE. I can login at the CLI, then type "startx" to start KDE. I know there is someway to automatically start KDE when the computer boots, but just can't seem to find it. Can someone point me in the right direction? With 10.2 I was able to automatically load KDE as myself as user and would like to have that again in 11.1.

View 6 Replies View Related

Ubuntu :: Computer Seemed To Be Frozen - Reboot - No Init Found. Try Passing Init - Bootarg"

Jan 1, 2011

I've been dual booting 10.10 with Windows7 for about a month. Today is the first time I've encountered a serious problem.

This morning, nothing functioned properly after trying to open several programs. The computer seemed to be "frozen", although the mouse was working fine.

I decided to reboot, but then encountered an even bigger problem.

It failed to boot and got this message: no init found. try passing init= bootarg

The problem now is that it requires a Live CD session and I keep getting this: GLib-WARNING **: getpwuid_r(): failed due to unknown user id (0)

In case it matters, I didn't install 10.10 from an ISO, I just upgraded from 10.04.

View 2 Replies View Related

Ubuntu :: Error - No Init Found - Try Passing Init=bootarg

Jan 20, 2010

Ubuntu 9.10 will not boot! System froze this morning, I restarted and it is now failing to boot. Starts loading grub and I get this message:

mount: mounting /dev/disk/by-uuid/04aa3697-7bc0-45b5-b86a-77a1e6534bd5 on /root failed: invalid argument
mount: mounting /sys on /root/sys failed: no such file or directory
mount: mounting /dev on /root/sys failed: no such file or directory

[code]....

I booted with 9.04 LiveCD discovered the drive could not be mounted-ran fsck -ln and it told me the drive has no valid partition table. I have had intermittent problems mounting flash drives before this, so I'm kind of worried it might be a hardware issue.Also have files on that drive I would rather not lose, so reinstalling is hopefully a last resort.

View 9 Replies View Related

Server :: Diffrence /etc/init.d And /etc/init.d/rc.d Scripts?

Jul 29, 2010

me the difference between /etc/init.d scripts and /etc/init.d/rc?.d scripts.

View 3 Replies View Related

Ubuntu :: Wont Boot - "no Init Found. Try Passing Init=bootarg"

Jan 31, 2011

While I was using my computer a few days ago, the terminal stopped working properly, so I tried to reboot, and when it started up again it wouldn't boot and said "no init found. try passing init=bootarg"

This has happened twice before, so I really need to figure out what keeps happening, otherwise I can't continue to use linux. i reinstalled both times before. i think that this is caused by a process that prevents me from using the hard drive, because when I try to check the disk in the terminal or in gparted, it says Device or resource busy while trying to open /dev/sda1. Filesystem mounted or opened exclusively by another program?

Also, in the disk utility, in the lower right corner of the filesystem it has a spinning "loading wheel".(i'm not sure if that means anything)

I am using ubuntu 10.10, but am not sure what kernel I am using, but i tried a few different kernel options(there's three of them at start up). safe mode does not work either.

View 3 Replies View Related

Programming :: Init Scripts In /etc/init.d?

Sep 17, 2010

I have written an init script and placed it in /etc/init.d/ directory.What I would like to know is, will the script run automatically or we need to install the script using "install_initd" command.If I have to invoke this command manullay, what will be the best place to do this ? Can I add this to "/etc/init.d/rcS" file

View 6 Replies View Related

Debian :: INIT : Cannot Execute /etc/init.d/rc?

May 7, 2011

I'm trying to boot Emdebian lenny on my compact flash and it shows the following errors during boot time :

Code:
Mounting local filesystems ... done .
/etc/rc.d/S35mountall.sh : line 45 : uname : command not found .

[code]...

View 3 Replies View Related

Software :: Stuck In Init 3 Although Indicates Its Init 5?

Mar 17, 2011

openSUSE 10.3 on Itronix IX260+ Stuck on command line, init 3, and all attempts at graphic init 5 fail. Get these messages:(EE) No devices detected; Fatal screen error: no screens found; AIGLX disabled Primary Device is PCI 01:00:0kernel:device-mapper:multipath round-robin:version 1.0.0 loaderkernel:device-mapper:table:253:0:multipath: error getting device
kernel:device-mapper:ioctl: error adding target to tableProblem would seem to be with the device-mapper, but have no idea how to fix it.

View 3 Replies View Related

General :: Kernel Panic - Not Syncing - No Init Found - Try Passing Init - Option To Kernel

Apr 19, 2011

Im am building a Linux distro. It will be very tiny and fast.

I only have a minimal linuxkernel (bzImage) who is 1,2 mb big. And then I have Busybox who is 174,6 kb big.

The commands in busybox is: cd, ls, mkdir, rmdir, wget, httpd, clear, rm, poweroff, halt, reboot, fdisk, mount, umount, free, and cp.

When I compiled the kernel i use initramfs/initrd function and point it to a folder where initrd/initramfs source is.

The kernel works OK with others initramfs/initrd files. But not with my own.

Quote:

Here is how the end of the kernelcomplie look like.

Quote:

Here is my init file who is the initrd/initramfs source.

Quote:

The initramfs folder contains "bin" (folder) and "init" a file. No more.

The problem is that the kernel cannot find/read init file.

View 4 Replies View Related







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