New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Job for httpd.service failed because the control process exited with error code.

Started by bluesky06, March 02, 2025, 02:38:44 AM

Previous topic - Next topic

bluesky06

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.

rcschaff

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

bluesky06

Quote from: rcschaff on March 02, 2025, 08:04:10 PM
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.

rcschaff

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

bluesky06

Quote from: rcschaff on March 05, 2025, 02:33:17 AM
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.

rcschaff

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