Centova Technologies Forum

Centova Cast v3 => General discussion => Topic started by: rowl3y on July 31, 2013, 04:17:27 am

Title: Please help install icecast -KH
Post by: rowl3y on July 31, 2013, 04:17:27 am
I have being trying all day to install this but it just wont work .

Please help .
Title: Re: Please help install icecast -KH
Post by: delseibo on January 10, 2014, 10:48:04 am
I have being trying all day to install this but it just wont work .

Please help .

I can install for you!!!
Title: Re: Please help install icecast -KH
Post by: My Auto DJ on January 10, 2014, 03:51:31 pm
This should work ..

Quote
cd /usr/src && wget https://github.com/karlheyes/icecast-kh/archive/icecast-2.3.3-kh8.tar.gz && tar -zxf icecast-2.3.3-kh8 && cd icecast-kh-icecast-2.3.3-kh8 && ./configure;make CFLAGS="-D_XOPEN_SOURCE=600" && make install && /usr/local/centovacast/sbin/enable_package ICECAST /usr/local/bin/icecast
Title: Re: Please help install icecast -KH
Post by: janosnet on January 28, 2014, 01:26:41 pm
Hello. i have the same problem, only have a Icecast in my centova vps. needed Shoutcast V2 and Icecast-KH. i will try with this solution por icecast-kh. thanks
Title: Re: Please help install icecast -KH
Post by: sam604 on January 28, 2014, 02:52:19 pm
Quote
cd /usr/src && wget https://github.com/karlheyes/icecast-kh/archive/icecast-2.3.3-kh8.tar.gz && tar -zxf icecast-2.3.3-kh8 && cd icecast-kh-icecast-2.3.3-kh8 && ./configure;make CFLAGS="-D_XOPEN_SOURCE=600" && make install && /usr/local/centovacast/sbin/enable_package ICECAST /usr/local/bin/icecast
There is a syntex error the tarfile name wrong " tar -zxf icecast-2.3.3-kh8" It should be " tar -zxf icecast-2.3.3-kh8.tar.gz"
Also, this process fail to ./configure  due to missing files. Can someone recommend a tarball with the missing files
Title: Re: Please help install icecast -KH
Post by: janosnet on January 28, 2014, 03:25:40 pm
This should work ..

Quote
cd /usr/src && wget https://github.com/karlheyes/icecast-kh/archive/icecast-2.3.3-kh8.tar.gz && tar -zxf icecast-2.3.3-kh8 && cd icecast-kh-icecast-2.3.3-kh8 && ./configure;make CFLAGS="-D_XOPEN_SOURCE=600" && make install && /usr/local/centovacast/sbin/enable_package ICECAST /usr/local/bin/icecast

Hello dear. so many thanks for you help. with your code i was updated my Icecast from V1 to V2 (KH)

Only needed install Shoutcast V2 and all right.
Title: Re: Please help install icecast -KH
Post by: kahfluie on February 07, 2014, 02:36:56 pm
So, is this like just one command that is run and icecast is updated? I'd like to have KH installed as well. I'm not up on the commands for Linux yet.
Title: Re: Please help install icecast -KH
Post by: My Auto DJ on February 09, 2014, 07:50:20 am
I think you first have to have Icecast installed so first run

/usr/local/centovacast/sbin/update --add icecast

then the line of code

Should be fairly easy just login as root and run the command(s)

If you need a SSH client I recommend BitVise, you can save your servers for fast access, when you connect to a server a command windows pops up as well as a SFTP window
https://www.bitvise.com/
Title: Re: Please help install icecast -KH
Post by: kahfluie on February 09, 2014, 07:56:53 am
Thanks for the reply. I already have icecast installed. So I am assuming just run the command as presented by Sam604 or with the fix you mentioned?
Title: Re: Please help install icecast -KH
Post by: My Auto DJ on February 10, 2014, 03:44:27 am
The code I posted at the start works I just tried it there is no need for a "fix" as sam604 says -- just ran it to test

http://prntscr.com/2r75mw

Title: Re: Please help install icecast -KH
Post by: kahfluie on February 10, 2014, 04:21:17 am
Thanks much. I appreciate the help, worked just as you said. Again, many thanks.
Title: Re: Please help install icecast -KH
Post by: sam604 on February 10, 2014, 02:19:35 pm
 /usr/local/centovacast/sbin/enable_package ICECAST /usr/local/bin/icecastcd /usr/src && wget https://github.com/karlheyes/icecast-kh/archive/icecast-2.3.3-kh8.tar.gz && tar -zxf icecast-2.3.3-kh8 && cd icecast-kh-icecast-2.3.3-kh8 && ./configure;make CFLAGS="-D_XOPEN_SOURCE=600" && make install && /usr/local/centovacast/sbin/enable_package ICECAST /usr/local/bin/icecast
--2014-02-10 18:14:56--  https://github.com/karlheyes/icecast-kh/archive/icecast-2.3.3-kh8.tar.gz
Resolving github.com (github.com)... 192.30.252.129
Connecting to github.com (github.com)|192.30.252.129|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/karlheyes/icecast-kh/tar.gz/icecast-2.3.3-kh8 [following]
--2014-02-10 18:14:57--  https://codeload.github.com/karlheyes/icecast-kh/tar.gz/icecast-2.3.3-kh8
Resolving codeload.github.com (codeload.github.com)... 192.30.252.146
Connecting to codeload.github.com (codeload.github.com)|192.30.252.146|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-gzip]
Saving to: `icecast-2.3.3-kh8.tar.gz'

    [                      <=>              ] 917,206      150K/s   in 5.5s

2014-02-10 18:15:05 (163 KB/s) - `icecast-2.3.3-kh8.tar.gz' saved [917206]

