hello, i'm starting/stopping icecast (1.3.11) & ices (0.2.2) from a web interface. fine so far, but now i see strange things: both ices & icecast, once started , (ices -B ... , icecast -b ...), both processes and their childs are listening also to port 80, besides their normal operation. i've found out because apache didn't restart (Address already in use: make_sock: could not bind to port 80). "fuser -n tcp 80" tells me the processes listening to that port. this only happens when starting ices/icecast from the webinterface (with php4 exec()) i'm not sure, but since i've restarted apache often before without problems, i assume that it has to do with my latest updates for redhat 7.1, system is a linux SMP, kernel 2.4.13, glibc-2.2.4-19. nothing special, it's only an up2date system. this problem didn't occure before. any idea?? thanks, udo --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
On Wednesday, 24 October 2001 at 14:45, udo noll wrote:> > hello, > > i'm starting/stopping icecast (1.3.11) & ices (0.2.2) from a > web interface. fine so far, but now i see strange things: > both ices & icecast, once started , (ices -B ... , icecast -b ...), > both processes and their childs are listening also > to port 80, besides their normal operation. > i've found out because apache didn't restart (Address already in use: > make_sock: could not bind to port 80). > "fuser -n tcp 80" tells me the processes listening to that port. > this only happens when starting ices/icecast from the webinterface > (with php4 exec())Probably this is because exec() is keeping 80 open as stdin/stdout for the child processes. You could try adding > /dev/null </dev/null 2>&1 to the end of your exec argument and see if that helps... -b --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Brendan Cully:> > both processes and their childs are listening also > > to port 80, besides their normal operation. > > i've found out because apache didn't restart (Address already in use: > > make_sock: could not bind to port 80). > > "fuser -n tcp 80" tells me the processes listening to that port. > > this only happens when starting ices/icecast from the webinterface > > (with php4 exec()) > > Probably this is because exec() is keeping 80 open as stdin/stdout for > the child processes. You could try adding > /dev/null </dev/null 2>&1 to > the end of your exec argument and see if that helps...no effect. i've tested this also with some other programs, e.g. i start esd with a script. same thing. this is weird, but obviously not related to ices or icecast... the only thing i've done is updating my redhat7.1, so i guess that this will happen for any daemon or prog which is started by a webscript. however, thanks, udo> -bthat's cool, detaching from the console... ;) --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.