General :: How To Generate A Log In Syslog

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


Software :: Set Time To Generate New /var/syslog?

Oct 26, 2010

I am using Debian 5 and it is starting up a new syslog file everyday about 06:25 in the morning. How can I set it up to midnight?

View 2 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

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?

# 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 View Related

General :: How To Get Syslog Using Serial Port?

Feb 6, 2010

How do I get syslog using serial port?

View 2 Replies View Related

General :: Installing Syslog -ng In Backtrack5

Jun 29, 2011

i am looking to install syslog-ng on my backtrack5 linux.

View 2 Replies View Related

General :: Possible To Adjust Syslog Configuration?

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

General :: Syslog Events To Identify Particular?

May 24, 2011

I know about syslog and /var/log/* log files but I don't know what kind of events means particular problem.

- hardware issues (?)
- security problem (/var/log/security)


View 1 Replies View Related

General :: Can't Find Syslog.conf Anywhere

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

General :: Generate Random Number Either 1 Or 0?

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.

matthew@mvm:/h/misc> cat a
for i in {1..5}; do
echo $RANDOM


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

General :: How To Generate Report - Sa* And Sar* Files ?

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

General :: Putting A Remote Syslog Into Its Own File?

Aug 11, 2010

I have a Tomato router and it has the capability to have its logs go to a external server. syslog is the obvious choice for this. So I enabled remote logging on my linux server's syslogd (syslogd -r) and I can see all of the logs in /var/log/syslog. What I want to do is take everything that comes from the IP of my router ( and divert it to its own file like /var/log/tomato to avoid polluting my syslog with external logs.

I can't find any examples of someone doing this. My only solution is to get a script together that strips out any line in /var/log/syslog with in it and puts the line into /var/log/tomato and have the script run as a cron job, but that seems unnecessarily messy.

Unless someone knows that there is a solution, I'm 95% sure that syslog doesn't support this after reading more in-depth of the man page. So I need to migrate to syslog-ng or make a crazy script that runs with cron.

View 3 Replies View Related

General :: Disable Cron Logs From Php-syslog-ng?

Aug 9, 2010

i installed php-syslog-ng 2.9.8m in RHEL5 box. I saw logs from the local machine once the cron execute in every one minute.I dont need to appear those in my syslog console. I want to disable these from my linux box.How can i archive this

View 1 Replies View Related

General :: Syslog - Access Log Of Apache Not Working

Aug 11, 2011

I am running a syslogd on my ubuntu 10.10 system. I have a apache2 server on the same machine. I have configured my apache2.conf file to send the error logs to the local syslog server.

The config is as under :-
LogLevel notice
ErrorLog syslog:local1

I have also configured the /etc/syslog.conf as under :- /var/log/apache2/error_logs

I have created a file in the /var/log/apache2 dir with the ownerships and permissions as under:-
-rwxrwxrwx 1 syslog adm 77 2011-08-11 18:14 /var/log/apache2/error_logs

Next I restarted the sysklogd and apache2 servers with a service command as under:-
sudo service sysklogd restart
sudo service apache2 restart

I thereafter observed the /var/log/apache2/error_logs file and found the entries for apache2 closing down and coming up as under:-
Aug 11 18:14:14 cc apache2[4940]: [notice] caught SIGTERM, shutting down
Aug 11 18:14:19 cc apache2[5282]: [notice] ModSecurity for Apache/2.5.12 [URL] configured.
Aug 11 18:14:19 cc apache2[5282]: [notice] Original server signature: Apache/2.2.16 (Ubuntu) mod_ssl/2.2.16 OpenSSL/0.9.8o
Aug 11 18:14:20 cc apache2[5285]: [notice] Apache/2.2.16 (Ubuntu) mod_ssl/2.2.16 OpenSSL/0.9.8o Microsoft-IIS/5.0 configured -- resuming normal operations

Now the problem is I donot get any other messages thereafter. So it is hardly useful. How can I increase the logged messages from apache. I tried the facility:

Then restarted the sysklogd and apache2, but the contents of the /var/log/error_logs file remained similar. Next, I followed the link. I created the perl script for recording access logs of apache2. I then restarted the apache2 and sysklogd. when I opened my website from a browser, the access log did not work. I think I am getting something wrong with the facility value , in apache2.conf it is ErrorLog syslog:local1 ! but the script is suggesting that it should be local2 in the line 4
I therefore changed the script to local1 in above line. But still no access log?

View 2 Replies View Related

General :: Generate List Of All Available Man Pages On System?

Nov 5, 2010

How to generate a list of all available man pages on a system?

View 4 Replies View Related

General :: Generate A Public/private Key - UNIX

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

General :: Generate Without Password Or To Provide Script

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

General :: Generate VoIP Traffic For Wireless?

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

General :: Identify The USB Device Repeatly Being Reset In Syslog?

Apr 13, 2010

I noticed there're lots of "usb 3-1: reset low speed USB device using uhci_hcd and address 2" warnings in two of our server's syslog. They occur roughly every 20min. The server is a Dell R710 with CentOS 5.4 X86_64 installed. I suspect it's the virtual CD device of the iDrac6 but not sure. How Can I identify which USB device triggering these warning? The related syslog is as following:


Apr 13 23:32:47 bak2 kernel: usb 3-1: reset low speed USB device using uhci_hcd and address 2
Apr 13 23:42:44 bak2 kernel: usb 2-3: USB disconnect, address 3
Apr 13 23:45:53 bak2 kernel: usb 2-3: new high speed USB device using ehci_hcd and address 4


View 2 Replies View Related

General :: Configure Syslog Client And Transfer Log From Windows Xp?

Jan 29, 2011

How to configure a syslog client on ubuntu I don't have a syslog.conf file in ubunut client.also how to transfer log from windows xp to syslog server

View 1 Replies View Related

General :: Forward System Logs To Syslog Server?

Sep 24, 2009

I'm running Ubuntu Desktop 9.10. How do I get it to forward its logs to a syslog server (its running on a different machine)?

View 2 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 {


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

General :: Syslog Allow Organizing Stored Simple Log Files

Sep 15, 2010

Syslog is used to store simple log files or we can manage them too? Well, the thing is, that I need to run a software (like syslog) to collect my logs and put them in order and organize them so it makes them "understandable". I have been told that syslog can do the job and that it doesn't need a complex configuration to work.

View 12 Replies View Related

General :: Syslog Format - Cleanup Code Starts

Oct 6, 2009

I am using vsyslog() function in my application to write logs to syslog. I could see the logs in /var/log/syslog as follows.

Oct 6 11:25:23 machine application [4544]: cleanup code starts

What is this number [4544] stands for?

View 2 Replies View Related

General :: Syslog Message (Using Code Or Logger Command)

Apr 19, 2010

I configured syslog.conf to send logs to kiwi syslog server. After resetting (/etc/init.d/syslog restart),the server got log the message: "syslog 1.4.2 restart". But am getting just resetting message, nor other syslog message (using code or using logger command). I have other computer that send all the syslog messages.

View 2 Replies View Related

General :: Generate Html Based On Directory Structure?

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

General :: Mac OS To Generate Pdf From A Document Without Additional Software To Install

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

General :: Security - Tool To Generate Memorable Passwords?

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

Copyrights 2005-15, All rights reserved