tar (child): icecast-2.3.3-kh8: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
make: *** No targets specified and no makefile found.  Stop.
make: *** No targets specified and no makefile found.  Stop.
root@debian:/usr/src#
THIS IS THE ERROR I GET RUNNING THE CODE STRAIGHT
Title: Re: Please help install icecast -KH
Post by: JustStreamWith.Us on February 11, 2014, 06:06:20 am
sam604,

The key is in the output:
Code: [Select]
tar (child): icecast-2.3.3-kh8: Cannot open: No such file or directory
Change
Code: [Select]
&& tar -zxf icecast-2.3.3-kh8 && to
Code: [Select]
&& tar -zxf icecast-2.3.3-kh8.tar.gz && and it will work fine.

Chris
Title: Re: Please help install icecast -KH
Post by: My Auto DJ on February 11, 2014, 06:41:49 am
No I don't think that matters, other users have reported above the code works fine but I think it's because your not using Centos, your on Debian correct? Not really sure have never used Debian
Title: Re: Please help install icecast -KH
Post by: JustStreamWith.Us on February 11, 2014, 08:44:08 am
No I don't think that matters, other users have reported above the code works fine but I think it's because your not using Centos, your on Debian correct? Not really sure have never used Debian

I'm actually using Scientific Linux 6.5.  ;D

Chris
Title: Re: Please help install icecast -KH
Post by: My Auto DJ on February 11, 2014, 08:54:50 am
I was talking about Sam604 it says in the error
root@debian:/usr/src#
Title: Re: Please help install icecast -KH
Post by: sam604 on February 11, 2014, 11:37:19 am
I am using Debian... and I agree that script would not work.. I actually got it to work after modification.  I would post later :)
Title: Re: Please help install icecast -KH
Post by: JustStreamWith.Us on February 11, 2014, 02:35:50 pm
I was talking about Sam604 it says in the error
root@debian:/usr/src#

Ah. Sorry.  :D
Title: Re: Please help install icecast -KH
Post by: sam604 on February 11, 2014, 02:37:17 pm
PLEASE  NOTE:THIS IS USED ON A DEBIAN SERVER, ALSO USE AT YOUR OWN RISK (But it worked for me :))

Quote
To install Icecast (Any version manually)
cd /usr/src
wget (Any_version).tar.gz
tar -zxvf Any_version.tar.gz
cd Any_version
sudo apt-get install libxml2-dev (May already be install)
sudo apt-get install libxslt1-dev

wget http://downloads.xiph.org/releases/ogg/libogg-1.3.1.tar.gz
tar xf libogg-1.3.1.tar.gz
cd libogg*
./configure
make && make install

wget http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.3.tar.gz
tar xf libvorbis-1.3.3.tar.gz
cd libvorbis*
./configure
make && make install
# ^^ install Ogg Vorbis

 ./configure;make CFLAGS="-D_XOPEN_SOURCE=600" && make install && /usr/local/centovacast/sbin/enable_package ICECAST /usr/local/bin/icecast
Title: Re: Please help install icecast -KH
Post by: kahfluie on February 11, 2014, 04:26:36 pm
ok so while I believe -KH is indeed installed, when I go to the ADMIN of a new server, I get the following:

Quote
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<icestats>
<admin>icemaster@localhost</admin>
<banned_IPs>0</banned_IPs>
<build>20140211182716</build>
<client_connections>24</client_connections>
<clients>1</clients>
<connections>31</connections>
<file_connections>6</file_connections>
<host>example.com</host>
<listener_connections>3</listener_connections>
<listeners>0</listeners>
<location>Earth</location>
<outgoing_kbitrate>0</outgoing_kbitrate>
<server_id>Icecast 2.3.3-kh8</server_id>
<server_start>11/Feb/2014:18:42:50 -0600</server_start>
<source_client_connections>1</source_client_connections>
<source_relay_connections>0</source_relay_connections>
<source_total_connections>1</source_total_connections>
<sources>0</sources>
<stats>0</stats>
<stats_connections>0</stats_connections>
<stream_kbytes_read>1527</stream_kbytes_read>
<stream_kbytes_sent>283</stream_kbytes_sent>
</icestats>

Is this normal? I'm used to the black administrative page that is shown with 2.3.2.

Thoughts?
Title: Re: Please help install icecast -KH
Post by: kahfluie on February 12, 2014, 07:46:53 am
To clarify my last message...

When I go to the stats page (icecast -kh), I get the normal stats page.  When I click on Administration on the top, I enter username and password. This is where I get the page that says only that. ( http://ipnumber:port/admin ). However, if I go to the stats.xsl page, it goes back to normal ( http://ip_number:port/admin/stats.xsl ). I believe this page is the Administration home page. 

Is there a redirect or something missing to show this page formatted? Would anyone know how to fix this?

I've attached a couple of screen shots to explain it better. One is what I see when I go to the "Administration" page  ( http://ipnumber:port/admin ). The other is then I go to the stats.xsl ( http://ip_number:port/admin/stats.xsl ).

Any help is greatly appreciated.
Title: Re: Please help install icecast -KH
Post by: kahfluie on February 13, 2014, 06:26:13 pm
In addition to my question above, when I created a new server, shouldn't Icecast 2 AND Icecast -KH be in the drop down, of did I sacrifice Icecast 2 for -KH?

If I wanted to go back, is there a way to do so without hurting anything?