You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Aschwanden Marco <ma...@riskreturn.ch> on 1999/09/08 08:13:18 UTC

os-windows/4980: System Error 1067 - Terminated unexpectedly.

>Number:         4980
>Category:       os-windows
>Synopsis:       System Error 1067 - Terminated unexpectedly.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Tue Sep  7 23:20:03 PDT 1999
>Last-Modified:
>Originator:     marco@riskreturn.ch
>Organization:
apache
>Release:        1.3.9
>Environment:
WinNT 4.0 / Build 1381 / Service Pack 5
>Description:
Another variant of Bug Reports: 2097 & 4939

Problem:
I installed Apache 1.3.9 on a (freshly setup) machine and accepted all
the default settings.

I wanted to to use the option "Install Apache as Service (NT only)" 
in the Start menu. It didn't register Apache as a Service.

Doing it in a DOS-Box (apache -i -n "Apache") did the job.

I tried to start apache. From the Services-window it wouldn't start up giving
me an "1067 System Error" and a message that Apache terminated unexpectedly.

Starting the service up in a DOS-Box (net start apache) gave me the same error message.

I tried to start Apache in a DOS-Box (apache -n "apache"). Now I received
a more enlightning message. It said something like:

Can not find localhost. Use ServerName Directive to solve the problem.

When I looked into the httpd.conf file and checked for the ServerName
directive I realized that there was a wrong name here (created by the
install procedure).

In my case it was enough to change the ServerName directive (to 127.0.0.1 - it
was a local test server).

I unregistered the apache service (apache -u -n "Apache") and registered
it again (apache -i -n "Apache) - maybe this is not necessary. 

Now I was able to start it any way I wanted.

The the option "Install Apache as Service (NT only)" in the Start menu
still didn't work.

>How-To-Repeat:

>Fix:
1. During installation the ServerName directive should be automatically
   set to localhost!
2. Fix the the option "Install Apache as Service (NT only)" - no solution here.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]