Page 1 of 1

How to have a rechable server on VLMa

Posted: 15 Jan 2009 17:50
by matathome
Hello,
I'm a newbie in Vlma i have intalled VLMa, it's working, but i have just a little problem
When I make a server, i want to see if it rechable but it's unrechable.
I try to launch VLC with the command line (screen -r -d -S vlc-vlma vlc -I telnet -vvv --color) find in http://www.videolan.org/vlma/doc/server.html
but it's no working.
Can you help me i have starting vlc server and vlma yesterday... i don't know if the command line is good and i don't know all the command line of vlc.
Please can you try to help me.
Matthieu :D

Re: How to have a rechable server on VLMa

Posted: 16 Jan 2009 09:43
by ivoire
Could you show the logs and the output of the console ?

Re: How to have a rechable server on VLMa

Posted: 16 Jan 2009 11:30
by matathome
Hi,
11:20:15,031 - ERROR - Cannot retrieve data. OID: 1.3.6.1.4.1.2021.2016.10.4.1.2.8.99.112.117.95.108.111.97.100.1, server: vls
java.net.SocketTimeoutException: Receive timed out
at java.net.PlainDatagramSocketImpl.receive0(Native Method)
at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136)
at java.net.DatagramSocket.receive(DatagramSocket.java:712)
at snmp.SNMPv1CommunicationInterface.getMIBEntry(SNMPv1CommunicationInterface.java:383)
at org.videolan.vlma.retriever.SnmpDataRetriever.retrieve(SnmpDataRetriever.java:52)
at org.videolan.vlma.VLMaServiceImpl.updateSnmpData(VLMaServiceImpl.java:195)
at org.videolan.vlma.monitor.ServerMonitor$UpdateThread.run(ServerMonitor.java:156)
i have launch vlc but i can see my file on a vlc client

Re: How to have a rechable server on VLMa

Posted: 16 Jan 2009 11:55
by ivoire
Are you sure that your vlc is running ?
And what about the vlc logs ?

Re: How to have a rechable server on VLMa

Posted: 16 Jan 2009 11:59
by matathome
hello,
i'm not sure that vlc work, i don't know where is the logs file of vlc sorry.
I have added a server on a vlma interface and a file, now i can't view my file on an other pc.
Thanks

Re: How to have a rechable server on VLMa

Posted: 16 Jan 2009 12:05
by ivoire
When you launch vlc with
screen -r -d -S vlc-vlma vlc -I telnet -vvv --color it means that you will launch vlc in a screen (look on google for what a screen is) called vlc-vlma
So you can see the vlc console if you go into the screen.
To go into the screen, the command "screen -x vlc-vlma" will do.
And to quit the screen whitout killing use "Ctrl+a" then "d"

But it seam that you'r trying to use SNMP to get info, is you server running an SNMP server ? With the good configuration ?

Re: How to have a rechable server on VLMa

