This affects Mac OS X Server 10.2 to 10.2.8 when upgraded to 10.3 or 10.3.1
To avoid this issue, update the server to the most recent version (10.3.2 or later) before trying to start the Web service.
If you've already encountered the issue, follow these steps:
- Open Terminal (/Applications/Utilities/).
- Type:sudo apachectl configtest
- Press Return.
- Type your administrator password when prompted, then press Return.
This will check the syntax of the Apache configuration files. If you see a syntax error with a line number of the file "/etc/httpd/httpd.conf" that says "CacheRoot takes one argument, The directory to store cache files", then take these additional steps:
- As the root user, make a copy of the file "/etc/httpd/httpd.conf".
- Still as root, open /etc/httpd/httpd.conf using a text editor.
- Look for a line that says
CacheRoot ""
Important: Be sure to choose a line that does not start with a number sign (#).
- Edit the line to say:
CacheRoot "/private/var/run/proxy"
Tip: If you use a text editor that displays line numbers, this can help you make sure you're editing the line that was mentioned earlier in the syntax error.
- Save the changes to /etc/httpd/httpd.conf.
- Type: sudo apachectl configtest
- Press Return. This time, a message saying "Syntax OK" should appear.
- Open Server Admin and start the Web service.
Web service should now start.