Can't access Icecast2 Server

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
cjsnow1

Can't access Icecast2 Server

Post by cjsnow1 »

Hi. I've been a faithful Mint user for about 2 years now. :)

My problem is when I try to set up a Streaming Icecast Server I run into a snag. I can't seem to run it. I go into Terminal

Code: Select all

light@light-yagami ~ $ sudo /etc/init.d/icecast2 start
[sudo] password for light: 
Starting icecast2: Starting icecast2
Detaching from the console
icecast2.
light@light-yagami ~ $ Server startup failed. Exiting
It started fine 2 days ago and my only other problem was that I couldn't access it when I typed

Code: Select all

My IP:8000
into Chrome or Firefox. Would changing the port do anything?

Please help.

EDIT: Just tried it with shoutcast server by following this TUT:http://iwtf.net/2010/01/04/setting-up-a ... st-server/ & got a 404 Error when I tried to go here:

Code: Select all

MyIP:8000
.
I've no idea what to do.

EDIT: I've got the Server up & running but when I try to compile ices0.4 I get this:

Code: Select all

checking for shout-config... no
configure: error: Could not find a usable libshout
so I try to install libshout and get this:

Code: Select all

sudo apt-get install libshout3-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  libshout3-dev: Depends: libspeex-dev but it is not going to be installed
E: Broken packages
so I try to get libspeex-dev and run into another wall here:

Code: Select all

sudo apt-get install libspeex-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  libspeex-dev: Depends: libspeex1 (= 1.2~rc1-1ubuntu1) but 1.2~rc1-1xbmc1 is to be installed
E: Broken packages
I tried to go into Synaptic and remove the stupid libspeex-1xbmc1 package but when I do it wants me to remove a @$$ load of Audio/Visual programs some of which I don't want to remove.

What do I do now?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
cjsnow1

Re: Can't access Icecast2 Server

Post by cjsnow1 »

bump
dfx

Re: Can't access Icecast2 Server

Post by dfx »

The most easiest way would be to install icecast2 via the standard debian/ubuntu repos, which will resolve all required dependencies and also create a seperate user for the server

Code: Select all

aptitude install icecast2
Afterwards you just have to edit /etc/icecast2/icecast.xml to your needs and start the server. By default the server will listen on port 8000.

Ices2 is also in the repos

Code: Select all

aptitude install ices2
The versions mentioned in your tutorial seem to be quite old, I'm not sure if dependencies can be resolved without trouble on your system.
cjsnow1

Re: Can't access Icecast2 Server

Post by cjsnow1 »

dfx wrote:The most easiest way would be to install icecast2 via the standard debian/ubuntu repos, which will resolve all required dependencies and also create a seperate user for the server

Code: Select all

aptitude install icecast2
When I do that it asks me to remove 62 packages some of which are python related which I'm pretty sure I need.

Same thing when I try

Code: Select all

aptitude install ices2
What do I do?

This is the terminal output:

Code: Select all

light@light-yagami ~ $ sudo aptitude install icecast2
[sudo] password for light: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information      
Initializing package states... Done
Writing extended state information... Done
The following packages will be REMOVED:
  bsd-mailx{u} cvs{u} ember-media{u} gettext{u} libalut0{u} 
  libatlas-cpp-0.6-1{u} libaubio2{u} libcegui-mk2-1{u} 
  libceguiogrerenderer-1.6.4{u} libdb4.7{u} libdevil1c2{u} 
  libemeraldengine0{u} liberis-1.3-15{u} libetpan13{u} 
  libexchange-storage1.2-3{u} libfreeimage3{u} libksieve4{u} 
  libmercator-0.2-6{u} libmimelib4{u} libogremain-1.6.4{u} libqt4-gui{u} 
  libskstream-0.3-4{u} libslv2-9{u} libvamp-sdk2{u} libvarconf-1.0-6{u} 
  libwfmath-0.3-4{u} libwfut-0.2-1{u} libxerces-c28{u} libzzip-0-13{u} 
  python-keybinder{u} python-qt3{u} python-twisted{u} 
  python-twisted-lore{u} python-twisted-mail{u} python-twisted-news{u} 
  python-twisted-runner{u} python-twisted-words{u} python-xlib{u} 
  slv2-jack{u} ttf-symbol-replacement-wine1.3{u} wesnoth-aoi{u} 
  wesnoth-core{u} wesnoth-data{u} wesnoth-did{u} wesnoth-ei{u} 
  wesnoth-httt{u} wesnoth-l{u} wesnoth-low{u} wesnoth-music{u} 
  wesnoth-nr{u} wesnoth-sof{u} wesnoth-sotbe{u} wesnoth-thot{u} 
  wesnoth-trow{u} wesnoth-tsg{u} wesnoth-ttb{u} wesnoth-utbs{u} 
  wine1.3-gecko{u} xdotool{u} zeitgeist{u} zeitgeist-core{u} 
  zeitgeist-datahub{u} 
0 packages upgraded, 0 newly installed, 62 to remove and 77 not upgraded.
Need to get 0B of archives. After unpacking 636MB will be freed.
Do you want to continue? [Y/n/?] n
Abort.
light@light-yagami ~ $ sudo aptitude install ices2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information      
Initializing package states... Done
The following packages will be REMOVED:
  bsd-mailx{u} cvs{u} ember-media{u} gettext{u} libalut0{u} 
  libatlas-cpp-0.6-1{u} libaubio2{u} libcegui-mk2-1{u} 
  libceguiogrerenderer-1.6.4{u} libdb4.7{u} libdevil1c2{u} 
  libemeraldengine0{u} liberis-1.3-15{u} libetpan13{u} 
  libexchange-storage1.2-3{u} libfreeimage3{u} libksieve4{u} 
  libmercator-0.2-6{u} libmimelib4{u} libogremain-1.6.4{u} libqt4-gui{u} 
  libskstream-0.3-4{u} libslv2-9{u} libvamp-sdk2{u} libvarconf-1.0-6{u} 
  libwfmath-0.3-4{u} libwfut-0.2-1{u} libxerces-c28{u} libzzip-0-13{u} 
  python-keybinder{u} python-qt3{u} python-twisted{u} 
  python-twisted-lore{u} python-twisted-mail{u} python-twisted-news{u} 
  python-twisted-runner{u} python-twisted-words{u} python-xlib{u} 
  slv2-jack{u} ttf-symbol-replacement-wine1.3{u} wesnoth-aoi{u} 
  wesnoth-core{u} wesnoth-data{u} wesnoth-did{u} wesnoth-ei{u} 
  wesnoth-httt{u} wesnoth-l{u} wesnoth-low{u} wesnoth-music{u} 
  wesnoth-nr{u} wesnoth-sof{u} wesnoth-sotbe{u} wesnoth-thot{u} 
  wesnoth-trow{u} wesnoth-tsg{u} wesnoth-ttb{u} wesnoth-utbs{u} 
  wine1.3-gecko{u} xdotool{u} zeitgeist{u} zeitgeist-core{u} 
  zeitgeist-datahub{u} 
0 packages upgraded, 0 newly installed, 62 to remove and 77 not upgraded.
Need to get 0B of archives. After unpacking 636MB will be freed.
Do you want to continue? [Y/n/?] n
Abort.
light@light-yagami ~ $ 
I don't want to remove Wesnoth (Haven't played it but will in the future.)

What to do?
Locked

Return to “Software & Applications”