General :: Name Of Log File Where Boot Process Is Logged?
Apr 19, 2010
I'm using CentOS 5.3. After booting up, where can I find the log file that contains if all services where successfully loaded or not? For example when computer boots you get a list of start services and they can be OK or FAILED. Is there a log file where this information is kept? I had a look in the following directory /var/log/ but not sure which one will contain the informaiton that I need.
View 2 Replies
ADVERTISEMENT
Jan 8, 2010
one tell me the internal working of kill command. that is how it kills a process internally or from where it picks file to continue its process.
View 3 Replies
View Related
Jul 22, 2010
I installed opensuse 11.3 in my laptop compaq presario cq40 144TU consisting of Core2Duo T5800 with 4 GB DDR2 RAM. After installation of 11.3 i update the OS from online. i have a cable net with IP address / subnet mask / Gateway / DNS. All are working fine but all of a sudden there was a power cut in our locality and my cable net was delinked.
When the elecricity came again i tried to connect the internet for online updation, but all in vain. No page is openup though the terminal told me that "You are already logged in with process id 1425." When i typed the command to kill the process it said that there is no such process running.
View 6 Replies
View Related
Jul 22, 2011
I just logged in as root and used rm -r on a file directory, but is this the same thing as deleting it?
View 3 Replies
View Related
Sep 13, 2010
$ uptime
09:55:00 up 7 days, 6 min, 2 users, load average: 0.00, 0.00, 0.00
..but I'm the only user logged in!
$ who -a
system boot 2010-09-06 09:48
run-level 2 2010-09-06 09:48 last=
[code]....
looks as though this is the culprit, but...
$ kill 5485
-bash: kill: (5485) - No such process
This process doesn't exist in the /proc folder or the output of ps. Does anyone know how this happened, and how to remove this ghost user from my system without a complete reboot? I think I have seen a similar thing on a RedHat machine ages ago but I have never figured out how to log out these ghost users.
$ uname -a
Linux ubuntu 2.6.24-28-server #1 SMP Wed Aug 25 16:07:16 UTC 2010 i686 GNU/Linux
View 9 Replies
View Related
Nov 11, 2010
I've some file with .sh extensions that runs some softwares.Now,how do I stop running that filesI know we run the command ./start_tomcat.sh to start the apache.Is there any command to stop that file/process or is it just kill the process to stop the process
View 2 Replies
View Related
Jul 12, 2010
How can I (as admin) find out when a certain user e.g. "karl" most recently logged in and most recently logged out of a system?
View 2 Replies
View Related
Jan 19, 2010
I'd like to determine what process has ownership of a lock-file. The lock-files are simply a file with a specific name that has been created.So, how can I determine what process has a particular file open in Linux? Preferably a one-liner type or a particular Linux tool solution would be optimal.
View 3 Replies
View Related
Jun 26, 2011
I'm trying to use the 'at' command to run a file that checks ALL process running at 5:00pm and does a system load check? Any advice on where to start?
View 7 Replies
View Related
Feb 8, 2010
I am writing, well actually enhancing, a script to do a daily backup of important data on my PC to a second hard drive.I wish to tar my home directory to a single file - and will probably use gzip as well.So I decided to work out the correct tar syntax in a terminal first - here is what happened.I opened a terminal window.I cd to a directory not part of my home directory.I issued the command..Quote: tar -cvf mytar.tar /home/ken tar processed a bunch of files, the last being .netrc.I examined the tar file and it contains .netrc.The contents of .netrc are correct.I scrolled back through the list of files in the terminal window and do not see any error messages.I guess the question is... how do I determine what file tripped up the tar process?
View 8 Replies
View Related
Dec 21, 2010
i have recently started a bit of sh coding. i was trying out sm commands from an sh file.
#!/bin/bash
txt1="top > temp.txt"
eval $txt1
[code]....
View 14 Replies
View Related
Oct 28, 2010
Means I want to execute two executables one by one at the same time as shown below:execute1
execute2these are two executables. but the second one is executed after 1st one is closed is there any way two execute both.One way isgnome-terminal -e execute1execute2but here i want to hide the terminal window..........
View 3 Replies
View Related
Feb 8, 2010
I have OpenSUSE 11.2. I removed bootchart and forgot to run mkinitrd. Now, right at the start of the boot process, I get boot/93-bootchart.sh: line 17: 462 Terminated stopinitrd 5
I Can't find any 93-bootchart.sh anywhere. Earlier I got an error message about non existing /sbin/bootchartd, but I just copied /bin/cat to /sbin/bootchartd using a GParted boot disk. I tried to use chroot with an OpenSUSE boot disk, but mkinitrd can't find the root device, which is there actually (/dev/sda5). How can I make my system boot again? now I managed to re-install the bootchart rpm, using OpenSUSE boot disk and chmod. The system starts again. But that annoying bootchart is still there. I will not try again to remove it. First I will try to figure out, how to disable it during the boot process.
View 1 Replies
View Related
Mar 15, 2011
I've been reading various tutorials of the boot process but still am not clear. I don't care about grub stage 1 and 1.5 at the starting point of when the root filesystem is loaded into VFS(Virtualfilesystem), who is loading it, and from that point on. 1) Does grub load the root filesystem(read only) into VFS?2) Does the kernel load the root filesystem(read only) into VFS?3) Does INIT load the root filesystem(read only) into VFS?after this is concluded....Does INIT or the Kernel create the real root filesystem(rw)...right before the pivot.root
View 4 Replies
View Related
Oct 14, 2010
I'm trying to upgrad from kernel 2.6.32.9 to 2.6.34.3 and I'm having problems.The boot finished with that old gem "Kernel panic - not syncing: Attempting to kill init !"I suspect that it's something to do with my PATA IDE driver because there have been kernel changes in this area.My problem is all the boot messages scroll off the top of the screen before I can read them and it's no use saying look at dmesg or /var/log/messages because the root fs isn't there - another reason why I think it's to do with the drivers.So my question is, is there some way I can slow down the boot process so that I have a chance of reading the messages ?
View 4 Replies
View Related
Sep 21, 2010
I want to know if there is any process to record the commands executed from CLI to be recorded in a diffrent file ONLINE.Meaning whenever anyone who is executing any command, the same should get recorded in /var/log/histlog online (as an administrator I want to keep a track of the username along with time and tty) from which the command is executed.I may use tail -f /var/log/histlog to check the commands executed online.I am using the RHEL5 with kernel as 2.6.18.I have used the lastcomm to check that, but donot find it very usefull as it prints extra informations also (not relevent) some commands which are executed internally by the system while loggin in by the user.
View 2 Replies
View Related
May 13, 2011
$ cat important_file > /dev/null &
[1] 9711
$ rm important_file
[code]....
View 2 Replies
View Related
May 16, 2011
Is there any way to know which process had created any file in Linux Red Hat/CentOS 5?
View 2 Replies
View Related
Aug 23, 2011
I am running an Ubuntu(10.04) box and I am attempting to understand an error in a program.I don't have access to the source of this program, but I know it isn't working properly because it cannot find a particular file. I was wondering if it would be possible to monitor what file are accessed(more specifically denied access) by a process. My first idea was to breakpoint on fopen, but I didn't have any success.
View 1 Replies
View Related
Apr 15, 2011
If I forget to close a file, a socket or any other resource in a Linux process, and the the process terminates, will those resources be freed? Is there a difference if the process terminates normally or is killed?
View 3 Replies
View Related
Jun 26, 2010
I've got a command in a shell script:
Code:
php ./script.php > output.txt & echo $! > script.pid
This results in my script launching as a background process with output routed to
[code]...
View 3 Replies
View Related
Sep 30, 2010
I want to write the sequence of operation of a user interactive process (Question asked by the process and answers user entered) in to a log file.
I used tee command, Precess1 | tee -a FileName
This write only the Question asked by the process. Does anybody know how to write the user inputs also to the same file, synchronized?
View 2 Replies
View Related
Jun 7, 2011
Code:
root@sok-HP-ProBook-4520s:/usr/local/etc# motion
[0] Processing thread 0 - config file /usr/local/etc/motion.conf
[0] Motion 3.2.12 Started
[0] Motion going to daemon mode
[0] Exit motion, cannot create process id file (pid file) /var/run/motion/motion.pid:
View 4 Replies
View Related
Jul 18, 2010
I use Network Manager applet to connect to my lan (I don't use dhcp however). The problem is that my machine runs several servers (http, ftp, smb, ...) and should be ALWAYS accessible whenever the computer power is ON, even if there is no user logged. Another problem is that the connection is dropped if you logout and then login with a different user who doesn't know wireless settings (eg my mother, sister, brohter...)
So, is there a way to get a wireless connection at boot time? I mean, using Network Manager. Previously I used wicd or cli tools (iwconfig and wpa_supplicant) but then I switched to NM cause it was more ubuntuish. I'd still prefer not to use wicd, but NM really seems not good software to me
View 1 Replies
View Related
May 19, 2010
I have just installed the centos 5.3 on my server machine. It looks for a USB media to boot. But I am not able to figure it out what i have done wrong. Why does it asks for USB media?If I have created a dependency of USB to boot, Is there any way i can remove this dependency. Or I have to reinstall the OS again?
View 1 Replies
View Related
Oct 30, 2010
I wonder and hence ask you whether there is a difference in boot time between two systems when just one of them features grub at the boot stage.
View 7 Replies
View Related
Aug 2, 2010
what are the programs or process that gets execututed when a linux start. ie starting from the grub (linux bootloader)
View 3 Replies
View Related
Feb 22, 2011
I got home today to find that my KDE login screen would not let me log in. It said the authentication process failed or something and I needed to terminate the screen lock process manually. So I go over to another virtual terminal and try to log in. As soon as I enter my user name, a bunch of errors come up and I am unable to log in. "This can't be good" I think to myself, and reboot.
I am greeted by this error upon booting:
The error says that it says it cannot find /sbin/init. I loaded up a Ubuntu live CD and verified that /sbin/init is indeed present and all my other files still seem to be there. I tried booting into arch fallback on grub but that didn't work either. Midway through the day I SSHed my desktop from my phone and started it doing an upgrade. I was able to login.
View 1 Replies
View Related
Jun 29, 2010
For the past few days I was putting effort on understanding the software control flow starting from "Boot loader" to "Linux User space".
I am consolidating the entire process and putting forth in this forum...It would be great if someone can validate this..It might be useful to other new bees too.
Step 1 : Power up the board
Step 2 : The CPU control goes to EEPROM/storage memory where BIOS resides
Step 3: BIOS gets loaded in RAM and gets executed
Step 4: During execution, the selection of Boot device has to be done with the help of BIOS Menu [Blue screen appearance during start up in normal PC's]
Step 5: BIOS shall access the Bootloader stored in boot device [for eg.,Hard disk]. Boot loader is stored in MBR area.
for explanation purpose I take the following configurations
Bootloader = GRUB
Boot Device = Hard Disk
Step 6: GRUB shall be loaded in RAM and gets executed
Step 7: GRUB shall load the KERNEL image to RAM. Kernel image is stored in Hard Disk.
The question of "How the GRUB knows where the Kernel image is stored".
The answer is
1. In the "Grub.config" file, the location of "Kernel Image" and " Ramdisk Image" [which will be discussed later in the section] is being given.
Step 8: Kernel Image followed by Ramdisk Image is loaded in RAM by GRUB bootloader
Step 9: Kernel Image gets executed...During execution, top portion of the code shall make initial hardware initialization and latter part
of the code shall just decompress the Kernel Image
Step 10 : After decompressing the Kernel Image, it shall decompress
the already loaded Ramdisk Image
Ram disk is just creating a temporary hard disk in RAM. The main responsibility includes it consists of minimal driver files, executables, directory structures to created a TEMPORARY ROOT FILE SYSTEM.
This Temporary Root File system shall be used by Kernel Image
1. Execute the executables to access the Hard disk
2. For creating Permanent Root File System in HARD DISK
Step 11 : Kernel Shall look for the file /Linuxrc in Ramdisk. Linuxrc
is a USER script file [not sure]
Step 12: At the end of script file Linuxrc, the Ramdisk shall give the
control to "USER SPACE" [path for writing the script not known]in Linux kernel
Step 13: USER SPACE is the normal shell
View 2 Replies
View Related
Feb 27, 2011
logging in a server through putty in the same network when i executed last command its showing system ip logged in time and logged out time the output as followsthis is my system
oot pts1 xx.xx.xx day month date time in time out timeand similarly am geeting other than this likeroot :0day month date time still logged in this is from more than 3 days its logged in
View 2 Replies
View Related