General :: Working Of Init Command ?

Dec 14, 2009

I would like to know the working of init command.please tell discribe the init script stored in vim /etc/rc.d/init.d/functions. what happen when init changes its run level.

View 2 Replies


ADVERTISEMENT

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

Red Hat :: Get Bash: Init: Command Not Found?

Feb 15, 2011

I was reading in one of my redhat books that this command would make linux rered the inittab file but whin I try it I get Bash: init: command not found.

View 3 Replies View Related

CentOS 5 :: Error Using Init Command To Change Run Levels?

Jun 17, 2010

From runlevel 3 as root, when I attempt to change to runlevel 5 by typing the command "init 5", I get the following error:Id "x" respawning too fast:disabled for 5 minutes

View 4 Replies View Related

Ubuntu :: Mount Command No Longer Runs At Boot From /etc/init.d/rc.local

Jul 6, 2010

I run XBMC media center software which is built on a minimal Ubuntu install. I was running a version built on Karmic and I had the following line in my /etc/init.d/rc.local and it always ran without a hitch:

Code:

mount -t cifs -o file_mode=0777,dir_mode=0777 //192.168.1.20/disk7/xbmc_thumbs/Thumbnails /home/kevin/.xbmc/userdata/Thumbnails

Recently, I upgraded to a version built on Lucid and now that fails to create the mount on boot up. Here is the entire contents of the file:

Code:

#! /bin/sh
### BEGIN INIT INFO
# Provides: rc.local
# Required-Start: $remote_fs $syslog $all

[code]....

View 1 Replies View Related

Debian Installation :: Live Crashes With Error - 0x8DF6 Init Table Command Not Found

Dec 26, 2014

I'm trying to boot into the Live CD (64bit version) and it dies with an error "nouveau .... 0x8DF6 Init table command not found: 0xA9". Get the same error after I install and try to boot into Debian, it starts booting but errors out later.

Running Intel 4770K on Gigabyte Z97X-UD5H with 8G ram, Nvidia graphics card and several SSDs ...

View 3 Replies View Related

Debian :: Fglrx And /etc/init.d/gdm3 Start Not Working In Squeeze

Jul 31, 2010

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

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

Ubuntu :: Suddenly Init Smashed - Cron Not Working - Services Not Starting - Vpn Odd

Oct 25, 2010

I installed an LAMP Server on 10.10. Additionally a simple Sambaserver and a VPN is integrated. Since 3 days I look at some strange behaviour:

Code: sudo init 6 does not take effect. Nothing happens. Code: sudo reboot is working, but all seems to be so ropy. It takes a significant while, before ssh-session is finally terminated. After the system comes up again, the vpn-client gets not the same IP-address by DHCP-server, but the next following of dhcp-range. That is strange, because no other dhcp-client is busy. After a second reboot I get the correct first IP-address of the dhcp-range. That is reproducible.

cron is not working any more. None of my jobs is being triggered. Nothing is logged in /var/log/syslog any more. Services (apache2, mysql, smbd) are not running at the start. I have to run them up manually. Seems like init is somehow smashed? What is your guess? What futher information do I have to provide for analysis?

View 2 Replies View Related

General :: Apache Command And Terminal / Command With Apache Through Web Browser And It Is Not Working?

Aug 18, 2009

I want to run a linux command with apache through web browser and that's is not working. and it's working properly when I execute this command through terminal, where is the problem?

NOTE: apache have the privileges to execute the command

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

General :: Ffmpeg Command Not Working?

Jul 6, 2011

I am running this command in Ubuntu and windows but I get the full length instead of 10 mins. I want to split it in 10 minutes.ffmpeg -i 2000.flv -ss "00:00:00" -t "00:10:00" -vcodec copy -acodec libfaac 2010.flv

View 2 Replies View Related

General :: Make Command Still Not Working?

Jan 2, 2011

I'm running Ubuntu 10.04 and while trying to install the Wacom driver and kernel I get to the step after ./config and get this message when I use make.

make: *** No targets specified and no makefile found. Stop.

I've tried looking up on it and they all say that build-essentials should be installed first. So I looked into it and I found out that it's already installed along with the make command itself.

Anyway to get Ubuntu to recognize it as installed?

View 8 Replies View Related

General :: Su Command Not Working In Ubuntu 9.10

Jan 25, 2010

Ive set a password for root after rebooting tried to su in console and authentication error. however sudo works fine but if your like me using sudo all the time starts getting annoying and at times i find myself apt-getting alot of packages so su is best for me my other 9.10 works fine which i installed from a canoical cd i went through my normal routine of changing my default user permissions.

e.g(add default to everygroup, and set a root password) so after the first time it wouldn't work i remembered that on my other 9.10 i changed the groups that root was in so i did the same thing i did with my default user. well it still doesn't work but i read somewhere that its possible to change it in the console.

View 5 Replies View Related

General :: WGET Command Not Working

Jan 5, 2010

I have a website that I need to go to often and disable a monitor. To disable I need to login to the website-> click on monitor -> then uncheck a box.

I am told that I can do this through a scipt using the WGET command. I got the parameterized query and then tried to execute it through a *.sh script.

The script generates a php file in the location from where it is executed. When I go to the site and check the monitor is not disabled.

View 2 Replies View Related

General :: Links Command Not Working

Nov 23, 2010

I read and saw a video that says that typing in 'links' command followed by a website, will open a site in terminal.

However, when I type in the links command, terminal returns the error 'bash: links: command not found'.

What package or library needs to be installed to get this command to work.

View 2 Replies View Related

General :: Sendmail - Mail Command Not Working?

Sep 9, 2011

I have questions about mail,

I am using following command on my linux account of my compnay

mail -s 'Hi' username@gmail.com

But I dont receive any emails, where as did not receive any error while executing the above command, so whats going on and what is happening.

what email id do mail use to send the email by default. Is there any way or command to print this by default user id.

View 2 Replies View Related

General :: Export Is Not Working On Command Prompt?

Aug 26, 2010

The command export is working inside a shell script, but when I type it at the command prompt / terminal it doesn't work. "export: The command not found" error is displayed instead.

I tried this:

cat test.sh

Code:

abc=123
export abc
echo "Exit status of export abc: $?"

[code]....

I tried it before on my RHEL system and it was working. I have checked

Code:

echo $PATH

which is okay. What could be the problem?

View 7 Replies View Related

General :: Dd Command Not Working While Creating Live USB

Feb 5, 2011

I want to create a Live USB ..I have the ISO image in the hard disk

Where Sdb is my USB

The copy operation is okay...It says no of records in / out and gives the statistics

But when I boot the system , getting the error:

Boot :

In some cases , the USB itself is not recognized by BIOS at boot..

My BIOS supports boot from USB ..I have Boot order 1. CD/DVD 2. USB 3. HDD

Also what is the filesystem to be adopted for dd?

I usually format using FAT or FAT 32

1.mkfs.vfat /dev/sdb -I (or)
2.mkdosfs /dev/sdb (or)
3.mkdosfs -F 32 /dev/sdb

What is the correct way of partitioning USB drive? - FAT or FAT 32....Most Live USB creators (unetbootin/LiLi Live/Usb Creator) recognize only FAT32...

I dont want a Linux filesystem (ext2,ext3 or 4or reiserfs)for my USB as it is not portable across many systems as MS OSes do not read them..Also I had little success in booting a USB when I partitioned it using ext2..I read somewhere that ext2 will not reduce the life of the USB drive compared to other fs.

View 3 Replies View Related

General :: Fidsk -l Command Not Working Satisfactorily?

Jun 22, 2010

On running sudo fdisk -l command The output is as follow...

Code:

Device Boot Start End Blocks Id System
/dev/sda1 * 1 10443 83883366 7 HPFS/NTFS
/dev/sda2 14335 19456 41142465 f W95 Ext'd (LBA)

[code]....

I want to change the filesystem of sda5 to ext3... I used the following command to do that....

Code:

sudo mkfs.ext3 /dev/sda5

After it completes I run the sudo fdisk -l command again.. but the ouput still remains the same.. That is it still shows that the filesystem of sda5 is NTFS...

View 2 Replies View Related

General :: Make - Command Still Not Working On Cygwin

Jan 21, 2010

Based on previous forum discussions, I tried to install cygwin with 'make' installed from develop during installation. I can even see 'make.exe' in bin folder, but still while running the make command, it still shows error.

