Hi all!
I’ve changed a certificate and now cannot start the httpd service.
- Was the default certificate. I choose de NSRV certificate as default.
- I’ve delete de old certificate
- I get a new certificate with same DNS (autoconfig.domain.com, server.domain.com…), just a delete one of them (vpn.domain.com)
- I get those errors wen applying the new certificate as default
How can paste here the logs??
Error
dns.service_action_error
El siguiente comando ha fallado:
system-services/update
Desafortunadamente, no pudimos detectar el error exacto. Si desea ayudar, haga clic en el botón de abajo para copiar el comando fallido en el portapapeles, péguelo en la Terminal y envíe el resultado del comando a los desarrolladores.
echo '{"action":"start","name":"httpd"}' | /usr/bin/setsid /usr/bin/sudo /usr/libexec/nethserver/api/system-services/update | jq
{
“id”: “1649943546”,
“type”: “EventFailed”,
“message”: “Action failed”
}
@server ~]# service httpd restart
Redirecting to /bin/systemctl restart 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.
@server ~]# systemctl status httpd.service
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/httpd.service.d
└─free_mutex.conf, quick_kill.conf
Active: failed (Result: exit-code) since Thu 2022-04-14 15:39:34 CEST; 29s ago
Docs: man:httpd(8)
man:apachectl(8)
Process: 7651 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Process: 7645 ExecStartPre=/bin/bash -c ipcs -s | awk '$3=="apache" { print $2 }' | xargs -r -- ipcrm sem (code=exited, status=0/SUCCESS)
Main PID: 7651 (code=exited, status=1/FAILURE)
Apr 14 15:39:34 server.pcxlan.es systemd[1]: Starting The Apache HTTP Server...
Apr 14 15:39:34 server.pcxlan.es httpd[7651]: [Thu Apr 14 15:39:34.265824 20...g
Apr 14 15:39:34 server.pcxlan.es httpd[7651]: AH00526: Syntax error on line ...:
Apr 14 15:39:34 server.pcxlan.es httpd[7651]: SSLCertificateFile: file '/etc...y
Apr 14 15:39:34 server.pcxlan.es systemd[1]: httpd.service: main process exi...E
Apr 14 15:39:34 server.pcxlan.es systemd[1]: Failed to start The Apache HTTP....
Apr 14 15:39:34 server.pcxlan.es systemd[1]: Unit httpd.service entered fail....
Apr 14 15:39:34 server.pcxlan.es systemd[1]: httpd.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
Thx 4 the help!!