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 

Adding new Mount Points Without Restarting Icecast
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
topdog



Joined: 05 Jul 2009
Posts: 34

PostPosted: Mon Aug 10, 2009 5:45 pm    Post subject: Adding new Mount Points Without Restarting Icecast Reply with quote

Hi,
Whenever I add mountpoints to my icecast I have to always restart icecast for them to take effect.
Is there a command to reload the icecast configuration file to catch any new configuration changes without having to kill and start icecast again?
For me to restart icecast I just do killall icecast.
then:
cd /usr/local/bin
./icecast -c /usr/local/etc/icecast.xml &
And it 99% of the time starts.
Back to top
View user's profile Send private message
jcr
Modérateur français
Modérateur français


Joined: 14 Apr 2006
Posts: 544
Location: France, Auvergne

PostPosted: Mon Aug 10, 2009 8:13 pm    Post subject: Reply with quote

Using standard Linux/unix satring scripts, you could simply use:
/etc/init.d/icecast reload
which forces config reload without killing running instance
_________________
Epsilon Friends Radio Icecast Radio on CentovaCast admin panel. Icecast hosting
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
topdog



Joined: 05 Jul 2009
Posts: 34

PostPosted: Mon Aug 10, 2009 9:33 pm    Post subject: Reply with quote

jcr wrote:
Using standard Linux/unix satring scripts, you could simply use:
/etc/init.d/icecast reload
which forces config reload without killing running instance

How would I put together this init script? Or is it included in the icecast distribution already?
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 Aug 10, 2009 9:44 pm    Post subject: Reply with quote

you could just do a kill -HUP <pid>

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



Joined: 05 Jul 2009
Posts: 34

PostPosted: Mon Aug 10, 2009 11:05 pm    Post subject: Reply with quote

karlH wrote:
you could just do a kill -HUP <pid>

karl.

Ok.. Regardless, there anyway I can create the init scripts for icecast to start, shutdown, restart, reload, and get it's current status?
Back to top
View user's profile Send private message
jcr
Modérateur français
Modérateur français


Joined: 14 Apr 2006
Posts: 544
Location: France, Auvergne

PostPosted: Mon Aug 10, 2009 11:16 pm    Post subject: Reply with quote

If you use a classic Linux distro, such as Fedora or Debian or Ubuntu, init scrits are included in packages and already in place Smile
_________________
Epsilon Friends Radio Icecast Radio on CentovaCast admin panel. Icecast hosting
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
topdog



Joined: 05 Jul 2009
Posts: 34

PostPosted: Tue Aug 11, 2009 12:42 am    Post subject: Reply with quote

jcr wrote:
If you use a classic Linux distro, such as Fedora or Debian or Ubuntu, init scrits are included in packages and already in place Smile

Failed to put I'm using CentOS 5.3.
I do /etc/init.d/icecast status
It says:
- Bash: /etc/init.d/icecast, No such file or directory.
Unless it's installed somewhere else perhaps?
Back to top
View user's profile Send private message
jcr
Modérateur français
Modérateur français


Joined: 14 Apr 2006
Posts: 544
Location: France, Auvergne

PostPosted: Tue Aug 11, 2009 6:56 am    Post subject: Reply with quote

Centos does not provide an icecast build.

However, you can grab source RPM and centos 5.3 binary rpm here:

x86_64 binary

Source RPM

I built those for my SentOS servers, based on Fedora 10 source RPM.[/url]
_________________
Epsilon Friends Radio Icecast Radio on CentovaCast admin panel. Icecast hosting
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
topdog



Joined: 05 Jul 2009
Posts: 34

PostPosted: Tue Aug 11, 2009 7:53 am    Post subject: Reply with quote

jcr wrote:
Centos does not provide an icecast build.

However, you can grab source RPM and centos 5.3 binary rpm here:

x86_64 binary

Source RPM

I built those for my SentOS servers, based on Fedora 10 source RPM.[/url]

Do you know where I can get a 32 bit binary?
I downloaded the source RPM already.
And how do I build the source RPM?
And then when I get the binary do I install that as a regular RPM and start icecast from service icecast start?
Back to top
View user's profile Send private message
jcr
Modérateur français
Modérateur français


Joined: 14 Apr 2006
Posts: 544
Location: France, Auvergne

PostPosted: Tue Aug 11, 2009 10:29 am    Post subject: Reply with quote

To build your 32 bit RPM, you need to install via yum rpmbuild package.
Source RPM may complain during build that some devel packages are missing, if so install them via yum.

If you're kind, you can give a link when your 32 bit RPM is built, I'll add it to the list..
[/code]
_________________
Epsilon Friends Radio Icecast Radio on CentovaCast admin panel. Icecast hosting
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
topdog



Joined: 05 Jul 2009
Posts: 34

