Apple oxs Server User Manual


 
168 Chapter 15 Working With QuickTime Streaming Server
Viewing Service Logs
You can use tail or any other file listing tool to view the contents of the QTSS service
logs.
To view the latest entries in a log:
$ tail log-file
You can use the serveradmin getLogPaths command to see where the current QTSS
error and activity logs are located.
To display the log paths:
$ sudo serveradmin command qtss:command = getLogPaths
Output
qtss:accessLog = <access-log>
qtss:errorLog = <error-log>
Forcing QTSS to Re-Read its Preferences
You can force QTSS to re-read its preferences without restarting the server. You must
log in as root to perform this task.
To force QTSS to re-read its preferences:
1 List the QTSS processes:
$ ps -ax | grep QuickTimeStreamingServer
You should see a list similar to the following:
949 ?? Ss 0:00.00 /usr/sbin/QuickTimeStreamingServer
950 ?? S 0:00.13 /usr/sbin/QuickTimeStreamingServer
965 std S+ 0:00.00 grep QuickTimeStreamingServer
2 Find the larger of the two process IDs (PIDs) for the QuickTimeStreamingServer
processes (in this case 950).
3 Send a HUP signal to this process:
$ kill -HUP 950
Value Description
<access-log> The location of the QTSS service access log. Default =
/Library/QuickTimeStreaming/Logs/
StreamingServer.log
<error-log> The location of the QTSS service error log. Default =
/Library/QuickTimeStreaming/Logs/
Error.log
LL2354.book Page 168 Monday, October 20, 2003 9:47 AM