Apache server doesn't start on Fedora

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Apache server doesn't start on Fedora

Postby kiaikidobcn » 12. July 2022 12:06

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
kiaikidobcn
 
Posts: 2
Joined: 12. July 2022 11:55
XAMPP version: 8.0.19
Operating System: fedora linux Release 35

Re: Apache serverf doesn't start on Fedora

Postby Altrea » 12. July 2022 12:15

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.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11620
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Apache server doesn't start on Fedora

Postby kiaikidobcn » 12. July 2022 12:22

Ok guys, I manage to solve it! I just discovered that I needed to install the libnsl library
Thanks @Altrea for your suuggestions
kiaikidobcn
 
Posts: 2
Joined: 12. July 2022 11:55
XAMPP version: 8.0.19
Operating System: fedora linux Release 35


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 7 guests