On Sun, 20 Feb 2011, Geoff Shang wrote:> To: Luis Barrett <getpaid00 at gmail.com> > From: Geoff Shang <geoff at QuiteLikely.com> > Subject: Re: [Icecast] Icecast start up script for icecast > > On Sun, 20 Feb 2011, Luis Barrett wrote: > >> We already have icecast install we our just trying to it >> started. In the icecast started script we need the >> icecast.pid file and we just want to know were in the >> directory is the icecast.pid file or do we have to create >> one if we do in which directory? > > The Icecast PID file will be created by Icecast itself when it is started. > > The location of the file is defined in the config file icecast.xml. > > If it's not there or commented out, it appears that no PID file is created > (i.e. that there's no default location). I say this because my running > Icecast server on my home machine doesn't seem to have one and it's > commented out in the config file. > > I guess you can put it anywhere, but there's probably a standard location > for such things and it may even be specified in your config file.Hi Geoff. I'm running Centos 5.5 and the init process says icecast has started, but at shutdown time I get a message saying icecast is not running. What needs to be edited in the icecast.xml to get it to startup at boot time please? Regards, Keith ----------------------------------------------------------------- Websites: http://www.karsites.net http://www.php-debuggers.net http://www.raised-from-the-dead.org.uk All email addresses are challenge-response protected with TMDA [http://tmda.net] -----------------------------------------------------------------
We configure the xml according to the documentation on the icecast website and we placed the icecast directory path which is icecast/usr/local/etc. When we attempt to start icecast an error come up *Fatal: error parsing config file [icecast/usr/local/etc/icecast.xml] *Here is the our information on the server according to SSH: [root at sphynxradio /]# httpd -V Server version: Apache/2.0.63 Server built: Feb 12 2010 21:26:04 Server's Module Magic Number: 20020903:13 Server loaded: APR 0.9.4, APR-UTIL 0.9.4 Compiled using: APR 0.9.4, APR-UTIL 0.9.4 Architecture: 32-bit [root at sphynxradio /]# cat /proc/version Linux version 2.6.18-028stab056 (root at ut1-pandora) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-10)) #1 SMP Mon Nov 2 13:19:07 UTC 2009 WE GREATLY APPROPRIATE ALL ASSISTANT SOLVING THIS ISSUE WE OUR AWARE OF THE GREAT CAPABILITY OF ICECAST WHICH ARGUERS US TO OVERCOME THIS WHICH EXTREME PREGIDOUS. Thank you, Luis Barrett On Sun, Feb 20, 2011 at 12:46 PM, Keith Roberts <keith at karsites.net> wrote:> On Sun, 20 Feb 2011, Geoff Shang wrote: > > To: Luis Barrett <getpaid00 at gmail.com> >> From: Geoff Shang <geoff at QuiteLikely.com> >> >> Subject: Re: [Icecast] Icecast start up script for icecast >> >> On Sun, 20 Feb 2011, Luis Barrett wrote: >> >> We already have icecast install we our just trying to it started. In the >>> icecast started script we need the icecast.pid file and we just want to know >>> were in the directory is the icecast.pid file or do we have to create one if >>> we do in which directory? >>> >> >> The Icecast PID file will be created by Icecast itself when it is started. >> >> The location of the file is defined in the config file icecast.xml. >> >> If it's not there or commented out, it appears that no PID file is created >> (i.e. that there's no default location). I say this because my running >> Icecast server on my home machine doesn't seem to have one and it's >> commented out in the config file. >> >> I guess you can put it anywhere, but there's probably a standard location >> for such things and it may even be specified in your config file. >> > > Hi Geoff. > > I'm running Centos 5.5 and the init process says icecast has started, but > at shutdown time I get a message saying icecast is not running. > > What needs to be edited in the icecast.xml to get it to startup at boot > time please? > > Regards, > > Keith > > ----------------------------------------------------------------- > Websites: > http://www.karsites.net > http://www.php-debuggers.net > http://www.raised-from-the-dead.org.uk > > All email addresses are challenge-response protected with > TMDA [http://tmda.net] > ----------------------------------------------------------------- >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/icecast/attachments/20110220/00688ee9/attachment.htm
Hi Icecast, My name is Luis Barrett as you know, for past couple of days now I been having problem getting icecast started. The first thing I notice that we need to have a icecast.pid file but reading the script it say when you start up icecast it will create the icecast.pid file for us. So this is my question because now I'm getting upset because no one as been able be straight forward with us. We need to now why can we not start up icecast? So it can create the icecast.pid file and where that in our directory that file need to go? Again we have a Redhat Enterprise LS 4 reading the some forum and searching online we notice everyone having the same problem on a different Distro. I want to know how to start up icecast on our Distro if you now the answer please reply if you don't know the answer please let me know that you don't know the answer because I respect more if don't know the answer then just prolonging the issue or just direct me to the person who dose like the person who created icecast because right we are getting very upset that no one can not give us a straight answer. Thank you, Luis Barrett On Sun, Feb 20, 2011 at 12:46 PM, Keith Roberts <keith at karsites.net> wrote:> On Sun, 20 Feb 2011, Geoff Shang wrote: > > To: Luis Barrett <getpaid00 at gmail.com> >> From: Geoff Shang <geoff at QuiteLikely.com> >> >> Subject: Re: [Icecast] Icecast start up script for icecast >> >> On Sun, 20 Feb 2011, Luis Barrett wrote: >> >> We already have icecast install we our just trying to it started. In the >>> icecast started script we need the icecast.pid file and we just want to know >>> were in the directory is the icecast.pid file or do we have to create one if >>> we do in which directory? >>> >> >> The Icecast PID file will be created by Icecast itself when it is started. >> >> The location of the file is defined in the config file icecast.xml. >> >> If it's not there or commented out, it appears that no PID file is created >> (i.e. that there's no default location). I say this because my running >> Icecast server on my home machine doesn't seem to have one and it's >> commented out in the config file. >> >> I guess you can put it anywhere, but there's probably a standard location >> for such things and it may even be specified in your config file. >> > > Hi Geoff. > > I'm running Centos 5.5 and the init process says icecast has started, but > at shutdown time I get a message saying icecast is not running. > > What needs to be edited in the icecast.xml to get it to startup at boot > time please? > > Regards, > > Keith > > ----------------------------------------------------------------- > Websites: > http://www.karsites.net > http://www.php-debuggers.net > http://www.raised-from-the-dead.org.uk > > All email addresses are challenge-response protected with > TMDA [http://tmda.net] > ----------------------------------------------------------------- >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/icecast/attachments/20110221/f4215e0b/attachment.htm
Fu Kite (Eric Labelle)
2011-Feb-21 18:01 UTC
[Icecast] Icecast start up script for icecast
Ok well you state yourself that you are getting an XML error when you try to start icecast... Have you attempted to validate your XML?>>*Fatal: error parsing config file [icecast/usr/local/etc/icecast.xml]** * *What command are you running to start it? i would assume it's "icecast -c /icecast/usr/local/etc/icecast.xml" which would mean to me that somehow you have a top level directory called icecast which is non-sense. I don't know of any linux system that has their /usr directory located inside any other folder (it's a top level directory) so i'm gonna go nuts and assume it's located in /usr/local/etc/icecast.xml which would seem a lot more logical... also assuming the xml is valid and the permissions on the xml file are ok what you need to run icecast would be* * * *icecast -c /usr/local/etc/icecast.xml* * * *That's assuming the only thing wrong with your setup is the command you are entering at the prompt... ie it's looking for the file in /icecast/usr/local/etc/icecast.xml and can't find it.* But you know what, nobody here has any clue what your setup looks like. You have provided lots of information but most of it doesn't help diagnose your problem since for me to really know whether my solution will help you i would need to at least know what command you are running to start icecast (I'm forced to assume from the error you posted that you are running "icecast -c icecast/usr/local/etc/icecast.xml" which as i stated earlier doesn't at first glance seem to me as logical. PS: No one here is trying to make you waste time... everyone is trying to help based on the information you have given. Your first two email talks about locating the .pid file which of course will not be created till you start icecast... then finally you mention the error I addressed in this message but you only give us partial information (the actual error) and not what command you are running to try and start it up. Everyone here is doing their best to help you. None of the answers i have seen in this thread were misleading... they directly addressed the problem stated in your first two emails which it turns out were not your problem at all (you either have an error in your xml or icecast can't read the file - either you are giving it the wrong location on the command line or the user icecast is attempting to run under does not have the necessary permission to read it) (XML validator you can use to double check the integrity of your icecast.xml -> http://www.w3schools.com/xml/xml_validator.asp) * * On Mon, Feb 21, 2011 at 12:11 PM, Luis Barrett <getpaid00 at gmail.com> wrote:> Hi Icecast, > > My name is Luis Barrett as you know, for past couple of days now I been > having problem getting icecast started. The first thing > I notice that we need to have a icecast.pid file but reading the script it > say when you start up icecast it will create the icecast.pid > file for us. So this is my question because now I'm getting upset because > no one as been able be straight forward with us. We need > to now why can we not start up icecast? So it can create the icecast.pid > file and where that in our directory that file need to go? Again > we have a Redhat Enterprise LS 4 reading the some forum and searching > online we notice everyone having the same problem on a > different Distro. I want to know how to start up icecast on our Distro if > you now the answer please reply if you don't know the answer > please let me know that you don't know the answer because I respect more if > don't know the answer then just prolonging the issue > or just direct me to the person who dose like the person who created > icecast because right we are getting very upset that no one can > not give us a straight answer. > > Thank you, > > Luis Barrett > > On Sun, Feb 20, 2011 at 12:46 PM, Keith Roberts <keith at karsites.net>wrote: > >> On Sun, 20 Feb 2011, Geoff Shang wrote: >> >> To: Luis Barrett <getpaid00 at gmail.com> >>> From: Geoff Shang <geoff at QuiteLikely.com> >>> >>> Subject: Re: [Icecast] Icecast start up script for icecast >>> >>> On Sun, 20 Feb 2011, Luis Barrett wrote: >>> >>> We already have icecast install we our just trying to it started. In the >>>> icecast started script we need the icecast.pid file and we just want to know >>>> were in the directory is the icecast.pid file or do we have to create one if >>>> we do in which directory? >>>> >>> >>> The Icecast PID file will be created by Icecast itself when it is >>> started. >>> >>> The location of the file is defined in the config file icecast.xml. >>> >>> If it's not there or commented out, it appears that no PID file is >>> created >>> (i.e. that there's no default location). I say this because my running >>> Icecast server on my home machine doesn't seem to have one and it's >>> commented out in the config file. >>> >>> I guess you can put it anywhere, but there's probably a standard location >>> for such things and it may even be specified in your config file. >>> >> >> Hi Geoff. >> >> I'm running Centos 5.5 and the init process says icecast has started, but >> at shutdown time I get a message saying icecast is not running. >> >> What needs to be edited in the icecast.xml to get it to startup at boot >> time please? >> >> Regards, >> >> Keith >> >> ----------------------------------------------------------------- >> Websites: >> http://www.karsites.net >> http://www.php-debuggers.net >> http://www.raised-from-the-dead.org.uk >> >> All email addresses are challenge-response protected with >> TMDA [http://tmda.net] >> ----------------------------------------------------------------- >> > > > _______________________________________________ > Icecast mailing list > Icecast at xiph.org > http://lists.xiph.org/mailman/listinfo/icecast > >-- Eric Labelle (Dubian) ________________________________ Dubearth Collective - www.dubearth.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/icecast/attachments/20110221/7f638ae9/attachment.htm
Luis Barrett:> because right we are getting very upset that no one can > not give us a straight answer.are you serious? how about doing your homework by yourself, instead blaming others, who tried to help you?
On Sun, 20 Feb 2011, Keith Roberts wrote:> I'm running Centos 5.5 and the init process says icecast has > started, but at shutdown time I get a message saying icecast > is not running.This suggests that Icecast was not actually started.> What needs to be edited in the icecast.xml to get it to > startup at boot time please?Are there any errors in your error log? Geoff.
On Mon, 21 Feb 2011, Geoff Shang wrote:> To: Keith Roberts <keith at karsites.net> > From: Geoff Shang <geoff at QuiteLikely.com> > Subject: Re: [Icecast] Icecast start up script for icecast > > On Sun, 20 Feb 2011, Keith Roberts wrote: > >> I'm running Centos 5.5 and the init process says icecast has >> started, but at shutdown time I get a message saying icecast >> is not running. > > This suggests that Icecast was not actually started. > >> What needs to be edited in the icecast.xml to get it to >> startup at boot time please? > > Are there any errors in your error log?Hi Geoff. Thanks for the replies. I'm not sure if there is an error log. This is currently low priority, but I have bookmarked your replies for later. I was just making a point for somebody else on the list that on Centos 5.5 icecast out-of-the-box does not start like other servers, without *first* editing the config file. Unlike Apache or mysql or most other servers that wil run as soon as they are installed from an RPM package :) Kind Regards, Keith Roberts ----------------------------------------------------------------- Websites: http://www.karsites.net http://www.php-debuggers.net http://www.raised-from-the-dead.org.uk All email addresses are challenge-response protected with TMDA [http://tmda.net] -----------------------------------------------------------------
> I respect more if don't know the answer then just prolonging the issue> or just direct me to the person who dose like the person who created icecast someone go fetch Jack Moffit! On 2/21/11 12:11 PM, Luis Barrett wrote:> Hi Icecast, > > My name is Luis Barrett as you know, for past couple of days now I been having problem getting icecast started. The first thing > I notice that we need to have a icecast.pid file but reading the script it say when you start up icecast it will create the icecast.pid > file for us. So this is my question because now I'm getting upset because no one as been able be straight forward with us. We need > to now why can we not start up icecast? So it can create the icecast.pid file and where that in our directory that file need to go? Again > we have a Redhat Enterprise LS 4 reading the some forum and searching online we notice everyone having the same problem on a > different Distro. I want to know how to start up icecast on our Distro if you now the answer please reply if you don't know the answer > please let me know that you don't know the answer because I respect more if don't know the answer then just prolonging the issue > or just direct me to the person who dose like the person who created icecast because right we are getting very upset that no one can > not give us a straight answer. > > Thank you, > > Luis Barrett > > On Sun, Feb 20, 2011 at 12:46 PM, Keith Roberts <keith at karsites.net <mailto:keith at karsites.net>> wrote: > > On Sun, 20 Feb 2011, Geoff Shang wrote: > > To: Luis Barrett <getpaid00 at gmail.com <mailto:getpaid00 at gmail.com>> > From: Geoff Shang <geoff at QuiteLikely.com> > > Subject: Re: [Icecast] Icecast start up script for icecast > > On Sun, 20 Feb 2011, Luis Barrett wrote: > > We already have icecast install we our just trying to it started. In the icecast started script we need the icecast.pid file and we just want to > know were in the directory is the icecast.pid file or do we have to create one if we do in which directory? > > > The Icecast PID file will be created by Icecast itself when it is started. > > The location of the file is defined in the config file icecast.xml. > > If it's not there or commented out, it appears that no PID file is created > (i.e. that there's no default location). I say this because my running > Icecast server on my home machine doesn't seem to have one and it's > commented out in the config file. > > I guess you can put it anywhere, but there's probably a standard location > for such things and it may even be specified in your config file. > > > Hi Geoff. > > I'm running Centos 5.5 and the init process says icecast has started, but at shutdown time I get a message saying icecast is not running. > > What needs to be edited in the icecast.xml to get it to startup at boot time please? > > Regards, > > Keith > > ----------------------------------------------------------------- > Websites: > http://www.karsites.net > http://www.php-debuggers.net > http://www.raised-from-the-dead.org.uk > > All email addresses are challenge-response protected with > TMDA [http://tmda.net] > ----------------------------------------------------------------- > > > > > _______________________________________________ > Icecast mailing list > Icecast at xiph.org > http://lists.xiph.org/mailman/listinfo/icecast