A log file is a file, often in clear text, which is generated by a software process to record some specific details about the workings of this process.

learn more… | top users | synonyms

2
votes
4answers
2k views

nginx logrotate config

Whats the best way to rotate nginx logfiles? In my opinion, I should create a file "nginx" in /etc/logrotate.d/ and fill it with the following code and do a /etc/init.d/syslog restart after that. ...
0
votes
0answers
26 views

Did not receive identification string from xxx. With a very long interval [on hold]

I am not really sure what should I do in such situation. There are similar questions on this site like this, but I highly doubt that the answer there is applicable in my case. When I check ...
0
votes
2answers
43 views

store log files in the cloud, when servers are not in the cloud

We're looking at a long-term migration towards the cloud. The plan is to start small, and gradually move less essential parts of the infrastructure into the cloud. All good so far. Part of this ...
-1
votes
1answer
18 views

Howto join ssl_access_log and access_log? [closed]

Recently I discovered in my /var/log/httpd files called ssl_access_log and ssl_error_log. Now I always looked and scanned the regular access_log and error_log. Questions are? Do ssl_error_log and ...
1
vote
2answers
31 views

Zabbix 2.0 reads logs correctly, but trigger status is “UNKNOWN”

I'm trying to monitor a log file for the word "error", and if the word appears, fire a trigger for each new occurence of "error." I'm starting simply, with a file (/var/log/test.log) that is ...
4
votes
8answers
8k views

Linux monitor logs and email alerts?

I have a server with a faulty power button that likes to reboot itself. Usually there are warning signs, like the acpid log file in /var/log starts spamming garbage for about 10hrs or so. Is there an ...
0
votes
1answer
30 views

use do,while to make loop for each network adapter

I want to get RX and TX from each network adapter, so to get RX and TX from one network adapter, i used this commands : cat /proc/net/dev | grep 'wlan0' |awk '{if ($2) print $2}' | awk -v ...
3
votes
8answers
2k views

How can I get alerts when my site is down?

My blog is a custom ruby/rack application, and has been crashing randomly every couple of weeks. I sometimes don't notice for days, and I'd like to be notified immediately if it happens. What's the ...
0
votes
1answer
978 views

Setting up Splunk/IronPort WSA

I recently stumbled across Splunk 4 (by way of an advert on this very site...) and found that it had an "App" that's designed to work with Cisco IronPort WebSecurity and E-Mail Appliances! That's ...
0
votes
4answers
5k views

Timestamp in Tomcat logs is wrong

For some reason, the timestamp in my Tomcat logs is off. The system clock is correct, and set to PST, but the Tomcat logs appear to be using GMT. I haven't been able to find this setting ...
0
votes
1answer
39 views

Security Log eating RAM

I've been troubleshooting some hellacious memory issues on a lot of servers in my domain as of late. I recently found this program called RAMMap from Sysinternals and it showed that my entire ...
0
votes
1answer
12 views

How to log mail client with Dovecot / Postfix

Does anyone know if it's possible to have Dovecot or Postfix output the mail client of a user? In Dovecot's variables list, I cannot find anything in that direction.
0
votes
0answers
18 views

Logparser - Getting average response time from microseconds

I have one month's worth of web server log files in the following format: #Fields: date time cs-uri-stem cs-uri-query c-ip cs(Referer) sc-status sc-bytes time-taken 2014-03-12 17:34:02 ...
0
votes
2answers
31 views

nginx access.log only kept for a day

I'm using goaccess on Ubuntu Server 12.04 to view my analytics on my web server. I just run the following utility: goaccess -f /var/log/nginx/access.log However I'm only seeing one days worth of ...
1
vote
0answers
20 views

unable to start zabbix_server on OSX 10.9

I followed the zabbix docs available on https://www.zabbix.com/documentation/doku.php?id=2.0/manual/installation/install Installation from source I have the web part up and running and I get Zabbix ...
2
votes
2answers
866 views

IIS6/IIS7: how to get physical path to logs of web sites?

I have two questions: How to get list of all web web sites on server How to get list of log folders for each website (ex:C:\WINDOWS\system32\LogFiles\W3SVC1141336521 ) Are there special console ...
2
votes
1answer
40 views

Different permissions per log file when using rsyslog

Is it feasible to define different permissions per log file, using rsyslog? $FileCreateMode applies to all, but I want different permissions for a specific file.
0
votes
2answers
38 views

