old-www/REF/VLS-User-Guide/x656.html

304 lines
4.3 KiB
HTML

<HTML
><HEAD
><TITLE
>&#13;Launching VLS
</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="
VLS user guide
"
HREF="index.html"><LINK
REL="UP"
TITLE="
Running VLS
"
HREF="run.html"><LINK
REL="PREVIOUS"
TITLE="
Running VLS
"
HREF="run.html"><LINK
REL="NEXT"
TITLE="
Using the telnet interface
"
HREF="x681.html"></HEAD
><BODY
CLASS="sect1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>VLS user guide</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="run.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 5. Running VLS</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="x681.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="AEN656"
></A
>5.1. Launching VLS</H1
><P
>&#13;If you want to use the telnet interface, running
VLS is very easy: just type <B
CLASS="command"
>vls</B
> in a shell
console, and that's all. Running <B
CLASS="command"
>vlsd</B
> will
start VLS as a daemon and will detach itself from the launching
shell. Remember that VLS will try to load its configuration file
(<TT
CLASS="filename"
>vls.cfg</TT
>) from the current directory, and if
there is no <TT
CLASS="filename"
>vls.cfg</TT
> there, it will try to load it
from <TT
CLASS="filename"
>SYSCONF_DIR/etc/videolan</TT
> (see section <A
HREF="config.html"
><I
>Configuration</I
></A
>)
.</P
><DIV
CLASS="caution"
><P
></P
><TABLE
CLASS="caution"
WIDTH="100%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="../images/caution.gif"
HSPACE="5"
ALT="Caution"></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
>&#13;If your log file is <TT
CLASS="filename"
>vls.log</TT
> as
in the example, VLS will need write access in the current directory, or
you will see something like
:</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
><TT
CLASS="computeroutput"
>&#13;*** Exception *** in copy constructor (0xbffffc98, copy of 0x80e30a8)
Unable to open the log file "vls.log": Error: Could not open file 'vls.log':
Permission denied
</TT
></PRE
></FONT
></TD
></TR
></TABLE
><P
>&#13;Remember also that you must be root when using the
"Interface" option in <TT
CLASS="filename"
>vls.cfg</TT
>
.</P
></TD
></TR
></TABLE
></DIV
><P
>&#13;
If everything is right, you will see something like
:</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
><TT
CLASS="computeroutput"
>&#13;VideoLAN Server v 0.5.3 (Jun 6 2003) - (c)1999-2003 VideoLAN
2002-03-09 17:24:51 [INFO/Vls] Module "channel:file" registered
2002-03-09 17:24:51 [INFO/Vls] Module "channel:network" registered
2002-03-09 17:24:51 [INFO/Vls] Module "mpegreader:file" registered
2002-03-09 17:24:51 [INFO/Vls] Module "mpegconverter:ts2ts" registered
[...]
</TT
></PRE
></FONT
></TD
></TR
></TABLE
><P
>&#13;What you can see on the screen (stderr) is exactly
what goes in the log file <TT
CLASS="filename"
>vls.log</TT
>
.</P
><P
>&#13;When VLS has been successfully started, it doesn't
take any command from its standard input, so you can put it into
background (you can use the <EM
>screen</EM
> utility to do
that)
.</P
><P
>&#13;On the other hand, if you want to
use the command line interface, please see the <A
HREF="http://www.videolan.org/doc/"
TARGET="_top"
>VideoLAN HOWTO</A
>
.</P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="run.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="x681.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Running VLS</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="run.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Using the telnet interface</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>