Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Could not start web service - details in error log 100002

Hi everyone.

I'm trying to start Web service on 10.5.8 Server, but it always fails with the message Try to refresh the view (192.168.0.254/Web). Report the problem to the administrator if it persists. (Could not start web service - details in error log.) 100002.


apachectl configtest turns up:


/usr/sbin/apachectl: line 73: ulimit: open files: cannot modify limit: Invalid argument

Syntax OK


Console turns up:


6/16/11 11:53:23 AM com.apple.launchd[1] (com.apple.wikid) Throttling respawn: Will start in 9 seconds

6/16/11 11:53:28 AM org.apache.httpd[6520] (2)No such file or directory: httpd: could not open error log file /var/log/apache2/error_log.

6/16/11 11:53:28 AM org.apache.httpd[6520] Unable to open logs

6/16/11 11:53:28 AM com.apple.launchd[1] (org.apache.httpd[6520]) Exited with exit code: 1

6/16/11 11:53:28 AM com.apple.launchd[1] (org.apache.httpd[6520]) Exited with exit code: 1

6/16/11 11:53:28 AM com.apple.launchd[1] (org.apache.httpd) Throttling respawn: Will start in 10 seconds

6/16/11 11:53:34 AM com.apple.wikid[6521] Traceback (most recent call last):

6/16/11 11:53:34 AM com.apple.wikid[6521] File "/usr/share/caldavd/bin/twistd", line 21, in <module>

6/16/11 11:53:34 AM com.apple.wikid[6521] run()

6/16/11 11:53:34 AM com.apple.wikid[6521] File "/usr/share/caldavd/lib/python/twisted/scripts/twistd.py", line 27, in run

6/16/11 11:53:34 AM com.apple.wikid[6521] app.run(runApp, ServerOptions)

6/16/11 11:53:34 AM com.apple.wikid[6521] File "/usr/share/caldavd/lib/python/twisted/application/app.py", line 379, in run

6/16/11 11:53:34 AM com.apple.wikid[6521] runApp(config)

6/16/11 11:53:34 AM com.apple.wikid[6521] File "/usr/share/caldavd/lib/python/twisted/scripts/twistd.py", line 23, in runApp

6/16/11 11:53:34 AM com.apple.wikid[6521] _SomeApplicationRunner(config).run()

6/16/11 11:53:34 AM com.apple.wikid[6521] File "/usr/share/caldavd/lib/python/twisted/application/app.py", line 156, in run

6/16/11 11:53:34 AM com.apple.wikid[6521] self.preApplication()

6/16/11 11:53:34 AM com.apple.wikid[6521] File "/usr/share/caldavd/lib/python/twisted/scripts/_twistd_unix.py", line 203, in preApplication

6/16/11 11:53:34 AM com.apple.wikid[6521] self.config['prefix'], self.config['nodaemon'])

6/16/11 11:53:34 AM com.apple.wikid[6521] File "/usr/share/caldavd/lib/python/twisted/scripts/_twistd_unix.py", line 113, in startLogging

6/16/11 11:53:34 AM com.apple.wikid[6521] logFile = app.getLogFile(logfilename or 'twistd.log')

6/16/11 11:53:34 AM com.apple.wikid[6521] File "/usr/share/caldavd/lib/python/twisted/application/app.py", line 410, in getLogFile

6/16/11 11:53:34 AM com.apple.wikid[6521] os.path.dirname(logPath))

6/16/11 11:53:34 AM com.apple.wikid[6521] File "/usr/share/caldavd/lib/python/twisted/python/logfile.py", line 113, in __init__

6/16/11 11:53:34 AM com.apple.wikid[6521] BaseLogFile.__init__(self, name, directory, defaultMode)

6/16/11 11:53:34 AM com.apple.wikid[6521] File "/usr/share/caldavd/lib/python/twisted/python/logfile.py", line 26, in __init__

6/16/11 11:53:34 AM com.apple.wikid[6521] assert os.path.isdir(self.directory)

6/16/11 11:53:34 AM com.apple.wikid[6521] AssertionError

6/16/11 11:53:34 AM com.apple.launchd[1] (com.apple.wikid[6521]) Exited with exit code: 1


Has anyone got any ideas what might be causing this? Or any more diagnosis I could try to get to the bottom of it?


Thanks in advance.


OSX Server-OTHER, Mac OS X (10.5)

Posted on Jun 16, 2011 3:57 AM

Reply
Question marked as Best reply

Posted on Jun 16, 2011 3:52 PM

I get the same ulimit warning when doing a sudo apachectl configtest and Apache is running on my end, so I think we could ignore that one for now. The console log says there's a problem opening /var/log/apache2/error_log -- what do you see at that location? For example:


ls -alh /var/log/apache2/error*


Should return all of your error logs. They should be owned by root:wheel and permissions should be 644.


Next, I would check the contents of the most recent error log to see if maybe there's some additional information in them. That might point us in a suitable direction.

3 replies
Question marked as Best reply

Jun 16, 2011 3:52 PM in response to Jim Boree

I get the same ulimit warning when doing a sudo apachectl configtest and Apache is running on my end, so I think we could ignore that one for now. The console log says there's a problem opening /var/log/apache2/error_log -- what do you see at that location? For example:


ls -alh /var/log/apache2/error*


Should return all of your error logs. They should be owned by root:wheel and permissions should be 644.


Next, I would check the contents of the most recent error log to see if maybe there's some additional information in them. That might point us in a suitable direction.

Jun 17, 2011 1:59 AM in response to Esther Mofet

Thanks for your reply, I really appreciate it.


Terminal replies 'No such file or directory'. A manual search through /var/ shows no apache log folder. I took a screengrab if that helps:

User uploaded file

This is all from a fresh install by the way. Is it because it can't create a logfile that it refuses to start you think? Console is just turning over and constantly respawning the same error message as in the first post by the way.

Could not start web service - details in error log 100002

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.