Specifications

60 Chapter 3 AFP Service
Viewing Service Logs
You use Server Admin to view the error and access logs for AFP service (if you have
enabled them).
To view logs:
1 Open Server Admin and select AFP in the Computers & Services list.
2 Click Logs and use the Show pop-up menu to choose between the access and error
logs.
To enable logging, click Settings (near the bottom of the window), then click Logging.
From the Command Line
You can also view the AFP service logs in /Library/Logs/AppleFileService using the
cat
or
tail commands in Terminal. For more information, see the file services chapter of
the command-line administration guide.
Stopping AFP Service
You use Server Admin to stop AFP service.
Important: When you stop AFP service, connected users may lose unsaved changes in
open files.
To stop Apple file service after warning users:
1 Open Server Admin and select AFP in the Computers & Services list.
2 Click Connections (near the bottom of the window), then click Stop.
3 Type the length of time the server will wait before stopping service.
4 Type a message in the Additional Message field if you want users to know why they
must disconnect.
Otherwise, a default message is sent indicating that the server will shut down in the
specified number of minutes.
5 Click Send.
From the Command Line
You can also stop the AFP service immediately using the serveradmin command in
Terminal. For more information, see the file services chapter of the command-line
administration guide.