[opensuse] 'restart' /var/log/messages (trivial question)
I admit this is a strange and perhaps unnecessary question, but... I have a openSUSE 10.0 server (was it openSUSE at that time) that is running fine. It has been up for over a year. A while back, the root file system filled up (ftp activity) and some log files are no longer being written to. For example, /var/log/messages. I know that I could reboot and all would be well. But this is Linux. Surely there is another way to restart activity to this file without resorting to a system restart. Any suggestions? FYI, I will be replacing this system with an oS 13.1 system as soon as I am happy that all services are working as they did in 10.0. That is a work in progress. Until then, I have a silly goal of seeing how long the system can run without a reboot. Previous reboots have been because of moving office or relocation of the machine. It just runs and runs. -- Yours sincerely, Roger Oberholtzer Ramböll RST / Systems Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 roger.oberholtzer@ramboll.se ________________________________________ Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden www.rambollrst.se -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 07/01/14 10:04, Roger Oberholtzer wrote:
I admit this is a strange and perhaps unnecessary question, but...
I have a openSUSE 10.0 server (was it openSUSE at that time) that is running fine. It has been up for over a year. A while back, the root file system filled up (ftp activity) and some log files are no longer being written to. For example, /var/log/messages. I know that I could reboot and all would be well. But this is Linux. Surely there is another way to restart activity to this file without resorting to a system restart. Any suggestions?
# rcsyslog restart Ph. A. -- *Philippe Andersson* Unix System Administrator IBA Particle Therapy | Tel: +32-10-475.983 Fax: +32-10-487.707 eMail: pan@iba-group.com <http://www.iba-worldwide.com>
On Tuesday, January 07, 2014 10:23:05 AM Philippe Andersson wrote:
# rcsyslog restart
That did the trick. Messages have started again. -- Yours sincerely, Roger Oberholtzer Ramböll RST / Systems Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 roger.oberholtzer@ramboll.se ________________________________________ Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden www.rambollrst.se -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 1/7/2014 1:04 AM, Roger Oberholtzer wrote:
FYI, I will be replacing this system with an oS 13.1 system as soon as I am happy that all services are working as they did in 10.0. That is a work in progress. Until then, I have a silly goal of seeing how long the system can run without a reboot.
As Philippe said, rcsyslog restart should get it going again after you free up some space. You might want to look in /var/log and clean out some of the old .bz2 logs you don't need any more as well. I'm in the same boat as you, running 10.2, and am very happy with it. I have no plans to move to 13.1. Too many horror stories. I might move to 13.2, but I'm in no particular rush, because IINBDFI (If Its Not Broke...). I intend to let SystemD settle and become stable and robust. Or I might end up switching to OpenBSD. I have very little open to the outside world on this box, so I'm not too concerned with running older software. -- _____________________________________ ---This space for rent--- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tuesday, January 07, 2014 11:03:34 AM John Andersen wrote:
I'm in the same boat as you, running 10.2, and am very happy with it. I have no plans to move to 13.1. Too many horror stories. I might move to 13.2, but I'm in no particular rush, because IINBDFI (If Its Not Broke...). I intend to let SystemD settle and become stable and robust. Or I might end up switching to OpenBSD.
I have very little open to the outside world on this box, so I'm not too concerned with running older software.
This box is in our company's DMZ. All system are audited by a external company. They report that the versions of the software (for services like http, smtp, imap etc) are too old. They must be updated if they are to certify whatever it is they certify. So I have been given no option. I cannot imagine updating these apps on a 10.0 system that was never set up for development (no -devel packages for anything - if that layout was even in place back in 10.0). -- Yours sincerely, Roger Oberholtzer Ramböll RST / Systems Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 roger.oberholtzer@ramboll.se ________________________________________ Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden www.rambollrst.se -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 1/8/2014 12:08 AM, Roger Oberholtzer wrote:
This box is in our company's DMZ. All system are audited by a external company. They report that the versions of the software (for services like http, smtp, imap etc) are too old. They must be updated if they are to certify whatever it is they certify. So I have been given no option. I cannot imagine updating these apps on a 10.0 system that was never set up for development (no -devel packages for anything - if that layout was even in place back in 10.0).
I've seen these kind of "audits" too. They are usually a scam by your credit card clearing company. One of these audit companies told on of our customers they were running old smtp software and had to update. But he was actually running the very latest versions. He just looked at his logs and firewalled the two netblocks the audit company was using for their tests. Problem solved. -- _____________________________________ ---This space for rent--- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 01/07/2014 10:04 AM, Roger Oberholtzer wrote:
I admit this is a strange and perhaps unnecessary question, but...
I have a openSUSE 10.0 server (was it openSUSE at that time) that is running fine. It has been up for over a year. A while back, the root file system filled up (ftp activity) and some log files are no longer being written to. For example, /var/log/messages. I know that I could reboot and all would be well. But this is Linux. Surely there is another way to restart activity to this file without resorting to a system restart. Any suggestions?
man rsyslogd kill -HUP $(cat /var/run/rsyslogd.pid) Have a nice day, Berny -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (4)
-
Bernhard Voelker
-
John Andersen
-
Philippe Andersson
-
Roger Oberholtzer