Bug 45351 - Installation from UCS 4.2-2 DVD may fail with internal server error
Installation from UCS 4.2-2 DVD may fail with internal server error
Status: CLOSED WORKSFORME
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 4.2
Other Linux
: P5 normal (vote)
: ---
Assigned To: Erik Damrose
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-09-08 10:44 CEST by Erik Damrose
Modified: 2019-09-02 09:36 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 6: Setup Problem: Issue for the setup process
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 5: Blocking further progress on the daily work
User Pain: 0.343
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments
syslog (673.27 KB, text/plain)
2017-09-08 11:20 CEST, Florian Best
Details
more debug output might help? (1.31 KB, patch)
2017-09-08 11:31 CEST, Florian Best
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Damrose univentionstaff 2017-09-08 10:44:03 CEST
When installing from the UCS 4.2-2 DVD, an error can occur when our system-setup is started: a popup in firefox shows "Interner Server-Fehler: Verbindung zum Modulprozess konnte nicht aufgebaut werden; Connection to module process failed"

I created two VMs for testing, and in one the error occured, the other started system-setup normally
Comment 1 Erik Damrose univentionstaff 2017-09-08 11:05:28 CEST
Installed from UCS_4.2-2-amd64.iso md5 799a1fc7943df8a45d8ca757449e414e

Pressing F5 reloads system setup and everything is working

umc-module-setup.log only has
08.09.17 09:44:58.983  DEBUG_INIT

umc-web-server.log:
08.09.17 09:44:21.090  DEBUG_INIT
08.09.17 09:44:21.095  MAIN        ( PROCESS ) : Starting UMC web server ...
08.09.17 09:44:52.406  MAIN        ( PROCESS ) : SessionClient(0x7f39e59b4710): _authenticated: success=True  status=200  message=None
08.09.17 09:45:08.676  MAIN        ( PROCESS ) : CPCommand (::1:53702) response status code: 511
08.09.17 09:45:08.676  MAIN        ( PROCESS ) : CPCommand (::1:53702) response message: Connection to module process failed
08.09.17 09:45:08.676  MAIN        ( PROCESS ) : CPCommand (::1:53702) response result: None

umc-server.log:
08.09.17 09:44:18.532  DEBUG_INIT
08.09.17 09:44:18.532  MAIN        ( PROCESS ) : Starting UMC server ...
08.09.17 09:44:21.007  MAIN        ( PROCESS ) : Server started
08.09.17 09:44:50.364  LOCALE      ( WARN    ) : Could not find translation file: 'umc-core.mo'
08.09.17 09:44:58.613  MAIN        ( PROCESS ) : running: ['/usr/sbin/univention-management-console-module', '-m', 'setup', '-s', '/var/run/univention-management-console/21483-1504856698613.socket', '-d', '2', '-l', 'de_DE.UTF-8']
08.09.17 09:44:58.712  LOCALE      ( WARN    ) : Could not find translation file: 'umc-core.mo'
08.09.17 09:44:58.713  LOCALE      ( WARN    ) : Could not find translation file: 'umc-core.mo'
08.09.17 09:45:08.676  MAIN        ( PROCESS ) : ModuleProcess: dying
08.09.17 09:45:08.676  MAIN        ( PROCESS ) : ModuleProcess: child stopped
08.09.17 09:45:20.310  MAIN        ( PROCESS ) : Connection timed out.
08.09.17 09:45:37.793  MAIN        ( PROCESS ) : Connection timed out.
08.09.17 09:45:37.793  MAIN        ( PROCESS ) : Processor: dying

univention-management-console-server           9.0.80-65A~4.2.0.201709041248
univention-management-console-module-setup     10.0.10-40A~4.2.0.201709041622
Comment 2 Florian Best univentionstaff 2017-09-08 11:20:09 CEST
Created attachment 9184 [details]
syslog
Comment 3 Florian Best univentionstaff 2017-09-08 11:26:22 CEST
There is a strange time change in the syslog visible:
Sep  8 09:44:51 python2.7: PAM unable to dlopen(pam_ldap.so): /lib/security/pam_ldap.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden
Sep  8 09:44:51 python2.7: PAM adding faulty module: pam_ldap.so
Sep  8 09:44:51 python2.7: PAM unable to dlopen(pam_cracklib.so): /lib/security/pam_cracklib.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden
Sep  8 09:44:51 python2.7: PAM adding faulty module: pam_cracklib.so
Sep  8 09:44:51 python2.7: PAM unable to dlopen(pam_krb5.so): /lib/security/pam_krb5.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden
Sep  8 09:44:51 python2.7: PAM adding faulty module: pam_krb5.so
Sep  8 08:20:09 main-menu[344]: (process:11426):
Sep  8 08:20:09 main-menu[344]: (process:11426):
Sep  8 08:20:09 main-menu[344]: (process:11426):


> 08.09.17 09:45:08.676  MAIN        ( PROCESS ) : CPCommand (::1:53702) response status code: 511
> 08.09.17 09:45:08.676  MAIN        ( PROCESS ) : CPCommand (::1:53702) response message: Connection to module process failed
This happens if the module initialization (and connection to the UNIX socket of it) takes more than 10 seconds.
Comment 4 Florian Best univentionstaff 2017-09-08 11:31:39 CEST
Created attachment 9185 [details]
more debug output might help?
Comment 5 Erik Damrose univentionstaff 2017-09-08 14:23:05 CEST
Unable to reproduce the issue with different installation scenarios:
* high system load (cpu, io) on host system
* installing in VM without network
* installing in VM with only 768MiB RAM
* installing on hardware (xen5)
Comment 6 Erik Damrose univentionstaff 2017-09-11 09:52:49 CEST
Was initially reported here: https://help.univention.com/t/6753
Comment 7 Lars Brinkmann 2017-11-19 21:33:36 CET
Had same error with installing Hyper-V VM with the 4.2.2 ISO.
Startet from ISO a 2nd time installation went fine.
Comment 8 Stefan Gohmann univentionstaff 2018-03-15 16:08:54 CET
Does it happen with UCS 4.2-3 or UCS 4.3-0?
Comment 9 Erik Damrose univentionstaff 2019-09-02 09:36:03 CEST
Currently there are no known problems with the DVD. UCS 4.2 is out of maintenance. If this error occurs again with a current UCS version, please clone this bug.