[Icecast] ices-0.4 on gentoo

un at dom.de un at dom.de
Sat Feb 12 19:11:17 UTC 2011


Huw - Junglised:
>  That worked perfectly! Im clearly a linux novice.
>  How do I go about setting it to run automatically on boot?


hi, you have to make a init script and put it in  /etc/init.d/
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=4

hope it help, uno


#############################################################################

#!/bin/sh
#
case "$1" in
  start)
        # Start daemons.
        echo -n "Starting ices "
	# user: the user id you want ices to run under
        su -c '/usr/local/bin/ices -c path_to_your_config user > /dev/null 2>&1 && echo ices startet
        echo
        ;;
  stop)
        # Stop daemons.
        echo -n "Shutting down ices: "
        killall ices > /dev/null 2>&1 && echo ices stopped || killall -9 ices
        echo
        ;;
  *)
        echo "Usage: $0 {start|stop}"
        exit 1
esac
exit 0

#############################################################################





> 
>  On Sat, 12 Feb 2011 17:42:51 +0100, Sascha Bieler 
>  <sascha.bieler at radiogong.de> wrote:
> > Hi,
> >
> > this just means that ices cannot be found in the global system PATH,
> > because you did'nt run configure with option --prefix=/usr/. If you
> > just run configure everything will be installed after a successful 
> > mak
> > and make install in prefix /usr/local.
> >
> > Try to start ices like /usr/local/bin/ices -c
> > /usr/local/etc/ices.conf.dist -B
> >
> >
> > Hope this helps
> >
> > Sascha
> > ________________________________________
> > Von: icecast-bounces at xiph.org [icecast-bounces at xiph.org] im Auftrag
> > von Huw - Junglised [contact at junglised.co.uk]
> > Gesendet: Samstag, 12. Februar 2011 17:09
> > An: Icecast at xiph.org
> > Betreff: [Icecast] ices-0.4 on gentoo
> >
> > Hi all. I'm having an absolute nightmare trying to get ices-0.4
> > running on my gentoo vps.
> >
> > i managed to use emerge to install icecast, which was way easier than
> > when i tried on cent os last year. this is running perfectly, starts
> > on boot etc.
> >
> > the only version of ices thats available via emerge is ices2, which i
> > dont want.
> >
> > ive tried (and im no linux pro) wget the tarall, unzipping and
> > compiling it, but i get this error when i try run ices:
> >
> > junglised ices-0.4 # ices -c /usr/local/etc/ices.conf.dist -B
> > bash: ices: command not found
> >
> > im at a complete loss now. I just cant figure out how to get it
> > running. Anybody had better luck getting it working on gentoo?
> >
> > Thanks
> >
> > Huw
> >
> >
> > *** Email secured by Check Point ***
> >
> >
> > Radio Gong 2000 Programmanbieter GmbH & Co. H?rfunk f?r M?nchen KG
> > Sitz: Franz-Joseph-Stra?e 14, 80801 M?nchen
> > Handelsregister M?nchen HRA 64203
> > USt-IdNr. DE130253082
> > Pers?nlich haftende Gesellschafterin: Radio Gong 2000 
> > Programmanbieter GmbH
> > Gesch?ftsf?hrer: Georg Dingler
> > fon 089 - 38 166 0
> > home http://www.radiogong.de
> > mail info at radiogong.de
> >
> > Diese Information ist ausschlie?lich f?r den Adressaten bestimmt und
> > kann vertraulich oder gesetzlich gesch?tzte Informationen enthalten.
> > Wenn Sie nicht der bestimmungsgem??e Adressat sind, unterrichten Sie
> > bitte den Absender und vernichten Sie diese Mail. Anderen als dem
> > bestimmungsgem??en Adressaten ist es untersagt, diese E-Mail zu 
> > lesen,
> > zu speichern, weiterzuleiten oder ihren Inhalt auf welche Weise auch
> > immer zu verwenden. Wir verwenden aktuelle Virenschutzprogramme. F?r
> > Sch?den, die dem Empf?nger gleichwohl durch von uns zugesandte mit
> > Viren befallene E-Mails entstehen, schlie?en wir jede Haftung aus.
> >
> > The information contained in this email is intended only for its
> > addressee and may contain confidential and/or privileged information.
> > If the reader of this email is not the intended recipient, you are
> > hereby notified that reading, saving, distribution or use of the
> > content of this email in any way is prohibited. If you have received
> > this email in error, please notify the sender and delete the email. 
> > We
> > use updated antivirus protection software. We do not accept any
> > responsibility for damages caused anyhow by viruses transmitted via
> > email.
> 
> -- 
>  Huw Davies (Beatsmith)
>  07949713698
>  Junglised.co.uk
>  Facebook
>  Twitter.com/Junglised
> _______________________________________________
> Icecast mailing list
> Icecast at xiph.org
> http://lists.xiph.org/mailman/listinfo/icecast



More information about the Icecast mailing list