hi,
# service httpd start
Redirecting to /bin/systemctl start 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.
systemctl status httpd.service
● httpd.service - Web server Apache
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sun 2018-12-02 23:18:32 +0330; 45s ago
Process: 2408 ExecStart=/usr/local/apache/bin/apachectl start (code=exited, status=1/FAILURE)
Dec 02 23:18:32 nl1.xxx.ovh systemd[1]: Starting Web server Apache...
Dec 02 23:18:32 nl1.xxx.ovh apachectl[2408]: AH00558: httpd: Could not reliably determine the server's fully qualified domai...essage
Dec 02 23:18:32 nl1.xxx.ovh apachectl[2408]: (30)Read-only file system: AH00091: httpd: could not open error log file /usr/l...r_log.
Dec 02 23:18:32 nl1.xxx.ovh apachectl[2408]: AH00015: Unable to open logs
Dec 02 23:18:32 nl1.xxx.ovh systemd[1]: httpd.service: control process exited, code=exited status=1
Dec 02 23:18:32 nl1.xxx.ovh systemd[1]: Failed to start Web server Apache.
Dec 02 23:18:32 nl1.xxx.ovh systemd[1]: Unit httpd.service entered failed state.
Dec 02 23:18:32 nl1.xxx.ovh systemd[1]: httpd.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
journalctl -xe
-- Unit cwpsrv.service has begun starting up.
Dec 02 23:19:35 nl1.xxx.ovh systemd[1]: cwp-phpfpm.service holdoff time over, scheduling restart.
Dec 02 23:19:35 nl1.xxx.ovh systemd[1]: Started The PHP FastCGI Process Manager.
-- Subject: Unit cwp-phpfpm.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit cwp-phpfpm.service has finished starting up.
--
-- The start-up result is done.
Dec 02 23:19:35 nl1.xxx.ovh systemd[1]: Starting The PHP FastCGI Process Manager...
-- Subject: Unit cwp-phpfpm.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit cwp-phpfpm.service has begun starting up.
Dec 02 23:19:35 nl1.xxx.ovh php-fpm[2444]: [02-Dec-2018 23:19:35] ERROR: failed to open error_log (/usr/local/cwp/php71/var/log/php-f
Dec 02 23:19:35 nl1.xxx.ovh php-fpm[2444]: [02-Dec-2018 23:19:35] ERROR: failed to post process the configuration
Dec 02 23:19:35 nl1.xxx.ovh php-fpm[2444]: [02-Dec-2018 23:19:35] ERROR: FPM initialization failed
Dec 02 23:19:35 nl1.xxx.ovh systemd[1]: cwp-phpfpm.service: main process exited, code=exited, status=78/n/a
Dec 02 23:19:35 nl1.xxx.ovh rsyslogd[884]: imjournal: fopen() failed for path: '/var/lib/rsyslog/imjournal.state.tmp': Read-only file
Dec 02 23:19:35 nl1.xxx.ovh systemd[1]: Unit cwp-phpfpm.service entered failed state.
Dec 02 23:19:35 nl1.xxx.ovh systemd[1]: cwp-phpfpm.service failed.
[root@nl1 ~]# journalctl -xe
Dec 02 23:20:32 nl1.xxx.ovh crond[654]: postdrop: warning: mail_queue_enter: create file maildrop/203726.1732: Read-only file system
Dec 02 23:20:33 nl1.xxx.ovh systemd[1]: cwp-phpfpm.service holdoff time over, scheduling restart.
Dec 02 23:20:33 nl1.xxx.ovh systemd[1]: Started The PHP FastCGI Process Manager.
-- Subject: Unit cwp-phpfpm.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit cwp-phpfpm.service has finished starting up.
--
-- The start-up result is done.
Dec 02 23:20:33 nl1.xxx.ovh systemd[1]: Starting The PHP FastCGI Process Manager...
-- Subject: Unit cwp-phpfpm.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit cwp-phpfpm.service has begun starting up.
Dec 02 23:20:33 nl1.xxx.ovh php-fpm[2474]: [02-Dec-2018 23:20:33] ERROR: failed to open error_log (/usr/local/cwp/php71/var/log/php-f
Dec 02 23:20:33 nl1.xxx.ovh php-fpm[2474]: [02-Dec-2018 23:20:33] ERROR: failed to post process the configuration
Dec 02 23:20:33 nl1.xxx.ovh php-fpm[2474]: [02-Dec-2018 23:20:33] ERROR: FPM initialization failed
Dec 02 23:20:33 nl1.xxx.ovh rsyslogd[884]: imjournal: fopen() failed for path: '/var/lib/rsyslog/imjournal.state.tmp': Read-only file
Dec 02 23:20:33 nl1.xxx.ovh systemd[1]: cwp-phpfpm.service: main process exited, code=exited, status=78/n/a
Dec 02 23:20:33 nl1.xxx.ovh systemd[1]: Unit cwp-phpfpm.service entered failed state.
Dec 02 23:20:33 nl1.xxx.ovh systemd[1]: cwp-phpfpm.service failed.
httpd status
● httpd.service - Web server Apache
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sun 2018-12-02 23:18:32 +0330; 5min ago
Process: 2408 ExecStart=/usr/local/apache/bin/apachectl start (code=exited, status=1/FAILURE)
Dec 02 23:18:32 nl1.iranserver.ovh systemd[1]: Starting Web server Apache...
Dec 02 23:18:32 nl1.iranserver.ovh apachectl[2408]: AH00558: httpd: Could not reliably determine the server's fully qualified domai...essage
Dec 02 23:18:32 nl1.iranserver.ovh apachectl[2408]: (30)Read-only file system: AH00091: httpd: could not open error log file /usr/l...r_log.
Dec 02 23:18:32 nl1.iranserver.ovh apachectl[2408]: AH00015: Unable to open logs
Dec 02 23:18:32 nl1.iranserver.ovh systemd[1]: httpd.service: control process exited, code=exited status=1
Dec 02 23:18:32 nl1.iranserver.ovh systemd[1]: Failed to start Web server Apache.
Dec 02 23:18:32 nl1.iranserver.ovh systemd[1]: Unit httpd.service entered failed state.
Dec 02 23:18:32 nl1.iranserver.ovh systemd[1]: httpd.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
what's wrong?