Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Internal server error



>Hi, 
>
> I am getting an internal server error when trying to access the streaming 
>admin server. 
>
> I installed DSS from CVS on FreeBSD 4.3. The streamingadminserver.pl is 
>running and I have two instances of DarwinStreamingServer running. 

To me its not clear what your client is, nor if you're getting
an error when trying to connect to port 1220 or port 554, nor
even what protocal you're trying to use (ie. HTTP, RTSP, etc.)
You didn't provide enough information, it seems.

However, I will attempt to provide some information that may help.

You need to know that the 'streamingadminserver.pl' runs as
a separate application that listens on TCP port 1220 and
responds to HTTP (and HTTPS) requests from a Web Browser:

   http://qtss.domain.com:1220

Additionally, the QTSS/DSS server itself runs as two
processes (parent/child, as you observed) and listens
on TCP ports 554, and also port 80 (if you have it enabled in
the streamingserver.xml file under the 'rtsp_ports' property - this
is something that can be set from the Streaming Web Admin (1220)
under 'Settings').

As for getting "internal server error", do you get this when
you use a QT Client (from either a Windows machine or a Macintosh)
by going to File menu, selecting Open URL... like this:

    rtsp://qtss.domain.com:554/sample.mov

(the :554 can be omitted since it is the default if your QT
client is set to use UDP as the streaming transport)

Assuming you have the QTSS/DSS server processes running
and listening on port 554, you should see the movie stream.

Likewise, you might also try killing off both QTSS/DSS processes
and running them from the Terminal in debug mode so that you
can watch client connections and the thruput.

   root# /usr/local/bin/DarwinStreamingServer -d -S 5

(-d means debug/stay attached and don't spawn out, -S means show status
every 5 seconds).

Then when you connect form a QT client via RTSP you should
see the connection in the terminal being printed out as part
of the status lines, along with the current thruput being sent, etc.

> When I run parse_xml.cgi manually from the prompt, I get:
>tag_vals.pl did not return a true value at ./parse_xml.cgi line 23. 

By "run parse_xml.cgi manually from the prompt", are you
referring to the Unix prompt?  This is a script that is intended
to be invoked as a server-side CGI by the 'streamingadminserver.pl',
and not directly by the user at a command-line prompt.

This is a CGI that is invoked through a Web Browser, after
connecting like this:

   http://qtss.domain.com:1220

(assuming you are running the 'streamingadminserver.pl' on
the machine qtss.domain.com)


>but this doesn't help me. 
>
>
>Any help appreciated! 
>

--
Billy Brown




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.