Solved

Cannot start Icecast2 on Ubuntu 14.04

Posted on 2015-01-06
7
701 Views
Last Modified: 2015-01-11
I have a clean Ubuntu 14.04 build and have installed icecast2 using apt-get. I have taken the defaults through the install config and then attempted to run "icecast2 -c /etc/icecast2/icecast.xml" to start it. I get the error "Server startup failed. Exiting"
0
Comment
Question by:ClintonK
  • 4
  • 3
7 Comments
 
LVL 62

Accepted Solution

by:
gheist earned 500 total points
ID: 40536249
You need to run "service icecast2 restart" and the likes. Probably system-supplied icecast script is already started.
0
 

Author Comment

by:ClintonK
ID: 40536849
Thanks. I can now start Icecast!
Now to my reason for installing Icecast....
I have an IP camera with video output on http://192.168.1.5/video1.mjpg or alternatively rtsp://192.168.1.5/live1.sdp

How can I configure Icecast to stream this ?
0
 
LVL 62

Expert Comment

by:gheist
ID: 40536874
We met on the same question.... VLC-OK?
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 

Author Comment

by:ClintonK
ID: 40536884
We did indeed and I think I must be missing the point entirely. I'm expecting three components in this solution....
IP Camera ----> Icecast2 -----> Webpage

When you talk about VLC I don't understand how this fits into the solution. Perhaps I'm assuming Icecast does more that it does? I'm expecting it to take input from the camera, recode it and send it back out in a different format. Maybe I've completely misunderstood what Icecast does because I can't even get near the solution I'm looking for.
0
 
LVL 62

Expert Comment

by:gheist
ID: 40536904
IP camera -> VLC/VLC-CLI/ffmpeg/mpalyer -> icecast -> link in webpage to m3u

where VLC plays http:/rtsp: URL of video stream to shoutcast output plugin.
In VLC:
Media/Stream
"network"
Stream/Stream
New destination: IceCast

Then use common sense to guess m3u file associated with stream and put a link to that in a webpage
0
 

Author Closing Comment

by:ClintonK
ID: 40543417
This starts Icecast successfully. The confusing thing is that the documentation on the Icecast web site doesn't mention this. However, this is the answer to my question. Thanks
0
 
LVL 62

Expert Comment

by:gheist
ID: 40543422
You can run VLC CLI in "screen" session (it is not mentioned how, but could save you frim involving desktop etc)
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
This video will demonstrate how to customize windows, tools, and control bars, and save them as screen sets. Open and resize windows: Customize the toolbar: Customize the control bar: Customize your tool selections: Your screen set is alread…
Viewers will learn key ranges in Sampler to make their sampled instruments sound more realistic Gather samples of various notes and drag them to Key Range panel: Set proper root key for each sample: Select all the samples with Command-A (or Ctrl…

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question