Ubuntu :: Direct Syslog Messages To Particular Tty?

Aug 24, 2009

I wrote a script which will run in ubuntu box and will display in tty1, without loading the gdm. The problem is when I plugged in a usb drive it will cause some messages to be printed into the current tty user logged in.

Like : [sdb] Assuming drive cache: write through

This is really disturbing when a user is running the script. Is there anyway that I can direct all the messages to some other tty which I don't use.

View 2 Replies


ADVERTISEMENT

General :: Direct Kernel Messages To COM Port?

Mar 31, 2010

I need to debug a kernel panic. It prints some long log to the console, but even if i set 1920x1440 VESA framebuffer mode, i can't see it whole.
So, i would like to direct all the kernel messages to a COM port and read them on another machine. Is there any way of doing so? What are the other (maybe better/easier/etc.) ways of catching whole kernel panic messages or scrolling the ones already displayed?

View 3 Replies View Related

Server :: Convert Syslog Messages To XML?

Feb 8, 2011

What is the easiest way in Linux to convert syslog messages to XML?

View 1 Replies View Related

Programming :: Get The Log (syslog) Messages Through Application?

Mar 30, 2009

I want read the log messages to my 'c' application , i am using the fedora core 8 operating system , how to read the system log messages(syslog) through my application.

View 3 Replies View Related

Ubuntu Servers :: Syslog On A 8.04.4 LTS - Log The Messages From A Linksys Router

May 2, 2010

On this Ubuntu 8.04.4 LTS server, I want to log the messages from a Linksys router. So I made this change to "/etc/init.d/sysklogd" SYSLOGD="-r" Then in "/etc/syslog.conf" I added the following to the top of the file: Code: if $fromhost isequal 'Linksys' then /var/log/Linksys.log & ~

Then I rebooted the server. But there is no "/var/log/Linksys.log" file.

View 4 Replies View Related

Ubuntu :: Suppress Eth0 PHY Reset Messages In Syslog?

Feb 9, 2010

I'm getting 10000000's of syslog messages :

"eth0: PHY reset until link up"

- I have wireless and don't normally use an ethernet cable. From Googling round I found this bug report https://bugs.launchpad.net/ubuntu/+s...ux/+bug/270184 which appears to match the problem, however I do not feel happy/competent enough to recompile the driver as suggested in the bug fix. Is there a way to configure the driver so that it only tries the eth0 connection a limited number of times? This is Ubuntu 8.04 2.4.26-27 and SIS 191 chipset

View 4 Replies View Related

Networking :: Capture Syslog Messages From A Device On The LAN?

Jan 6, 2009

Got a Ubuntu system. Have a device on my LAN that can send Syslog messages.

I would like to:

1. Capture these specific syslog messages.

2. Keep them separate from any other syslog activity on the Ubuntu system.

3. View these syslog messages later.

View 1 Replies View Related

Security :: Send Syslog Messages Through SNMP?

Aug 3, 2010

Is there a way to send syslog messages through SNMP? I'm not finding much info online around this. A co-worker said it was easy to do. RHEL5.5

View 1 Replies View Related

Server :: BIND Messages Filling Up SysLog?

Dec 9, 2009

I have the following BIND messages filling up my SysLog that I'm hoping someone can explain to me:

Code:

Dec 9 09:35:44 dns2 named[30103]: client 67.130.224.5#49551: query (cache) 'www.domain.com/A/IN' denied
Dec 9 09:35:47 dns2 named[30103]: client 67.130.224.5#64561: query (cache) 'www.domain.com/A/IN' denied

[code].....

I would expect this behavior if "domain.com and anotherdomain.com" wasn't a domain that I hosted. But this is a valid domain that this server should be answering for. In my named.conf I do have the

Quote:

allow-query { any; };

option on every zone. This is my slave server and I have the primary shut off so I can test this slave server. FYI: So far queriers still seem to be working. The pages for the sites are still coming up via the internet.

View 1 Replies View Related

Server :: Syslog Not Updating The Messages File?

Feb 16, 2011

I am facing an issue with my syslog server. The server is collecting remote log also. and the issue is no log messages are updated in /var/log/messages file. But other files are getting updated.

[root@Server1 ~]# cat /etc/syslog.conf
# Log all kernel messages to the console.
# Logging much else clutters up the screen.

[code]....

View 13 Replies View Related

General :: Logging Ssh Messages In A Separate File Using Syslog-ng?

Jul 2, 2011

I am facing a problem while trying to log SSH messages in a separate file, say, /var/log/ssh_logs. I have tried modifying the syslog-ng.conf file as follows:

