Solving Apache not starting problem in Fedora

 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




(base) bash-5.1$ sudo dnf install libnsl
[sudo] password for charith: 
Invalid configuration value: fastestmirror=truedeltarpm=true in /etc/dnf/dnf.conf; invalid boolean value 'truedeltarpm=true'
Last metadata expiration check: 2:24:46 ago on Sun 09 Oct 2022 06:48:13 +0530.
Dependencies resolved.
================================================================================
 Package                   Architecture Version             Repository     Size
================================================================================
Installing:
 libnsl                    x86_64       2.35-17.fc36        updates        97 k
Upgrading:
 glibc                     x86_64       2.35-17.fc36        updates       2.1 M
 glibc-all-langpacks       x86_64       2.35-17.fc36        updates        18 M
 glibc-common              x86_64       2.35-17.fc36        updates       333 k
 glibc-devel               x86_64       2.35-17.fc36        updates        67 k
 glibc-gconv-extra         x86_64       2.35-17.fc36        updates       1.6 M
 glibc-headers-x86         noarch       2.35-17.fc36        updates       472 k
 glibc-langpack-en         x86_64       2.35-17.fc36        updates       587 k

Transaction Summary
================================================================================
Install  1 Package
Upgrade  7 Packages

Total download size: 23 M
Is this ok [y/N]: y
Downloading Packages:
(1/8): libnsl-2.35-17.fc36.x86_64.rpm            73 kB/s |  97 kB     00:01    
(2/8): glibc-devel-2.35-17.fc36.x86_64.rpm       42 kB/s |  67 kB     00:01    
(3/8): glibc-common-2.35-17.fc36.x86_64.rpm     117 kB/s | 333 kB     00:02    
(4/8): glibc-gconv-extra-2.35-17.fc36.x86_64.rp 287 kB/s | 1.6 MB     00:05    
(5/8): glibc-headers-x86-2.35-17.fc36.noarch.rp  84 kB/s | 472 kB     00:05    
(6/8): glibc-2.35-17.fc36.x86_64.rpm            355 kB/s | 2.1 MB     00:06    
(7/8): glibc-langpack-en-2.35-17.fc36.x86_64.rp  95 kB/s | 587 kB     00:06    
(8/8): glibc-all-langpacks-2.35-17.fc36.x86_64. 1.2 MB/s |  18 MB     00:14    
--------------------------------------------------------------------------------
Total                                           1.5 MB/s |  23 MB     00:15     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1 
  Upgrading        : glibc-all-langpacks-2.35-17.fc36.x86_64               1/15 
  Upgrading        : glibc-common-2.35-17.fc36.x86_64                      2/15 
  Upgrading        : glibc-gconv-extra-2.35-17.fc36.x86_64                 3/15 
  Running scriptlet: glibc-gconv-extra-2.35-17.fc36.x86_64                 3/15 
  Upgrading        : glibc-langpack-en-2.35-17.fc36.x86_64                 4/15 
  Running scriptlet: glibc-2.35-17.fc36.x86_64                             5/15 
  Upgrading        : glibc-2.35-17.fc36.x86_64                             5/15 
  Running scriptlet: glibc-2.35-17.fc36.x86_64                             5/15 
  Upgrading        : glibc-headers-x86-2.35-17.fc36.noarch                 6/15 
  Upgrading        : glibc-devel-2.35-17.fc36.x86_64                       7/15 
  Installing       : libnsl-2.35-17.fc36.x86_64                            8/15 
  Cleanup          : glibc-devel-2.35-4.fc36.x86_64                        9/15 
  Cleanup          : glibc-headers-x86-2.35-4.fc36.noarch                 10/15 
  Cleanup          : glibc-all-langpacks-2.35-4.fc36.x86_64               11/15 
  Cleanup          : glibc-gconv-extra-2.35-4.fc36.x86_64                 12/15 
  Running scriptlet: glibc-gconv-extra-2.35-4.fc36.x86_64                 12/15 
  Cleanup          : glibc-common-2.35-4.fc36.x86_64                      13/15 
  Cleanup          : glibc-langpack-en-2.35-4.fc36.x86_64                 14/15 
  Cleanup          : glibc-2.35-4.fc36.x86_64                             15/15 
  Running scriptlet: glibc-all-langpacks-2.35-17.fc36.x86_64              15/15 
  Running scriptlet: glibc-2.35-4.fc36.x86_64                             15/15 
  Verifying        : libnsl-2.35-17.fc36.x86_64                            1/15 
  Verifying        : glibc-2.35-17.fc36.x86_64                             2/15 
  Verifying        : glibc-2.35-4.fc36.x86_64                              3/15 
  Verifying        : glibc-all-langpacks-2.35-17.fc36.x86_64               4/15 
  Verifying        : glibc-all-langpacks-2.35-4.fc36.x86_64                5/15 
  Verifying        : glibc-common-2.35-17.fc36.x86_64                      6/15 
  Verifying        : glibc-common-2.35-4.fc36.x86_64                       7/15 
  Verifying        : glibc-devel-2.35-17.fc36.x86_64                       8/15 
  Verifying        : glibc-devel-2.35-4.fc36.x86_64                        9/15 
  Verifying        : glibc-gconv-extra-2.35-17.fc36.x86_64                10/15 
  Verifying        : glibc-gconv-extra-2.35-4.fc36.x86_64                 11/15 
  Verifying        : glibc-headers-x86-2.35-17.fc36.noarch                12/15 
  Verifying        : glibc-headers-x86-2.35-4.fc36.noarch                 13/15 
  Verifying        : glibc-langpack-en-2.35-17.fc36.x86_64                14/15 
  Verifying        : glibc-langpack-en-2.35-4.fc36.x86_64                 15/15 

Upgraded:
  glibc-2.35-17.fc36.x86_64             glibc-all-langpacks-2.35-17.fc36.x86_64
  glibc-common-2.35-17.fc36.x86_64      glibc-devel-2.35-17.fc36.x86_64        
  glibc-gconv-extra-2.35-17.fc36.x86_64 glibc-headers-x86-2.35-17.fc36.noarch  
  glibc-langpack-en-2.35-17.fc36.x86_64
Installed:
  libnsl-2.35-17.fc36.x86_64                                                    

Complete!
(base) bash-5.1$ 

Comments