Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apache 2 syntax error - Portainer #14

Open
huntson opened this issue Feb 3, 2023 · 1 comment
Open

Apache 2 syntax error - Portainer #14

huntson opened this issue Feb 3, 2023 · 1 comment

Comments

@huntson
Copy link

huntson commented Feb 3, 2023

Copy and pasted the YAML right into Portainer. Things appear to build correctly however I get this error on the log from the 'gip' container.

apache2: Syntax error on line 225 of /etc/apache2/apache2.conf: Syntax error on line 48 of /etc/apache2/sites-enabled/gestioip.conf: Could not open configuration file /usr/share/gestioip/etc/apache/apache_ldap.conf: No such file or directory
Action '-D FOREGROUND' failed.
The Apache error log may have more information.

  • Starting enhanced syslogd rsyslogd
    rsyslog startup failure, child did not respond within startup timeout (60 seconds)
    ...done.
  • Starting periodic command scheduler cron
    ...done.
    apache2: Syntax error on line 225 of /etc/apache2/apache2.conf: Syntax error on line 48 of /etc/apache2/sites-enabled/gestioip.conf: Could not open configuration file /usr/share/gestioip/etc/apache/apache_ldap.conf: No such file or directory
    Action '-D FOREGROUND' failed.
    The Apache error log may have more information.
  • Starting enhanced syslogd rsyslogd
    rsyslog startup failure, child did not respond within startup timeout (60 seconds)
    ...done.
  • Starting periodic command scheduler cron
    ...done.
    apache2: Syntax error on line 225 of /etc/apache2/apache2.conf: Syntax error on line 48 of /etc/apache2/sites-enabled/gestioip.conf: Could not open configuration file /usr/share/gestioip/etc/apache/apache_ldap.conf: No such file or directory
    Action '-D FOREGROUND' failed.
    The Apache error log may have more information.
  • Starting enhanced syslogd rsyslogd
    rsyslog startup failure, child did not respond within startup timeout (60 seconds)
    ...done.
  • Starting periodic command scheduler cron
    ...done.
    apache2: Syntax error on line 225 of /etc/apache2/apache2.conf: Syntax error on line 48 of /etc/apache2/sites-enabled/gestioip.conf: Could not open configuration file /usr/share/gestioip/etc/apache/apache_ldap.conf: No such file or directory
    Action '-D FOREGROUND' failed.
    The Apache error log may have more information.
  • Starting enhanced syslogd rsyslogd
    rsyslog startup failure, child did not respond within startup timeout (60 seconds)
    ...done.
  • Starting periodic command scheduler cron
    ...done.
    apache2: Syntax error on line 225 of /etc/apache2/apache2.conf: Syntax error on line 48 of /etc/apache2/sites-enabled/gestioip.conf: Could not open configuration file /usr/share/gestioip/etc/apache/apache_ldap.conf: No such file or directory
    Action '-D FOREGROUND' failed.
    The Apache error log may have more information.
  • Starting enhanced syslogd rsyslogd
    rsyslog startup failure, child did not respond within startup timeout (60 seconds)
    ...done.
  • Starting periodic command scheduler cron
    ...done.
    apache2: Syntax error on line 225 of /etc/apache2/apache2.conf: Syntax error on line 48 of /etc/apache2/sites-enabled/gestioip.conf: Could not open configuration file /usr/share/gestioip/etc/apache/apache_ldap.conf: No such file or directory
    Action '-D FOREGROUND' failed.
    The Apache error log may have more information.
  • Starting enhanced syslogd rsyslogd
    rsyslog startup failure, child did not respond within startup timeout (60 seconds)
    ...done.
  • Starting periodic command scheduler cron
    ...done.
    apache2: Syntax error on line 225 of /etc/apache2/apache2.conf: Syntax error on line 48 of /etc/apache2/sites-enabled/gestioip.conf: Could not open configuration file /usr/share/gestioip/etc/apache/apache_ldap.conf: No such file or directory
    Action '-D FOREGROUND' failed.
    The Apache error log may have more information.
  • Starting enhanced syslogd rsyslogd
    rsyslog startup failure, child did not respond within startup timeout (60 seconds)
    ...done.
  • Starting periodic command scheduler cron
    ...done.
    apache2: Syntax error on line 225 of /etc/apache2/apache2.conf: Syntax error on line 48 of /etc/apache2/sites-enabled/gestioip.conf: Could not open configuration file /usr/share/gestioip/etc/apache/apache_ldap.conf: No such file or directory
    Action '-D FOREGROUND' failed.
    The Apache error log may have more information.
  • Starting enhanced syslogd rsyslogd
    rsyslog startup failure, child did not respond within startup timeout (60 seconds)
    ...done.
  • Starting periodic command scheduler cron
    ...done.
    apache2: Syntax error on line 225 of /etc/apache2/apache2.conf: Syntax error on line 48 of /etc/apache2/sites-enabled/gestioip.conf: Could not open configuration file /usr/share/gestioip/etc/apache/apache_ldap.conf: No such file or directory
    Action '-D FOREGROUND' failed.
    The Apache error log may have more information.
  • Starting enhanced syslogd rsyslogd
    rsyslog startup failure, child did not respond within startup timeout (60 seconds)
    ...done.
  • Starting periodic command scheduler cron
    ...done.
    apache2: Syntax error on line 225 of /etc/apache2/apache2.conf: Syntax error on line 48 of /etc/apache2/sites-enabled/gestioip.conf: Could not open configuration file /usr/share/gestioip/etc/apache/apache_ldap.conf: No such file or directory
    Action '-D FOREGROUND' failed.
    The Apache error log may have more information.
  • Starting enhanced syslogd rsyslogd
    rsyslog startup failure, child did not respond within startup timeout (60 seconds)
    ...done.
  • Starting periodic command scheduler cron
    ...done.
    apache2: Syntax error on line 225 of /etc/apache2/apache2.conf: Syntax error on line 48 of /etc/apache2/sites-enabled/gestioip.conf: Could not open configuration file /usr/share/gestioip/etc/apache/apache_ldap.conf: No such file or directory
    Action '-D FOREGROUND' failed.
    The Apache error log may have more information.
  • Starting enhanced syslogd rsyslogd
    rsyslog startup failure, child did not respond within startup timeout (60 seconds)
    ...done.
  • Starting periodic command scheduler cron
    ...done.
    apache2: Syntax error on line 225 of /etc/apache2/apache2.conf: Syntax error on line 48 of /etc/apache2/sites-enabled/gestioip.conf: Could not open configuration file /usr/share/gestioip/etc/apache/apache_ldap.conf: No such file or directory
    Action '-D FOREGROUND' failed.
    The Apache error log may have more information.
  • Starting enhanced syslogd rsyslogd
    rsyslog startup failure, child did not respond within startup timeout (60 seconds)
    ...done.
  • Starting periodic command scheduler cron
    ...done.
    apache2: Syntax error on line 225 of /etc/apache2/apache2.conf: Syntax error on line 48 of /etc/apache2/sites-enabled/gestioip.conf: Could not open configuration file /usr/share/gestioip/etc/apache/apache_ldap.conf: No such file or directory
    Action '-D FOREGROUND' failed.
    The Apache error log may have more information.
  • Starting enhanced syslogd rsyslogd
@brianyoungsamc
Copy link

Not sure if you fixed it, but I found a workaround. It doesn't look like all of the files get created when deploying through portainer. I did the same thing, but ended up downloading the repository to my windows computer and then copying the files in apache/conf to the shared folder on my linux host which ended up being /data/compose/14/apache/conf. Then once I was able to get into the container, I had to copy /gestioip_install/gestioip_3.5/gestioip/install to /var/www/html/gestio/. Then I had to delete the gestioip database from mysql and ran through the database configuration http://host/gestioip/install. If you want to enable SSL you will need to modify /etc/apache2/sites-enabled/gestioip.conf and change the authuserfile entry to /user/share/gestioip/etc/apache/. Once I had that done I did a commit of the image, updated my stack to use the new gip image and I was good to go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants