I have a LAMP configurated server AMD64 with Ubuntu 14.04 and Apache2 on an EC2 instance.
I followed the official guide here, so first
I downloaded the sitemap_linux-x86_64-beta1-20091231.tar.gz
and unpacked it
Then I typed sudo sitemap-install/install.sh –-apache-bin=/usr/sbin/apache2
and here comes my problem:
What is the location of the Apache binary or control script?
[/usr/sbin/apache2] should support -V option.
/usr/sbin/apache2 is not a supported Apache binary or control script.
I'm sure about the location, infact if I restart Apache from the log file I can see AH00094: Command line: '/usr/sbin/apache2'
. I have also tried using this as location /usr/sbin/apache2ctl
but no way.
I tried searching on Google for days without find anything.
Why I cannot install the Google Sitemap Generator using /usr/sbin/apache2
as location of my Apache?
UPDATE
if I type apache2 -V
the output is a list of warning Invalid Mutex directory in argument file:${APACHE_LOCK_DIR}
but it's because the request output from the /usr/sbin/apache2
binary directly and so the /etc/apache2/envvars
file isn’t sourced as explained here