I got a question for anyone using root-tail to view their procmail log file. I don't remember this happening till recently but I'm not sure. Any way, what happens is when i run mailstat on the log file, root-tail nolonger follows the file. The only thing i can think of that changed is that I upgraded the root-tail package from the website, but I reinstalled the version from the CD with no change in behavior. Does anyone else have a similar circumstance with a log file of some type? /var/log/message or something? -- S.Toms - tomas@primenet.com - homepage is in the works SuSE Linux v6.2+ - Kernel 2.2.13 Economists can certainly disappoint you. One said that the economy would turn up by the last quarter. Well, I'm down to mine and it hasn't. -- Robert Orben -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
On Tue, 18 Jan 2000, S.Toms wrote:
I got a question for anyone using root-tail to view their procmail log file. I don't remember this happening till recently but I'm not sure. Any way, what happens is when i run mailstat on the log file, root-tail nolonger follows the file. The only thing i can think of that changed is that I upgraded the root-tail package from the website, but I reinstalled the version from the CD with no change in behavior. Does anyone else have a similar circumstance with a log file of some type? /var/log/message or something?
The only problems I have ever had with root-tail is the permissions getting changed on my log files by other programs. Once I got that worked out all my problems stopped. Just a thought but could mailstat be changing your permissions? -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Darren R. Weber drw@linuxfan.com ICQ# 2849193 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
On Tue, 18 Jan 2000, Darren R. Weber wrote: dw> On Tue, 18 Jan 2000, S.Toms wrote: dw> > I got a question for anyone using root-tail to view their procmail log dw> > file. I don't remember this happening till recently but I'm not sure. Any dw> > way, what happens is when i run mailstat on the log file, root-tail dw> > nolonger follows the file. The only thing i can think of that changed is dw> > that I upgraded the root-tail package from the website, but I reinstalled dw> > the version from the CD with no change in behavior. dw> > Does anyone else have a similar circumstance with a log file of some dw> > type? /var/log/message or something? dw> > dw> dw> The only problems I have ever had with root-tail is the permissions getting dw> changed on my log files by other programs. Once I got that worked out all my dw> problems stopped. Just a thought but could mailstat be changing your dw> permissions? dw> No, mailstat only renames the file to log.old and creates a new log file where specified, ie: mailstat /home/skull/.procmail/log the log file then becomes '/home/skull/.procmail/log.old' and a new log file is created in its place, but root-tail is still linked to the original log file 'log.old'. What I mean by this is, after mailstat runs, you now end up with the following two files: ~/.procmail/log ~/.procmail/log.old <-- original file root-tail monitored any lines added to '~/.procmail/log' don't show in the root-tail window, but if you add the lines to the original log file, '~/.procmail/log.old' the changes will show in root-tail window. I don't recall it having a problem with this any time before till just recently. My system has almost a 90 day uptime so I think I would have noticed it before now. Permissions are the same as always and I have mailstat within my crontab running every 8 hours rather then the system crontab, so user is me. This all makes me wonder if when /var/log/messages gets to a certain size and the system renames it, does it do the same thing? I don't monitor /var/log/messages with root-tail so I don't know, which is why I'm wondering if anyone else noticed anything of this nature. Maybe if there was a way to relink root-tail to the new file without root-tail taking offense this wouldn't be a problem, but I'm not sure that's possible. Also, just in case your wondering, I have two root-tail windows, one monitors the diald.log and the other monitors the procmail log, only the procmail log seems to have problems. dw> -- dw> -- S.Toms - tomas@primenet.com - homepage is in the works SuSE Linux v6.2+ - Kernel 2.2.13 Lubarsky's Law of Cybernetic Entomology: There's always one more bug. -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
I got a question for anyone using root-tail to view their procmail log file. I don't remember this happening till recently but I'm not sure. Any way, what happens is when i run mailstat on the log file, root-tail nolonger follows the file. The only thing i can think of that changed is that I upgraded the root-tail package from the website, but I reinstalled the version from the CD with no change in behavior. Does anyone else have a similar circumstance with a log file of some type? /var/log/message or something?
Check /etc/permissions* and /etc/logfiles files. SuSE (at least later versions) uses these to periodically set owner, group, and mode on assorted system files. IMHO, since SuSE has /etc/permissions*, /etc/logfiles is redundant and confusing. But it's there, and you have to deal with it. -- Ron Oliver (mailto:roliver-suse@quantum-networks.com) -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (3)
-
roliver-suse@quantum-networks.com
-
tomas@primenet.com
-
weberdr@bellsouth.net