#1064086 /usr/share/doc/libapache2-mod-netcgi-apache/changelog.gz: libapache2-mod-netcgi-apache break apache

Package:
libapache2-mod-netcgi-apache
Source:
libapache2-mod-netcgi-apache
Description:
OCaml application-level Internet libraries - netcgi2 Apache2 connector
Submitter:
Frederic LOYER
Date:
2024-03-19 10:39:16 UTC
Severity:
normal
#1064086#5
Date:
2024-02-17 00:30:46 UTC
From:
To:
Dear Maintainer,

After installing libapache2-mod-netcgi-apache, apache can't start again.

The following error is produced:

netcgi_apache.load: Can't locate API module structure `netcgi_apache_module' in file /usr/lib/apache2/modules/mod_netcgi_apache.so: /usr/lib/apache2/modules/mod_netcgi_apache.so: undefined symbol: netcgi_apache_module
Action 'restart' failed.

The Apache server must be restarted after disabling the module.

(the same behaviour is also seen in Debian 11.9)

#1064086#10
Date:
2024-02-17 04:09:48 UTC
From:
To:
We can fix it changing the /etc/apache2/mods-available/netcgi_apache.load

Simply changing the first line

LoadModule netcgi_module /usr/lib/apache2/modules/mod_netcgi_apache.so

(netcgi_module instead of netcgi_apache_module)

—
However, I had a new error:

[Sat Feb 17 05:05:36 2024] [Netcgi_apache_mod] error loading shared library: Sys_error("/usr/lib/ocaml/netcgi2-apache/netcgi_apache.cma: No such file or directory")

Curiously the netcgi_apache.load has the line

NetcgiRequire netcgi2-apache

And it search a netcgi_apache.cma file.

#1064086#19
Date:
2024-03-01 08:20:38 UTC
From:
To:
Hi,

Le 17/02/2024 à 05:09, Frédéric Loyer a écrit :

Indeed.

I don't get this error... Did you customize something in your configuration?


Cheers,

#1064086#22
Date:
2024-03-19 10:19:37 UTC
From:
To:
Hello,

Bug #1064086 in ocamlnet reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/ocaml-team/ocamlnet/-/commit/9a275f816de44068103120c625c129bf6a12a000

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1064086

#1064086#29
Date:
2024-03-19 10:37:09 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
ocamlnet, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1064086@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stéphane Glondu <glondu@debian.org> (supplier of updated ocamlnet package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 19 Mar 2024 11:11:20 +0100
Source: ocamlnet
Architecture: source
Version: 4.1.9-5
Distribution: unstable
Urgency: medium
Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
Changed-By: Stéphane Glondu <glondu@debian.org>
Closes: 1064086
Changes:
 ocamlnet (4.1.9-5) unstable; urgency=medium
 .
   * Fix netcgi loading in Apache (Closes: #1064086)
Checksums-Sha1:
 23c2222f66d1b26e38e14504acddd5f973e2de9d 2417 ocamlnet_4.1.9-5.dsc
 63ed7dede0a4e3abe77bcee47994f6b0ece66468 16624 ocamlnet_4.1.9-5.debian.tar.xz
Checksums-Sha256:
 33472071f0b64dd7f6fff282ffb0d40f50791494ca0b1f19ff5c0ea72d5b4f4c 2417 ocamlnet_4.1.9-5.dsc
 839076e3bc5884f936ad6e01e20f75122a11d555c020aeba04be322b9e010470 16624 ocamlnet_4.1.9-5.debian.tar.xz
Files:
 07e274ca8222822643d20049a382e02e 2417 ocaml optional ocamlnet_4.1.9-5.dsc
 aff3d5eb3d973b5447018bab5e872c72 16624 ocaml optional ocamlnet_4.1.9-5.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQFGBAEBCgAwFiEEbeJOl+yohsxW5iUOIbju8bGJMIEFAmX5ZpASHGdsb25kdUBk
ZWJpYW4ub3JnAAoJECG47vGxiTCB3XUIAKNQ/PrT0WxAC0iTKYw4W98UJpYm/DsQ
r9UkUPuZ+3XrB2qCLHIN2hxgCjeTOgX/nEhXQN+lnt9OFaZXwc8bDL+mbpLYfNHK
S6Sc8RAubD9KUoTUSzG+R7bRgyejm+NBuTpJt7zTJNjD0rrrIqOLO1LmNnH8YWX2
yeEskRsu6HgBSelmu6/jd7y2r367YrUcwBmUG+tVUxN/bEtSfm6Dw5HiiHHzCckm
lY215TKD3VCVuLhUDZ8iVpo6BZ4GF8deLFW6fjvwHHU7bENFPsUQPKD385Mi2w6j
oRAOOvk1eO3CgoIgUZlVnZ+k6tMXt0FmA7W0M+Li+QydDDrsQIf4GmY=
=8epD
-----END PGP SIGNATURE-----