Hallo Zusammen,
ich habe das Addon pmacct installiert, so wie es in der Anleitung steht.
pmacct.cgi nach /srv/web/ipfire/cgi-bin/ kopiert und die Rechte vergeben.
Aber wenn ich die Seite https://your-ipfire:444/cgi-bin/pmacct.cgi aufrufe kommt nur ein “Internal Server Error”
Server habe ich neu gestartet und der Dienst läuft auch.
Fehlt da noch was?
Im Log steht folgende Fehlermeldung:
[Thu Jan 08 07:46:01.291006 2026] [cgid:error] [pid 3676:tid 3676] (8)Exec format error: AH01241: exec of ‘/srv/web/ipfire/cgi-bin/pmacct.cgi’ failed
[Thu Jan 08 07:46:01.291540 2026] [cgid:error] [pid 3083:tid 3111] [client 192.168.88.78:49306] End of script output before headers: pmacct.cgi
Hallo @femi
Please note that the language to be used fore this forum is English as defined in the IPFire FAQ.
https://community.ipfire.org/faq
If writing in English is difficult then please use a translation program such as DeepL translator to help you.
Ok, i will try in English:
I installed the Plugin pmacct as it is shown in the Manual.
I copied the pmacct.cgi to /srv/web/ipfire/cgi-bin/ changed permissions to 755 and chown root:root.
But when I want to access https://your-ipfire:444/cgi-bin/pmacct.cgi I get an “Internal Server Error” (your-ipfire changed to mi IP address)
I did a Reboot of IPfire, service is starting normaly, no errors.
This is what i see in the error_log:
[Thu Jan 08 07:46:01.291006 2026] [cgid:error] [pid 3676:tid 3676] (8)Exec format error: AH01241: exec of ‘/srv/web/ipfire/cgi-bin/pmacct.cgi’ failed
[Thu Jan 08 07:46:01.291540 2026] [cgid:error] [pid 3083:tid 3111] [client 192.168.88.78:49306] End of script output before headers: pmacct.cgi
Hi, did you set the correct permissions
chmod 755 /srv/web/ipfire/cgi-bin/pmacct.cgi
chown root:root /srv/web/ipfire/cgi-bin/pmacct.cgi
?
Yes i did:
-rwxr-xr-x 1 root root 27677 Jan 2 18:27 pakfire.cgi
-rwxr-xr-x 1 root root 1474 Jan 8 07:33 pmacct.cgi
-rwxr-xr-x 1 root root 43181 Jan 2 18:27 pppsetup.cgi