PostPosted: Tue Aug 11, 2009 12:55 pm    Post subject: Reply with quote

jcr wrote:
To build your 32 bit RPM, you need to install via yum rpmbuild package.
Source RPM may complain during build that some devel packages are missing, if so install them via yum.

If you're kind, you can give a link when your 32 bit RPM is built, I'll add it to the list..
[/code]

When I did rpmbuild icecast-2.3.2-5.src.rpm
I get the error:
Error: icecast-2.3.2-5.src.rpm does not appear to be a specfile.
Am I missing an option somewhere?
Back to top
View user's profile Send private message
topdog



Joined: 05 Jul 2009
Posts: 34

PostPosted: Tue Aug 11, 2009 1:34 pm    Post subject: Reply with quote

jcr wrote:
To build your 32 bit RPM, you need to install via yum rpmbuild package.
Source RPM may complain during build that some devel packages are missing, if so install them via yum.

If you're kind, you can give a link when your 32 bit RPM is built, I'll add it to the list..
[/code]

Rpmbuild did complain when I did rpmbuild --rebuild icecast-2.3.2-5.src.rpm, but I installed what it was missing and did the rpmbuild --rebuild icecast-2.3.2-5.src.rpm command again and it built.
So now that I have a regular RPM it does not want to install.
I did a test before install with the command:
rpm -i --test icecast-2.3.2-5.i386.rpm
It gives this error:
error: Failed dependencies:
libiconv.so.2 is needed by icecast-2.3.2-5.i386
What does that error mean?
I did the command
whereis libiconv
The output:
libiconv: /usr/local/lib/libiconv.la /usr/local/lib/libiconv.so
Displays, so now I am at a loss as to why it can't find it.
Back to top
View user's profile Send private message
jcr
Modérateur français
Modérateur français


Joined: 14 Apr 2006
Posts: 544
Location: France, Auvergne

PostPosted: Tue Aug 11, 2009 4:59 pm    Post subject: Reply with quote

Means, libiconv is not installed. you have to insyall iyt, or more simply:

yum localinstall icescast-stuff.rpm

Using yum witth localinstall will reslve dependancies and auto install missinbg libraries.

Whether you made your own buid for libiconv, as this was not a RPM package, your centos install has no clue about it's presence or not. RPM system only tracks dependancies from system wide RPM installed packages.

Same occurs with all RPM or DEB (Debian) based systems.
_________________
Epsilon Friends Radio Icecast Radio on CentovaCast admin panel. Icecast hosting
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
topdog



Joined: 05 Jul 2009
Posts: 34

PostPosted: Tue Aug 11, 2009 5:43 pm    Post subject: Reply with quote

jcr wrote:
Means, libiconv is not installed. you have to insyall iyt, or more simply:

yum localinstall icescast-stuff.rpm

Using yum witth localinstall will reslve dependancies and auto install missinbg libraries.

Whether you made your own buid for libiconv, as this was not a RPM package, your centos install has no clue about it's presence or not. RPM system only tracks dependancies from system wide RPM installed packages.

Same occurs with all RPM or DEB (Debian) based systems.


I do the command:
[root@eagle ~]# yum localinstall icecast-2.3.2-5.i386.rpm
Setting up Local Package Process
Examining icecast-2.3.2-5.i386.rpm: icecast-2.3.2-5.i386
Marking icecast-2.3.2-5.i386.rpm to be installed
Excluding Packages from 5 tf updates
Finished
Resolving Dependencies
--> Running transaction check
---> Package icecast.i386 0:2.3.2-5 set to be updated
--> Processing Dependency: libiconv.so.2 for package: icecast
--> Finished Dependency Resolution
icecast-2.3.2-5.i386 from icecast-2.3.2-5.i386.rpm has depsolving problems
--> Missing Dependency: libiconv.so.2 is needed by package icecast-2.3.2-5.i386 (icecast-2.3.2-5.i386.rpm)
Error: Missing Dependency: libiconv.so.2 is needed by package icecast-2.3.2-5.i386 (icecast-2.3.2-5.i386.rpm)
[root@eagle ~]#
That's the output I get. Any suggestions?
Back to top
View user's profile Send private message
jcr
Modérateur français
Modérateur français


Joined: 14 Apr 2006
Posts: 544
Location: France, Auvergne

PostPosted: Tue Aug 11, 2009 6:06 pm    Post subject: Reply with quote

sounds i386 version has different issues than x86_64 one.
But as you already have a running iconv lib, you can install icecast with:

rpm -Uvh --nodeps icecast-xxx.rpm

It should anyway run. And I'll submit the case to centOS list, as x86_64 does not have this issue.
_________________
Epsilon Friends Radio Icecast Radio on CentovaCast admin panel. Icecast hosting
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Goto page 1, 2  Next
Page 1 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