An error I don't understand.

Hey guys I am getting this error and i have no clue what is causing it. It happened after I installed Webmin and Virtualmin.

  • Starting web server apache2
    Syntax error on line 18 of /etc/apache2/conf.d/install.sh:
    Invalid command ‘prosupported="’, perhaps misspelled or defined by a module not included in the server configuration
    Action ‘start’ failed.
    The Apache error log may have more information.
    …fail!

I am using Ubuntu 11.10 - Linux version 3.0.0-12-generic-pae (buildd@vernadsky) (gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3) ) #20-Ubuntu SMP Fri Oct 7 16:37:17 UTC 2011

Any ideas, I have looked all over.

Thanks in Advance.

Howdy,

It looks like your install.sh script is in /etc/apache2/conf.d – is it possible that you accidentally downloaded it to that directory?

However, you can just move that to another directory with this command:

mv /etc/apache2/conf.d/install.sh /tmp

And then you should be able to restart Apache.

-Eric

Hello Eric,

   Thanks for replying, Yes I already tried that and it just tries to load another file from that directory. I actually did not download to that directory.

I did the following from the /home/administrator directory

wget http://software.virtualmin.com/gpl/scripts/install.sh and then did

./install.sh

So I may have to reload the whole server not sure how to fix this issue.

Thanks a ton for replying.

Howdy,

I don’t think you need to reinstall, what you’re seeing seems like a solvable problem.

What error(s) do you get after removing that install.sh script?

Also, what output do you see if you run this command:

ls -l /etc/apache2/conf.d