How to collect remote windows logs as a non-admin

I am trying to collect logs from remote windows machines (Windows Server 2008R2 and Windows 7) and I can't figure out a way to do so in such a way that I should still be able to accomplish this ...
1
vote
2answers
31 views

Decode all records from wtmp

The Linux log /var/log/wtmp according to the man page http://linux.die.net/man/5/wtmp stores "utmp" events for many system events, like logging into it (LOGIN_PROCESS ut_type), changing runlevel ...
0
votes
3answers
3k views

error in php not logging or displaying

I can not get any errors to display on screen on write to a log file. When check phpinfo() print out I have same value of master a local for display_errors On display_startup_errors On error_log ...
0
votes
0answers
23 views

Which Log file to check for strange Ubuntu server behaviour (offline for 5minutes at random times)

I am having problems with my Ubuntu 10.04.4 LTS server. My monitor application claims it goes off every morning at about 4 AM for 5 to 10 minutes. I am not sure where to start the troubleshooting ...
1
vote
1answer
41 views

Strange notice in apache error log

Today I found a strange notice in apache error.logs. The log tells me the following: [Mon Mar 24 06:26:34.872366 2014] [mpm_prefork:notice] [pid 32214] AH00163: Apache/2.4.7 (Ubuntu) configured -- ...
1
vote
2answers
193 views

Fail2ban log filled with entries saying “fail2ban.filter : WARNING Determined IP using DNS Lookup:..”

My fail2ban log at /var/log/fail2ban.log is completely filled with entries saying: fail2ban.filter : WARNING Determined IP using DNS Lookup: [IP address] I think this may have begun after I changed ...
0
votes
2answers
955 views

IIS Advanced Logging Forward to Syslog

I am looking for a method that would allow us to forward the IIS Advanced Logging logs to a centralized log source via syslog or something similar. We are able to perform this currently for the ...
0
votes
1answer
24 views

Can not truncate / clear error.log on apache, but can do it manually with nano

I tried to clear the content of error.log file on my apache server with commands sudo >error.log sudo truncate -s0 error.log But in both cases I got -bash: error.log: Permission denied. I ...
2
votes
1answer
2k views

logfile deleted on Oracle database how to re-create it?

For my database assignment we were looking into 'database corruption' and I was asked to delete the second redo log file which I have done with the command: rm log02a.rdo this was in the ...
0
votes
0answers
15 views

Exchange 2010 logs

Exchange 2010 sometimes doesn't delete its logs after full backup completion! Usually, we we just delete these logs (and we didn't face any problem because of that) However; is there another way to ...
0
votes
1answer
11 views

Get Used Binding in IIS log

I've around 300 domain name in same iis site, when I'm looking the log I cannot determinate which binding is used for each request. Is there a way to do this?
5
votes
2answers
2k views

Can postgres internal log rotation mechanism delete log files older than a certain time?

I am using posgtres' internal log rotation mechanism. I would like log files older than 30 days to be deleted. How do I get postgres to do this? If postgres does not support it, can I set logrotate to ...
4
votes
1answer
7k views

How to forward specific log file outside of /var/log with rsyslog to remote server?

How can I forward message from a specific log file like /www/myapp/log/test.log with rsyslog client to remote rsyslog server? This log file is outside of the directory /var/log.
0
votes
2answers
31 views

DNS log on Windows Server 2008

In a Windows Server 2008 R2 machine, with DNS Server Role installed in a local network, can I read in some log which queries the network hosts have made? To obtain some list of the visited sites. If ...
1
vote
1answer
30 views

monitoring error rate with monit

Is there a way to tell monit to alert me if there are more than X errors (e.g. lines matching "ERROR") in a log file in a certain time? My use case would be: errors sometimes appear in my log file ...
-1
votes
2answers
20 views

Can't access the log folder from apache [closed]

When I try to get into the log folder from apache, I get a "Permission denied". drwxr-x--- 2 root adm 4096 Feb 12 17:28 apache2/ Im not sure how to fix this problem without creating a ...
1
vote
1answer
17 views

What is “iscraped” in Apache LOG (/var/log/messages)

