Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I've recently set up an Apache 2 web server and I noticed a quite a few lines in the error and access log that start with the follow sequence (but longer). Does anyone know where this comes from?

^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ .......

My set up is an Apache 2 load balancer with mod_balancer enabled and two Apache 2 web servers. All three servers write to the same log files on a share located on a NFS. My first guess is that my problem has to do with it since it's the only difference that comes to mind from other set ups I've used in the past but I'm not sure.

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

The sequence are just zero bytes. Such content of log files (not only those generated by Apache) is usually a result of a minor file system corruption caused by e.g. unclean system shutdown. As your files are stored on a network file system it probably may be caused by some kind of network outage.

share|improve this answer
    
I'm suspecting the NFS playing a role here. As far as I'm aware there have been no outages (I run my servers on Linode). The NFS is a separate server from the web servers and all are monitored by a dedicated monitor server (munin). I've rebooted my servers once but gracefully. –  Luke Mar 13 '10 at 13:30
add comment

are you using logrotation? this can happen when you rotate your logs without reloading apache.

share|improve this answer
    
With NFS it is quite possible, as the rotation could be done on a different machine that the one where Apache runse… Luke, is this the case? –  Jacek Konieczny Mar 13 '10 at 17:05
    
Currently there is no log rotation set up. All web servers write into the same log file on an NFS share. –  Luke Mar 13 '10 at 23:29
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.