Posted: 16 Jan 2009 12:12
by matathome
When i launch this command screen -r -d -S vlc-vlma vlc -I telnet -vvv --color
Thee prompt message is "the command line options couldn't be load, check they are valid"
and the logs file change :
12:10:20,015 - INFO - Program test is currently not played.
12:10:20,984 - INFO - Ask for programs reassignment.
12:10:20,984 - INFO - Starting computing channels assignment.
12:10:20,984 - INFO - Orders computation done in 0ms
12:10:20,984 - INFO - Now sending orders
12:10:20,984 - INFO - Orders sent in 0ms
12:10:24,656 - INFO - Unable to contact VLC server of vls through telnet interface
12:10:30,062 - ERROR - Cannot retrieve data. OID: 1.3.6.1.4.1.2021.2016.11.4.1.2.10.116.114.97.102.102.105.99.95.105.110.1, server: vls
java.net.SocketTimeoutException: Receive timed out
at java.net.PlainDatagramSocketImpl.receive0(Native Method)
at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136)
at java.net.DatagramSocket.receive(DatagramSocket.java:712)
at snmp.SNMPv1CommunicationInterface.getMIBEntry(SNMPv1CommunicationInterface.java:383)
at org.videolan.vlma.retriever.SnmpDataRetriever.retrieve(SnmpDataRetriever.java:52)
at org.videolan.vlma.VLMaServiceImpl.updateSnmpData(VLMaServiceImpl.java:195)
at org.videolan.vlma.monitor.ServerMonitor$UpdateThread.run(ServerMonitor.java:156)
12:10:45,062 - ERROR - Cannot retrieve data. OID: 1.3.6.1.4.1.2021.2016.12.4.1.2.11.116.114.97.102.102.105.99.95.111.117.116.1, server: vls
java.net.SocketTimeoutException: Receive timed out
at java.net.PlainDatagramSocketImpl.receive0(Native Method)
at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136)
at java.net.DatagramSocket.receive(DatagramSocket.java:712)
at snmp.SNMPv1CommunicationInterface.getMIBEntry(SNMPv1CommunicationInterface.java:383)
at org.videolan.vlma.retriever.SnmpDataRetriever.retrieve(SnmpDataRetriever.java:52)
at org.videolan.vlma.VLMaServiceImpl.updateSnmpData(VLMaServiceImpl.java:195)
at org.videolan.vlma.monitor.ServerMonitor$UpdateThread.run(ServerMonitor.java:156)
12:10:54,515 - INFO - Unable to contact VLC server of vls through telnet interface
12:11:00,062 - ERROR - Cannot retrieve data. OID: 1.3.6.1.4.1.2021.2016.13.4.1.2.7.118.108.99.95.99.112.117.1, server: vls
java.net.SocketTimeoutException: Receive timed out
at java.net.PlainDatagramSocketImpl.receive0(Native Method)
at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136)
at java.net.DatagramSocket.receive(DatagramSocket.java:712)
at snmp.SNMPv1CommunicationInterface.getMIBEntry(SNMPv1CommunicationInterface.java:383)
at org.videolan.vlma.retriever.SnmpDataRetriever.retrieve(SnmpDataRetriever.java:52)
at org.videolan.vlma.VLMaServiceImpl.updateSnmpData(VLMaServiceImpl.java:195)
at org.videolan.vlma.monitor.ServerMonitor$UpdateThread.run(ServerMonitor.java:156)
12:11:15,062 - ERROR - Cannot retrieve data. OID: 1.3.6.1.4.1.2021.2016.14.4.1.2.7.118.108.99.95.109.101.109.1, server: vls
java.net.SocketTimeoutException: Receive timed out
at java.net.PlainDatagramSocketImpl.receive0(Native Method)
at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136)
at java.net.DatagramSocket.receive(DatagramSocket.java:712)
at snmp.SNMPv1CommunicationInterface.getMIBEntry(SNMPv1CommunicationInterface.java:383)
at org.videolan.vlma.retriever.SnmpDataRetriever.retrieve(SnmpDataRetriever.java:52)
at org.videolan.vlma.VLMaServiceImpl.updateSnmpData(VLMaServiceImpl.java:195)
at org.videolan.vlma.monitor.ServerMonitor$UpdateThread.run(ServerMonitor.java:156)

I'm using it on windows xp with 0.98a version and 0.2 vlma

Thanks for your help

Re: How to have a rechable server on VLMa

Posted: 16 Jan 2009 12:17
by ivoire
Ok if you'r on windows, the "screen" programm doens't exist, so you can just launch vlc with the command line:
vlc -I telnet -vvv --color

Re: How to have a rechable server on VLMa

Posted: 16 Jan 2009 12:22
by matathome
thanks now it's working
But how can do to seen my file on my vlc client.
What's flux the adress ?

Thanks, sorry i'm very beginner on vlc server

Re: How to have a rechable server on VLMa

Posted: 16 Jan 2009 12:27
by ivoire
It depends of how you configure your server by using VLMa.

Maybe you can have a look here http://wiki.videolan.org/Documentation:Streaming_HowTo, it will help you to try some different streaming solution with vlc (you ust have to launch vlc with the right comand line)

Re: How to have a rechable server on VLMa

Posted: 16 Jan 2009 12:29
by matathome
Thanks a lot have a good day

Re: How to have a rechable server on VLMa

Posted: 25 Aug 2010 07:41
by wang888
Hi
i'm not sure that vlc work, i don't know where is the logs file of vlc sorry.
I have added a server on a vlma interface and a file, now i can't view my file on an other pc.