Skip to content
This repository has been archived by the owner on Aug 21, 2023. It is now read-only.

Invalid command '<Directory', perhaps misspelled or defined by a module not included in the server configuration #34

Open
priya124 opened this issue May 24, 2016 · 2 comments

Comments

@priya124
Copy link

Please help me to solve this error
sudo service apache2 reload
Syntax error on line 8 of /etc/apache2/sites-enabled/default-ssl.conf:
Invalid command '<Directory', perhaps misspelled or defined by a module not included in the server configuration
Action 'configtest' failed.
The Apache error log may have more information.
...fail!
administrator@ratticdb:/opt/apps/RatticWeb$ sudo nano default-ssl.conf
administrator@ratticdb:/opt/apps/RatticWeb$ sudo service apache2 reload
Syntax error on line 8 of /etc/apache2/sites-enabled/default-ssl.conf:
Invalid command '<Directory', perhaps misspelled or defined by a module not included in the server configuration
Action 'configtest' failed.
The Apache error log may have more information.
...fail!

@priya124
Copy link
Author

In my log file below mensioned is present
[Sat May 21 12:54:51 2016] [notice] Apache/2.2.22 (Ubuntu) configured -- resuming normal operations
[Sat May 21 12:54:52 2016] [notice] caught SIGTERM, shutting down
[Sat May 21 12:54:54 2016] [notice] Apache/2.2.22 (Ubuntu) mod_wsgi/3.3 Python/2.7.3 configured -- resuming normal operations
[Sat May 21 13:39:18 2016] [notice] caught SIGTERM, shutting down
[Mon May 23 03:26:36 2016] [notice] Apache/2.2.22 (Ubuntu) mod_wsgi/3.3 Python/2.7.3 configured -- resuming normal operations
[Mon May 23 05:10:42 2016] [notice] caught SIGTERM, shutting down
[Mon May 23 10:41:57 2016] [notice] Apache/2.2.22 (Ubuntu) mod_wsgi/3.3 Python/2.7.3 configured -- resuming normal operations
[Mon May 23 18:45:29 2016] [notice] caught SIGTERM, shutting down

@ashoksrinath
Copy link

My response is 4 years too late, but the solution is to replace < with the less-than symbol (<) and similarly replace > with the greater-than symbol (>).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants