Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

251
Views
Google Sitemap Generator error 'is not a supported Apache binary or control script' during installation

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

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

Doesn't the documentation say to use -a and not --apache-bin, so you should be doing:

sudo sitemap-install/install.sh –a /usr/sbin/apache2

Both my apache2 binary and my apache2ctl control script understand the -V argument:

root@:~# apache2 -V
Server version: Apache/2.2.22 (Ubuntu)
Server built:   Jul 24 2015 17:25:42

root@:~# apache2ctl -V
Server version: Apache/2.2.22 (Ubuntu)
Server built:   Jul 24 2015 17:25:42
over 4 years ago · Santiago Trujillo Report

0

Looks to me like you should be doing this:

sudo sitemap-install/install.sh –-apache-bin=/usr/sbin/apachectl

Also the /usr/sbin/apachectl is likely a soft link so just run an ls -la on that if you want to know the real location.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!