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

Always got this issue -> AH00526: Syntax error on line 77 of /etc/apache2/conf-enabled/z-ocsinventory-server.conf: #16

Open
tarocjsu opened this issue Dec 7, 2023 · 5 comments

Comments

@tarocjsu
Copy link

tarocjsu commented Dec 7, 2023

+----------------------------------------------------------+
| OK, prepare finshed ;-) |
| |
| Starting OCS Inventory NG Management Docker... |
+----------------------------------------------------------+

/docker-entrypoint.sh: Configuration complete; ready for start up
AH00526: Syntax error on line 77 of /etc/apache2/conf-enabled/z-ocsinventory-server.conf:
PerlSetEnv takes two arguments, PerlSetEnv

@tarocjsu
Copy link
Author

tarocjsu commented Dec 7, 2023

@Kenny3231
Copy link

I have the same problem with docker-compose

@x4x
Copy link

x4x commented Jun 21, 2024

+1

    74    # If you need to specify a mysql socket that the client's built-in
    75    #PerlSetEnv OCS_OPT_DBI_MYSQL_SOCKET "path/to/mysql/unix/socket"
    76    # DBI verbosity
    77    PerlSetEnv OCS_OPT_DBI_PRINT_ERROR

in z-ocsinventory-server.conf there is a 0 missing on the end of the line.

@AlexxCeption
Copy link

I've the same problem :-(

image

@Neptoos
Copy link

Neptoos commented Aug 1, 2024

As a workaround until it has been fixed. you can mount "/etc/apache2/conf-available" and edit the line in z-ocsinventory-server.conf as @x4x already stated. Comment the line or add the 0. Both works.

Y0plait added a commit to Y0plait/OCSInventory-Docker-Image that referenced this issue Oct 24, 2024
Add quick and dirty fix for OCSInventory-NG/OCSInventory-Docker-Stack#16
Add a sed replacement
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

5 participants