General :: Not Able To Generate Boot.log?
Feb 20, 2011
I m not able to find anything under boot.log file. Here is the output of boot.log files.
As you can see nothing is getting written inside the boot.log files .
How can i make all the events to be logged under boot.log file?
Code:
# ls -ltr /var/log | grep boot
-rw------- 1 root root 0 Jan 25 15:59 boot.log.4
-rw------- 1 root root 0 Feb 1 18:38 boot.log.3
-rw------- 1 root root 0 Feb 9 00:00 boot.log.2
-rw------- 1 root root 0 Feb 16 17:57 boot.log.1
-rw------- 1 root root 0 Feb 20 04:02 boot.log
View 11 Replies
ADVERTISEMENT
Sep 7, 2010
I am configuring syslog-ng on my server.
I suspect something to be wrong.
Is there a tool I can use in the shell to generate a log? So I can check that the log appear in the syslog file.
View 3 Replies
View Related
Jan 21, 2010
Not only that but I need tons and tons of them generated, and I need it to be totally random each time.
Code:
matthew@mvm:/h/misc> cat a
#!/bin/bash
for i in {1..5}; do
echo $RANDOM
[Code]....
There you can see that it is the same number. It does that every time!! Grrr. The strange thing is each time I manually type [or copy & paste] it into the terminal, it gives random [not static, like I am getting from my script] results.
The reason I want this is because I am making a script where this line will randomly go up or down [depending on if the random number is 1 or 0].
View 4 Replies
View Related
May 29, 2011
I have collected the sa* and sar* files for the past two weeks , i need to generate the report for these files how can i do so i am using centos 5.5. assist me with a tool or a command to do the same.
View 6 Replies
View Related
Nov 5, 2010
How to generate a list of all available man pages on a system?
View 4 Replies
View Related
Nov 17, 2010
For using SSH, why does a host also need to have a public and private key? And how can I generate a public/private key pair for myself?
View 5 Replies
View Related
Jan 26, 2011
system debian php-4.x.x.src.deb. What actions should be performed that would build the binary deb with support memcache, mhash, and mcrypt? Assume that all the required packages of libraries installed on the system. system centos php-4.x.x.src.rpm. What actions should be performed that would build the binary rpm with support memcache, mhash, and mcrypt? Assume that all the required packages of libraries installed on the system. There is the software raid1 md0 Disc / dev / sda / dev / sdb. You must configure grub, that would have been able to boot from both drives. Assume that only one section ("/"). Generate for httpd ssl key and integrate into the system. to generate without a password or to provide a password script. Scan open ports and see what processes are installed network connections. What ports must be left open to normally closed firewall for full operation and setup http server (http, https)? Write a shell script that would produce an analysis of processes mysql and delete those that connection more than 5 minutes excluding system processes (eg replication), as well as sending mail warning in the log if an error occurs mysql string ABCDEFGH. Provide autostart at boot time (integration in init.d), protection against re-run, exception handling (when using lock files).
View 3 Replies
View Related
Mar 28, 2010
Recently a hav installed fedora and ns-2.34(after much effort).Now i want to generate VoIP traffic for wifi. give m url where i can find gud examples for generating VoIP traffic.
View 1 Replies
View Related
Jul 22, 2010
does any one knows a linux based program/script that can generate html files based on directory structure?
View 1 Replies
View Related
Jan 4, 2011
I have seen how simple it is for Mac OS to generate pdf from a document without additional software to install. But I am looking for this functionality in Linux. One scenario, for example, if I have myDocument.txt that contain an article, how can I convert this into pdf? My next question is, assuming that myDocument.txt is a 3-paged document, will it generate a 3-page continuous pdf and not just 3 separate pdfs?
Any tools for linux that does this? (GUI is fine, but commandline is preferable)
View 6 Replies
View Related
Jan 24, 2011
I'm looking for a tool, command line or GUI, for Linux that generates memorable passwords An equivalent of what I am looking for would be passwords that the Mac Os X keychain can generate, something like apples12$/fourteen. Something strong, but easily memorized by a user.
View 2 Replies
View Related
Jul 20, 2011
List of 77 lines with the names of movies. For ease, let's say it's in a text file. What I want is a command line argument I can pass that'll read each line and pick one of those 77 lines at random, except I can't figure out how to do this. Is there a program I can just pipe the output of 'cat listofmovies.txt' to?
View 13 Replies
View Related
Jul 4, 2010
I'm trying to make sure that my laptop will suspend if I unplug it after the lid is already closed, and I believe that one way to accomplish this would be to simulate an ACPI lid event when the power adapter is plugged or unplugged. In order to do this, I need to find a command that will generate a fake ACPI lid event. Is there any such command?
View 1 Replies
View Related
Feb 11, 2011
My application is an integration of all the open source components with customized heavily including OS. I would need to know how to generate license keys for my application.
Does any one have any clue?
View 6 Replies
View Related
Jan 18, 2011
When I attempt to run a ./checksetup.pl I am getting the following error message.
Creating /var/lib/bugzilla3/data/pdsphaseibugs/attachments directory... mkdir /var/lib/bugzilla3/data/pdsphaseibugs/attachments failed: Permission denied at /usr/share/perl5/Bugzilla/Install/Filesystem.pm line 385.
The script su to www-data and here is a copy of the directory the script is executed from :
fuidsg46:/usr/share/perl5/Bugzilla/Install# ls -la
total 276
drwxr-xr-x 2 root www-data 4096 2011-01-11 12:17 .
drwxr-xr-x 16 root root 4096 2011-01-11 12:17 ..
[Code]....
View 1 Replies
View Related
Sep 7, 2010
I need to generate 64-bit executable(utility) using PowerPC-linux cross compiler? i.e. Any options need to pass ppc-gcc other then "-m64". I have written a small test program on 64-bit server and generated 64-bit executable using gcc alone.
Ex:
#
file a.out
a.out: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped
#
Actually I want to generate a executable(using PowerPC-linux cross compiler),which will run on 64-bit machines. In my Makefile I am trying to use CC = XXXXX/powerpc-linux/bin/powerpc-linux-gcc -m64 to ppc-linux-gcc,but giving error.
error: -m64 not supported in this configuration
If I remove -m64 its generating 32-bit executable.
View 5 Replies
View Related
Feb 9, 2011
write a script to generate a bar graph/chart/histogram etc that can make the analysis part simpler.
While dealing with so much data, i fear a manual approach could lead to human errors and hence thought that a script might be a better approach.
View 4 Replies
View Related
Jan 21, 2010
Why when I execute '# wvdialconf' in Puppy 4.3.1 no 'wvdial.conf' file is generated in /etc, or, anywhere else?
I did a 'find / -name wvdial*.*' and could not find it.
View 2 Replies
View Related
Jul 9, 2010
I ahve configured MRTG to generate bandwidth utilization graphs of Network devices.
I ahve configured 30 Network device ( Cisco Switches and Routers), For most of the devices MRTG is working fine but for some devices it is not able to generate log file and giving the following error:
View 4 Replies
View Related
Mar 4, 2010
I want to generate a temporary random list from a directory of files and then determine the size of an arbitrary block of files from this list (say 1-25 or 26-50) and add their names to a file along with some other info for each name. I can generate a random list with file sizes like this: ls -l | sort -R | cut -d " " -f 6 but i'm not sure how to add up the sizes of just a certain block of these files and at the same time save the file names.
View 2 Replies
View Related
Nov 9, 2010
I am in a situation where I need to generate as script for a graphical package on fly from with in a shell script. I would like to do the below which create a file in which grave accent has to be there However below script do not work I tried different things like
[Code]....
View 5 Replies
View Related
Jul 19, 2010
Just wondering if its possible to "mask" a root password? I have a script that starts up an application.Running the application within the script requires me to reveal the root password. I was wondering if there's a way to mask the password via encryption (secretpw) or such tools that are out there I can use to mask the real password with an encrypted line? Using CentOS.
View 3 Replies
View Related
Jul 25, 2010
can i use the value of one variable to generate a name for another variable? for example i want to use the counter from a "do while" loop to name and define a variable each time the loop executes. for example
objectnames1=`ls -a`
objectnames2=`ls -a`
etc.
i don't have a script yet but each time through the loop i intend to cd to a particular directory and then define a variable containing a list of each object in that directory as values. for the rest of the script to work, each variable generated has to be unique, and i can't think of a good way to accomplish this.
if using a value from one variable to name another isn't possible, can anyone think of a more elegant solution? i know limited syntax but i'm willing to read up...
View 6 Replies
View Related
Oct 26, 2010
i'm trying to install an orb, MICO, that can generate stubs, skeletons to C++ language, but i'm not having any sucess until now. Anyone knows some orb to c++ and how to install in fedora? I'm using fedora 12 x86_64, my gcc is gcc (GCC) 4.5.1 20100924 (Red Hat 4.5.1-4).
View 1 Replies
View Related
Mar 27, 2009
I am real tired of getting those SSL errors when I go to my intranet. So I am now trying to generate my own SSL certs (go me). I have easy-rsa installed for my openvpn can I use that so sign the csr?
View 2 Replies
View Related
Dec 30, 2010
In OpenOffice how do you generate a PDF from the current sheet in a spreadsheet. This spreadsheet has 40 sheets. But I want to get a PDF of sheet8 only. When I "Export as PDF", I get a PDF file that contains all 40 sheets.
View 3 Replies
View Related
Mar 31, 2010
How can I generate a md5 or sha-1 code with perl?
View 2 Replies
View Related
Mar 8, 2011
I'd like to know how do I rotate the audit logs under "/var/log/audit/audit.log" every 6 month. Currently I have set the parameter inside /etc/audit/auditd.conf to "KEEP_LOGS" (Previously "ROTATE" )and logs files are generated up to the size 5M and never deleted. Do I need to change inside "/etc/audit/audit.rules" file?
[root@RHEL5 ~]# more /etc/audit/auditd.conf
#
# This file controls the configuration of the audit daemon
#
log_file = /var/log/audit/audit.log
[Code].....
View 4 Replies
View Related
Dec 2, 2014
How do I generate sql result into xml ? Tried this way (shown below), but it generates all data into single column.
Code: Select allgenerate_xml()
{
f1=_tmp1
f2=_tmp2
cat $SQL_QUERY_OUT |sed -e 's/^"//g;s/"$//g;s/","/|/g'|tr '|' ' ' > $f1
[ -e $SQL_QUERY_OUT ] && rm $SQL_QUERY_OUT
[code]....
View 2 Replies
View Related
May 20, 2011
How to generate ARP since i started aireplay-ng in ARP request replay mode by using the command :
And i got no arp`s. Screen looks like this :
View 1 Replies
View Related