[SOLVED] Problem of apache startup

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] Problem of apache startup

Postby e214679 » May 24th, '13, 05:19

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!
Last edited by e214679 on May 26th, '13, 09:44, edited 1 time in total.
e214679
 
Posts: 7
Joined: Sep 28th, '12, 04:59

Re: Problem of apache startup

Postby sander85 » May 25th, '13, 19:53

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.
Last edited by doktor5000 on May 27th, '13, 22:25, edited 1 time in total.
Reason: added code tags, to improve on clarity
Stand for something, or you will fall for nothing.
-- Richard Stallman
User avatar
sander85
 
Posts: 88
Joined: Jan 28th, '12, 20:41
Location: Estonia

Re: Problem of apache startup

Postby djennings » May 25th, '13, 21:21

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
User avatar
djennings
 
Posts: 613
Joined: Jun 2nd, '11, 23:51
Location: Wokingham, UK

[SOLVED] Problem of apache startup

Postby e214679 » May 26th, '13, 09:42

Thanks, it work now.
e214679
 
Posts: 7
Joined: Sep 28th, '12, 04:59


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest