/etc/httpd/modules/mod_auth_basic.so: invalid ELF header

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Muthulinux
Posts: 12
Joined: Tue Sep 15, 2015 2:24 pm

/etc/httpd/modules/mod_auth_basic.so: invalid ELF header

Post by Muthulinux »

Hi All,

I used nagios XI to monitor my production servers. today we did online vm migration after that my nagios xi machine is not starting up properly.

When i checked service httpd status it shows like below

httpd is stopped

then we tried to start it by using this command "service httpd start" but getting below error

Starting httpd: httpd: Syntax error on line 150 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_auth_basic.so into server: /etc/httpd/modules/mod_auth_basic.so: invalid ELF header
[FAILED]


then we checked using this command " ldd /etc/httpd/modules/mod_auth_basic.so " but getting below error.
not a dynamic executable

then i tried to check using "readelf -d mod_auth_basic.so" this command but getting below error.

readelf: Error: 'mod_auth_basic.so': No such file

Could any one please help me out on this? It is very major server which is used to monitor the all my production servers.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: /etc/httpd/modules/mod_auth_basic.so: invalid ELF header

Post by rkennedy »

Please post your /etc/httpd/conf/httpf.conf file for us to look at.

Additionally, what version of XI are you running? What version of apache? apachectl -v
Former Nagios Employee
Muthulinux
Posts: 12
Joined: Tue Sep 15, 2015 2:24 pm

Re: /etc/httpd/modules/mod_auth_basic.so: invalid ELF header

Post by Muthulinux »

Dear Kenedy,

Now i am unable to start the VM itself. i will update you once i fix the VM storage issue.
Thank you so much for your intervention
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: /etc/httpd/modules/mod_auth_basic.so: invalid ELF header

Post by tmcdonald »

We will keep this topic open for you
Former Nagios employee
Locked