Author Topic: Job for httpd.service failed because the control process exited with error code.  (Read 180 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
a site stops the webserver on the server because it generates csr code while performing a custom SSL process, no matter what I did, I could not start it, when I completely removed the site that caused the problem from the server, the webserver was opened, the warning I received from the webserver is as follows, the warning I received from the webserver is as follows, I could not understand why 1 site stops the webserver of the whole server, I understood that it was caused by the site trying to generate csr code, how can we solve this problem in general, we could not know the site trying to generate csr.




Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.

Offline
****
post the output of "journalctl -xeu httpd"

Most likely though is that it is looking for a ssl certificate/key that doesn't exist.
Google Hangouts:  rcschaff82@gmail.com

Offline
*
post the output of "journalctl -xeu httpd"

Most likely though is that it is looking for a ssl certificate/key that doesn't exist.

ip number : 2087
I deleted the certificate from the Module SSL Certificate section, the webserver seems active on the main screen, but the sites do not open again, I wonder if it is necessary to delete it from another place.

Offline
****
Do you have ssh access to the server?  If so, please run the command above to find the error.
Google Hangouts:  rcschaff82@gmail.com

Offline
*
Do you have ssh access to the server?  If so, please run the command above to find the error.

Welcome to CWP (CentOS WebPanel) server
********************************************

CWP Wiki: http://wiki.centos-webpanel.com
CWP Forum: http://forum.centos-webpanel.com
CWP Support: http://centos-webpanel.com/support-services

 08:56:58 up 1 day, 11:28,  1 user,  load average: 0.02, 0.01, 0.00
USER     TTY      FROM             LOGIN@   IDLE   JCPU   PCPU WHAT
root     pts/0    149.34.216.68    08:56    0.00s  0.00s  0.00s sh /root/.bash_cwp

[root@v2202412247638306484 ~]# journalctl -xeu httpd
Mar 06 03:13:35 v2202412247638306484 systemd[1]: Stopped Web server Apache.
-- Subject: Unit httpd.service has finished shutting down
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit httpd.service has finished shutting down.
Mar 06 03:13:35 v2202412247638306484 systemd[1]: Starting Web server Apache...
-- Subject: Unit httpd.service has begun start-up
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit httpd.service has begun starting up.
Mar 06 03:13:35 v2202412247638306484 systemd[1]: Started Web server Apache.
-- Subject: Unit httpd.service has finished start-up
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit httpd.service has finished starting up.
--
-- The start-up result is done.
Mar 06 03:13:35 v2202412247638306484 systemd[1]: Reloading Web server Apache.
-- Subject: Unit httpd.service has begun reloading its configuration
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit httpd.service has begun reloading its configuration
Mar 06 03:13:35 v2202412247638306484 systemd[1]: Reloaded Web server Apache.
-- Subject: Unit httpd.service has finished reloading its configuration
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit httpd.service has finished reloading its configuration
--
-- The result is done.

Offline
****
It looks like httpd was stopped manually.  Not on an error.  Please try "systemctl start httpd"   If it throws and error, then immediately do "journalctl -xeu httpd" and post it.
Google Hangouts:  rcschaff82@gmail.com