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


ADVERTISEMENT

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

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

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

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

Server :: Order Of Init Services

May 5, 2011

How can I find the order of stated services in boot process? For example I want to check which one runs first: /etc/fstab or networking? I am using ubuntu server 10.04

View 7 Replies View Related

OpenSUSE Install :: 11.1 - X Server Not Stopping On Init 3

Nov 1, 2010

I'm running openSUSE 11.1. When I'm in Gnome or KDE or any Desktop session, the X server keeps running when I do an init 3, (i.e.) I'm still in the GUI instead of going to the console. When I type runlevel it shows that I'm in runlevel 3, but the X server is still running. The X server is not getting killed on an init 3.

View 2 Replies View Related

Ubuntu Servers :: Server 10.04 Does Not Start Init.d Scripts?

May 17, 2010

I have two ubuntu servers. I have upgraded them to 10.04. Now I have serious problems at startup: iscsitarget and heartbeat scripts do not start all the times I reboot.I have installed monit to try to start iscsitarget and heartbeat and guess what? It does not start too at boot.In one of the two server sometimes it also starts with ethernet cards swapped.

View 2 Replies View Related

CentOS 5 Server :: Ventrilo Server Init.d Script?

Oct 3, 2009

I just installed the ventrilo server daemon on CentOS 5.3 and I'm having 2 issues with the init.d script I wrote. Issue 1: the stop command does not work. I suspect due to an issue with where the daemon puts the pid file. Issue 2: chkconfig says that the "service ventrilo does not support chkconfig". The script is below.

#!/bin/bash
# ventrilo server
# Pull in init.d functions
. /etc/rc.d/init.d/functions
VENPATH=/etc/ventrilo
VENBIN=/usr/bin/ventrilo_srv

[Code]...

View 2 Replies View Related

General :: Using For The Server - Bash: /etc/init.d/dhcpd.conf: No Such File Or Directory

Aug 24, 2010

# /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 Related

Server :: Writing Debian Init Script For Process That Has No Syslog Integration?

May 18, 2011

I have inherited ownership of a Debian server process that logs its error message to stdout/stderr. Currently its initscript has lines like:

start-stop-daemon [options] --exec $DAEMON -- $DAEMON_ARGS < /dev/null 2>&1 | logger $LOG_OPTIONS 2> /dev/null &

I have tried to abstract as much of that away as possible. The options specify a pid file, to make a pid file. A subsequent line tries to establish whether the process is up, though I think several conditions are not checked for. This script seems pretty ropey to me. I am trying to start again with the lsb-base one in /etc/init.d/skeleton though that is going to require a lot of modification. get the code change to use the syslog API however that is out of the question at least for now.

1.) Create a named pipe
2.) Start up a logger daemon that reads from the named pipe
3.) start up the server process that writes to the named pipe

It would be ideal for this if start-stop-daemon offered options to specify where the IO of the daemon process should be redirected to. However I am not about to offer to adopt that package (with ~400 bugs) so I doubt that will happen. Trying to specify the redirection on the command line does not work. In the case of the logger daemon start-stop-daemon seems to hang on the system call. In the case of the server process the pipe gets closed when start-stop-daemon exits, so the logger daemon exits. None of that seems surprising.So what I am doing now is to write simple wrapper scripts for the server and logger processes. Both wrapper scripts have this structure:

1.) sanity check the arguments
2.) exec program [suitable redirection of IO]

Then the start-stop-daemon can call the wrapper scripts as daemons. From my experiments so far this seems to work. However I feel a bit uncomfortable with this. It introduces several new wrapper scripts.I cannot think of any obvious security holes but I suppose race conditions are inevitable.

View 1 Replies View Related

CentOS 5 Server :: Writing Init Script For Wrapper - Start As Root Run By User

Nov 27, 2009

I have installed the Apache Directory Server (ApacheDS) Now I need a iniscript that startining the App as Root, so that it can use the Port 389. After them a unprivileged User (apachds) should run the Service. The same solution I am searching for Glassfish. What can I use for them? RHEL and compatibles doesn't have a start-stop-daemon like Debian.

View 3 Replies View Related

Red Hat / Fedora :: NTP In Virtual Server - Error; # /etc/init.d/ntpd Status Ntpd Dead

Apr 1, 2010

I am facing issue in ntp, it is getting killed frequently. see below error; # /etc/init.d/ntpd status ntpd dead but pid file exists After starting service it is works fine but again after sometimes it get in dead postition.

View 5 Replies View Related

Server :: Redhat ES ( 2.4.21-50.Elsmp) Not Booting - Error "no Init Found"

Feb 2, 2011

I am novice in linux and I have installed linux ES in my previous window desktop it was working fine. I try to make a bootidisk and system is not booting anymore. Following error I am getting at the booting time.

sda: sda1 sda2 sda3
Loading jbd.0 module
journalled block device driver load
loading ext3.0 module
creating block devices
creating root devices
creating root filesystem

Kjournal strating. commit interval 5 seconds Ext3-fs mounted filesystem with order data mode. pivrootivot_root (/sysroot,/sysroot/initrd)failed: 2 Freeing unused kernel memory:228k freed kernel panic: no init found. try passing init=option to kernel. ##########################################################

Grub version 0.93 (639k lower/ 2594416k upper memory) checking grub append> ro root=LABEL=hda=ide-scsi.

View 5 Replies View Related

Ubuntu :: After Unning Command "init 1" Server Is Unconnectable?

Sep 17, 2010

Running Ubuntu 10.04 32-bit. I ran the command "init 1" which kicked all users off immediately, which I expected. The problem is now that no matter how many times I reboot the server, it can't connect to any other servers and refuses all incoming connections. I can connect through the console on the VPS's control panel, but that's it. Connecting normally through SSH just gets a refused connection. I'm very gimped now and I have no idea how to fix this.

I tried things like "init 3" but it doesn't help. I am also unable to back anything up, as I cannot make any outgoing or incoming connections other than through the java applet on the control panel. I tried to scp files through it but it fails. how to fix this? Or at least backup files so I can just wipe it?

View 1 Replies View Related

Security :: 100's Of "apache-init-server" - Keeps Running Out Of Memory

Sep 25, 2010

I have a VPS that has 512MB of ram. I'm using it as a mail/web server. It keeps running out of memory. I know amavis/clamav are memory hogs, but I checked my ps aux and found 100's of instances of "apache-init-server" running. I killed them all, and they keep spawning back. What could be causing this. I've never seen this on a webserver before. OS: CentOS 5.5

View 10 Replies View Related

Server :: Kernel Panic - WARNING: Can't Access (null) Exec Of Init ((null)) Failed

Aug 5, 2010

I have a server running Red Hat Enterprise Linux ES (2.6.9.55.ELsmp). When it starts up I get the following error: Uncompressing Linux... Ok, booting the kernel. Red Hat nash version 4.2.1.10 starting WARNING: can't access (null) exec of init ((null)) failed!!!: 14 unmount /initrd/dev failed: 2 Kernel panic - not syncing: Attempted to kill init!

After that I got no response from the OS. I have the installation CD, so I tried to start the rescue mode, while going through the steps I received an error stating that mounting to /mnt/sysimage failed and that if I want to I can access a shell. I really don't know what to do from here

View 6 Replies View Related

Server :: Init Uptime Longer Than System Uptime?

Sep 15, 2010

How can init process uptime be longer than the uptime of whole system?

Code:
martin@server:~> ps -p 1 -o pid,cmd,bsdtime,start
PID CMD TIME STARTED
1 init [3] 20:50 Mar 05
martin@server:~> uptime
2:23pm up 559 days 1:42, 10 users, load average: 0.18, 0.28, 0.34
martin@server:~>

View 1 Replies View Related

Fedora :: Can't Use The Init 3

Jun 19, 2009

Lately I've been trying to install the Nvidia Cuda driver for Linux.In order to do this, I have to tun a .run file. When I run it in the console, It says that I can't install when running the X server. So I try to use "init 3".When I type it, and hit enter, the screen goes black, no blinky cursor thing, just a frozen black screen. I followed one of the nvidia tutorials on here to get the normal nvidia driver, and it worked successfully.Before I installed the nvidia driver, when I would use "init 3" I would get a colourful console window with random coloured blocks of random lettering. It seems that installing the nvidia form the tutorial turned this into a black screen.

View 4 Replies View Related

Fedora :: What Is /etc/init.d/ntpdate

Sep 9, 2009

I saw that there are 2 NTP services in /etc/init.d:

/etc/init.d/ntpd - the NTP daemon
/etc/init.d/ntpdate - what is this ? and what is the relation between the 2 services?

I mean... if there is ntpd to do all the clock sync, what is ntpdate's role?

View 3 Replies View Related

Debian :: System Mixed With Init?

Aug 28, 2015

ow 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 Related

Debian :: How To Install A File In /etc/init.d/

Sep 10, 2010

use 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 Replies View Related

Debian :: How To Make Init Script

Aug 1, 2011

I 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

View 6 Replies View Related

Fedora Networking :: Can't Restart /etc/rc.d/init.d/smb?

Nov 11, 2009

im just stating in fedora..why does i cant restart/start/stop my /etc/rc.d/init.d/smb ? actually i notice that there are no "smb" or "samba" file exist in my /etc/rc.d/init.d/ or in /etc/init.d/

and there is no smb or samba found in my /sbin/chkconfig but i have my samba installed. Im using fedora 10

View 2 Replies View Related

Fedora :: Big KDE Icon On Init Screen

Jul 14, 2010

This is a minor annoyance, but I'd like to know how to fix it... When starting Fedora 12 with KDE, the KDE icon is twice the size of the other icons. I figure it is easy to make it the same size as all the other icons, but I don't know how. If this seems confusing, I am referring to the screen that appears after you enter your password and before the KDE desktop appears. A set of icons appear one at a time. The KDE icon is clearly twice as large as the others.

View 4 Replies View Related

Fedora :: Difference Between Init And Telinit

Aug 11, 2010

difference between init and telinit?

View 2 Replies View Related

Fedora Hardware :: Init 3 Not Killing X11?

Jan 22, 2011

I am trying to install a new NVIDIA Driver. as I usualy do I go to a terminal logging off and using "ctrl+Alt +F2" logging in as root and entering "init 3" but when I run "sh NVIDIA" it tells me "X server is still running." If I enter "init 5" it goes right to a gui. I have tried "killlall X11" with no results.

View 7 Replies View Related







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