Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

256
Visualizações
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 Respostas
Responde à pergunta

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 Relatório

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda