behram / googlesitemapgenerator

Automatically exported from code.google.com/p/googlesitemapgenerator
Apache License 2.0
0 stars 1 forks source link

error installations #154

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run sudo ~/sitemap/install.sh -g www-data
2. next:
What is the location of the Apache binary or control script? [/usr/sbin/apache2]
***************************************************************************
The following information about your Apache installation has been detected:
  * Apache version: 2.2
  * Apache architecture: 32 bits
  * Apache root configuration file: /etc/apache2/apache2.conf
  * Apache group: www-data
***************************************************************************
Is all of this information correct? If you answer No, installation will
terminate and you'll need to restart the installation, using the necessary
command line options. [N/y]y
Google Sitemap Generator will start creating Web Sitemap files as soon as it
starts up. Do you want Google Sitemap Generator to start submitting these
files automatically? There are three options:
1.  First installation. Start with automatic submission disabled.
2.  First installation. Start with automatic submission enabled.
3.  Reinstallation. Use the old automatic submission settings.

Specify your choice [1]:1

Program files successfully copied.
/usr/local/google-sitemap-generator/bin/sitemap-daemon: 4: Syntax error: ")" 
unexpected
Failed to update site settings.

3. fail :(

Apache 2.2 Ubuntu 10.10 32bit

Original issue reported on code.google.com by ZekMa...@gmail.com on 24 Feb 2011 at 6:57

GoogleCodeExporter commented 9 years ago
It seems that it is related to the choice of the system shell, as all the 
scripts uses the #!/bin/sh   shebang.
Changing the symbolic link /bin/sh to /bin/bash  should solve the problem

Original comment by defma...@gmail.com on 27 May 2011 at 10:52