Page 1 of 1

Apache server doesn't start on Fedora

PostPosted: 12. July 2022 12:06
by kiaikidobcn
Hi,
I just installed XAMPP 8.0.19 on my Fedora ver. 35 OS
The overall installation process seemed to go well but after the control panel is started the Apache service/server doesn't start
The message that is shown:

Starting Apache Web Server...
Exit code: 8
Stdout:
apache config test fails, aborting
Stderr:
httpd: Syntax error on line 522 of /opt/lampp/etc/httpd.conf: Syntax error on line 6 of /opt/lampp/etc/extra/httpd-xampp.conf: Cannot load modules/mod_perl.so into server: libnsl.so.1: cannot open shared object file: No such file or directory


Does anyone know of how to make it work?
Regards

Re: Apache serverf doesn't start on Fedora

PostPosted: 12. July 2022 12:15
by Altrea
in order to use the mod_perl module you need to install libnsl manually. i don't know the command for Fedora, but google may help.

the other possibility would be to comment out the LoadModule line in your Apache config if you don't need Perl support.

Re: Apache server doesn't start on Fedora

PostPosted: 12. July 2022 12:22
by kiaikidobcn
Ok guys, I manage to solve it! I just discovered that I needed to install the libnsl library
Thanks @Altrea for your suuggestions