Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

263
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda