Control Web Panel

WebPanel => Apache => Topic started by: sizarbd on August 21, 2021, 08:02:03 PM

Title: Apache & nginx Failed
Post by: sizarbd on August 21, 2021, 08:02:03 PM
Hi
I am getting this type error my server my all site is down can anyone please teach me how can i slove this problem?

Apache Failed

● httpd.service - Web server Apache
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sat 2021-08-21 14:56:02 CDT; 3s ago
  Process: 27069 ExecStart=/usr/local/apache/bin/apachectl start (code=exited, status=1/FAILURE)

Aug 21 14:56:02 s1.bkwebhosting.com systemd[1]: Starting Web server Apache...
Aug 21 14:56:02 s1.bkwebhosting.com systemd[1]: httpd.service: control process exited, code=exited status=1
Aug 21 14:56:02 s1.bkwebhosting.com systemd[1]: Failed to start Web server Apache.
Aug 21 14:56:02 s1.bkwebhosting.com systemd[1]: Unit httpd.service entered failed state.
Aug 21 14:56:02 s1.bkwebhosting.com systemd[1]: httpd.service failed.


nginx Failed

● nginx.service - nginx - high performance web server
   Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sat 2021-08-21 14:56:44 CDT; 2s ago
     Docs: http://nginx.org/en/docs/
  Process: 27580 ExecStart=/usr/sbin/nginx -c /etc/nginx/nginx.conf (code=exited, status=1/FAILURE)

Aug 21 14:56:43 s1.bkwebhosting.com systemd[1]: Starting nginx - high performance web server...
Aug 21 14:56:44 s1.bkwebhosting.com nginx[27580]: nginx: [emerg] SSL_CTX_use_PrivateKey("/etc/pki/tls/private/bkwebhosting.com.key") failed (SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch)
Aug 21 14:56:44 s1.bkwebhosting.com systemd[1]: nginx.service: control process exited, code=exited status=1
Aug 21 14:56:44 s1.bkwebhosting.com systemd[1]: Failed to start nginx - high performance web server.
Aug 21 14:56:44 s1.bkwebhosting.com systemd[1]: Unit nginx.service entered failed state.
Aug 21 14:56:44 s1.bkwebhosting.com systemd[1]: nginx.service failed.
Title: Re: Apache & nginx Failed
Post by: studio4host on August 23, 2021, 08:03:40 AM
from cwp install hostname cert...you can do that by simply saving the hostname or by running script
Code: [Select]
sh /scripts/generate_hostname_ssl
Title: Re: Apache & nginx Failed
Post by: Igor S. on September 16, 2021, 09:40:58 PM
Login to CWP and delete SSL certificate for bkwebhosting.com