Anoche dejo de funcionar el certificado SSL autofirmado o LeftEncripted y luego de intentar reinstalarlo el servidor se quedo que no erranca dando el siguiente error:
[root@vmi377342 /]# systemctl restart centovacast
Job for centovacast.service failed because the control process exited with error code. See "systemctl status centovacast.service" and "journalctl -xe" for details.
El contenido de la consulta de status dice:
[root@vmi377342 /]# systemctl status centovacast.service
● centovacast.service - Centova Cast
Loaded: loaded (/usr/lib/systemd/system/centovacast.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sat 2022-12-31 20:30:31 CET; 52s ago
Process: 6481 ExecStart=/usr/local/centovacast/centovacast start (code=exited, status=1/FAILURE)
Main PID: 6481 (code=exited, status=1/FAILURE)
Dec 31 20:30:31 vmi377342.contaboserver.net systemd[1]: Starting Centova Cast...
Dec 31 20:30:31 vmi377342.contaboserver.net centovacast[6481]: Starting Centova Cast: cc-control enabled core dumps
Dec 31 20:30:31 vmi377342.contaboserver.net centovacast[6481]: cc-appserver cc-comet cc-web nginx: [emerg] BIO_new_file("/...ile)
Dec 31 20:30:31 vmi377342.contaboserver.net centovacast[6481]: - failed
Dec 31 20:30:31 vmi377342.contaboserver.net systemd[1]: centovacast.service: main process exited, code=exited, status=1/FAILURE
Dec 31 20:30:31 vmi377342.contaboserver.net systemd[1]: Failed to start Centova Cast.
Dec 31 20:30:31 vmi377342.contaboserver.net systemd[1]: Unit centovacast.service entered failed state.
Dec 31 20:30:31 vmi377342.contaboserver.net systemd[1]: centovacast.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
y al tratar de reinstalar el certificado me dice ue no esta escuchando el puerto 80 el cual esta bien configurado en el archivo /usr/local/centovacast/etc/cc-panel.conf :
[root@vmi377342 /]# /usr/local/centovacast/sbin/set_secure --fqdn=centova.intervenhosting.net --email=centova@intervenhosting.net
Enabling web ports
Configuration file /usr/local/centovacast/etc/cc-panel.conf updated.
Updating this server's settings with your control panel ...
Connecting to 127.0.0.1:2199. failed: Connection refused.
> Download error details:
> --2022-12-31 20:34:12--
https://127.0.0.1:2199/api.php > Connecting to 127.0.0.1:2199... failed: Connection refused.
Error contacting your web control panel
Failed to update this server in your web control panel. Please log in to the
Centova Cast administration panel, locate this host under Management: Hosts,
enable the 'Web ports' and 'Secure' options, and set an appropriate
Hostname and Web proxy hostname.
Attempting to reload web: cc-web nginx: [emerg] BIO_new_file("/usr/local/centovacast/etc/ssl/certificate.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/usr/local/centovacast/etc/ssl/certificate.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)
- failed
Failed
- Failed to restart Centova Cast after enabling web ports.
This may indicate a port conflict on your server.
- Cannot configure Let's Encrypt support without web ports enabled.
el problema es que no puedo reiniciar el servicio centova porque me da el primer error y al parecer es por ello que no esta escuchando el puerto 80, porque no esta iniciado, entonces no entiendo como hacer para reinstalar el certificado en este caso a ver quien conoce alguna solucion, gracias.