Find the answer to your Linux question:
Results 1 to 2 of 2
Every Time I start Apache I get this error Starting httpd: httpd: Syntax error on line 1005 of /etc/httpd/conf/httpd.conf: Could not open configuration file /etc/httpd/etc/httpd/conf/vhost/armstrong.isa-geek.81.conf: No such file or directory ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2009
    Posts
    3

    Apache is kicking my butt


    Every Time I start Apache I get this error

    Starting httpd: httpd: Syntax error on line 1005 of /etc/httpd/conf/httpd.conf:
    Could not open configuration file /etc/httpd/etc/httpd/conf/vhost/armstrong.isa-geek.81.conf: No such file or directory
    [FAILED]

    But when I go to that line it looks fine

    <VirtualHost armstrong.isa-geek.org:81>
    ServerAdmin ********@gmail.com
    ServerName 192.168.2.205
    DocumentRoot /www
    ErrorLog logs/error_log
    CustomLog logs/access_log combined
    </VirtualHost>

    # include VirtualHosts config files
    Include etc/httpd/conf/vhost/armstrong.isa-geek.81.conf
    Include etc/httpd/conf/vhost/armstrong.isa-geek.org.443.conf

    I am clueless about what to do here Im new on the linux scene

    If I need to post more info please let me know

    Thank you

    All help is appreciated in Advanced

  2. #2
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    Quote Originally Posted by Andromeda05 View Post
    Every Time I start Apache I get this error

    Starting httpd: httpd: Syntax error on line 1005 of /etc/httpd/conf/httpd.conf:
    Could not open configuration file /etc/httpd/etc/httpd/conf/vhost/armstrong.isa-geek.81.conf: No such file or directory
    [FAILED]

    But when I go to that line it looks fine

    <VirtualHost armstrong.isa-geek.org:81>
    ServerAdmin ********@gmail.com
    ServerName 192.168.2.205
    DocumentRoot /www
    ErrorLog logs/error_log
    CustomLog logs/access_log combined
    </VirtualHost>

    # include VirtualHosts config files
    Include etc/httpd/conf/vhost/armstrong.isa-geek.81.conf
    Include etc/httpd/conf/vhost/armstrong.isa-geek.org.443.conf

    I am clueless about what to do here Im new on the linux scene

    If I need to post more info please let me know

    Thank you

    All help is appreciated in Advanced
    take a closer look at your error. do you really have this file

    /etc/httpd/etc/httpd/conf/vhost/armstrong.isa-geek.81.conf

    I doubt it. the fix is to change your include section to this

    Code:
    # include VirtualHosts config files
    Include /etc/httpd/conf/vhost/armstrong.isa-geek.81.conf
    Include /etc/httpd/conf/vhost/armstrong.isa-geek.org.443.conf
    notice the beginning /

Posting Permissions

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