[Solved] opsi 4.2 weboberfläche geht nicht und confd abgestürzt

Antworten
r4a5a88
Beiträge: 95
Registriert: 10 Jun 2014, 12:56

[Solved] opsi 4.2 weboberfläche geht nicht und confd abgestürzt

Beitrag von r4a5a88 »

Hallo OPSI Team und Forum,

ich hab heute OPSI auf 4.2 upgegraded.
Nach dem Upgrade bekomme ich beim einloggen beim opsi config editor ein Connection refused
Die URL:4447/ Seiten sowie die bringen Ladefehler hervor

ich hab nach Anpassung der SSL Zertifikate versucht den opsiconfd service neu zu starten aber dieser stürzt ab nach kurzer Zeit

Code: Alles auswählen

Jun 23 12:54:05 neuro-serv-01 opsiconfd[14012]:   File "uvicorn/server.py", line 60, in run
Jun 23 12:54:05 neuro-serv-01 opsiconfd[14012]:   File "asyncio/runners.py", line 44, in run
Jun 23 12:54:05 neuro-serv-01 opsiconfd[14012]:   File "uvloop/loop.pyx", line 1501, in uvloop.loop.Loop.run_until_complete
Jun 23 12:54:05 neuro-serv-01 opsiconfd[14012]:   File "uvicorn/server.py", line 67, in serve
Jun 23 12:54:05 neuro-serv-01 opsiconfd[14012]:   File "uvicorn/config.py", line 421, in load
Jun 23 12:54:05 neuro-serv-01 opsiconfd[14012]:   File "uvicorn/config.py", line 127, in create_ssl_context
Jun 23 12:54:05 neuro-serv-01 opsiconfd[14012]: FileNotFoundError: [Errno 2] No such file or directory
Jun 23 12:54:17 neuro-serv-01 opsiconfd[14048]: No running opsiconfd manager process found
Was kann man da tun bzw. wie ist die Beste vorgehensweise um den Fehler zu finden ?
Kann es sein das bei der Installation von redis oder grafana was falsch gelaufen ist ?
ich habe es mit apt install opsi-server-full installiert
Zuletzt geändert von r4a5a88 am 24 Jun 2022, 11:54, insgesamt 1-mal geändert.
Benutzeravatar
j.schneider
uib-Team
Beiträge: 1583
Registriert: 29 Mai 2008, 15:14

Re: opsi 4.2 weboberfläche geht nicht und confd abgestürzt

Beitrag von j.schneider »

Hallo,

am besten einmal den folgenden Befehl ausführen und hier die Ausgabe posten:

Code: Alles auswählen

opsiconfd -l6 setup
Grüße
Jan Schneider
r4a5a88
Beiträge: 95
Registriert: 10 Jun 2014, 12:56

Re: opsi 4.2 weboberfläche geht nicht und confd abgestürzt

Beitrag von r4a5a88 »

Code: Alles auswählen