I was confused in one other part. Should I put the bin folder in some specific location or just wherever it is placed during cygwin installation? I was running VIC model, do I need to place the bin folder inside VIC source code folder.

View 2 Replies View Related

General :: Tape Command Redhat Es 3 $ Tar Tvf /dev/st0 Is Not Working ?

Mar 15, 2010

I am geting this problem since lat one year. please send me quikly the solution or the remedy of it.

Tape command:

Giving error like below archback is a shell script for the above same command for backup.

View 2 Replies View Related

General :: Usermod Command Not Working Properly?

Mar 22, 2011

I created a user named Bob. Now i want to change its home directory to be Bob1. I did this

usermod -d /home/Bob1 Bob

but not effect !!!

The name was still Bob. What might be issue ?

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

Ubuntu :: Installing Oracle - /etc/init.d/oracle-xe Configure Command Missing?

Jul 24, 2011

I've AMD64 system with Ubuntu 11.04 installed. It's been rough ride for me to install oracle-xe-universal. I've already spent more than 2 days on this. Still unsuccessful.

1) First I downloaded the packages libaio_0.3.104-1_i386.deb and oracle-xe-universal_10.2.0.1-1.1_i386.deb

2) Then I ran

sudo apt-get install bc (ran fine)
sudo dpkg -i --force-architecture libaio_0.3.104-1_i386.deb (ran fine)
sudo dpkg -i --force-architecture oracle-xe-universal_10.2.0.1-1.1_i386.deb

(gave me dependency error for libc6 (>= 2.3.2), I modified the control file to remove dependency and rebuilt the package) (now worked fine) Oracle xe is now installed. Then I tried to start the DB it started but it's HTTP client never started. So I decided to uninstall the oracle-xe=universal. None of the sudo apt-get remove oracle-xe-universal command's didn't worked for me. So i went for manual uninstallation directions as per oracle link.

I ran the following command-

--Manually uninstalling Oracle 10g--
sudo rm -rf /usr/lib/oracle /etc/oratab /etc/init.d/oracle-xe /etc/sysconfig/oracle-xe /usr/share/doc/oracle_xe /usr/share/doc/oracle_xe_client

Then I again ran the following command to install oracle-xe

sudo dpkg -i --force-architecture oracle-xe-universal_10.2.0.1-1.0_i386.deb

See below what I got as the output-

rocky@ubuntu:~/git/mygit/edas2/libaio$ sudo dpkg -i --force-architecture oracle-xe-universal_10.2.0.1-1.1_i386.deb
dpkg: warning: overriding problem because --force enabled:
package architecture (i386) does not match system (amd64)

[code]....

Even in applications menu I don't see the if oracle has been installed. So i conclude first time installation was ok but somehow http client didn't worked. After manual uninstallation, second installation didn't even loaded/installed the oracle-xe in init.d directory.

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

General :: Ssh'ing To A Host And Executing A Command Not Working Correctly?

Aug 20, 2010

I have the following command:ssh $USER@$HOST "ls /ops/pkg/ec/`grep "PKRTS" /ops/pkg/ec | awk '{print $1}'`* > /tmp/tmp_file"What the above SHOULD do..is, ssh to the host then execute the command.The command should first execute the grep and awk between the back ticks, and generate a file name, then ls using that filename* and write that data to a temp file.However, it executes the grep and awk before even SSH'ing and the command that goes to the server is simply an "ls /ops/pkg/ec/* > /tmp/tmp_file" since the grep and awk return nothing on the local machine.

View 1 Replies View Related

General :: Command To List Ip Address Of Working Computers On LAN?

May 28, 2010

Are there Unix/Linux commands to find out the IP address of running computers on LAN?

View 4 Replies View Related

General :: Grub Rescue No Such Partition, No Command Except Ls And Set Working?

Sep 27, 2010

I have both windows7 and Linux 10.04 installed in my system. The problem occurred on a forced shut down.The message which is appearing on the screen isgrub rescueNo such partitionNo command other than ls and set are working. Set shows root to be in (hd0,6). ls is not listing (hd0,6)The ls is not able to read any of the partition it lists and shows error:unknown file system.

View 1 Replies View Related







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