filter f_ssh { facility(auth, authpriv) and match("sshd[[0-9]+]:"); };
destination d_ssh { file ("/var/logs/sshd_logs"); };
log {

[code]....

But still I am not able to get the ssh logs in the new file. They continue to go to /var/log/auth.

View 1 Replies View Related

Security :: Configure Shorewall To Allow Syslog Messages From Router?

Jan 29, 2011

I have my system set up to where the router(dd-wrt) will send it's syslog messages to my Linux PC system. I am using shorewall as my firewall. I have two questions: How can I configure shorewall to allow the messages from my router? If I use my router IP address to allow the messages to come through the firewall, will this be a great security risk as anything from the internet can come through on that router ipaddress?

View 1 Replies View Related

Server :: Redistribution Of Inbound Syslog Messages To Syslogd?

Apr 28, 2010

RHEL 5.4 i want to be able to do redistribution of inbound syslog messages to syslogd. as example, my syslog.conf has in it at the end:

*.* @192.168.5.5
*.* @192.168.5.6

my sysconfig/syslog file has "-r" as the only option for syslogd. any messages generated by the localhost will be sent to the two remote servers, but messages that come into this box (udp 514) only get logged locally and do not get sent out to the remote hosts.

you may ask why do i want to do this. because i have several syslog servers (for security purposes) and many of my net devices are configured to send syslog to all the syslog servers, hence each device is sending way too much duplicate udp-514. so i would like to minimize the udp-514 coming out of the devices, have all devices send to a central syslog server, and then central syslog server do distribution to the other syslog servers. others have also called this "syslog proxy". or, if not with syslogd, how to achieve this (preserving the original syslog message host info, etc)?

View 1 Replies View Related

CentOS 5 Networking :: Syslog-ing Messages From A Particular Host To A Particular Log File

Oct 12, 2009

I've just configured my Linksys RVS-4000 router to syslog messages to remote syslogd server (i.e. my CentOS5 machine). Redirecting messages was easy, but now I'm having difficulties to redirect those same messages received from Linksys to a separate log file. By default, all these messages are logged to /var/log/messages, and after browsing manual pages for syslog, syslog.conf, and syslogd, came to suspect that what I want isn't possible.

View 1 Replies View Related

OpenSUSE Install :: Autologin - Syslog - Kernel Messages - Console

May 9, 2010

What i'm trying to accomplish seems rather silly but is needed for my little project here.

I'm using OpenSuSE 11.2 as a media center PC and need it to login automatically(console not X). That one i accomplished without problems.

However, after login i can see all the info about the services that were started and that needs to "go away".

One could do a "clear" in the .bash_rc and or .bash_profile but it will still show the login prompt which i don't want to see either (i don't even want to see the blinking cursor as well).

Question: How do i accomplish that so that the login console shows only the "splash screen" without any output of the kernel,rc.status nor the "issue-file"... just a plain blank screen ?

View 6 Replies View Related

General :: Send Snmp Traps Based On Syslog Messages?

Oct 24, 2010

I need to be able to send snmp traps based on certain severity or content of syslog messages. Can this be done from standard linux? Alternatively, are there MIB's out there that support syslog events so I can get the status from snmp?

View 1 Replies View Related

Software :: Filter PA/module-alsa-sink.c Messages From Syslog?

May 4, 2009

GNOME has adopted the pulseaudio infrastructure and it has grave errors reading from ALSA sinks. One of the many effects is that every 2 or 3 seconds a 3 line error message is written to the syslog to the effect of 'ALSA woke us up...blah blah blah' and it is filling up everyone's syslog. What I need is a workaround to just stop these messages from being written so I can level set and figure out a long term course of action.

View 2 Replies View Related

General :: Syslog Program - Send Email In Response To Messages Receives

Jun 22, 2010

I'm running a cobalt raq550 web server (Linux version 2.6) and I want to install a syslog program on it, something that could log messages and send me an instant email in response to certain messages it receives. Is there such a program?

View 6 Replies View Related

Fedora Servers :: Samba Messages In Syslog - Allow Logging To The Standard Samba Logfiles

Mar 18, 2010

I wish to prevent the samba messages (mainly nmbd and winbindd) from appearing in the system log (/var/log/messages). I want to allow samba logging to the standard samba logfiles, but prevent the syslog getting clogged up by samba. I added syslog = 0 to smb.conf and reloaded the config but the messages were still appearing. I also tried the following (and restarted the syslog via /sbin/service syslog restart) # Suppress messages from samba.

nmbd.* /dev/null
smbd.* /dev/null
winbindd.* /dev/null

For interests sake the messages I'm getting are below (I'm not concerned about the messages themselves, I can chase them up at my leisure via the samba logs) Mar 18 09:58:29 SERVER nmbd[3808]: query_name_response: Multiple (2) responses received for a query on subnet xx.yy.z.zz for name DOMAIN<1d>. Mar 18 09:58:29 SERVER nmbd[3808]: This response was from IP xx.yy.z.zz, reporting an IP address of xx.yy.z.zz.

View 1 Replies View Related

General :: Best Open Source Syslog Server / Syslog-ng Which Is Not Fulfiling Requirement?

Dec 11, 2010

I am looking for an open source syslog server which accumulate the each and every log of Windows, Solaris, Linux and network devices. Currently I am using Syslog-ng which is not fulfiling my requirement in Windows clients, as I need the logs of every action which user performed after logon.

View 2 Replies View Related

CentOS 5 :: Replacing Syslog With Syslog-ng?

May 5, 2009

trying to replace syslog with syslog-ng. When I:

yum erase syslog,

