Women in Technology

Hear us Roar



Article:
  Apache Web-Serving with Mac OS X, Part 4
Subject:   Error starting apache
Date:   2002-04-20 09:45:49
From:  
Here's what happens:
[localhost:var/log/httpd] phantom% apachectl restart
/usr/sbin/apachectl restart: httpd not running, trying to start
fopen: Permission denied
httpd: could not open error log file /private/var/log/httpd/error_log.
/usr/sbin/apachectl restart: httpd could not be started


I tried removeing error_log(after making a backup, of course) and I get the same error. Tried using the backup httpd.conf to no avail. Thanks for your help.

Full Threads Oldest First

Showing messages 1 through 3 of 3.

  • Error starting apache
    2003-04-01 04:19:02  anonymous2 [View]

    This message comes when U don't have the root password. Plus some instance(Processes) of Apache/HTTPD is already running.

    So log in as root. Kill all the associated processes, then log in from ur UserID & start, it should work...

    :Ajit
  • Error starting apache
    2003-04-01 04:17:48  anonymous2 [View]

    This message comes when U don't have the root password. Plus some instance(Processes) of Apache/HTTPD is already running.

    So log in as root. Kill all the associated processes, then log in from ur UserID & start, it should work...

    :Ajit
  • Morbus Iff photo Error starting apache
    2002-04-21 20:05:02  Morbus Iff | O'Reilly Author [View]

    Try "sudo apachectl restart". You'll be asked for a password, which should be an administrative one.