General :: Enabling / Disabling Specific Priority In Syslog.conf?
May 11, 2011
Trying to figure out why the following two are treated differently...
Code:
*.warn;
kern.!=debug;auth.none;
authpriv.none;cron.none;mail.none;news.none -/var/log/syslog
and
[Code]....
According to man syslog.conf "You can specify multiple facilities with the same priority pattern in one statement using the comma (``,'') operator. You may specify as much facilities as you want. Remember that only the facility part from such a statement is taken, a priority part would be skipped."
Can someone confirm that this statement means that kern.!=debug is ignored in the first part because it's priority is not the same as the trailing facilities ending in .none?
View 1 Replies
ADVERTISEMENT
Mar 31, 2010
I'm using Linux Kernel version 2.6.33 on a server with Intel Xeon X5570.
I assume that Intel's DCA is already enabled on my system, because I see
Code:
I would like to test the effects of with and without DCA. How can I disable DCA?
View 2 Replies
View Related
Jul 10, 2011
I have a src package which uses automake for make. How can I view the available options in configure command for enabling and disabling options?
View 4 Replies
View Related
Aug 19, 2010
I'm reading about how to set log options and I can't find /etc/syslog.conf?
I'm using fedora12 , ubutnu 10.04 and suse 11.2.
And Can't find syslog.conf anywhere.
View 3 Replies
View Related
Dec 3, 2010
I�m installing fail2ban to improve the security of a home asterisk server which from time to time becomes the target of some sip account cracker and/or ssh brute force attack.For those not familiar with fail2ban, this utility monitors log files to find matches with user specified expressions to identify the presence of a brute force attack. Then configures iptables rules to block the offending IP.Here�s an example:
Code:
NOTICE[1734] chan_sip.c: Registration from '"613"<sip:613@xx.xxxx.xxx.xxx>' failed for 'yyy.yyy.yyyy.yyy' - No matching peer found
[code].....
View 1 Replies
View Related
Aug 25, 2011
I have some init scripts that launch some daemons that I wrote. I want Linux to generate a coredump anytime something crashes. I activated coredumps in /etc/security/limits.conf by adding the next line:
* hard core 100000 After rebooting, I run ulimit -a and I can see that coredumps are not activated: > root@computer:~# ulimit -a > core file size (blocks, -c) 0 First, I checked if there is any file script on my system that deactivates coredumps (greping ulimit -c 0 ), but I didn't find anything so far.
Then, I created a bogus c program..to double check if it's working, and I can confirm that it's not. The program is this
[Code]...
View 1 Replies
View Related
Mar 29, 2011
I am having a problem using my laptop's special keys to toggle my touchpad on and off on my ASUS G73JH laptop, running Ubuntu 10.10 (2.6.35-28-generic-pae).
First, some preliminaries:
My touchpad works just fine, but it does not respond to my laptop's special key, Fn+F9.
In /etc/acpi/events I have the following script, "asus-touchpad":
Code:
# /etc/acpi/events/asus-touchpad
# This is called when the user presses the touchpad button and calls
# /etc/acpi/asus-touchpad.sh for further processing.
[Code].....
View 1 Replies
View Related
Apr 10, 2011
How do you enable/disable the autostart of services. For example let's say I know I'm not gonna use apache and mysql for a while and don't want it to autostart anymore how do I disable it ?
And then once it is needed again how do you enable the autostart again ?
View 5 Replies
View Related
Mar 30, 2010
I ran into this today accidentally turned on networkmanager and it took it upon itself to rewrite some things and proceeded to make any DNS lookups on my server Especially those reverse DNS for SSH and SFTP take so long they would just time out instead of completing.. Disabling networkmanager did not undo the damage either. Short fix, Erase your resolv.conf file and add 2 lines to it as so, your nameservers!
nameserver xxx.xxx.xxx.xxx
nameserver yyy.yyy.yyy.yyy
save, and run the following commands
service network restart
service httpd restart
service sshd restart
Mine had a search line added by networkmanager and some others, when i reverted it back to as above, almost instantly after restarting the services the systems lookups were once again, lightning fast. DNS lookups were taking upwards of 20 seconds for unknown reasons after this happenned
View 1 Replies
View Related
Jan 4, 2011
We want to know following :
1) What is the difference between rtprio and priority in limits.conf?
2) How to apply changes in values of limits in limits.conf?
3) What is the value system takes if it is not set in limits.conf?
4) What is the max/ideal value of each parameter especially priority?
View 1 Replies
View Related
Dec 9, 2010
I have BT4 as an iso image and start it up by booting from cd, when i try the command root@bt~:startx it comes up with this fatal error. what can i do to get this work? and of course im new at this.
View 5 Replies
View Related
Sep 17, 2010
Missing Syslog.conf file First I installed VM Ware. I then installed Debian on a virtual machine which appears to be running fine. (except I have no network connectivity) but I digress. The real issue is that there is no syslog.conf in etc directory or anywhere else.
View 8 Replies
View Related
Mar 15, 2010
I was checking my syslog.conf file recently and it seems that it is an empty file >_> it shouldn't be correct?
View 2 Replies
View Related
Mar 1, 2010
OS CentOS 5.4 I have a DNS server that is logging all named and dns requests to the chrooted named directory. By default named logs to /var/log/messages but I want to isolate all the dns queries and requests to separate files. I know I can add entries to /etc/syslog.conf to "roll" the logs and logrotate should pick them up but fuzzy as to the syntax. I don't know what "tag" to use in the first fieild. for example
# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;authpriv.none;cron.none/var/log/messages
Here is the logging section of my named.conf
# pwd
# /var/named/chroot/etc
logging
{
[code]....
View 5 Replies
View Related
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
Dec 2, 2010
for example
else {
for fileDOC in $location/*.doc
do
[code]...
View 12 Replies
View Related
Jan 10, 2010
I need to ftp all of my Linux server files & folders through FTP Pro . But I can just login as /home/www user and I cannot login as super user that is suitable for my case (as I want to see all of the files) . how can I raise the priority of ftp such that FTP Pro can login to my Linux server as root user ?
View 2 Replies
View Related
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
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
Oct 7, 2010
Code:
# ps
22355 pts/3 00:00:00 bash
#
# ps -l 22355
F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD
0 S 519 22355 22354 0 75 0 - 1338 wait4 pts/3 0:00 -bash
#
# ps -o pid,priority,command 22355
PID PRI COMMAND
22355 15 -bash
#
Why are the priority values of the process different? What is the difference? Is the value 15 the "nice" priority? Then, what is the value 75? Please, explain the difference of each result.
View 4 Replies
View Related
Jun 18, 2010
How to view the priority (-20 to 19) of the process in fedora/redhat.
View 10 Replies
View Related
Jan 11, 2011
In a office network, how to queue incoming downloads and later, it will be scheduled by priority? Is there any such open source project /tool available? I have heard about squid proxy, but does it allow re scheduling ?
View 1 Replies
View Related
Feb 6, 2011
I dont have eny version or experiance of linux at the moment and im a bit of a neanderthal when it comes to computers. im trying to diside what version of linux to use to reformat my other computer, bearing in mind my main priority is gaming. which version would you think would be best?
View 5 Replies
View Related
Aug 8, 2010
I'm using two swap disks. Changing the order they are in in /etc/fstab and using "pri" in fstab doesn't have any effect. This is what it looks like /etc/fstab
#swap on other disk
UUID=90a1550c-84d6-4bde-8bc1-7c15292980f1 none swap sw,pri=-1 0 0
#swap on same disk
UUID=13b70e65-f1c3-4728-920f-9e92467d1df0 none swap sw,pri=-2 0 0
[Code]...
Its opposite of what it is in fstab, and changes to fstab have no effect.
View 1 Replies
View Related
Nov 9, 2010
I have two custom tasks running daily. How do you give priority to one over the other?One of them is configured via the logrotate.conf. The other sits directly in cron.daily.I'd like the one in cron.daily to run after the script that is in logrotate.Please can you advise how to do this...
View 3 Replies
View Related
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
May 18, 2010
I want to record an internet radio station starting at 2:00am tomorrow morning. The specific program on the radio station lasts until 6:00am. The command I need to run to record the station is: Code:mplayer http://wjcu.jcu.edu:8001/listen.pls -ao pcm:file=indie_heat_of_the_night.wav -vc dummy -vo nullI'd use cron, but 1. I'm not sure how to and 2. it seems unnecessarily complicated for something that I only want to run once. If cron is the only/easiest solution, I guess I'll just have to resort to that, but I'd rather not.
View 12 Replies
View Related
Feb 6, 2010
How do I get syslog using serial port?
View 2 Replies
View Related
Jun 29, 2011
i am looking to install syslog-ng on my backtrack5 linux.
View 2 Replies
View Related
Feb 10, 2011
I was reading around the web and saw that someone mentioned that the default syslog configuration should be adjusted. Is that true?
View 3 Replies
View Related