Management-Console-Server repeatedly Crashes error 511

Hello,

One brand new slave server have a lot of errors in web console, cant open alot of modules, some modules open, others don’t, when i get this error
Don’t have errors in apache, only issue i can’t find in logs is this in web-server.log

23.01.19 14:27:16.302  MAIN        ( PROCESS ) : CPCommand (192.168.1.75:34676) response message: Connection to module process failed
23.01.19 14:27:16.302  MAIN        ( PROCESS ) : CPCommand (192.168.1.75:34676) response result: None
23.01.19 14:27:29.209  MAIN        ( PROCESS ) : CPCommand (192.168.1.75:34678) response status code: 511
23.01.19 14:27:29.210  MAIN        ( PROCESS ) : CPCommand (192.168.1.75:34678) response message: Connection to module process failed
23.01.19 14:27:29.210  MAIN        ( PROCESS ) : CPCommand (192.168.1.75:34678) response result: None

I had this error often on a underprovisioned Virtual Machine… once I added more memory it seemed to clear up. just a thought.

@sgvfr it is a VM… running over xenserver… but i already set 12GB of ram… so i think i can exclude that…

Hi,

possibly increasing debug level brings some light in?

I am not perfectly sure but it might be a http status code. Just as an additional idea.

/CV

@Christian_Voelkeri before i ppost i update the debug level to 4 it was 2 before… but nothing change in the output

@Christian_Voelker id0n’t know if is related and if you can help… but sometimes when i update/install packages in the server i get the hba.conf error… like

Traceback (most recent call last):
  File "/usr/sbin/univention-pkgdb-scan", line 36, in ?
    univention.pkgdb.main(sys.argv[1:])
  File "/usr/lib/python2.4/site-packages/univention/pkgdb.py", line 935, in main
    pkgdbhdl = pgdb.connect(pkgdb_connect_string)
  File "/usr/lib/python2.4/site-packages/pgdb.py", line 381, in connect
    dbtty, dbuser, dbpasswd)
pg.InternalError: FATAL:  no pg_hba.conf entry for host

Does this help?

/CV

@Christian_Voelker no, i already try that… in the slave server i get error that the file don’t exist

If run the same command, in the master it says the host already added


root@MPAVDC1:~# univention-pkgdb-scan --db-server 'ccmdc01.ccm.local' --add 'MPAVDC1$'
Traceback (most recent call last):
 File "/usr/sbin/univention-pkgdb-scan", line 37, in <module>
   univention.pkgdb.main()
 File "/usr/lib/pymodules/python2.7/univention/pkgdb.py", line 576, in main
   connection = open_database_connection(config_registry, pkgdbu=True)
 File "/usr/lib/pymodules/python2.7/univention/pkgdb.py", line 554, in open_database_connection
   connection_info['password'] = open(password_file, 'rb').read().rstrip('\n')
IOError: [Errno 2] No such file or directory: '/etc/postgresql/pkgdb.secret'
root@MPAVDC1:~# exit
logout
Connection to mpavdc1 closed.
root@CCMDC01:~# univention-pkgdb-scan --db-server 'ccmdc01.ccm.local' --add 'MPAVDC1$'
SQL: CREATE USER "MPAVDC1$" IN GROUP pkgdbg

SQL: ALTER GROUP pkgdbg ADD USER "MPAVDC1$"

NOTICE:  role "MPAVDC1$" is already a member of role "pkgdbg"
root@CCMDC01:~#

Mastodon