unable to restart httpd

Discussion in 'Apache' started by kogula14, Oct 4, 2009.

  1. #1
    Hi,

    I encounter weird issue. I am unable to start my httpd process in my CentOS..

    Below is the error message i got:-

    Stopping httpd: [FAILED]
    Starting httpd: httpd: Syntax error on line 143 of /etc/httpd/conf/httpd.conf: Syntax error on line 21 of /etc/httpd/conf/extra/httpd-vhosts.conf: Could not open configuration file /etc/httpd/conf/ips.conf: No such file or directory


    Please help me and i also want to learn this on how to solve..
     
    kogula14, Oct 4, 2009 IP
  2. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #2
    You are calling this file through the httpd-vhosts.conf file, and it does not exist:

    /etc/httpd/conf/ips.conf

    Either create the file, or, remove the call to it from the httpd-vhosts.conf file.
     
    RHS-Chris, Oct 4, 2009 IP
  3. kogula14

    kogula14 Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hi,

    Wow..thanks... I copy new file from my older vps server and now it is working.

    I didn't use any control panel yet.. But before this i was tried to install directadmin. After that it becomes like this... I have no idea
     
    kogula14, Oct 4, 2009 IP