For example this is all I see in the log. Log is now several GB big :S I've tryed to google for a solution, but I've found none :( Feb 10 09:41:53 vps2 iscraped[12861]: #SCRAPED# INFO: child started ...
2
votes
1answer
34 views

Clearing a log file owned by root

I need to clear a log file with: cat /dev/null > error.log The problem is that the file is owned by root -rw-r--r-- 1 root root 15505 Feb 9 15:08 error.log and this doesn't work $ sudo cat ...
1
vote
1answer
746 views

Ubuntu 11.04 server crash report

I am using Ubuntu 11.04 server addition for my application. During some testing my server has just crashed. After that I am restart the server. My problem is how can i find the reason of crashing? I ...
1
vote
1answer
63 views

Cutting down on Exchange 2013 .log Files in Mailbox Database folders [duplicate]

The logs found in: C:\Program Files\Microsoft\Exchange Server\V15\Mailbox\Mailbox Database Are these used to support the indexing or something important? I only ask because they take up a chunk of ...
4
votes
2answers
133 views

Opening an archived “Application Event Log” (Hidden Directory)

I'm an admin on the box. I've turned off all the folder options "Hide protected operating system files" and turned on "Show hidden files and folders". I can see this folder in Windows Explorer: ...
11
votes
2answers
29k views

How can I display and log PHP errors on IIS7?

We're running PHP 5.2.5 on an IIS 7 Server and we're having problems making PHP errors visible... At the moment whenever we have a PHP error the server sends back a 500 error with the message "The ...
0
votes
3answers
826 views

Why is logrotate not rotating logs Tomcat access logs on aws centos 6.3?

I have the following file in /etc/logrotate.d: /usr/share/apache-tomcat/logs/*.access { nodateext copytruncate daily rotate 7 notifempty postrotate EXT=`date --date='-1 day' +%Y-%m-%d` /bin/gzip $1.1 ...
0
votes
0answers
27 views

Windows Journal files $UsnJrnl too big

I have a server, windows 2008, running Raid 10 on 4 600GB hard drives. Server has been running for over a year and it is used for a database. Database size is around 780GB. We have been noticing that ...
0
votes
2answers
58 views

How can I decipher this HTTP PHP-request?

On my server I have serious HTTP an SSH attacks running. Most of them are brute force password checks or attemps of /etc/passwd retrievals. But some of them are trying to start the bash via plugin ...
3
votes
2answers
455 views

What is the source of thousands of 4625 Logon Failure errors with Logon Type 8 (NetworkCleartext)?

I have a Windows Server 2008 R2 system that's showing thousands of 4625 Logon Failure errors with Logon Type 8 (NetworkCleartext) in the Security section of the Windows Logs every single day. There ...
1
vote
1answer
74 views

How can I use a remote admin tool (puppet or chef) combined with a sync tool (e.g. rsync) to send log files from several servers to a central server?

Summary How can I use a remote admin tool (puppet or chef) combined with a sync tool (e.g. rsync) and scheduler (cron) to send log files from several servers to a central server? Context Our ...
1
vote
1answer
34 views

How can I list the Source Network Address for failed FTP attempts in the Security Windows Log on Windows Server 2008 R2?

I manage a server running Windows Server 2008 R2 that constantly gets bombarded with brute force attacks via FTP. These failed login attempts show up in the Security section of the Windows Logs as ...
0
votes
1answer
18 views

Parse requests per OS type apache log

I'm trying to return a sorted list of requests per OS type, parsed from an Apache access_log file (not combined format as I need the user-agent info). Here's an example of the output I'm looking for: ...
2
votes
6answers
3k views

Get list of user-agents from nginx log

I have nginx log file, and I want to find out market share for each major version of browsers. I am not interested in minor versions and operating systems. I would like to get something like this: ...
1
vote
0answers
56 views

Directories converted to files

Our development team went to start HTTPD and got this: Starting httpd: (20)Not a directory: httpd: could not open error log file /etc/httpd/logs/error_log. Unable to open logs ...
13
votes
2answers
9k views

Understanding a Postfix log file entry

We have a Postfix hub and I'm trying to better understand the information in the mail.log file. I use tools like qshape, pflogsumm.pl and amavis-logwatch to summarize the log files, but I have still ...
0
votes
0answers
59 views

Apache error log not showing full path of 404 failures

If I have a working path like /gallery/landscapes and I try to access this inexistent url: /gallery/landscapes/whatever I see the 404 error in my browser but the apache log says that I had an ...