Ubuntu Servers :: How To Understand Log File Meaning?
Apr 13, 2010a lot of log file store in location /var/log/ but how to understand what the meaning in side the log file recorded down? how to find out the problem from the log file?
View 2 Repliesa lot of log file store in location /var/log/ but how to understand what the meaning in side the log file recorded down? how to find out the problem from the log file?
View 2 Repliesi'm using ubuntu10.10 maverick.im programming in systemc..i dunno how to compile and run my program (*.cpp). where should i save my program and where to create makefile???what is this makefile and how should i create it..got completely no idea and i'm new to ubuntu..so please someone explain clearly the concept.
View 1 Replies View RelatedI used the following command
Code:
file /usr/bin/mawk
Output is
[code]...
I've several questions to ask: Why do some files have black arrows pointed outward in my file system? Why are some files in compressed form, e.g. initrd.img?? How are such files used by the system??
View 2 Replies View RelatedWhat is a pipe? and why a file is a named pipe? I am just learning linux.
View 2 Replies View RelatedHow to analyse the IT and Traffic file generated in CRCN simulation? What they represent i.e what is the format?
View 7 Replies View RelatedI'm setting up backuppc for backing up over ftp. I have been following this guide: [URL].. The difference is I need to use FTP to backup as opposed to ssh / rsync.I have followed the guide and instead of using
Code:
$Conf{XferMethod} = 'rsync';
I am using
Code:
$Conf{XferMethod} = 'ftp';
as per: http://backuppc.sourceforge.net/faq/BackupPC.html
[Code]...
For linux/unix machines you should not backup "/proc". This directory contains a variety of files that look like regular files but they are special files that don't need to be backed up (eg: /proc/kcore is a regular file that contains physical memory). See $Conf{BackupFilesExclude}. It is safe to back up /dev since it contains mostly character-special and block-special files, which are correctly handed by BackupPC (eg: backing up /dev/hda5 just saves the block-special file information, not the contents of the disk).
Alternatively, rather than backup all the file systems as a single share ("/"), it is easier to restore a single file system if you backup each file system separately. To do this you should list each file system mount point in $Conf{TarShareName} or $Conf{RsyncShareName}, and add the --one-file-system option to $Conf{TarClientCmd} or $Conf{RsyncArgs}. In this case there is no need to exclude /proc explicitly since it looks like a different file system.
Next you should decide whether to run tar over ssh, rsh or nfs. Ssh is the preferred method. Rsh is not secure and therefore not recommended. Nfs will work, but you need to make sure that the BackupPC user (running on the server) has sufficient permissions to read all the files below the nfs mount.
Ssh allows BackupPC to run as a privileged user on the client (eg: root), since it needs sufficient permissions to read all the backup files. Ssh is setup so that BackupPC on the server (an otherwise low privileged user) can ssh as root on the client, without being prompted for a password. There are two common versions of ssh: v1 and v2. Here are some instructions for one way to setup ssh. (Check which version of SSH you have by typing "ssh" or "man ssh".) Everything seems to be working correctly except when a backup is executed I get this:
[Code]...
I may not have noticed in other Fed releases, but in Fed 13 I am seeing a dot at the end of all file permissions. Example:
[pjs@linux ~]$ ls -ld Documents
drwxr-xr-x. 62 pjs pjs 4096 Jul 11 09:53 Documents
Even on files I create myself:
[pjs@linux ~]$ touch foo
[pjs@linux ~]$ ls -l foo
-rw-rw-r--. 1 pjs pjs 0 Jul 11 10:46 foo
It is the same throughout the fs. I have disabled as much of SELinux as I can. What does the dot mean?
I started my computer with a problem that all of the windows without title bars. I tried to logout my laptop, and the problem was solved. I opened one terminal window, type 'who', founded that i was login the system as 'tty8'. That was really funny, I know that if i login the system normally i may login the system as 'tty7'. why i login as 'tty8' when logout one time? My edition is ubuntu 10.04.
View 2 Replies View RelatedI cant understand y there is no dock option in this
View 4 Replies View RelatedI'm in way over my head and have absolutely no idea what I am doing.I set up a lamp server earlier today on ubuntu 10.10 and I'm trying to upload files to wordpress which I installed at local host using vsftpd. I am so lost.Something about this entire process has not clicked in my head;
View 1 Replies View RelatedI don't understand the output from 'free' cmd.
[Code]....
WHy in first line in columns representing 'used', 'free', 'buffers', 'cached' are such values? I can't count them properly.
I am a linux newbie (more so with using RedHat). I am trying to use yum to install packages, but have never really able to get this thing right. I want to install libXp-devel package. However, running yum install libXp-devel doesn't work.
When I downloaded the rpm for libXp-devel and tried to run yum install libXp-devel-1.0.0-8.1.el5.x86_64.rpm, I get the following:
Code:
Resolving Dependencies
--> Running transaction check
---> Package libXp-devel.x86_64 0:1.0.0-8.1.el5 set to be updated
--> Processing Dependency: libXp = 1.0.0-8.1.el5 for package: libXp-devel
--> Processing Dependency: libXau-devel for package: libXp-devel
[code]...
What is kubuntu trinity? I google but did not get a specific website for it. I saw it in a download website: [URL]....
View 8 Replies View RelatedI am anticipating that someone could give more further information about that, not only simple explanations. How to understand User Time, sys time, wait time, idle time of CPU
View 1 Replies View RelatedI can't remember what "ISO" means. I've been busy with other projects, and I forget what release of Ubuntu I'm using. The computer I use the most is running Windoze 7, and I have Ubuntu running on two other machines but use them infrequently.
View 4 Replies View Relatedneed help with the Positional Parameters. I don't understand its concept.If you could give some example or and explanation
View 2 Replies View Related(inside R) I am using system.time function to measure the execution time of two functions
> system.time(lapply(seq(1:1000000),returni))
user system elapsed
0.982 0.100 1.057
[code]....
In the beginning there is MBR. MBR looks for the active partition and tranfers control to the VBR of the active partition. MBR is where grub may be installed. which allows the user to choose an OS(a VBR) I am not sure what the program in the VBR does,but it manages to loads the OS. What am I trying to do: Backup. I ma tired of losign my partitions my bootloaders. I want to backup them all! partitions/MBR /VBR everything short of creating an disk image.
My questions:
1. say the ubuntu partition is formatted, will grub still load? if not is there a bootloader that would?am I making sense? i hope so...
2. what exactly does the VBR contain ?
2. How do I go about backing up? The mbr and the partiton table are backed up with a simple dd command. Then what else needs to be backed ? VBR's of every partition?
I have taken putty session of a server from two separate machines namely HOST1(3 sessions) and HOST2(1 Session) . However w command says there are 5 users
Code:
# w
09:29:36 up 34 days, 15:48, 5 users, load average: 0.62, 4.33, 8.16
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
root pts/17 HOST1 09:18 4:26 0.01s 0.01s -bash
root pts/18 HOST1 09:27 1:21 0.00s 0.00s -bash
root pts/21 HOST2 09:29 0.00s 0.00s 0.00s w
root pts/20 HOST1 09:29 1:39 0.00s 0.00s -bash
This problem is occurring on Red Hat EL 5 WS. However, I have two CentOS 5 systems, with similar configuration to RH EL 5, where this problem does not occur.
I am getting this error:
Can't exec "sendmail": No such file or directory at ./0logwatch line 1018, <TESTFILE> line 1.
Can't execute sendmail -t: No such file or directory
Well I get my other 2 questions answered , I have one last question that has been buggy me.Anyone know why windows use so many files just to keep the OS going and so bloated? The under line of files of windows is messy and loads self every where and very bloated with windows and windows vista and windows 7 very much so.I'm not sure if Linux /Mac OS X is like this or not .
I know windows needs to support alot more software and hardwar but is that not where drivers come in for the hardware.And programmers need to write the software for windows or Linux / Mac OS X.
I write a little script by bash.
#!/bin/bash
a=`gawk '/Iterations /{print $0}' hoge.log | gawk 'BEGIN{FS=" "}{print ($4)}'`
a=`expr 3 '*' $a`
[code]...
In my book, this is an example of a recursive algorithm:
var reverseArray = function(x,indx,str) {
return indx == 0 ? str : reverseArray(x,--indx,(str+= " " + x[indx])) ;; }
var arr = new Array('apple','orange','peach','lime');
var str = reverseArray(arr,arr.length,"");
alert(str) ;
I'm trying to understand it, I'm stuck at the (str+= " " + x[indx])) part - that part of the function definition expects an ARGUMENT, am I right? What's being passed to it is a bit of PROGRAM, the str+= stuff. So - how is it working?
I have seen the following command:
$ kill %1
What is the usage of this statement?
I can't understand the meaning of depsolving in yum. What it means when yum says "[*] from[*] has depsolving problems"?
View 2 Replies View RelatedMy system (ubuntu 10.04) has a command called 2to3. What exactly is it? it hasn''t got a manual page.
View 2 Replies View RelatedI've been having a lot of trouble with getting wireless networking devices to work. I guess I have a lot of company, since mfrs don't seem to be very interested in supporting Linux.It seems that one common symptom is that, when I try to "Ping" using the Terminal, I get "network is unreachable".Does this mean anything specific, or is it a general output whenever the network is not carrying on two way communications? Does it mean that the wireless interface is down? Does it mean that the wireless hardware is not transmitting? Not receiving?
View 3 Replies View Relatedmake a check list of things to do to see if i can figure out if my machine is or not compromised .
View 9 Replies View RelatedI have just started using Valgrind,which really is great. Most of the reported errors look kinda weird, though I can't really understand what's going on here, for example:
==00:00:02:52.033 7754== Invalid read of size 4
==00:00:02:52.033 7754== at 0x80B0987: MyCls::MyPrintf(long, char*, ...) (MyCls.cpp:270) ...
==00:00:02:52.033 7754== Address 0x47a5ee8 is 0 bytes after a block of size 296 alloc'd ...
==00:00:02:52.033 7754== by 0x809A6C1: ClsMain::taskRun(int, char**) (ClsMain.cpp:177)
==00:00:02:52.033 7754== by 0x816CFE8: main (main-C.cpp:2060)
==7754== ---- Attach to debugger ? --- [Return/N/n/Y/y/C/c] ---- Y
==00:00:02:57.410 7754== starting debugger with cmd: /usr/bin/gdb -nw /proc/7765/fd/1014 7765
GNU gdb Red Hat Linux (6.5-25.el5rh)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as
"i386-redhat-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".
Attaching to program: /proc/7765/fd/1014, process 7765
MyCls::MyPrintf (this=0x47a5dc0, iPrm=3,
sMsg=0x6974320 "blablabla"...) at MyCls.cpp:270
270 cout<<endl<<"m_FilePtr="<<hex<<m_FilePtr<<dec<<endl;
Basically, Valgrind reported the "Invalid Read" error at line 270 of file MyCls.cpp, which is simply a cout of the m_FilePtr variable, which is a member variable of the MyCls class. It's a FILE* variable I use to write repeatedly on a text file. The address reported (0x47a5ee8) is 296 bytes after the "this" pointer (0x47a5dc0),as Valgrind correctly tells me but I honestly don't understand that. And of course, I need to read that variable, not only for the cout (indeed,the error is reported at every reading attempt). Besides, the application doesn't crash, but still I would like to understand if I really have to worry about this "error".