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 

Interface web qui ne fonctionne pas

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Forum Francophone
View previous topic :: View next topic  
Author Message
Anonymous
Guest





PostPosted: Mon Jan 07, 2008 6:05 pm    Post subject: Interface web qui ne fonctionne pas Reply with quote

Salut à tous et bonne année 2008!

Voilà, pour bien débuter l'année j'ai voulu installer Icecast sur ma Fedora Core 2 (je sais c'est vieux mais bon, ça marche nickel).
J'ai donc installer libxslt-devel, libtheora-devel, speex et libxml, pas de souci.

Après j'ai téléchargé Icecast : icecast-2.3.1.tar.gz et je l'ai décompacté.
J'ai fait un ./configure puis un make puis un make install sans, semble-t'il, d'erreur...

j'ai modifié mon icecast.xml avec la création notamment de l'utilisateur Icecast pour le changeowner.

Puis je lance Icecast pour voir si ça marche bien :
/usr/local/bin/icecast -b -c /etc/icecast.xml

Celui-ci est bien présent dans la liste des process'

Avec OddCast j'arrive bien à emettre un flux audio dessus et avec Winamp, j'arrive bien à recevoir ce même flux audio.
On pourrait croire que tout va pour le mieux dans le meilleur des mondes MAIS, car il y a toujours un MAIS, aucune interface web ne fonctionne dont la partie admin... Gasp...

Quand je fait http://IPDuServeur:8000/ J'ai juste le message suivant :
The file you requested could not be found
(Quand je kill Icecast, j'ai juste une erreur 404)
Pourtant ses fichiers sont bien là où le fichier icecast.xml lui dit qu'ils sont...

Quelqu'un a une idée?

Merci par avance

Simo'

PS : voici mon icecast.xml :

Code:
<icecast>
    <limits>
        <clients>100</clients>
        <sources>5</sources>
        <threadpool>5</threadpool>
        <queue-size>102400</queue-size>
        <client-timeout>30</client-timeout>
        <header-timeout>15</header-timeout>
        <source-timeout>10</source-timeout>
    </limits>

    <authentication>
        <source-password>*****</source-password>
        <relay-password>*****</relay-password>
        <admin-user>icecast</admin-user>
        <admin-password>*****</admin-password>
    </authentication>

    <hostname>localhost</hostname>

    <listen-socket>
        <port>8000</port>
    </listen-socket>

    <fileserve>1</fileserve>

    <paths>
        <basedir>/usr/local/share/icecast</basedir>
        <logdir>/usr/local/share/icecast/logs</logdir>
        <webroot>/usr/local/share/icecast/web</webroot>
        <adminroot>/usr/local/share/icecast/admin</adminroot>
        <pidfile>/usr/local/share/icecast/icecast.pid</pidfile>
    </paths>

    <logging>
        <accesslog>access.log</accesslog>
        <errorlog>error.log</errorlog>
        <loglevel>4</loglevel>
    </logging>

    <security>
        <chroot>0</chroot>
        <changeowner>
            <user>icecast</user>
            <group>icecast</group>
        </changeowner>
    </security>
</icecast>
Back to top
jcr
Modérateur français
Modérateur français


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

PostPosted: Tue Jan 08, 2008 8:37 am    Post subject: Reply with quote

Il est probable qu'il s'agisse d'une question de droits d'accès sur les fichiers de la section webroot de la configuration. Regardes dans les logs de icecast (error.log) il ets probable que icecast ne soit pas owner du /usr/lical/share/icecast, ou alors que le groupe n'ait pas les accès en lecture
_________________
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
Anonymous
Guest





PostPosted: Tue Jan 08, 2008 9:30 am    Post subject: Reply with quote

J'ai mis en 777 le dossier /usr/local/share/icecast/ et son contenu. Pour le dossier web j'ai mis mon utilisateur icecast et son group en tant que propriétaire (chown -R icecast:icecast ./web) pour être sur que ce n'est pas un souci de droit.
Mais l'erreur reste la même.

Voici ce que j'ai dans mon error.log :

Code:

Lancement de Icecast :

[2008-01-08  10:22:48] INFO main/main Icecast 2.3.1 server started
[2008-01-08  10:22:48] DBUG yp/yp_recheck_config Updating YP configuration
[2008-01-08  10:22:48] INFO stats/_stats_thread stats thread started
[2008-01-08  10:22:48] INFO fserve/fserv_thread_function file serving thread started
[2008-01-08  10:22:48] INFO yp/yp_update_thread YP update thread started
[2008-01-08  10:22:48] INFO auth/auth_run_thread Authentication thread started
[2008-01-08  10:22:49] DBUG slave/_slave_thread checking master stream list
[2008-01-08  10:23:08] DBUG stats/modify_node_event update node clients (1)
[2008-01-08  10:23:08] DBUG stats/modify_node_event update node connections (1)
[2008-01-08  10:23:08] INFO fserve/fserve_client_create checking for file / (/usr/local/share/icecast/web/)
[2008-01-08  10:23:08] DBUG fserve/fserve_add_client Adding client to file serving engine
[2008-01-08  10:23:08] WARN fserve/fserve_client_create found requested file but there is no handler for it: /usr/local/share/icecast/web/

Ci dessous les lignes ajoutées quand je tente d'aller sur http://ipDuServeur:8000/ :

[2008-01-08  10:23:09] DBUG stats/modify_node_event update node client_connections (1)
[2008-01-08  10:23:09] DBUG stats/modify_node_event update node clients (0)
[2008-01-08  10:23:09] INFO fserve/fserve_client_create checking for file /favicon.ico (/usr/local/share/icecast/web/favicon.ico)
[2008-01-08  10:23:09] WARN fserve/fserve_client_create req for file "/usr/local/share/icecast/web/favicon.ico" No such file or directory
[2008-01-08  10:23:09] DBUG fserve/fserve_add_client Adding client to file serving engine
[2008-01-08  10:23:09] DBUG stats/modify_node_event update node clients (1)
[2008-01-08  10:23:09] DBUG stats/modify_node_event update node connections (2)
[2008-01-08  10:23:09] DBUG stats/modify_node_event update node client_connections (2)
[2008-01-08  10:23:09] DBUG stats/modify_node_event update node clients (0)


Le favicon qui n'est pas trouvé ne m'inquiéte pas trop mais la ligne :WARN fserve/fserve_client_create found requested file but there is no handler for it: /usr/local/share/icecast/web/ doit indiquer le problème rencontré mais je ne vois pas comment le résoudre Embarassed

Simo'
Back to top
Anonymous
Guest





PostPosted: Tue Jan 08, 2008 10:04 am    Post subject: Reply with quote

warf! pas super explicite l'erreur!

Voici la solution pour ceux qui ont ou auront le même souci :

ajoutez <alias source="/" dest="/status.xsl" />

dans la section paths de icecast.xml

Ce fut long mais c'est du bon Smile

Simo'
Back to top
jcr
Modérateur français
Modérateur français


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

PostPosted: Tue Jan 08, 2008 10:28 am    Post subject: Reply with quote

Quote:
ajoutez <alias source="/" dest="/status.xsl" />

Je n'y ai pas pensé immédiatement, vu que le spackages pour les Fedora disons un peu moins "archaïques" que la 2 ont icecast qui s'installe par un simple yum install icecast 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
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Forum Francophone All times are GMT
Page 1 of 1

 
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