Ubuntu :: Update-rc.d Ignoring Init Script's Runlevels

Feb 1, 2011

Let's say I have a init script, etc/init.d/strangeScript, that starts like this:

Code:
#! /bin/sh
### BEGIN INIT INFO
# Provides: strangeScript
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog

[Code].....

Why is it not only complaining my runlevels do not match the defaults, which they do, but also is refusing to create the links to the proper runlevels? This is 10.04LTS if that matters.

View 1 Replies


ADVERTISEMENT

Ubuntu Installation :: Apt-get Update Is Ignoring 3rd Party Repositories?

Aug 10, 2010

Something weird happening today with a new 10.04 LTS server install.apt-get update is ignoring 3rd party repositories

Code:
xbmc@xbmc-HTPC:~$ sudo add-apt-repository ppa:team-xbmc-svn
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv A292248FCB9CFB8689A30B7A2BBD133164234534
gpg: requesting key 64234534 from hkp server keyserver.ubuntu.com

[Code]...

I just tried adding the same repository to my desktop pc as well separate install separate machine same error, while checking software sources in gnome nothing seems out of the ordinary. My desktop was updated today via the update manager.

View 4 Replies View Related

General :: Cron Ignoring An Update To Crontab

Feb 19, 2011

I've commented out a line in the crontab on a debian server, which I guess was there by default yet was causing me to get error emails every hour:

# m h dom mon dow user command
17 * * * * root cd / && run-parts --report /etc/cron.hourly

However, the error emails keep coming in as if it hasn't been commented out. The error emails:

Subject: Cron <root@(none)> root cd / && run-parts --report /etc/cron.hourly (failed)
/bin/sh: root: not found

View 2 Replies View Related

Ubuntu :: Way To Change Runlevels

Aug 27, 2010

Changing runlevels is there a different way of doing it?

View 3 Replies View Related

Fedora :: Prevent Yum Update From Undoing Changes Made To Files In /etc/init.d?

Dec 27, 2009

One of my machines is a desktop with a WIFI connection. This machine is not configured to use NetworkManager; instead, it still does things the old way via /etc/sysconfig config files.