wants to remove everything else that (presumably) has syslog as a dependency. how do I replace the dependency on syslog with a dependency on syslog-ng?

View 3 Replies View Related

OpenSUSE Install :: Syslog Files Accumulating Searching For Setting To Delete Old Syslog Files?

Oct 7, 2010

I noticed in my system that my root partition is getting full. I found a lot of old compacted syslogfiles. Had a look at etc/sysconfig editor eg cron but could not find a setting which allows to delete files older than a month. Where and how could I influence this ? I deleted manually all syslog files older than a month. Approx 6GB

View 9 Replies View Related

Programming :: Logging Messages From Program Doesn't Reach /var/log/messages?

Jul 13, 2011

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:

options {
flush_lines (0);
time_reopen (10);
log_fifo_size (1000);

[code]....

the last two rules show my program gnssapp. the result is all debug levels or crit or err levels I don't see any of them !

View 3 Replies View Related

Security :: Stop Particular Messages In /var/log/messages?

May 30, 2009

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

Quote:

Apr 30 20:25:18 TEST-NODE kernel: IPT: IN_NOMATCH IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:17:a4:a7:3d:a2:08:00 SRC=172.26.16.27 DST=172.26.16.255 LEN=104 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=10100 DPT=10100 LEN=84

[code]...

View 7 Replies View Related

Ubuntu Installation :: Update 9.10 To 10.10 Direct?

Dec 1, 2010

I Have Simple Proplem I Have Upuntu 9.10 And I Need to Update this vesion to 10.10 Direct is there a way to do this

View 1 Replies View Related

Ubuntu :: Install Bitdefender Direct From CD?

Jan 8, 2011

How do I install programs from CD or files I've doanload (linux) google earth.

View 1 Replies View Related

Ubuntu Multimedia :: Getting Direct TV / HTPC Setup?

Jun 11, 2010

I'm in the process of building a PC to run Ubuntu 10.04 and I want to use it (eventually) to with Direct TV. I just want to be able to use the PC as the DVR if possible. I'll accept the limitations, but I'm trying to do my homework to make it as easy as possible to use for my family.

I've started out with a BioStar M32 Micro ATX board and an Intel E5300 Dual Core Pentium 2.6Ghz processor, with 2Gigs of Kingston RAM. It runs pretty well, but I've got nothing installed yet (I'm dual booting with Windows Server 2003). Right now it's just in an old E Machines case with a new 500Gig toshiba SATA drive.

Is there a guide to what hardware I could get to work with Direct TV? Also, I'm not sure of what all is possible as far as integrating the two. If there is a guide, please let me know. Also, I would love to hear from anyone who is able to network or use Ubuntu with Direct TV.

View 1 Replies View Related

Ubuntu :: Unity Will Not Start / Direct Rendering?

Dec 24, 2010

Version: 11.04 (At least that's what the About Linux file tells me)
Graphics Card: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
System: Dell Netbook. Nothing remotely fancy.

After a night of trying to adjust the graphics settings to work with a reasonable game, I powered down for a few days and went hiking in the woods. Never got the game to work, but I had no problem restarting X and continuing to work. Thus, I assumed nothing was wrong. The only real change was the installation of DRIConf. Upon my return, I started up only to see my desktop background image load, and no GUI. No cursor, no Unity, nothing. When I boot up in recovery mode, GNOME seems to work perfectly fine. If I open DRIConf, though, it says that no devices can be found that are capable of direct rendering. My glxinfo output is below (clearly indicating that direct rendering is working). I assume there's a relationship between these problems. I just switched to Ubuntu a few months ago and am obviously a bit beyond my depth.

name of display: :1.0
display: :1 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions: .....

View 3 Replies View Related

Ubuntu :: No 3D Cube And Direct Desktop Access

Mar 5, 2011

Running Ubuntu Netbook remix on a Toshiba NB500-upgraded to 2 Gigabytes RAM. Very slow opening applications via the side icons. 8-12 seconds. Is that normal for this distro?
- No 3D cube. Installed related compiz software, adjusted settings, ticked cubes etc. Not a peep.
- No direct desktop access. Only via side icons. Just find it fiddly re: using desktop and changing background via side icons.
Couple other items (MBB for one) but for another category.

View 7 Replies View Related

Ubuntu Installation :: Direct Install Over Slackware

Apr 8, 2011

I have slackware on my laptop but it's pretty buggy lately, and last night it really pissed me off freezing and loosing the volume icon.So I decided to install Xubuntu over it.(Most probably it'll be Xubuntu, 11.04 or maybe Aptosid with XFCE )But - I'd like to try not to format the home partition. Now it's separated. (The partitions now are /boot, swap, / and /home.) So, I plan to:

1. Boot from the USB;

2. Delete all the hidden files and folders from the the /home. So anything that the Slackware has put and/or set - to be cleared.

3. Directly install, keeping the current partitions, but without formatting the home.

The only thing that I think of that could make some problems is that when I booted Xubuntu 10.10 on my working machine - it couldn't mount any of the hard drives? So if this happens on my laptop too.I won't manage to delete all the hidden stuff on the home.

View 1 Replies View Related







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