Page 1 of 1

[SOLVED] Problem of apache startup

PostPosted: May 24th, '13, 05:19
by e214679
Hi,

After I install apache-2.4.4-7.mga3 by urpmi. I can't start it up.
I can't search /etc/init.d/http script.


Thanks!

Re: Problem of apache startup

PostPosted: May 25th, '13, 19:53
by sander85
e214679 wrote:Hi,

After I install apache-2.4.4-7.mga3 by urpmi. I can't start it up.
I can't search /etc/init.d/http script.

Thanks!


We don't use initscripts anymore. You can see the failure message with this command: systemctl status httpd.service

Maybe you are hitting this bug: https://bugs.mageia.org/show_bug.cgi?id=10225

You can check that with this command:
Code: Select all
rpm -qa |grep auth_kerb


If you have this package installed you can update it like this:
Code: Select all
urpmi.update Core\ Updates\ Testing
urpmi --media Core\ Updates\ Testing apache-mod_auth_kerb


And after that restart apache:
Code: Select all
systemctl restart httpd.service


If this is not the bug you are hitting then just copy the output of status command mentioned above.

Re: Problem of apache startup

PostPosted: May 25th, '13, 21:21
by djennings
I had the same problem until I read this
http://httpd.apache.org/docs/2.4/upgrading.html
Code: Select all
systemctl start httpd.service
systemctl status httpd.service
will tell you why it is not starting.
The easiest way to get it to work is probably to copy /etc/httpd/conf/httpd.conf.rpmnew to /etc/httpd/conf/httpd.conf

[SOLVED] Problem of apache startup

PostPosted: May 26th, '13, 09:42
by e214679
Thanks, it work now.