[2022-06-24 07:52:39.980] [               ] Setup file permissions   (setup.py:103)
[6] [2022-06-24 07:52:39.981] [               ] * BackendManager is creating BackendDispatcher   (_Manager.py:168)
[6] [2022-06-24 07:52:39.981] [               ] Backend context was set to <BackendManager()>   (Backend.py:181)
[6] [2022-06-24 07:52:39.981] [               ] Loading dispatch config file '/etc/opsi/backendManager/dispatch.conf'   (Dispatcher.py:56)
[6] [2022-06-24 07:52:39.981] [               ] Loading backend config '/etc/opsi/backends/mysql.conf'   (Dispatcher.py:114)
[6] [2022-06-24 07:52:39.982] [               ] Backend context was set to <BackendManager()>   (Backend.py:181)
[6] [2022-06-24 07:52:39.993] [               ] Connecting to mysql://opsi:***secret***@127.0.0.1/opsi?charset=utf8mb4   (MySQL.py:140)
[6] [2022-06-24 07:52:39.999] [               ] Connected to server version: 10.3.34-MariaDB-0+deb10u1   (MySQL.py:164)
[6] [2022-06-24 07:52:39.999] [               ] Loading backend config '/etc/opsi/backends/file.conf'   (Dispatcher.py:114)
[6] [2022-06-24 07:52:40.000] [               ] Backend context was set to <BackendManager()>   (Backend.py:181)
[6] [2022-06-24 07:52:40.000] [               ] Loading backend config '/etc/opsi/backends/opsipxeconfd.conf'   (Dispatcher.py:114)
[6] [2022-06-24 07:52:40.001] [               ] Backend context was set to <BackendManager()>   (Backend.py:181)
[6] [2022-06-24 07:52:40.001] [               ] Dispatcher backends: ['mysql', 'file', 'opsipxeconfd']   (Dispatcher.py:131)
[6] [2022-06-24 07:52:40.042] [               ] * BackendManager is creating ExtendedConfigDataBackend   (_Manager.py:176)
[6] [2022-06-24 07:52:40.042] [               ] Setting context to backend <ExtendedConfigDataBackend(configDataBackend=<BackendDispatcher(dispatchConfigFile='/etc/opsi/backendManager/dispatch.conf', context='<BackendManager()>')>)>   (Extended.py:91)
[6] [2022-06-24 07:52:40.070] [               ] * BackendManager is creating HostControlBackend   (_Manager.py:186)
[6] [2022-06-24 07:52:40.070] [               ] Setting context to backend <HostControlBackend()>   (Extended.py:91)
[6] [2022-06-24 07:52:40.159] [               ] * BackendManager is creating HostControlSafeBackend   (_Manager.py:198)
[6] [2022-06-24 07:52:40.159] [               ] Setting context to backend <HostControlSafeBackend()>   (Extended.py:91)
[6] [2022-06-24 07:52:40.197] [               ] * BackendManager is creating BackendExtender   (_Manager.py:214)
[6] [2022-06-24 07:52:40.197] [               ] Setting context to backend <BackendExtender()>   (Extended.py:91)
[6] [2022-06-24 07:52:40.238] [               ] Reading config file '/etc/opsi/backendManager/extend.d/10_opsi.conf'   (Extender.py:77)
[6] [2022-06-24 07:52:40.240] [               ] Reading config file '/etc/opsi/backendManager/extend.d/10_wim.conf'   (Extender.py:77)
[6] [2022-06-24 07:52:40.241] [               ] Reading config file '/etc/opsi/backendManager/extend.d/20_easy.conf'   (Extender.py:77)
[6] [2022-06-24 07:52:40.241] [               ] Reading config file '/etc/opsi/backendManager/extend.d/20_legacy.conf'   (Extender.py:77)
[6] [2022-06-24 07:52:40.261] [               ] Reading config file '/etc/opsi/backendManager/extend.d/30_kiosk.conf'   (Extender.py:77)
[6] [2022-06-24 07:52:40.263] [               ] Reading config file '/etc/opsi/backendManager/extend.d/30_sshcommands.conf'   (Extender.py:77)
[6] [2022-06-24 07:52:40.266] [               ] Reading config file '/etc/opsi/backendManager/extend.d/40_admin_tasks.conf'   (Extender.py:77)
[6] [2022-06-24 07:52:40.269] [               ] Reading config file '/etc/opsi/backendManager/extend.d/40_groupActions.conf'   (Extender.py:77)
[6] [2022-06-24 07:52:40.271] [               ] Reading config file '/etc/opsi/backendManager/extend.d/45_deprecated.conf'   (Extender.py:77)
[6] [2022-06-24 07:52:40.272] [               ] Reading config file '/etc/opsi/backendManager/extend.d/70_dynamic_depot.conf'   (Extender.py:77)
[6] [2022-06-24 07:52:40.273] [               ] Reading config file '/etc/opsi/backendManager/extend.d/70_wan.conf'   (Extender.py:77)
[6] [2022-06-24 07:52:40.396] [               ] Executing: lsb_release -i   (Posix.py:952)
[6] [2022-06-24 07:52:40.397] [               ] Using encoding 'ANSI_X3.4-1968'   (Posix.py:979)
[5] [2022-06-24 07:52:40.437] [               ] Setting rights on '/etc/shadow'   (Rights.py:233)
[5] [2022-06-24 07:52:40.438] [               ] Setting rights on '/var/log/opsi/opsiconfd/opsiconfd.log'   (Rights.py:233)
[5] [2022-06-24 07:52:40.440] [               ] Setting rights on '/etc/dhcp/dhcpd.conf'   (Rights.py:233)
[5] [2022-06-24 07:52:40.441] [               ] Setting rights recursively on '/var/lib/opsiconfd/addons'   (Rights.py:233)
[5] [2022-06-24 07:52:40.442] [               ] Setting rights recursively on '/etc/opsi'   (Rights.py:233)
[5] [2022-06-24 07:52:40.443] [               ] Setting rights recursively on '/etc/opsi/ssl'   (Rights.py:233)
[5] [2022-06-24 07:52:40.444] [               ] Setting rights on '/etc/opsi/ssl/opsi-ca-cert.pem'   (Rights.py:233)
[5] [2022-06-24 07:52:40.445] [               ] Setting rights on '/etc/opsi/ssl/opsi-ca-cert.pem'   (Rights.py:233)
[5] [2022-06-24 07:52:40.446] [               ] Setting rights on '/etc/opsi/ssl/opsi-ca-key.pem'   (Rights.py:233)
[5] [2022-06-24 07:52:40.447] [               ] Setting rights on '/etc/apache2/ssl/neuro-serv-01-2021.pem'   (Rights.py:233)
[6] [2022-06-24 07:52:40.449] [               ] Cleanup log files   (setup.py:175)
root@neuro:~# opsiconfd -l6 setup >> opsi-setup.txt
[6] [2022-06-24 07:53:08.924] [               ] opsiconfd config:
{   'acl_file': '/etc/opsi/backendManager/acl.conf',
    'action': 'setup',
    'addon_dirs': ['/usr/lib/opsiconfd/addons', '/var/lib/opsiconfd/addons'],
    'admin_interface_disabled_features': [],
    'admin_interface_terminal_shell': '/bin/bash',
    'admin_networks': ['0.0.0.0/0', '::/0'],
    'auth_failures_interval': 120,
    'backend_config_dir': '/etc/opsi/backends',
    'client_block_time': 120,
    'config_file': '/etc/opsi/opsiconfd.conf',
    'debug': False,
    'debug_options': None,
    'dispatch_config_file': '/etc/opsi/backendManager/dispatch.conf',
    'ex_help': False,
    'executor_workers': 10,
    'extension_config_dir': '/etc/opsi/backendManager/extend.d',
    'external_url': 'https://neuro-serv-01.dmed.local:4447',
    'grafana_data_source_url': 'https://neuro-serv-01.dmed.local:4447',
    'grafana_external_url': 'http://neuro-serv-01.dmed.local:3000',
    'grafana_internal_url': 'http://opsiconfd:mrBJLgiu@localhost:3000',
    'grafana_verify_cert': True,
    'interface': '0.0.0.0',
    'internal_url': 'https://neuro-serv-01.dmed.local:4447',
    'jsonrpc_time_to_cache': 0.5,
    'keep_rotated_logs': 1,
    'log_file': '/var/log/opsi/opsiconfd/%m.log',
    'log_filter': None,
    'log_format_file': '[%(opsilevel)d] [%(asctime)s.%(msecs)03d] [%(contextstring)-15s] '
                       '%(message)s   (%(filename)s:%(lineno)d)',
    'log_format_stderr': '%(log_color)s[%(opsilevel)d] [%(asctime)s.%(msecs)03d]%(reset)s '
                         '[%(contextstring)-15s] %(message)s   (%(filename)s:%(lineno)d)',
    'log_level': 5,
    'log_level_file': 4,
    'log_level_stderr': 6,
    'log_max_msg_len': 5000,
    'log_mode': 'redis',
    'log_slow_async_callbacks': 0.0,
    'max_auth_failures': 10,
    'max_log_size': 5.0,
    'max_session_per_ip': 30,
    'max_sessions_excludes': ['127.0.0.1', '::1'],
    'monitoring_user': 'monitoring',
    'networks': ['0.0.0.0/0', '::/0'],
    'node_name': 'neuro-serv-01',
    'port': 4447,
    'profiler': False,
    'redis_internal_url': 'redis://localhost',
    'restart_worker_mem': 0,
    'run_as_user': 'opsiconfd',
    'session_lifetime': 60,
    'setup': False,
    'skip_setup': ['ssl'],
    'ssl_ca_cert': '/etc/opsi/ssl/opsi-ca-cert.pem',
    'ssl_ca_cert_renew_days': 300,
    'ssl_ca_cert_valid_days': 360,
    'ssl_ca_key': '/etc/opsi/ssl/opsi-ca-key.pem',
    'ssl_ca_key_passphrase': '***secret***',
    'ssl_ca_subject_cn': 'opsi CA',
    'ssl_ciphers': 'TLSv1.2',
    'ssl_client_cert_valid_days': 360,
    'ssl_server_cert': '/etc/apache2/ssl/neuro-serv-01-2021.pem',
    'ssl_server_cert_renew_days': 30,
    'ssl_server_cert_valid_days': 90,
    'ssl_server_key': '/etc//etc/apache2/ssl/neuro.key',
    'ssl_server_key_passphrase': '***secret***',
    'ssl_trusted_certs': '/usr/lib/opsiconfd/certifi/cacert.pem',
    'static_dir': '/usr/share/opsiconfd/static',
    'symlink_logs': False,
    'trusted_proxies': ['127.0.0.1', '::1'],
    'update_ip': True,
    'use_jemalloc': False,
    'version': False,
    'welcome_page': True,
    'worker_stop_timeout': 120,
    'workers': 1}   (main.py:71)
