Httpd-admin not available Port: 980

v6
server-manager

(Nicky) #1

NethServer Version: 6
Module: httpd-admin Webinterface

after the installation of a new certifcate the Web-Admin is no longer avilable.

my procedure:

  • service httpd stop
  • db configuration setprop pki CrtFile ‘/etc/pki/tls/certs/ev.crt’
  • db configuration setprop pki KeyFile ‘/etc/pki/tls/private/ev-decrypt.key’
  • db configuration setprop pki ChainFile ‘/etc/pki/tls/certs/root.crt’
  • signal-event certificate-update
  • service httpd start

I have try to reinstall “httpd” and “httpd-admin” without success.

i have also tried to connect with openssl

Result:
[root@cloud ~]# openssl s_client -connect 10.0.1.9:980
socket: Connection refused
connect:errno=111
[root@cloud ~]# status httpd-admin
httpd-admin start/running

The firewall I have already switched off.

The post helps me not further

I ask for help

Greetings Nicky


(Marc) #2

To regain access you can revert to the self-signed certificate:


(Nicky) #3

The error is still present but the WebAdmin Site is now reachable!!!

[root@cloud]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [FAILED]
[root@cloud]#

many Thank’s

Nicky


(Marc) #4

Do you see any relevant errors in the logs (/var/log/httpd/error_log)?


(Nicky) #5

[Sun Oct 01 17:11:46 2017] [notice] caught SIGTERM, shutting down
[Sun Oct 01 17:12:14 2017] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Oct 01 17:12:14 2017] [notice] Digest: generating secret for digest authentication …
[Sun Oct 01 17:12:14 2017] [notice] Digest: done
[Sun Oct 01 17:12:14 2017] [notice] Apache/2.2.15 (Unix) DAV/2 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips configured – resuming normal operations
[Sun Oct 01 17:12:30 2017] [notice] caught SIGTERM, shutting down
[Sun Oct 01 17:12:31 2017] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Oct 01 17:12:31 2017] [notice] Digest: generating secret for digest authentication …
[Sun Oct 01 17:12:31 2017] [notice] Digest: done
[Sun Oct 01 17:12:31 2017] [notice] Apache/2.2.15 (Unix) DAV/2 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips configured – resuming normal operations

the current status is:

webmail an email: ok
owncloud ok
proxy ok
openvpn ok

WebAdmin fail

where should I look?

Nicky

EDIT

Errorlog HTTPd-Admin

[Sun Oct 01 03:24:41 2017] [notice] Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/1.0.1e-fips configured – resuming normal operations
[Sun Oct 01 05:20:47 2017] [error] [client 10.0.2.6] [ERROR] Nethgui\Framework: CSRF token verification failed!, referer: https://cloud.xxxxxxx-fbt.de:980/de-DE/PackageManager
[Sun Oct 01 06:31:57 2017] [notice] caught SIGTERM, shutting down

EDIT 2

yum remove nethserver-httpd-admin
yum install nethserver-httpd-admin
shutdown -r 0

WebAdmin ok