[Icecast] Icecast start up script for icecast
Fu Kite (Eric Labelle)
eric.a.labelle at gmail.com
Mon Feb 21 18:01:27 UTC 2011
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>
More information about the Icecast
mailing list