1
vote
0answers
55 views

What are recommended permissions for files in /var/log?

I am working on tightening the security for various servers (mainly Debian Linux), and one of the tasks is to tighten permissions on files in /var/log so that files are not world readable. But there ...
1
vote
1answer
152 views

Getting logs from remote clients via rsyslog

I have freshly installed Debian 6. I am trying to get syslog server for a reason, I used to follow manual for this task. I configured /etc/rsyslog.conf on remote client server to send data via udp ...
0
votes
1answer
61 views

Delete log files on Virtual Host

I have a few virtualhosts set up on my machine, and the server keeps crashing because of the disk space being too full. I've checked out and it seems that one of my virtual host log folder is 2Gb. In ...
0
votes
1answer
135 views

syslog-ng stopped and don't want to start

I noticed lately that my syslog is empty. I tried restarting it but i get this error: $ /etc/init.d/syslog-ng reload Reload system logging: syslog-ngsyntax error in /etc/syslog-ng/syslog-ng.conf at ...
1
vote
1answer
323 views

What would be filling apache logs with “user not found”?

I noticed today that my apache log files have filled up with gigabytes of the following line: [SOME_TIME] [error] [client SOME_CLIENT] user__not found: /SOME_URI NOTE: the __ (double underscore) ...
3
votes
3answers
2k views

How to Enable IPtables TRACE Target on Debian Squeeze (6)

I am trying to use the TRACE target of IPtables but I can't seem to get any trace information logged. I want to use what is described here: Debugger for Iptables. From the iptables man for TRACE: ...
1
vote
1answer
779 views

sudo: pam_limits(sudo:session): Unknown kernel rlimit 'Max realtime timeout' ignored

My debian box keep getting logs like those and logcheck keeps emailing me them. CRON[31443]: pam_limits(cron:session): Unknown kernel rlimit 'Max realtime timeout' ignored sudo: ...
1
vote
0answers
95 views

My Linux server crashes twice; Apache and system logs have portions of other text files

I have a web server that has been running pretty smoothly for years. Twice recently it has gone down for no apparent reason - the monit logs don't show any particularly high anything going on. CPU ...
0
votes
1answer
2k views

debian VPS - auth.log flooded with “No such file or directory”

i was browsing through the questions here in serverfault and I decided to take a look in my /var/log/auth.log . And I discovered that 2 lines are being added repeatedly Mar 8 10:17:19 slides ...
2
votes
3answers
2k views

Linux - Best file system for /var/log partition? [closed]

I am under Debian Squeeze 6.0. What is the best file system for the /var/log partition, and why ?
5
votes
6answers
4k views

Why would anacron not be running?

I have a Ubuntu system that has anacron installed. However I'm pretty sure it's not running. It's not running the commands in /etc/cron.daily to rotate the syslog files (I'm using sysklog, which has ...
1
vote
4answers
802 views

Apache access log to stdout

Is there any way to intercept Apache (1 or 2) access logs to stdout without : modifying the config files restarting the service Currently my apache config file specifies "CustomLog /dev/null ...
9
votes
3answers
10k views

How can I move /var/log directory

on our production server, there is a small drive for the main mount point "/" /var/log is taking much space and I have to manually delete some files. How can I move /var/log/ to let's say /home/log ...
3
votes
4answers
10k views

Is there a way to remove “Last message repeated x times” from logs?

I have a script that updates me on any changes to the kernel log on my (Debian) servers. The problem is that occasionally the log contains lines like: last message repeated 4 times I realize that ...
0
votes
1answer
2k views

Rotating Mail Logs on Debian server

Mail Logs on Debian systems do not use the regular /etc/logrotate.d scripts to rotate them. I want to force my mail logs to rotate daily (no matter how small), and compress the results, so that the ...