server - Httpd(apache) is not starting on fedora 23 -


i tried install nginx , didn't work. after tried install , configure apache(httpd) server on fedora23 dist. server doesn't want start namely doesn't work , returns errors , when try start it: sudo systemctl start httpd job httpd.service failed because control process exited error code. see "systemctl status httpd.service" , "journalctl -xe" details. , after saw logs in journalctl -xe. shows this:

    jun 28 11:26:49 cyber audit[15981]: cred_refr pid=15981 uid=0 auid=1000 ses=1 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=pam:s jun 28 11:26:49 cyber sudo[15981]: pam_systemd(sudo:session): cannot create session: running in session jun 28 11:26:49 cyber kernel: audit: type=1105 audit(1467095209.363:842): pid=15981 uid=0 auid=1000 ses=1 subj=unconfined_u:unconfined_r:unconfined_t: jun 28 11:26:49 cyber sudo[15981]: pam_unix(sudo:session): session opened user root (uid=0) jun 28 11:26:49 cyber audit[15981]: user_start pid=15981 uid=0 auid=1000 ses=1 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=pam: jun 28 11:26:49 cyber polkitd[900]: registered authentication agent unix-process:15982:464115 (system bus name :1.256 [/usr/bin/pkttyagent --notif jun 28 11:26:49 cyber systemd[1]: starting apache http server... -- subject: unit httpd.service has begun start-up -- defined-by: systemd -- support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel --  -- unit httpd.service has begun starting up. jun 28 11:26:49 cyber audit[15988]: avc avc:  denied  { append }  pid=15988 comm="httpd" name="error.log" dev="dm-0" ino=1704951 scontext=system_u jun 28 11:26:49 cyber kernel: audit: type=1400 audit(1467095209.491:843): avc:  denied  { append }  pid=15988 comm="httpd" name="error.log" dev="d jun 28 11:26:49 cyber systemd[1]: httpd.service: main process exited, code=exited, status=1/failure jun 28 11:26:49 cyber systemd[1]: failed start apache http server. -- subject: unit httpd.service has failed -- defined-by: systemd -- support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel --  -- unit httpd.service has failed. --  -- result failed. jun 28 11:26:49 cyber systemd[1]: httpd.service: unit entered failed state. jun 28 11:26:49 cyber audit[1]: service_start pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=httpd comm="system jun 28 11:26:49 cyber kernel: audit: type=1130 audit(1467095209.525:844): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0  jun 28 11:26:49 cyber kernel: audit: type=1106 audit(1467095209.533:845): pid=15981 uid=0 auid=1000 ses=1 subj=unconfined_u:unconfined_r:unconfined_t: jun 28 11:26:49 cyber kernel: audit: type=1104 audit(1467095209.533:846): pid=15981 uid=0 auid=1000 ses=1 subj=unconfined_u:unconfined_r:unconfined_t: jun 28 11:26:49 cyber systemd[1]: httpd.service: failed result 'exit-code'. jun 28 11:26:49 cyber sudo[15981]: pam_unix(sudo:session): session closed user root jun 28 11:26:49 cyber audit[15981]: user_end pid=15981 uid=0 auid=1000 ses=1 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=pam:se jun 28 11:26:49 cyber audit[15981]: cred_disp pid=15981 uid=0 auid=1000 ses=1 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=pam:s jun 28 11:26:50 cyber polkitd[900]: unregistered authentication agent unix-process:15982:464115 (system bus name :1.256, object path /org/freedesk jun 28 11:27:15 cyber google-chrome.desktop[3111]: [1:1:0628/112715:error:platformkeyboardevent.cpp(117)] not implemented reached in static platformev 

i did steps steps can explain me what error , how solve it ?

virtual host file configuration

httpd status

service httpd status


Comments