[5] [2022-06-24 07:53:08.925] [               ] Running opsiconfd setup   (setup.py:203)
[5] [2022-06-24 07:53:08.925] [               ] Skipping setup tasks: ssl   (setup.py:206)
[6] [2022-06-24 07:53:08.925] [               ] Setup system limits   (setup.py:44)
[6] [2022-06-24 07:53:08.925] [               ] Maximum number of open file descriptors: 10000   (setup.py:57)
[6] [2022-06-24 07:53:08.925] [               ] Setup backend   (setup.py:158)
[6] [2022-06-24 07:53:08.926] [               ] * BackendManager is creating BackendDispatcher   (_Manager.py:168)
[6] [2022-06-24 07:53:08.926] [               ] Backend context was set to <BackendManager()>   (Backend.py:181)
[6] [2022-06-24 07:53:08.926] [               ] Loading dispatch config file '/etc/opsi/backendManager/dispatch.conf'   (Dispatcher.py:56)
[6] [2022-06-24 07:53:08.927] [               ] Loading backend config '/etc/opsi/backends/mysql.conf'   (Dispatcher.py:114)
[6] [2022-06-24 07:53:08.995] [               ] Backend context was set to <BackendManager()>   (Backend.py:181)
[6] [2022-06-24 07:53:09.008] [               ] Connecting to mysql://opsi:***secret***@127.0.0.1/opsi?charset=utf8mb4   (MySQL.py:140)
[6] [2022-06-24 07:53:09.036] [               ] Connected to server version: 10.3.34-MariaDB-0+deb10u1   (MySQL.py:164)
[6] [2022-06-24 07:53:09.037] [               ] Loading backend config '/etc/opsi/backends/opsipxeconfd.conf'   (Dispatcher.py:114)
[6] [2022-06-24 07:53:09.039] [               ] Backend context was set to <BackendManager()>   (Backend.py:181)
[6] [2022-06-24 07:53:09.039] [               ] Loading backend config '/etc/opsi/backends/file.conf'   (Dispatcher.py:114)
[6] [2022-06-24 07:53:09.041] [               ] Backend context was set to <BackendManager()>   (Backend.py:181)
[6] [2022-06-24 07:53:09.041] [               ] Dispatcher backends: ['mysql', 'opsipxeconfd', 'file']   (Dispatcher.py:131)
[6] [2022-06-24 07:53:09.085] [               ] * BackendManager is creating ExtendedConfigDataBackend   (_Manager.py:176)
[6] [2022-06-24 07:53:09.085] [               ] Setting context to backend <ExtendedConfigDataBackend(configDataBackend=<BackendDispatcher(dispatchConfigFile='/etc/opsi/backendManager/dispatch.conf', context='<BackendManager()>')>)>   (Extended.py:91)
[6] [2022-06-24 07:53:09.113] [               ] * BackendManager is creating HostControlBackend   (_Manager.py:186)
[6] [2022-06-24 07:53:09.113] [               ] Setting context to backend <HostControlBackend()>   (Extended.py:91)
[6] [2022-06-24 07:53:09.152] [               ] * BackendManager is creating HostControlSafeBackend   (_Manager.py:198)
[6] [2022-06-24 07:53:09.152] [               ] Setting context to backend <HostControlSafeBackend()>   (Extended.py:91)
[6] [2022-06-24 07:53:09.191] [               ] * BackendManager is creating BackendExtender   (_Manager.py:214)
[6] [2022-06-24 07:53:09.192] [               ] Setting context to backend <BackendExtender()>   (Extended.py:91)
[6] [2022-06-24 07:53:09.234] [               ] Reading config file '/etc/opsi/backendManager/extend.d/10_opsi.conf'   (Extender.py:77)
[6] [2022-06-24 07:53:09.236] [               ] Reading config file '/etc/opsi/backendManager/extend.d/10_wim.conf'   (Extender.py:77)
[6] [2022-06-24 07:53:09.237] [               ] Reading config file '/etc/opsi/backendManager/extend.d/20_easy.conf'   (Extender.py:77)
[6] [2022-06-24 07:53:09.238] [               ] Reading config file '/etc/opsi/backendManager/extend.d/20_legacy.conf'   (Extender.py:77)
[6] [2022-06-24 07:53:09.258] [               ] Reading config file '/etc/opsi/backendManager/extend.d/30_kiosk.conf'   (Extender.py:77)
[6] [2022-06-24 07:53:09.260] [               ] Reading config file '/etc/opsi/backendManager/extend.d/30_sshcommands.conf'   (Extender.py:77)
[6] [2022-06-24 07:53:09.263] [               ] Reading config file '/etc/opsi/backendManager/extend.d/40_admin_tasks.conf'   (Extender.py:77)
[6] [2022-06-24 07:53:09.266] [               ] Reading config file '/etc/opsi/backendManager/extend.d/40_groupActions.conf'   (Extender.py:77)
[6] [2022-06-24 07:53:09.268] [               ] Reading config file '/etc/opsi/backendManager/extend.d/45_deprecated.conf'   (Extender.py:77)
[6] [2022-06-24 07:53:09.269] [               ] Reading config file '/etc/opsi/backendManager/extend.d/70_dynamic_depot.conf'   (Extender.py:77)
[6] [2022-06-24 07:53:09.270] [               ] Reading config file '/etc/opsi/backendManager/extend.d/70_wan.conf'   (Extender.py:77)
[5] [2022-06-24 07:53:09.339] [               ] Creating base path: '/var/lib/opsi/config'   (File.py:215)
[5] [2022-06-24 07:53:09.431] [               ] Creating opsi base   (SQL.py:616)
[6] [2022-06-24 07:53:09.564] [               ] Found ethernet device: 'eth0'   (Posix.py:444)
[6] [2022-06-24 07:53:09.564] [               ] Found ethernet device: 'eth1'   (Posix.py:444)
[6] [2022-06-24 07:53:09.565] [               ] Executing: /sbin/ip route   (Posix.py:952)
[6] [2022-06-24 07:53:09.565] [               ] Using encoding 'ANSI_X3.4-1968'   (Posix.py:979)
[6] [2022-06-24 07:53:09.570] [               ] Trying to find a Configserver...   (InitializeBackend.py:52)
[5] [2022-06-24 07:53:09.629] [               ] Setting up default values.   (ConfigurationData.py:64)
[5] [2022-06-24 07:53:09.707] [               ] Finished setting up default values.   (ConfigurationData.py:71)
[6] [2022-06-24 07:53:09.708] [               ] * BackendManager is creating BackendDispatcher   (_Manager.py:168)
[6] [2022-06-24 07:53:09.708] [               ] Backend context was set to <BackendManager()>   (Backend.py:181)
[6] [2022-06-24 07:53:09.708] [               ] Loading dispatch config file '/etc/opsi/backendManager/dispatch.conf'   (Dispatcher.py:56)
[6] [2022-06-24 07:53:09.708] [               ] Loading backend config '/etc/opsi/backends/mysql.conf'   (Dispatcher.py:114)
[6] [2022-06-24 07:53:09.708] [               ] Backend context was set to <BackendManager()>   (Backend.py:181)
[6] [2022-06-24 07:53:09.720] [               ] Connecting to mysql://opsi:***secret***@127.0.0.1/opsi?charset=utf8mb4   (MySQL.py:140)
[6] [2022-06-24 07:53:09.726] [               ] Connected to server version: 10.3.34-MariaDB-0+deb10u1   (MySQL.py:164)
[6] [2022-06-24 07:53:09.727] [               ] Loading backend config '/etc/opsi/backends/opsipxeconfd.conf'   (Dispatcher.py:114)
[6] [2022-06-24 07:53:09.727] [               ] Backend context was set to <BackendManager()>   (Backend.py:181)
[6] [2022-06-24 07:53:09.728] [               ] Loading backend config '/etc/opsi/backends/file.conf'   (Dispatcher.py:114)
[6] [2022-06-24 07:53:09.728] [               ] Backend context was set to <BackendManager()>   (Backend.py:181)
[6] [2022-06-24 07:53:09.729] [               ] Dispatcher backends: ['mysql', 'opsipxeconfd', 'file']   (Dispatcher.py:131)
[6] [2022-06-24 07:53:09.770] [               ] * BackendManager is creating ExtendedConfigDataBackend   (_Manager.py:176)
[6] [2022-06-24 07:53:09.770] [               ] Setting context to backend <ExtendedConfigDataBackend(configDataBackend=<BackendDispatcher(dispatchConfigFile='/etc/opsi/backendManager/dispatch.conf', context='<BackendManager()>')>)>   (Extended.py:91)
[6] [2022-06-24 07:53:09.798] [               ] * BackendManager is creating HostControlBackend   (_Manager.py:186)
[6] [2022-06-24 07:53:09.798] [               ] Setting context to backend <HostControlBackend()>   (Extended.py:91)
[6] [2022-06-24 07:53:09.836] [               ] * BackendManager is creating HostControlSafeBackend   (_Manager.py:198)
[6] [2022-06-24 07:53:09.837] [               ] Setting context to backend <HostControlSafeBackend()>   (Extended.py:91)
[6] [2022-06-24 07:53:09.875] [               ] * BackendManager is creating BackendExtender   (_Manager.py:214)
[6] [2022-06-24 07:53:09.875] [               ] Setting context to backend <BackendExtender()>   (Extended.py:91)
[6] [2022-06-24 07:53:09.917] [               ] Reading config file '/etc/opsi/backendManager/extend.d/10_opsi.conf'   (Extender.py:77)
[6] [2022-06-24 07:53:09.919] [               ] Reading config file '/etc/opsi/backendManager/extend.d/10_wim.conf'   (Extender.py:77)
[6] [2022-06-24 07:53:09.920] [               ] Reading config file '/etc/opsi/backendManager/extend.d/20_easy.conf'   (Extender.py:77)
[6] [2022-06-24 07:53:09.921] [               ] Reading config file '/etc/opsi/backendManager/extend.d/20_legacy.conf'   (Extender.py:77)
[6] [2022-06-24 07:53:09.941] [               ] Reading config file '/etc/opsi/backendManager/extend.d/30_kiosk.conf'   (Extender.py:77)
[6] [2022-06-24 07:53:09.942] [               ] Reading config file '/etc/opsi/backendManager/extend.d/30_sshcommands.conf'   (Extender.py:77)
[6] [2022-06-24 07:53:09.945] [               ] Reading config file '/etc/opsi/backendManager/extend.d/40_admin_tasks.conf'   (Extender.py:77)
[6] [2022-06-24 07:53:09.948] [               ] Reading config file '/etc/opsi/backendManager/extend.d/40_groupActions.conf'   (Extender.py:77)
[6] [2022-06-24 07:53:09.950] [               ] Reading config file '/etc/opsi/backendManager/extend.d/45_deprecated.conf'   (Extender.py:77)
[6] [2022-06-24 07:53:09.952] [               ] Reading config file '/etc/opsi/backendManager/extend.d/70_dynamic_depot.conf'   (Extender.py:77)
[6] [2022-06-24 07:53:09.952] [               ] Reading config file '/etc/opsi/backendManager/extend.d/70_wan.conf'   (Extender.py:77)
[6] [2022-06-24 07:53:10.022] [               ] Update mysql backend   (setup.py:168)
[6] [2022-06-24 07:53:10.023] [               ] Loading backend config '/etc/opsi/backends/mysql.conf'   (__init__.py:43)
[6] [2022-06-24 07:53:10.023] [               ] Current mysql backend config: {'address': '127.0.0.1', 'database': 'opsi', 'username': 'opsi', 'password': '***secret***', 'databaseCharset': 'utf8', 'connectionPoolSize': 25, 'connectionPoolMaxOverflow': 10, 'connectionPoolTimeout': 30, 'connectionPoolRecycling': 28000}   (MySQL.py:60)
[5] [2022-06-24 07:53:10.023] [               ] Connection to database 'opsi' on '127.0.0.1' as user 'opsi'   (MySQL.py:62)
[6] [2022-06-24 07:53:10.023] [               ] Connecting to mysql://opsi:***secret***@127.0.0.1/opsi?charset=utf8mb4   (MySQL.py:140)
[6] [2022-06-24 07:53:10.028] [               ] Connected to server version: 10.3.34-MariaDB-0+deb10u1   (MySQL.py:164)
[6] [2022-06-24 07:53:10.041] [               ] Connecting to mysql://opsi:***secret***@127.0.0.1/opsi?charset=utf8mb4   (MySQL.py:140)
[6] [2022-06-24 07:53:10.046] [               ] Connected to server version: 10.3.34-MariaDB-0+deb10u1   (MySQL.py:164)
[5] [2022-06-24 07:53:10.137] [               ] Creating opsi base   (SQL.py:616)
[6] [2022-06-24 07:53:10.270] [               ] Setup users and groups   (setup.py:62)
[6] [2022-06-24 07:53:10.270] [               ] Setup users and groups   (setup.py:61)
[6] [2022-06-24 07:53:10.275] [               ] Setup systemd   (setup.py:152)
[6] [2022-06-24 07:53:10.687] [               ] Setup file permissions   (setup.py:103)
[6] [2022-06-24 07:53:10.688] [               ] * BackendManager is creating BackendDispatcher   (_Manager.py:168)
[6] [2022-06-24 07:53:10.688] [               ] Backend context was set to <BackendManager()>   (Backend.py:181)
[6] [2022-06-24 07:53:10.688] [               ] Loading dispatch config file '/etc/opsi/backendManager/dispatch.conf'   (Dispatcher.py:56)
[6] [2022-06-24 07:53:10.689] [               ] Loading backend config '/etc/opsi/backends/mysql.conf'   (Dispatcher.py:114)
[6] [2022-06-24 07:53:10.689] [               ] Backend context was set to <BackendManager()>   (Backend.py:181)
[6] [2022-06-24 07:53:10.701] [               ] Connecting to mysql://opsi:***secret***@127.0.0.1/opsi?charset=utf8mb4   (MySQL.py:140)
[6] [2022-06-24 07:53:10.707] [               ] Connected to server version: 10.3.34-MariaDB-0+deb10u1   (MySQL.py:164)
[6] [2022-06-24 07:53:10.707] [               ] Loading backend config '/etc/opsi/backends/opsipxeconfd.conf'   (Dispatcher.py:114)
[6] [2022-06-24 07:53:10.708] [               ] Backend context was set to <BackendManager()>   (Backend.py:181)
[6] [2022-06-24 07:53:10.708] [               ] Loading backend config '/etc/opsi/backends/file.conf'   (Dispatcher.py:114)
[6] [2022-06-24 07:53:10.708] [               ] Backend context was set to <BackendManager()>   (Backend.py:181)
[6] [2022-06-24 07:53:10.709] [               ] Dispatcher backends: ['mysql', 'opsipxeconfd', 'file']   (Dispatcher.py:131)
[6] [2022-06-24 07:53:10.749] [               ] * BackendManager is creating ExtendedConfigDataBackend   (_Manager.py:176)
[6] [2022-06-24 07:53:10.750] [               ] Setting context to backend <ExtendedConfigDataBackend(configDataBackend=<BackendDispatcher(dispatchConfigFile='/etc/opsi/backendManager/dispatch.conf', context='<BackendManager()>')>)>   (Extended.py:91)
[6] [2022-06-24 07:53:10.777] [               ] * BackendManager is creating HostControlBackend   (_Manager.py:186)
[6] [2022-06-24 07:53:10.777] [               ] Setting context to backend <HostControlBackend()>   (Extended.py:91)
[6] [2022-06-24 07:53:10.867] [               ] * BackendManager is creating HostControlSafeBackend   (_Manager.py:198)
[6] [2022-06-24 07:53:10.867] [               ] Setting context to backend <HostControlSafeBackend()>   (Extended.py:91)
[6] [2022-06-24 07:53:10.905] [               ] * BackendManager is creating BackendExtender   (_Manager.py:214)
[6] [2022-06-24 07:53:10.905] [               ] Setting context to backend <BackendExtender()>   (Extended.py:91)
[6] [2022-06-24 07:53:10.947] [               ] Reading config file '/etc/opsi/backendManager/extend.d/10_opsi.conf'   (Extender.py:77)
[6] [2022-06-24 07:53:10.948] [               ] Reading config file '/etc/opsi/backendManager/extend.d/10_wim.conf'   (Extender.py:77)
[6] [2022-06-24 07:53:10.949] [               ] Reading config file '/etc/opsi/backendManager/extend.d/20_easy.conf'   (Extender.py:77)
[6] [2022-06-24 07:53:10.950] [               ] Reading config file '/etc/opsi/backendManager/extend.d/20_legacy.conf'   (Extender.py:77)
[6] [2022-06-24 07:53:10.969] [               ] Reading config file '/etc/opsi/backendManager/extend.d/30_kiosk.conf'   (Extender.py:77)
[6] [2022-06-24 07:53:10.971] [               ] Reading config file '/etc/opsi/backendManager/extend.d/30_sshcommands.conf'   (Extender.py:77)
[6] [2022-06-24 07:53:10.974] [               ] Reading config file '/etc/opsi/backendManager/extend.d/40_admin_tasks.conf'   (Extender.py:77)
[6] [2022-06-24 07:53:10.977] [               ] Reading config file '/etc/opsi/backendManager/extend.d/40_groupActions.conf'   (Extender.py:77)
[6] [2022-06-24 07:53:10.979] [               ] Reading config file '/etc/opsi/backendManager/extend.d/45_deprecated.conf'   (Extender.py:77)
[6] [2022-06-24 07:53:10.980] [               ] Reading config file '/etc/opsi/backendManager/extend.d/70_dynamic_depot.conf'   (Extender.py:77)
[6] [2022-06-24 07:53:10.981] [               ] Reading config file '/etc/opsi/backendManager/extend.d/70_wan.conf'   (Extender.py:77)
[6] [2022-06-24 07:53:11.105] [               ] Executing: lsb_release -i   (Posix.py:952)
[6] [2022-06-24 07:53:11.106] [               ] Using encoding 'ANSI_X3.4-1968'   (Posix.py:979)
[5] [2022-06-24 07:53:11.145] [               ] Setting rights on '/etc/shadow'   (Rights.py:233)
[5] [2022-06-24 07:53:11.146] [               ] Setting rights on '/var/log/opsi/opsiconfd/opsiconfd.log'   (Rights.py:233)
[5] [2022-06-24 07:53:11.147] [               ] Setting rights on '/etc/dhcp/dhcpd.conf'   (Rights.py:233)
[5] [2022-06-24 07:53:11.148] [               ] Setting rights recursively on '/var/lib/opsiconfd/addons'   (Rights.py:233)
[5] [2022-06-24 07:53:11.149] [               ] Setting rights recursively on '/etc/opsi'   (Rights.py:233)
[5] [2022-06-24 07:53:11.151] [               ] Setting rights recursively on '/etc/opsi/ssl'   (Rights.py:233)
[5] [2022-06-24 07:53:11.151] [               ] Setting rights on '/etc/opsi/ssl/opsi-ca-cert.pem'   (Rights.py:233)
[5] [2022-06-24 07:53:11.153] [               ] Setting rights on '/etc/opsi/ssl/opsi-ca-cert.pem'   (Rights.py:233)
[5] [2022-06-24 07:53:11.154] [               ] Setting rights on '/etc/opsi/ssl/opsi-ca-key.pem'   (Rights.py:233)
[5] [2022-06-24 07:53:11.155] [               ] Setting rights on '/etc/apache2/ssl/neuro-serv-01-2021.pem'   (Rights.py:233)
[6] [2022-06-24 07:53:11.157] [               ] Cleanup log files   (setup.py:175)
Benutzeravatar
fkalweit
uib-Team
Beiträge: 92
Registriert: 23 Okt 2020, 16:14

