I used the the Ubuntu with and MYSQL installation guide for OSQA. It was very simple to follow until I reached the last step, which was starting the Apache2 server. I double checked to see if I missed any of the previous steps and I did happen to miss one. It was the sudo ln -s /etc/apache2/sites-available/osqa /etc/apache2/sites-enabled/osqa command. So I ran this command from my root directory. After doing running the above command I tried starting the Apache2 server again. It still didn't work. I then ran these commands:

sudo chmod -R g+w /home/osqa/osqa-server/forum/upfiles
sudo chmod -R g+w /home/osqa/osqa-server/log

These didn't help with the issue. The errors I get when I start or restart the server are:

osqa@osqa-Latitude-E4300:/$ sudo /etc/init.d/apache2 restart
[sudo] password for osqa: 
Sorry, try again.
[sudo] password for osqa: 
apache2: Syntax error on line 230 of /etc/apache2/apache2.conf: Syntax error on line 7 of /etc/apache2/sites-enabled/osqa: /etc/apache2/sites-enabled/osqa:7: <VirtualHost> was not closed.
Action 'configtest' failed.
The Apache error log may have more information.
   ...fail!

Any help would be appreciated greatly!

asked 16 Feb, 15:29

Hermit's gravatar image

Hermit
113
accept rate: 0%

edited 20 Feb, 01:09

Jordan's gravatar image

Jordan ♦♦
3.1k618

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×29
×4
×2
×1

Asked: 16 Feb, 15:29

Seen: 201 times

Last updated: 20 Feb, 01:09

powered by OSQA