Bug 4018

Summary: Apache do not start in boot
Product: Mageia Reporter: Jacques Pronchery <jacques.pronchery>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: Normal    
Version: Cauldron   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: systemd CVE:
Status comment:

Description Jacques Pronchery 2012-01-04 17:56:10 CET
httpd do not start in boot.
But it start with "service httpd start" in a root console.
Comment 1 Manuel Hiebel 2012-01-04 18:21:35 CET
What is the output of:

chkconfig httpd --list
systemctl is-enabled httpd.service; echo $?

Source RPM: Apache => apache

Comment 2 Jacques Pronchery 2012-01-04 19:30:57 CET
(In reply to comment #1)
> What is the output of:
> 
> chkconfig httpd --list
> systemctl is-enabled httpd.service; echo $?

[root@localhost jacques]# chkconfig httpd --list

Note: This output shows SysV services only and does not include native
      systemd services. SysV configuration data might be overriden by native
      systemd configuration.

httpd          	0:arrêt	1:arrêt	2:arrêt	3:marche	4:marche	5:marche	6:arrêt	7:arrêt
[root@localhost jacques]# 
[root@localhost jacques]# 
[root@localhost jacques]# systemctl is-enabled httpd.service; echo $?
disabled
1
[root@localhost jacques]#
Comment 3 Manuel Hiebel 2012-01-04 20:05:45 CET
ok so you have to enable it with:
"systemctl enable httpd.service"
and then it should work.

Is your OS and clean install ? or an upgrade from mga1 ?
Comment 4 Jacques Pronchery 2012-01-04 20:27:58 CET
My OS is clean install.
It is a personnal install with the choice of packages.
The choices are task-X, task-LXDE and drakconf.
Comment 5 Manuel Hiebel 2012-01-04 20:36:16 CET
ok thanks.

the bug is related to systemd, it's need to be fixed one day.

and it's an duplicate in fact :)

*** This bug has been marked as a duplicate of bug 3069 ***

Status: NEW => RESOLVED
Resolution: (none) => DUPLICATE
Source RPM: apache => systemd