Problem: this WIFI connection requires wpa_supplicant. By default, F11 brings up the network at priority 10 and wpa_supplicant at priority 23. So dhclient fails its initial attempt to obtain an IP for wlan0 (it will retry and succeed but by then it's too late). This causes other network-related startup tasks to fail. For example, ntpdate fails. This is problematic for systems with faulty CMOS clock batteries since ntpd will reject updates if the clock skew exceeds some threshhold (so ntpdate is usually used to preset the clock).

The workaround is easy enough: add "Required-Start: wpa_supplicant" dependency to the init stanza in /etc/init.d/network and let chkconfig figure out how to rearrange the priorities. This ensures that wlan0 is actually capable of sending a DHCP request when dhclient starts.

This works fine...until yum update decides to replace the scripts in /etc/init.d and, consequently, things go back to the old, broken startup priorities.

So my question: Can yum be told to not change files in /etc/init.d that have been modified by the administrator? Or to at least not overwrite the LSB-style init stanza in those files?

Alternatively, is there a better way to do this that's not vulnerable to updates? I tried playing with the modprobe.conf "install" option to pre-start wpa_supplicant before wlan0 comes up but that has so far been unsuccessful.

View 5 Replies View Related

Ubuntu Servers :: Runlevels In Or The Lack Thereof?

Jan 23, 2010

I came up on RedHat. While I thoroughly embrace Ubuntu now, I miss the concept of runlevels. I installed all my CentOS servers with Gnome as a convenience on tap when needed. I boot them to runlevel 3 and open a vnc shell if i need gui. Then kill the vnc thus killing the gui. Just a fantastic compromise for me.

SOooo...how to replicate this behaviour in Ubuntu?

NOT a very broad topic on here that I can see. Anyone doing this? How?

View 2 Replies View Related

Debian :: Start A Cron Job From Runlevels?

Jun 3, 2010

I have made a shell script that is ran every 5 minutes (using crontab) that does the following:(please disregard the '.' in ht.tp .. I'm under 15 post...can't post URLs yet ) Code: #!/bin/bashwget -q --read-timeout=0.0 --wait=5 --tries=5 -O /var/log/dynamicDNS.data ht.tp://someURLecho "[$(date)] $(cat /var/log/dynamicDNS.data)" >>/var/log/dynamicDNS.logrm /var/log/dynamicDNS.data >/dev/nullexit 0 (this script might look pretty bad but hey, it's my first one!)hat works perfectly! Though, I need to have this "cron" run from startup (boot) without the need to open a terminal and leave it open.I understand I can use runlevels to start a program from boot but that will have it run only once.

View 5 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

Slackware :: Can I Switch Runlevels During Boot Process

Nov 2, 2010

I upgraded to current, and x won't start... I suspect it's probably an issue with the Nvidia drivers (I forgot to swith my xorg to the nv drivers; I knew I'd be getting a new kernel). Anyway, it leaves me with an unusable computer. Is there anyway I can get into a console before x tries to start. BTW, the ctrl-alt-f1 hotkey isn't working.

View 4 Replies View Related

Debian :: Restore Default Runlevels Of Procps Service?

Oct 6, 2010

Is there a way to restore the default runlevels of procps service? I messed it up while experimenting..

View 1 Replies View Related

Fedora :: Default Runlevels In The Firewall For The Netfs Service?

Dec 6, 2009

tell me the default runlevels in the firewall for the netfs service. I messed with it and rather than enable it, I would like to set it back to default.

View 4 Replies View Related

General :: Use Chkconfig To Set The Bigd Daemon To Start At Runlevels 2 & 3?

Nov 22, 2010

How would you use chkconfig to set the bigd daemon to start at runlevels 2 & 3?

View 3 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

Debian :: Update-rc.d Command Error "unable To Read /etc/init.d/script"

Jul 31, 2011

I have renamed two services by replacing S with K in rc2 and then tried to # update-rc.d script defaults and i get update-rc.d: using dependency based boot sequencingupdate-rc.d: error: unable to read /etc/init.d/script Obviously my command syntax is wrong. I have read the manpage but still do not understand what i have to type.

View 1 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

Ubuntu :: 'sort', Not Sorting Some Characters, Just Ignoring?

Aug 28, 2010

i used 'sort' to sort a 160k line file and looked though it and noticed this

RS:HALP
RS HD
RSHD

[code]....

View 2 Replies View Related

Ubuntu :: Applications Ignoring Mime Types?

May 24, 2011

Files downloaded with Firefox, Chromium, Miro etc. will not open correctly. Clicking to open the file (e.g. jpg or ogg) should result in the file opening with eog or audacious. Results - from Nautilus this works correctly, however from other applications the result is a Nautilus window. Placing a file 'test.torrent' on the desktop and using terminal to do

Code:
gnome-open test.torrent
or
Code:
xdg-open test.torrent
results in the same behaviour. However, simply clicking the file in Nautilus opens it in Deluge (correct behaviour).

View 4 Replies View Related

Ubuntu :: GTK Apps Ignoring Chosen GTK Theme?

Nov 28, 2009

Since this morning, in a normal Gnome session, all of my GTK apps, menus and icons (except, oddly for the Gnome panel) are using the same drab and boring style that they use when they're running as root. Which they're not.No one else uses this computer, and I've made no changes to any GTK-based or affecting settings, except to try to change the GTK controls, with no effect at all. So I cannot understand why this is happening.

View 4 Replies View Related

Ubuntu :: Gnome Apps Ignoring Standard Printer?

Jun 8, 2010

Whenever I want to print a document from within a Gnome application (e.g. Evince, Evolution, etc.) the printing dialogue has the wrong printer selected. I'm in a network that has multiple printers connected, and one of them I set as "standard" in system-config-printer. This is working fine in programs like OpenOffice. Whenever I want to print something here, the printing dialogue has the standard printer selected. Not so for Gnome applications, here the (different) dialogue always has another printer selected (always the same one by the way). Now I can print just fine, but it's annoying having to choose the right printer everytime.

View 1 Replies View Related

Ubuntu :: Remote Desktop Access Ignoring Firewalls And NATS?

Apr 27, 2010

How can I get remote desktop access ignoring firewalls and NATs? I succeeded in creating a remote desktop session within my home LAN.

Though I configured my router to pass through port 5900, and learned the correct external IP, I am unable to create a remote desktop session inbound to my machine, nor outbound to a machine on a remote network (with static IP).

This is caused by various network complications like NATs and firewalls.

Fogcreek's Copilot or Skype on Windows manage to connect with no network reconfiguration.

Is there some remote desktop alternative that "just works"?

View 9 Replies View Related

Ubuntu :: Gnome-terminal Ignoring Preferences Set By Gconf-editor

Oct 2, 2010

I have changed the default gnome-terminal preference but it is ignoring the default geometry I set using gconf-editor.

It is opening in 80x24 and I have it set at 100x25 under

apps
- gnome-terminal
--profiles
---Default

View 4 Replies View Related

Ubuntu :: Re-installing Itself On The Hard-drive, Completely Ignoring The SD Card?

Feb 9, 2011

I got a laptop from a friend. For some reason, it loaded the grub off of an SD card (He was running Xubuntu), so I tried re-installing Ubuntu itself on the hard-drive, completely ignoring the SD card. It wont work. The guy who sold the laptop to me took a look at it, and he's alright with Linux, but he can't figure out what's wrong with it. I tried adding my own partition tables, and they look something like this:

sda1 / 20G
sda2 /home 130G
sda3 SWAP 10G

I know it's more swap than I should have, but I plan on upgrading the RAM.Anyways, we're both completely lost. I think we want it to load a grub menu at this point because one isn't loading.

View 9 Replies View Related

Debian Configuration :: Ignoring Bad Line 1 'powernow-k8'

Jun 12, 2010

I have defoptions=quiet in my menu.list file and it keeps printing

ignoring bad line 1 'powernow-k8' across the screen during boot. The thing is that I have removed that line from /etc/modprobe.d/options, so why do I keep getting the warning?

View 5 Replies View Related

Fedora :: Postfix 2.7.0 Ignoring Main.cf Params

Aug 31, 2010

I've recently upgraded my home server from fc5 to fc13 which means installing the latest version of postfix (identified as 2.7.0 in the maillog). It is used to send mail from cron jobs and logwatch to a local mailbox (aliased) and my googlemail account so I can monitor when away from home. I finally got it working, but had to pull a trick that I feel bad about--it feels very hacky, and does not survive a reboot.The problem is no matter what I do, this version of Postfix ignores the settings for "masquerade_domains", "myhostname" and "mydomain" in main.cf, using instead whatever 127.0.0.1 (or :::1) is set to in /etc/hosts!!

To send mail to Internet locations, the "from" needs to be a valid domain. In an earlier version of Postfix (2.6.x) I just fudged this to a domain I own (that is parked) in main.cf using "masquerade_domains". Now I have to insert it in /etc/hosts instead of "localhost". I can't find anyone on the web who seems to be having this problem. Postfix is definitely reading main.cf as it is obviously picking up other setings such as debug_peer_level and proxy_interfaces.

As I said, it works, but I don't like my solution and /etc/hosts gets rewritten to ":::1 localhost6.localdomain6" when the system is rebooted, meaning I have to edit it to get Postfix working again as sendmail rejects "localhost6.localdomain6" as not found:

[Code]....

View 4 Replies View Related

Fedora :: Screensaver Ignoring Configured Settings?

Dec 22, 2010

I am using F14 installed from DVD, updated to the latest bugfixes for all packages; I also have the nvidia proprietary drivers installed.I have configured my gnome-screensaver using gnome-screensaver-preferences to have a delay of one hour before it blanks the screen. However, no matter the settings I choose (even testing with only a 1 minute delay) the screensaver always kicks in at the 10 minute mark. This persists no matter the graphics driver I use.The only means by which I can stop the screen from locking while watching videos online is to kill the gnome-screensaver daemon.What information should I provide to assist in determining why this is happening? It's very aggravating. I'll include my current xorg.conf in the event that it may help.

View 1 Replies View Related







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