What I thought of was to make each file unique; ws = webserver; ws1.domain.com-access_log ws2.domain.com-access_log and just write them each to an nfs share. Not flaming the group at all, actually Bazsi your name shows up more than any of my normal mail :) But, I have tried twice with a reply or two, and once conf files were sent up and/or shown the thread died. I see some very intersting questions, answers on the group and it would be nice to see some of these things, but really, I am talking about a handful of webservers (nothing fancy) just to write to a central log and it's not working. The basic syslog @server worked perfect, since the platform updates, just not working, but I appreciate the reply. On Tue, Jul 14, 2009 at 3:05 AM, Balazs Scheidler <bazsi@balabit.hu> wrote:
On Mon, 2009-07-13 at 23:25 -0400, lance raymond wrote:
ok, I have tried 2ce (even using this list) and still have problems that just get dropped by the wayside, so resorting to a more basic approach. So with that, I have 8 ubunutu servers all running apache and I wish/need to have a place for all the logs to reside. I tried syslog-ng with hand updating the conf files, even tried using webmin to build, still can't get it to start, etc.
So how about feedback on this. If all the webservers share an nfs mount for the web images, what if I change the log's to just point to those mounts and write them there?
I don't know if syslog-ng streams them, waits till x size then copies them over, but since I can't get it working, figured the users/group here might say sure, we've seen a few posts by you, and yea, just do that, or have some really basic ideas as to why, maybe a few sample config's as all the help etc. I have yet to see a working config (both server and client) to try to undserstand why there are problems.
NFS does not ensure atomic updates if there are multiple clients writing to the same file.
-- Bazsi
______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.campin.net/syslog-ng/faq.html