Error which I got -Inspiron-3541:/etc/apache2/sites-available$ service apache2 reload /usr/sbin/apache2ctl: 87: ulimit: error setting limit (Operation not permitted) apache2: Syntax error on line 237 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/sites-enabled/mysite: No such file or directory Action 'configtest' failed. The Apache error log may have more information. ...fail!


According to the error this file /etc/apache2/sites-enabled/mysite doesn't exist (perhaps you have deleted or renamed it).

If that is not the problem check the messages in the error log (which should be located by default in /var/log/apache2/error.log)

  • ya it is thier in folder ... – yaseen May 30 '15 at 20:50
  • Can you see its contents via cat /etc/apache2/sites-enabled/mysite – Sledge Hammer May 30 '15 at 20:52

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.