SitePoint Sponsor

User Tag List

Results 1 to 6 of 6

Thread: Apache Help

  1. #1
    SitePoint Member
    Join Date
    Aug 2001
    Location
    Iowa
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Apache Help

    Right now I am tring to install Apahce on Red Hat Linix 7.2. I do everything it says to do and then it says to type this command in the terminal window:

    Code:
    PREFIX/bin/apachectl start
    Then I get this error:

    Code:
    fopen: No such file or directory
    http: could not open error log file PREFIX/PREFIX/logs/error_log.
    PREFIX/bin/apachectl start: http could not be started
    Does anyone know what is going on?? Thanks!!!

  2. #2
    SitePoint Zealot
    Join Date
    Nov 2001
    Location
    Earth
    Posts
    103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sounds like you forgot to create the logs directory at "PREFIX/PREFIX/logs/". The directory needs to exist before Apache will start. Apache will create the log files, but not the directories.

    Frank
    http://www.serverexpert.com/ Discuss servers and the software that makes them work.
    http://www.webmasters-resources.com/ Resources for webmasters.

  3. #3
    SitePoint Member
    Join Date
    Aug 2001
    Location
    Iowa
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Are there any other directories that I need to create other than that one? Thanks!

  4. #4
    SitePoint Zealot
    Join Date
    Nov 2001
    Location
    Earth
    Posts
    103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well just the document root for the server and any virtual hosts .

    Frank
    http://www.serverexpert.com/ Discuss servers and the software that makes them work.
    http://www.webmasters-resources.com/ Resources for webmasters.

  5. #5
    SitePoint Member
    Join Date
    Aug 2001
    Location
    Iowa
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I did that but now I just get this error when I run PREFIX/bin/apachectl start:

    Code:
    PREFIX/bin/apachectl start: http could not be started
    Any ideas? Thanks for you help ahead of time.

  6. #6
    SitePoint Zealot
    Join Date
    Nov 2001
    Location
    Earth
    Posts
    103
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Check the main Apache error log. Those kinds of errors are normally logged there. You could also try apachectl configtest.

    Frank
    http://www.serverexpert.com/ Discuss servers and the software that makes them work.
    http://www.webmasters-resources.com/ Resources for webmasters.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •