Debian :: How To Install A File In /etc/init.d/
Sep 10, 2010use command dpkg -i ****.deb let my deb install a file in /etc/init.d/ what i need to change in debin/rules file?
View 9 Repliesuse command dpkg -i ****.deb let my deb install a file in /etc/init.d/ what i need to change in debin/rules file?
View 9 RepliesI'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]...
installed lenny and am trying to install brother dcp7010 again:
1) i can't start CUPS server with /etc/init.d/cups restart "file not found", there is a cups@ link in /etc/init.d.
2) when i install dcp7010 cupswrapper
dpkg -i cupswrapperDCP7010-2.0.1-2.i386.de
it ends with
" lpinfo: Verbindung zum Server nicht m�glich: Verbindungsaufbau abgelehnt
lpadmin: Verbindung zum Server nicht m�glich: Verbindungsaufbau abgelehnt"
(connection to server not possible, refused)
3)[URL] doesn't work.
4)foomatic-gui can't find the installed dcp7010 lpr-driver
brdcp7010lpr-2.0.1-1.i386.deb, (a couple of days ago it did)
This is frustrating because it worked in etch and worked for awhile in lenny. The dcp7010-scanner does work.
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.
I have a weird problem with one of my servers. When system is booted and right before I should se "INIT 2.86 starting..." message, all the messages disappear. Only kernel messages get logged to console and later login prompt, but nothing in betweek (there are 20+ services starting successfully, just without emitting a single character).I checked /proc/PID/fd of the boot script (in my case called /etc/rc.d/rc.boot but that does not matter).
The only significant difference in hardware to other servers is that this one runs RV350 AP [Radeon 9600] graphic card.Now, my question is: where could those FDs go or why are they not opened?Does anyone have a clue about this, or a hint?
/etc/init.d/xorg start : No such file or directoryWhen the server boots i get a blinking cursor.
View 2 Replies View RelatedYesterday afternoon, I was playing around with updating my system with RPMs from the openSUSE RPM Search. I had bash v 4.0.18 (I'm running a decaboot, the primary OS being openSUSE 11.2, where the issue is) and I installed a package that was bash 1.0.36. I restarted my Yakuake terminal to see the new bash. Immediately, I noticed the Yakuake terminal flashing rapidly, and the terminal wouldn't go down when I used the key that brings up and down, so I controlled-alt-escaped it and killed it off. Then I wondered if it was just me, so I hit ALT-F2 and logged in as root. It quickly said some symbol file (Something)_(Something)_REWRITE(maybe) then disappeared, giving my the login prompt. I though, well, OK maybe I have to restart it to get it to work. Init said "there is no more processes left on this runlevel" and I had to Power-Button it and reboot. When it rebooted, or tried to, I was greeted with "KERNEL-PANIC Tried to kill init"
I panicked with the kernel, and I went into my 11.3 Milestone 4 installation, tried to chroot it, but I received the same error as when I tried to log into root and was returned to my 11.3 session.
I later tried to do a mock update with the 11.2 DVD, and tried with the YaST package manager to downgrade BASH, but the RPM installation failed, even on good DVDs. I tried the rescue, but it said BASH wasn't a "critical file" while things I don't even use were checked (like openssh)
From 11.3, I tried linking sh from bash to ksh (Korne Shell). For all I know, it is just like bash. It didn't work. Same kernel error.
I relinked sh and bash together, and I am using SUSE 11.1 in the meantime, but does anybody know how to fix this without reinstalling my SUSE 11.2 completely.
me the difference between /etc/init.d scripts and /etc/init.d/rc?.d scripts.
View 3 Replies View RelatedI have a Lenovo X60 with Intel Centrino Duo Core @ 1.83GHz 1.83GHz, and 0.99 GB of RAM. I am running a dual boot with Windows XP SP3 and the latest version of Ubuntu desktop. My problem is that after I ran the Defrag my C: drive in Windows, I can into my ubuntu.I was greeted with the following error message when i tried to boot into ubuntu {Target file system doesn't have /sbin/init}
View 2 Replies View Relatedow Debian init system is organized actually (btw i am using stretch) ? I see systemd installed, with some services run from it (systemctl shows a small list), but at the same, i still see /etc/init.d full of traditional init scripts.
View 3 Replies View RelatedI need to start script I created every time so I created:
/etc/init.d/startflowcapture.
There I put:
flow-capture -w /var/netflow/ft 0/0/2055 -S5 -V5 -E1G -n 287 -N 0 -R /usr/local/netflow/bin/linkme
I made it executable:
chmod +x /etc/init.d/startflowcapture
But permanently adding it to rc defaults shows this error:
update-rc.d startflowcapture defaults
update-rc.d: using dependency based boot sequencing
insserv: warning: script 'K01startflowcapture' missing LSB tags and overrides
insserv: warning: script 'startflowcapture' missing LSB tags and overrides
I installed ntop and it works but I cant make it autostart with my server. I started ntop with its parameters and it works as a daemon but if I restart the server ntop wont load even if an ntop file is in /etc/init.d. I executed rcconf and it wont list ntop. How can I make it autostart in daemon with my parameters? (like ntop -d -w12345)
View 7 Replies View Related# /etc/init.d/dhcpd.conf -bash: /etc/init.d/dhcpd.conf: No such file or directory what is the problem? and how to configure out "joe"
View 5 Replies View RelatedI installed ubuntu on my dual boot Debian/Lenny and windows 7 toshiba laptop. Now when I try to boot Lenny i get the following error messages:
kinit : name_to_dev_t(/dev/sda6)=dev(8,6)
kinit : trying to resume from /dev/sda6
kinit : No resume image doing normal boot ....
[code].....
I can see the whole filesystem is there. The problem may have something to do with the boot loader. I was originally using Grub 1.5 when I just had Lenny and Windows 7, but when I installed ubuntu it has installed GRUB 2. When I use the debian install cd to go into rescue mode, all the init scripts are still where they should be. Another thing that happened when I partioned of a section for ubuntu all the dev numbers went up one. In the debian /boot/grub/menu.lst windows 7 was booting under (hd0,1) now it boots under (hd0,2) debian used to boot from (hd0,7) with root=/dev/sda8 but now it is under (hd0,8) root=/dev/sda9 in the GRUB2 menu.lst. Is there anyway to get my Debian back up and running? After 6 months of studying it at uni I am finally learning my way around and want it back.
My setup: Debian Squeeze;4 physical partitions, 3 of those create 1 volume group, 13 logical volumes within that vg; 1 unencrypted(boot); all others encrypted including swap.As stated in the man crypttab:The order of records in crypttab is important because the init scripts sequentially iterate through crypttab doing their thing.
View 2 Replies View RelatedI have a firewall script setup to run in rc2.d. There is a K99 for it and then an S99. The problem however, is that it isn't being called. No errors, no logs, nothing. The symlinks in /etc/rc2.d point to /etc/init.d/script, but nothing ever happens on boot or shutdown. I can manually do /etc/init.d/script start and it will start just fine, including printing a line that it is starting. What's going on here? The permissions are the same as the other scripts in the init directory, so I doubt that is a problem.
View 4 Replies View RelatedI installed jessie. every time reboot jessie i have no sound and i must run "alsactl init", after run command all things work great.
View 1 Replies View Relatedrecently 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 RelatedI 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 RelatedopenSUSE 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.
Is it possible to disable all passwords in debian. I do not need any security usernames and passwords. I don't want type sudo all the times and i want free acces all the time. With debian i allways have some premission problems and why i need a password for my home computer?
1. For example today when i tried to install a file debian told me that my username is not in sudoers file. How can i fix this? 2. Is it possible to disable all passwords and asking admin premission, i dont need that kind of ??? for my home computer. (including the login screen user/password asking) And i am sorry for my grammar errors, i hope you can still understand what i have tried to say.
I am using Ubuntu 10.04 LTS. Two days ago I updated using update manager. After that I can not boot Ubuntu. When I trying to boot system showing message " Ubuntu is running in low-graphics mode Your screen, graphics card and input device settings could not be detected correctly. You will need to configure these yourself" But I can not configure it.I can not boot to 'recovery mode' also
/var/log/boot.log
Code:
fsck from util-linux-ng 2.17.2
/dev/sda6: clean, 304282/1680960 files, 2964945/6723194 blocks
init: Failed to spawn ufw pre-start process: unable to execute: No such file or directory
[code]....
Now I am using Live CD.
I have an Acer 9410Z laptop that I believe is running the Maverick Meerkat version of Ubuntu Studio. I just did an upgrade using Synaptic. I get to GRUB, but When I try to boot 2.6.35-22 (or the recovery mode or a real time kernel I had installed )I get the error:
INIT: Failed to spawn ureadahead main process. No such file or directory I then get the Ubuntu Studio splash screen for 2 seconds but then instead of a normal boot I end up in the terminal.
This is embarrassing. I can't get a wireless address from my router with dhclient. The distribution is sid/lxde/liquorix kernel with no network manager on /dev/sdb1.
root@sid:/home/jheaton5# dhclient -4 -v wlan0
Internet Systems Consortium DHCP Client 4.1.1-P1
Copyright 2004-2010 Internet Systems Consortium.
[code]....
I'm having some difficulty starting a service from an init.d script. It relies on the availability of a network filesystem (glusterfs) which is mounted from fstab. The service starts before the filesystem is up, and crashes.I've tried adding "# Required-Start: remote_fs" to the service init.d script, and delaying it by changing the ordering with "update-rc.d service defaults 90", but neither seems to work. If I add a "sleep 10" to the script, that works, but it feels wrong.Is there some way to get the ordering right? To delay starting the service until after everything in fstab is ready to g
View 2 Replies View RelatedWhile 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.
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.
Here is my xorg.conf when I attempt to use fglrx:
Section "Device"
Identifier "ATI RADEON HD4850"
# Driver "ati"
Driver "fglrx"
EndSection
Also, doing /etc/init.d/start/ gdm3 says Starting GNOME display manager: gdm3 but it doesn't do anything. I tried pressing ctrl+f1 all the way to ctrl+f12 and nothing. What does work however is sudo gdm3 (with the "ati"/"radeon" driver --- nothing works at all with fglrx).
I am trying to get fglrx working because I want to fix this compiz issue I've been having here which could be related to the shortcomings of the "ati"/"radeon" driver: viewtopic.php?f=10&t=40991&p=312577#p312577
When trying to install Debian 6.02 from a boot cd, the boot halts with the error message Kernel panic - not syncing: No init found. Try passing init= option to kernel. In looking for a solution I see a great deal about this problem occurring after messy upgrades and the like, but when when booting from a cd downloaded right from the debian website.
View 3 Replies View Related