Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

daily basis archive log
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
luca066



Joined: 01 Dec 2011
Posts: 42

PostPosted: Wed Feb 22, 2012 11:41 pm    Post subject: Reply with quote

Hi Karl,

I'm doing some tests with the duration parameters.
I've set 86400 seconds (one day) and I've seen that usually it works.
But, if during the day I reload the configuration from the admin web pages, the duration counter restart from the begin?

Have you got any plan to create the possibility to set an exact time when the logs are archived?
Probably a fixed time like every midnight cuold be a good archive rule.

Luca
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Feb 23, 2012 12:24 am    Post subject: Reply with quote

A reload triggers a re-open of the logs so the timer will reset. As for an absolute time then why not use cron and HUP it?

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
luca066



Joined: 01 Dec 2011
Posts: 42

PostPosted: Sun Mar 18, 2012 11:27 pm    Post subject: Reply with quote

Hi Karl,

I'm using windows server, is it possible to HUP it?
If yes, how?

Another question: I'm using Icecast 2.3.2-kh31.4 but I need to make it works on two different tcp ports.
At the moment, I've to specify the ip address of the machine on the <listen-socket> section, otherwise the server works only using http://localhost:port_number (and it works only locally).
It's seems that this icecast version, if I don't specify the ip address, bind the IPV6 localhost address.
So, I've this:
Code:

     <listen-socket>
        <port>8080</port>
        <bind-address>11.22.33.44</bind-address>
     </listen-socket>

I've tried to add another block like this:
Code:

     <listen-socket>
        <port>80</port>
     </listen-socket>

but in this way it's works only locally on port 80, and it works on internet on port 8080.
I've tried to add this:
Code:

     <listen-socket>
        <port>80</port>
        <bind-address>11.22.33.44</bind-address>
     </listen-socket>

but in this way server doesn't work on any ports.

Have you got any idea to help me?
Thanks a lot

Luca
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Mon Mar 19, 2012 4:08 am    Post subject: Reply with quote

Firstly, I've updated the current test build

www.xiphicecast.webspace.virginmedia.com/icecast-2.3.2-kh31.13_setup.exe

Can you confirm whether or not the issues still affect the current tree.

Obviously you cannot use HUP, but the provided admin pages do link in a reload option which you can use on windows.

I've just tried using multiple listen-socket definitions with and without bind and it works as expected here. If you have an issue then send me the xml and a netstat -an listing referring to the sockets in question.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
luca066



Joined: 01 Dec 2011
Posts: 42

PostPosted: Tue Apr 10, 2012 10:07 pm    Post subject: Reply with quote

Hi Karl,

I'm sorry if I answer too late.
I confirm that with kh31.13 I can bind more that one ports using the listen socket:

Code:

<listen-socket>
        <port>8080</port>
        <bind-address>xx.xx.xx.xx</bind-address>
</listen-socket>
<listen-socket>
        <port>80</port>
        <bind-address>xx.xx.xx.xx</bind-address>
</listen-socket>

but, as you see, on Windows 2008 I have to specify the public ip address of the server otherwise icecast works only for localhost address and it's not visible from internet.
I've tried to use icecast hk31.13 on a windows 2003 server and it works without setting the ip address, so I suppose the problem is present only on windows 2008 server.
Can I do something else to give you other information?

Luca
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Apr 11, 2012 2:33 pm    Post subject: Reply with quote

I don't do anything different in the code between 2003 and 2008 so any difference is done at the windows OS side of things.

From some checking I've done it seems that MS introduced a bug on the call listing the ipv4/ipv6 details and pass back the local interfaces first which is what you are experiencing. The adding of bind-address means that the returned list has those local addresses removed.

http://support.microsoft.com/kb/2621067

It looks like they have done a fix but I'm unsure if they are intending to put this into the main updates or not.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber