Dear all,
To reply to myself: I resolved the problem by doing:
mount --rbind /dev /chroot/apache/dev/
Kind regards,
Robbie
From: Robbie Roerbak <robbieroerbak@xxxxxxxxxxx>
Sent: 31 January 2024 17:45 To: users@xxxxxxxxxxxxxxxx <users@xxxxxxxxxxxxxxxx> Subject: mod_fcgid problem in chroot: (38)Function not implemented
Dear all,
Wishing you a good day. My day could have been better, I've been battling a problem with mod_fcgid
in combination with ModSecurity's SecChrootDir feature, which chroots the webserver into /chroot/apache. The virtualhosts live under this and it's a nice feature.
As soon as I enable mod_fcgid, Apache fails to start with the following error message:
[fcgid:emerg] [pid 5344] (38)Function not implemented: mod_fcgid: Can't create shared memory
for size 1200712 bytes
My OS is Ubuntu 20.04 LTS.
I've tried:
Can anyone give me a hint to further debug this problem?
Kind regards,
Robbie
|