| View previous topic :: View next topic |
| Author |
Message |
gimlioak
Joined: 21 Apr 2010 Posts: 13
|
Posted: Wed Apr 21, 2010 9:04 am Post subject: Icecast and logrotate |
|
|
Hello,
I've a little problem, I've 5 debian boxes with Icecast 2.3.2-5 installed. All of them have the same icecast.xml.
On 4 of them, I have no problem with logrotate. On the one remaining, after the logrotate, Icecast isn't logging anymore. I have to stop/start icecast to make it writing (-HUP isn't enough).
The logrotate icecast script is the same on all the servers.
Do you have an idea where to look ?
(I use the changeowner on all the servers without the chroot and the user used has right to write in the log directory)
Thanks in advance |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Wed Apr 21, 2010 12:57 pm Post subject: |
|
|
not much to go one really. There are other possible reasons for writing to suddenly stop working, disk full, quota limit reached, maybe file size limit reached. Can you rename the file and then send HUP, does that reopen a new log file?
karl. |
|
| Back to top |
|
 |
gimlioak
Joined: 21 Apr 2010 Posts: 13
|
Posted: Wed Apr 21, 2010 1:00 pm Post subject: |
|
|
Hello,
Thanks for your reply.
Disk has a lot of space available.
Renaming the file and doing -HUP doesn't recreate the log files (but it does on the other servers).
There is no quota for users.
File limit is set to 100MB and is far from being used as after logrotate, the file should be 0 Byte.
TIA |
|
| Back to top |
|
 |
gimlioak
Joined: 21 Apr 2010 Posts: 13
|
Posted: Wed Apr 21, 2010 1:38 pm Post subject: |
|
|
Just an extra info, the server has around 3500 mountpoints and 5000 listeners (but also the other ones so it should matter).
TIA |
|
| Back to top |
|
 |
gimlioak
Joined: 21 Apr 2010 Posts: 13
|
Posted: Fri Apr 23, 2010 6:19 am Post subject: |
|
|
Hello,
In fact Karl found the problem (thanks to him).
I'm using the change owner directive and the icecast.xml should be readable by the final owner.
At start, it sounds the rights used are the ones of the original owner (root in this case) but after rotate (or -HUP) it's the rights of the changed owner.
Many thanks |
|
| Back to top |
|
 |
|