Merhaba,
Arkadaşlar.

Centos 7 üzerine php, mysql ve phpmyadmin kurdum fakat httpd başlamıyor, hata alıyorum. İlk kurduğumda sorunsuz kullanıyordum fakat sistemi yeniden başlattıktan sonra çalışmadı.

Aldığım hatalar aşağıdaki gibidir, yardımlarınızı rica ederim.
  • service httpd restart komutunu verdiğimde aşağıdaki hatayı alıyorum:
Redirecting to /bin/systemctl restart httpd.service
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
/var/spool/mail/root'de yeni postanız var
  1. "systemctl status httpd.service" komutunu verdiğimde aşağıdaki logu alıyorum:

httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sal 2017-12-19 11:51:55 +03; 1min 26s ago
     Docs: man:httpd(8)
           man:apachectl(8)
  Process: 4192 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
  Process: 4184 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=dumped, signal=SEGV)
 Main PID: 4184 (code=dumped, signal=SEGV)

Ara 19 11:51:55 centos-localdomain systemd[1]: Starting The Apache HTTP Server...
Ara 19 11:51:55 centos-localdomain systemd[1]: httpd.service: main process exited, code=dumped,...EGV
Ara 19 11:51:55 centos-localdomain kill[4192]: kill: cannot find process ""
Ara 19 11:51:55 centos-localdomain systemd[1]: httpd.service: control process exited, code=exit...s=1
Ara 19 11:51:55 centos-localdomain systemd[1]: Failed to start The Apache HTTP Server.
Ara 19 11:51:55 centos-localdomain systemd[1]: Unit httpd.service entered failed state.
Ara 19 11:51:55 centos-localdomain systemd[1]: httpd.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
/var/spool/mail/root'de yeni postanız var
  • journalctl -xe komotunu verdiğimde aşağıdaki logları alıyorum.

--
-- A new session with the ID 9 has been created for the user root.
--
-- The leading process of the session is 4309.
Ara 19 11:55:14 centos-localdomain systemd[1]: Started Session 9 of user root.
-- Subject: Unit session-9.scope has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit session-9.scope has finished starting up.
--
-- The start-up result is done.
Ara 19 11:55:14 centos-localdomain systemd[1]: Starting Session 9 of user root.
-- Subject: Unit session-9.scope has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit session-9.scope has begun starting up.
Ara 19 11:55:14 centos-localdomain sshd[4309]: pam_unix(sshd:session): session o
Ara 19 11:55:14 centos-localdomain dbus-daemon[709]: dbus[709]: [system] Activat
Ara 19 11:55:14 centos-localdomain dbus[709]: [system] Activating service name='
Ara 19 11:55:14 centos-localdomain dbus[709]: [system] Successfully activated se
Ara 19 11:55:14 centos-localdomain dbus-daemon[709]: dbus[709]: [system] Success
lines 2650-2672/2672 (END)
--
-- A new session with the ID 9 has been created for the user root.
--
-- The leading process of the session is 4309.
Ara 19 11:55:14 centos-localdomain systemd[1]: Started Session 9 of user root.
-- Subject: Unit session-9.scope has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit session-9.scope has finished starting up.
--
-- The start-up result is done.
Ara 19 11:55:14 centos-localdomain systemd[1]: Starting Session 9 of user root.
-- Subject: Unit session-9.scope has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit session-9.scope has begun starting up.
Ara 19 11:55:14 centos-localdomain sshd[4309]: pam_unix(sshd:session): session opened for user root by (uid=0)
Ara 19 11:55:14 centos-localdomain dbus-daemon[709]: dbus[709]: [system] Activating service name='org.freedesktop.problems' (using servicehelper)
Ara 19 11:55:14 centos-localdomain dbus[709]: [system] Activating service name='org.freedesktop.problems' (using servicehelper)
Ara 19 11:55:14 centos-localdomain dbus[709]: [system] Successfully activated service 'org.freedesktop.problems'
Ara 19 11:55:14 centos-localdomain dbus-daemon[709]: dbus[709]: [system] Successfully activated service 'org.freedesktop.problems'
  • Mail/Root ' u actığımda çıkan log :

From user@localhost.localdomain  Tue Dec 19 11:21:39 2017
Return-Path: <user@localhost.localdomain>
X-Original-To: root@localhost
Delivered-To: root@localhost.localdomain
Received: by centos-localdomain.localdomain (Postfix, from userid 0)
        id 28DDA2067F12; Tue, 19 Dec 2017 11:21:39 +0300 (+03)
Date: Tue, 19 Dec 2017 11:21:38 +0300
From: user@localhost.localdomain
To: root@localhost.localdomain
Subject: [abrt] httpd: httpd killed by SIGSEGV
Message-ID: <5a38cc12.zs8b6FTkpg+ewKg4%user@localhost>
User-Agent: Heirloom mailx 12.5 7/5/10
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

reason:         httpd killed by SIGSEGV
cmdline:        /usr/sbin/httpd -DFOREGROUND
executable:     /usr/sbin/httpd
package:        httpd-2.4.6-67.el7.centos.6
component:      httpd
pid:            1147
pwd:            /
hostname:       centos-localdomain
count:          1
abrt_version:   2.1.11
analyzer:       CCpp
architecture:   x86_64
event_log:
global_pid:     1147
kernel:         3.10.0-693.11.1.el7.x86_64
last_occurrence: 1513671694
os_release:     CentOS Linux release 7.4.1708 (Core)
pkg_arch:       x86_64
pkg_epoch:      0
pkg_fingerprint: 24C6 A8A7 F4A8 0EB5
pkg_name:       httpd
pkg_release:    67.el7.centos.6
pkg_vendor:     CentOS