I have just installed Mageia 2 x86-64. Installed Apache and phpmyadmin and mariadb.
I wish to use phpmyadmin to do fast checks of databases.
I can't remember or understand why httpd wouldn't start.
I need some hints to correct what's wrong.
Dec 11 08:59:02 zebbie drakxservices[4863]: GP_LANG="UTF-8" service httpd-event restart
Dec 11 08:59:02 zebbie httpd-event[5183]: httpd-event: Syntax error on line 223 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_authn_file.so into server: /etc/httpd/modules/mod_authn_file.so: wrong ELF class: ELFCLASS32
Dec 11 08:59:02 zebbie systemd[1]: httpd-event.service: control process exited, code=exited status=1
Dec 11 08:59:02 zebbie systemd[1]: Unit httpd-event.service entered failed state.
Dec 11 08:59:02 zebbie httpd-event[5183]: httpd-event: Syntax error on line 223 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_authn_file.so into server: /etc/httpd/modules/mod_authn_file.so: wrong ELF class: ELFCLASS32
I see that problem when using "Add & Remove Software".djennings wrote:Well here is your problem. It looks like you have mixed up 64 bit and 32 bit packages. Check the sources and the packages you have installed.
[root@zebbie jan]# urpmi apache
$MIRRORLIST: media/core/updates/apache-2.2.23-1.mga2.x86_64.rpm
installerar apache-2.2.23-1.mga2.x86_64.rpm från /var/cache/urpmi/rpms
Förbereder... #############################################
1/1: apache #############################################
httpd.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig httpd on
Restarting httpd (via systemctl): [ OK ]
[root@zebbie jan]#
Users browsing this forum: No registered users and 1 guest