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?
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
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
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>
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"
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
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?
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.
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.
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.
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
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.
I just installed my machine with ubuntu 9.04. When I run "init 3" or "telinit 3", nothing happens. I need to exit the X server to install a video driver.
Actually, I want to add my programe called 'fw1loggrabber' to be added once the computer boot (without considering specific time / without CRON). I have check in internet, what should i do are create an init script then make a symbol link under /etc/rc2.d for start and stop the programe. I have modify "Skeleton" script that i find from /etc/init.d/ to be suitable to my programm
I've been using ubuntu for around 4 months now and have never had a problem until recently. My OS became unresponsive all of a sudden and all I could do was force shutdown my laptop by holding the power button. When I turned it back on, I was given the "No init found. Try passing init= bootarg" error. I have looked around online and most solutions point towards a live cd, which I don't have.
I have a Dell Mini 12 running what I think is Ubuntu 10.10 Netbook Remix. It won't boot all of a sudden, saying 'No init found'. I've been through [URL].. which is VERY close to my problem but I cannot get Disk Utility to work when running off my Live USB. Asking it to check the hard drive results in it telling me the filesystem is 'not clean'.
I am willing to boot up in a text mode, and then start X windows when I want to.I found the procedure Ubuntu used is different from other distribution. Would some one give me some hint?
I have a headless Ubuntu computer which is primarily use as a server but which has Ubuntu desktop edition installed. I use X forwarding through SSH occasionally to use GUI programs so I am not looking to remove them. However, I would like to disable any GUI elements that would be started automatically when the computer is booted. Is the graphical login screen the only thing that would be run? or is nautilus, gnome-session etc. started as well? How would I go about removing the necessary entries from the init scripts?
I have a problem with ssh, in that it's extremely slow when using putty to connect from Windows. A bit of googling suggested that I should use -u0 as a startup option since there's no DNS entry for this machine.
So, at the risk of sounding stupid, how do I put this options in to the /etc/init.d/ssh file? I tried adding it in the the "set" part but got an error, tried adding another "set" line and got an error and tried adding it to the first command there, but also got an error! Where does it go?
I just installed ubuntu 10.04 on a pc... the server edition. i went to restart samba and it is not in the init.d directory. is there a different folder for server plateforms? cause im use to my 9.10 desktop edition.
also one more question, when i "ls" the /ect/ directory of course i cant see the whole thing because my monitor only shows the bottom of the file, is there a way to list it like the "more" commands, or possibly scroll up?
Is there any way to apply dependency (order) to the execution of init.d scripts ? I wrote a script and put it in init.d folder and then executed the relative update-rc.d command, but the problem is that the command fails executing on boot time, but it executes with no problem manually. I found that it requires another service (mysql) which I guess it's not ready in time which the scripts starts.
I have made a bootable pen drive (2gb) and have a 30gb partition on my hard drive for unbuntu Im trying to try the OS by USB at the start into The BIOS If ya gets what i mean It successfully loads The Options menu where you pick a choice like run from usb So i run from usb and and it Loads Ubuntu just the purple background and the beans underneath it loading forever in the Logs this comes up
/init:line7:cant open /dev/sr0 :No medium
It will keep going like that anyone know whats wrong? Im using Windows 7 Build 7100* with a computer i built a year ago Intel e8400,6gb Ram, Asus P5Q SE Pro,and 100gb left on hard drive (30 Excluding cause i partitioned it =P) how do i remove the Floppy drive out of BIOS? i have it at the boot up priority at the last 1st is my hard drive then USB then CD Drive
I had to compile openssh so I could have a version with the HPN-SSH patch applied. The compile seems to have gone fine, but oddly enough I have now have no ssh script in my /etc/init.d directory. So I have no easy way of automatically starting openssh-server.Here are the configure options I used when compiling openssh:
I have been using Debian desktop environment for years. There, I can sudo init 1; do maintenance; exit to desktop environment again. But when I `resume' from Ubuntu-10.10's maintenance mode, I can just Ctrl-Alt-F1 to login and there seems not an interesting process running.