Red Hat :: Capturing Start Up Messages In System Log
Jul 17, 2010
Is there any way to capture the "[OK]" or "[FAILED]" messages? I would like to know which daemons starts successfully and which ones fails. Any way to tell the system to save those messages in /var/log? I could do CTRL-Print Screen but I would rather not.
I have an auditing problem. I am required to be able to track user account modifications (creates, deletes, password changes, etc.) My team and I implemented auditd 1.7.17 and borrowed an existing rule set from /usr/share/doc/audit-1.7.17/nispom.rules. What we're seeing is that user account activity from the command line is retrievable by doing an 'aureport -m'. However, doing the same through the GUI, 'aureport -m' does not display the activity. So I have two questions:1. Is there another location I should be looking to find the user creation activities when using the GUI?2. Is there a way to make the activity using the GUI be captured in /var/log/audit/audit.log so 'aureport -m' can report it?Someone suggested a PAM configuration change, but was not able to tell me what change to make.
I am now for four weeks on Wheezy KDE after turning away from PCLinuxOS.But now that Jessie KDE is out, I installed it on a free 20 GB partition to have a look.What I really like is the following:
At start up on Wheezy GRUB MENU - INIT messages - KDE welcome screen -> desktop..I am missing those INIT messages. Gives me a good feeling for system status.I understand, we now have systemd, but is there a possibility to have those reassuring messages at startup and maybe also at shut down?
I am building a live USB key using Ubuntu 9.10 Karmic. No upgrades have been applied. It is as it came in the ISO that was distributed.I would like to create a smooth start-up/logout process where no messages pop up (even briefly) that might confuse someone who is not very tech savvy. I'm referring to the messages that show up right before the login screen during start-up (between usplash and xsplash I think) that say:
"Starting early crypto disks ..."
and also the messages that show up on a black screen right after you initiate logout. It seems to sometimes show system messages including some error messages that can confuse users.Does anyone know of a way to hide, redirect, or disable these messages? I just don't want cryptic messages popping up even briefly that are going to confuse casual users. I'm stuck with version 9.10 since I've made some custom mods and would rather not redo them for a new release.
I'd like to see all messages given out by my fc12 system. So no graphical interface shows up when I shall type the bootloader-password or log-in with my user.
I have a small LAN. I am in the process of installing a Debian Lenny/Squeeze system into the LAN. I want to send and receive system messages using rwalld and wall.I can send a system message from my Debian system to another box using rwall. I can send a local message within the Debian box using wall in a console.I cannot send a local message using wall Konsole in KDE 3.5.x. The KDE Write daemon fails to provide any pop-up window./usr/bin/wall is installed from the bsdutils package and is set to -rwxr-sr-x.
The ktalkd package is installed. The KDE control center shows a configuration option in Internet & Network settings called Local Network Chat.When not in X, mesg is set to y at the console. After starting KDE and I open Konsole, mesg is always set to n. I don't know how this setting toggles. Further, setting mesg to y in Konsole has no effect on getting wall to work.mesg is set to y when I run xterm in KDE. Then wall works within that terminal window. However, the KDE Write daemon does not see the message in xterm.When I send a message from another system to the Debian system using rwall, xterm receives the message but not Konsole or the KDE Write daemon.
When I send a wall message from Konsole, xterm receives the message but not Konsole or the KDE Write daemon.I changed TTYPERM in login.defs to 0620 to no avail.I do not have this problem on the non-Debian systems.
I have a small LAN. I am in the process of installing a Debian Lenny/Squeeze system into the LAN. I want to send and receive system messages using rwalld and wall.I can send a system message from my Debian system to another box using rwall. I can send a local message within the Debian box using wall in a console.I cannot send a local message using wall Konsole in KDE 3.5.x. The KDE Write daemon fails to provide any pop-up window./usr/bin/wall is installed from the bsdutils package and is set to -rwxr-sr-x.
The ktalkd package is installed. The KDE control center shows a configuration option in Internet & Network settings called Local Network Chat.When not in X, mesg is set to y at the console. After starting KDE and I open Konsole, mesg is always set to n. I don't know how this setting toggles. Further, setting mesg to y in Konsole has no effect on getting wall to work.mesg is set to y when I run xterm in KDE. Then wall works within that terminal window. However, the KDE Write daemon does not see the message in xterm.When I send a message from another system to the Debian system using rwall, xterm receives the message but not Konsole or the KDE Write daemon.
Is there anyway to tell NetworkManager to not log so many messages to the system log? There appears to be a bazillion <info> messages in the log file (/var/log/messages). It makes it hard to find any potential problem areas...
Every time I log in, I get a "Boot Messages" indicator in my notification area. I click it and it shows me what happened during boot (uneventful, no error messages). I would like to remove this icon, it's very annoying. I can right click it and click quit but I don't like doing this every time I log in.
Is there an easy way to stop it from starting up (I couldn't find it in Startup Applications)?
I need to scrape logfiles and do some pattern matching for a series of hardware and system faults;
For example: Network interface down / up IO errors Out of Inodes Out of Diskspace Memory Errors Power Failure
When the appropriate Strings appear in the log (assuming /var/logs/messages)Then a trap will be sent. (Customer specific SNMP solution) So what I need (I think) is a list of the strings I need to match.Has anybody any idea where I can find a list of strings which will definitely appear in the log - RHEL5 ?
I�m looking into preventing the samba messages from appearing in the system log (/var/log/messages).I added syslog = 0 to smb.conf and reloaded the config but messages are still appearing�suppress logging or reconfiguremba such that the �nmbd� and �winbindd� messages do not appear in /var/log/messages
the thing that tends to draw out their frustrations the most are the error messages.
Things like "x.x not found, such and such can't continue" or "Unable to locate x.x", etc.
Well, of those people as I described above, a lot of them are fiercely independent people and would fix their own problems had they any idea what they were.
So, I had a thought that adding google or LQ.o search terms to the error messages, along with a link to the search feature, would be somewhat beneficial.
Perhaps with messages regarding missing files, then provide a link and message "To correct this issue, copy filename and submit it here -> url and download the package"
So I was wondering where I could find lots and lots of error message code.
I have the application and kernel module running on my system. In the meantime, I am changing the date and time of the system. However, this change doesn't reflect on log messages of the application that's being executed.
I have a syslog-ng running and kernel build of 2.6.34.8 I use a syslog API in my program with facility LOG_LOCAL5 and and levels debug err and crit and info. when I ran on the older syslog facility I had everything logged fine as I intended. now I have written these rules into the syslog-ng.conf:
I have an older version of ggv on RHEL for viewing PostScript (.ps) files, but the binary I have refuses to open files from AFS. ggv-2.12.0 is able to open these files from AFS just fine on my Mac. I was not able to find packaged binaries for RHEL 5 or 6 for ggv-2.12.0, so I downloaded the source and compiled it. Unfortunately, it fails to start, printing these error messages:
[code]...
Does anyone know the fix? Or alternatively, is there another good and well-maintained PostScript viewer for Linux?
I use release 11.2 and this one works very well. I try new release 11.3 and my system crash when I wont to start system on runlevel 5. There is Sempron 2 GHz CPU and nvidia fx550 graphics card. Keyboard PS2 does not responds but mouse on USB work well. When I start "safe" boot option system work well. What I can to do ? What I must change
I've made a simple php wrapper around scp. It works fine, but unlike when I run the scp command straight from the console, there is no output returned. I've tried using passthru(), exec(), system() and shell_exec(), all to no avail. I'm redirecting stderr to stdout already.
Will scp the files correctly to the server, but doesn't print any output - $result is just an empty array. I'd like to see the output so I can visually confirm that the files have been transferred correctly.
More than 7 G bytes were logged to the messages file last three weeks I got this message in /var/log/messages I want to stop this messaging cause it takes to much space
I can't seem to figure out the secret to send ctrl-alt-del to a remote Windows box using KRDC 4.4.4. Tried in windowed and full screen mode - no difference. Tried enabling "Grab All Possible Keys" in KRDC tool bar - nope. In all cases, ctrl-alt-del and alt-tab are sent to localhost. There are some mentions of a "config special keys dialog" for KDRC in a few places, though I don't actually find this anywhere in KRDC itself. Documentation for KRDC at the KDE site is very minimalistic. This should be super simple, but I can't quit seem to get it.
Since I upgraded to 10.04 my Webcam (a logitech Quickcam Pro 4000) won't capture video.Ubuntu see it is there, but aMSN, Google Talk, Skype, and Cheese all give me nothing.
I want to capture PID of a program and kill it using the PID if the program is been executing beyond 5 seconds.The problem I'm facing is I have another copy of the same program running under different shell script, and the above code is killing both the process. How do I specifically kill the program which has started under the current running shell script.
I am capturing the response of three URLs which are in file named urls.txt using following command and write response in output.txt file.
####Code############ wget -i urls.txt -q -O - | tee output.txt ###########End of code Now i am finding the case where url is not responding and that output is not available to me in the file and on console i am getting "Could not connect to host".
Now I want to modify my urls.txt to have two fields: Name and URL Example: URL1 | http://10.0.0.2/xsc/abc URL2 | http://10.0.0.1/lkj/csv URL3 | http://10.0.0.5/sdf/plk
I want to execute each url and print there response against each name Example: URL1 : CONNECTED URL2 : NOT CONNECTED URL3 : NOT CONNECTED
I tried to post this then couldn't find it anywhere, so I will try again. I am wondering if there is a way to determine what file system type was put on a volume when the file system was made? I have a MD0 device that wouldn't mount. I was receiving "wrong file system type" messages.
I tried df but this only works with mounted file systems correct? I am looking for a command to run on a drive/volume that is not mounted so I can figure out what file system is on it.
This time I was able to: mount /dev/md0 /mnt/storage without and entry in the fstab file. I then just entered mount and it displayed the file system as jfs.
Is there another way to determine the file system type?
I never upgrade from one release to the other but rather do a completely new install. How can I keep my Gnome settings from the current release and somehow impose them after a new install. I am not sure which files/hidden files I should carry, save, possibly to a USB stick or whatever and a reasonable procedure to copy/impose them after the new install is stable.
then luvcview should capture the video to the .avi file. However, when I try it, no output file is created. Grabbing a raw stream or raw frames works fine, but not the creation of AVI files. Am I missing something?
I've tried to look up different programs for this but can't find anything. I'd like to be able to open my recorder on Myspace for instance and capture any sound playing through my speakers. I used to have a little program for this, but its windows based and won't seem to install correctly in Wine.