Re: opsi 4.2 weboberfläche geht nicht und confd abgestürzt

Beitrag von fkalweit »

Hallo,

läuft der opsiconfd nach dem Aufruf von opsiconfd setup?

Viele Grüße
Fabian
Benutzeravatar
j.schneider
uib-Team
Beiträge: 1583
Registriert: 29 Mai 2008, 15:14

Re: opsi 4.2 weboberfläche geht nicht und confd abgestürzt

Beitrag von j.schneider »

In der Konfiguration ist folgendes zu sehen:

Code: Alles auswählen

ssl_server_cert = /etc/apache2/ssl/neuro-serv-01-2021.pem
ssl_server_key = /etc//etc/apache2/ssl/neuro.key
Der ssl_server_key Pfad scheint falsch zu sein.
Generell rate ich davon ab, die SSL-Zertifikate selbst zu verwalten.
Die Gründe kann man zum Beispiel hier nachlesen:

viewtopic.php?p=55340

Daher am besten ssl_server_cert und ssl_server_key aus der /etc/opsi/opsiconfd.conf entfernen und den opsiconfd neu starten.

Grüße
Jan Schneider
r4a5a88
Beiträge: 95
Registriert: 10 Jun 2014, 12:56

Re: opsi 4.2 weboberfläche geht nicht und confd abgestürzt

Beitrag von r4a5a88 »

Die Zertifikate sind die vom Webserver auf dem OPSI Server.
ich kann sie aus der conf nehmen aber würde gern die Zertifikate nehmen.
Könnte ich die Zertifikate umbennen und an die Standart location tun ?
Den Artikel hatte ich mir vorher schon durchgelesen und hab gesehen. desshlab hab ich auch skip ssl in der config stehen

es startet nicht nach opsiconf setup
r4a5a88
Beiträge: 95
Registriert: 10 Jun 2014, 12:56

Re: opsi 4.2 weboberfläche geht nicht und confd abgestürzt

Beitrag von r4a5a88 »

Problem gefunden.
ich hatte den Zertifikats Pfad falsch geschrien. nach der Korrektur geht es jetzt.

Ich hatte /etc/etc als Pfad , was nicht funktioniert
Vielen Dank nochmal für eure Hilfe
Antworten