SPaReK
06-15-2002, 03:21 PM
On one of our servers, the /var/log/maillog file was accidently deleted. What program writes to that file? This is on a VenturesOnline server. I tried recreating the file, but nothing seems to want to write to it (the permissions were set to match the same permissions of the file on another VO server). I really figured the program would recreate the log file on its own, but it did not. Anyone have any suggestions?
Thanks
MotleyFool
06-15-2002, 03:30 PM
touch /var/log/maillog
may solve the problem; make sure of the creator and permissions
You will need to restart syslogd and it should be OK afterwards.
Originally posted by SPaReK
On one of our servers, the /var/log/maillog file was accidently deleted. What program writes to that file? This is on a VenturesOnline server. I tried recreating the file, but nothing seems to want to write to it (the permissions were set to match the same permissions of the file on another VO server). I really figured the program would recreate the log file on its own, but it did not. Anyone have any suggestions?
Thanks
Originally posted by SPaReK
On one of our servers, the /var/log/maillog file was accidently deleted. What program writes to that file? This is on a VenturesOnline server. I tried recreating the file, but nothing seems to want to write to it (the permissions were set to match the same permissions of the file on another VO server). I really figured the program would recreate the log file on its own, but it did not. Anyone have any suggestions?
Thanks
/var/log/maillog is most likely written by sendmail or exim. The permissions should be 611 and owned by root.
SPaReK
06-15-2002, 04:43 PM
Yea, that did it. Thanks
Originally posted by taz0
You will need to restart syslogd and it should be OK afterwards.