After upgrade can't log in via web

After running the most resent update to Univention Corporate Server 4.2-1 errata139 we are no longer able to log into any UCS via the web gui.

We get this error:

The current session is not valid with your IP address for security reasons. This might happen after switching the network. Please login again.

However our network has NOT changed. This occurs on Master, Backup, Slave and Member servers.

Rebooting does not cure this issue…now we can only manage our servers via SSH/CLI.

The log management-console-web-server.log shows:
The sessionid (ip=69.78.235.132) is not valid for this IP address (69.78.235.133)
17.08.17 10:34:52.686 MAIN ( WARN ) : The sessionid (ip=69.78.235.132) is not valid for this IP address (69.78.235.136)
17.08.17 10:34:52.686 MAIN ( PROCESS ) : CPGet (69.78.235.133:32830) response status code: 401
17.08.17 10:34:52.686 MAIN ( PROCESS ) : CPGet (69.78.235.133:32830) response message: The current session is not valid with your IP address for security reasons. This might happen after switching the network. Please login again.
17.08.17 10:34:52.686 MAIN ( PROCESS ) : CPGet (69.78.235.133:32830) response result: None
17.08.17 10:34:52.687 MAIN ( PROCESS ) : CPGet (69.78.235.136:32832) response status code: 401
17.08.17 10:34:52.687 MAIN ( PROCESS ) : CPGet (69.78.235.136:32832) response message: The current session is not valid with your IP address for security reasons. This might happen after switching the network. Please login again.
17.08.17 10:34:52.687 MAIN ( PROCESS ) : CPGet (69.78.235.136:32832) response result: None

and management-console-server.log shows:

root@bebucsmdcsvrp2:/var/log/univention# tail management-console-server.log
17.08.17 10:34:51.499 LOCALE ( WARN ) : Could not find translation file: ‘umc-core.mo’
17.08.17 10:34:51.695 LOCALE ( WARN ) : Could not find translation file: ‘umc-core.mo’
17.08.17 10:35:01.145 LOCALE ( WARN ) : Could not find translation file: ‘umc-core.mo’
17.08.17 10:35:05.740 MAIN ( PROCESS ) : Connection timed out.
17.08.17 10:35:09.146 MAIN ( PROCESS ) : Connection timed out.
17.08.17 10:35:12.835 MAIN ( PROCESS ) : Connection timed out.
17.08.17 10:35:22.506 MAIN ( PROCESS ) : Connection timed out.
17.08.17 10:35:22.506 MAIN ( PROCESS ) : Processor: dying
17.08.17 10:35:22.506 MAIN ( PROCESS ) : Processor: dying
17.08.17 10:35:31.163 MAIN ( PROCESS ) : Connection timed out.

After restarting UCM by…
/etc/init.d/univention-management-console-server stop
/etc/init.d/univention-management-console-web-server stop
then
/etc/init.d/univention-management-console-server start
/etc/init.d/univention-management-console-web-server start

I get this when trying to login as Administrator

There is no module available for the authenticated user Administrator.

hi,

maybe it’s same as i had - solution was to clear the browser cache

see:

rg
Christian

This is still an issue in 5.0 - tried clearing browser still cant login to web gui with anything but root:

I did find some errors in management-console-server.log related to LDAP:
28.06.21 14:28:48.244 MAIN ( PROCESS ) : LDAP bind for user ‘uid=Administrator,cn=users,dc=belldesign,dc=com’.
28.06.21 14:28:50.452 MAIN ( PROCESS ) : LDAP bind for user ‘uid=Administrator,cn=users,dc=belldesign,dc=com’.
28.06.21 14:28:51.043 MAIN ( PROCESS ) : running: [’/usr/bin/python2.7’, ‘/usr/sbin/univention-management-console-module’, ‘-m’, ‘udm’, ‘-s’, ‘/var/run/univention-management-console/5872-1624915731042.socket’, ‘-d’, ‘2’, ‘-l’, ‘en_US.UTF-8’]
28.06.21 14:28:51.067 MAIN ( PROCESS ) : running: [’/usr/bin/python2.7’, ‘/usr/sbin/univention-management-console-module’, ‘-m’, ‘appcenter’, ‘-s’, ‘/var/run/univention-management-console/5872-1624915731067.socket’, ‘-d’, ‘2’, ‘-l’, ‘en_US.UTF-8’]
28.06.21 14:28:51.087 MAIN ( PROCESS ) : running: [’/usr/bin/python2.7’, ‘/usr/sbin/univention-management-console-module’, ‘-m’, ‘updater’, ‘-s’, ‘/var/run/univention-management-console/5872-1624915731087.socket’, ‘-d’, ‘2’, ‘-l’, ‘en_US.UTF-8’]
28.06.21 14:28:51.207 MAIN ( PROCESS ) : running: [’/usr/bin/python2.7’, ‘/usr/sbin/univention-management-console-module’, ‘-m’, ‘adconnector’, ‘-s’, ‘/var/run/univention-management-console/5872-1624915731207.socket’, ‘-d’, ‘2’, ‘-l’, ‘en_US.UTF-8’]
28.06.21 14:38:52.472 MAIN ( WARN ) : Socket died (module=appcenter)
28.06.21 14:38:52.472 MAIN ( WARN ) : Module process appcenter died (pid: 9133, exit status: -1, signal: -1, status: -1)
28.06.21 14:38:52.472 MAIN ( WARN ) : Cleaning up requests
28.06.21 14:38:52.472 MAIN ( WARN ) : Remove inactivity timer
28.06.21 14:38:52.472 MAIN ( PROCESS ) : ModuleProcess: stopping 9133
28.06.21 14:38:52.472 MAIN ( WARN ) : Socket died (module=appcenter)
28.06.21 14:38:52.479 MAIN ( WARN ) : Socket died (module=udm)
28.06.21 14:38:52.479 MAIN ( WARN ) : Module process udm died (pid: 9131, exit status: -1, signal: -1, status: -1)
28.06.21 14:38:52.479 MAIN ( WARN ) : Cleaning up requests
28.06.21 14:38:52.479 MAIN ( WARN ) : Remove inactivity timer
28.06.21 14:38:52.479 MAIN ( PROCESS ) : ModuleProcess: stopping 9131
28.06.21 14:38:52.479 MAIN ( WARN ) : Socket died (module=udm)
28.06.21 14:38:52.604 MAIN ( WARN ) : Socket died (module=adconnector)
28.06.21 14:38:52.604 MAIN ( WARN ) : Module process adconnector died (pid: 9137, exit status: -1, signal: -1, status: -1)
28.06.21 14:38:52.604 MAIN ( WARN ) : Cleaning up requests
28.06.21 14:38:52.604 MAIN ( WARN ) : Remove inactivity timer
28.06.21 14:38:52.604 MAIN ( PROCESS ) : ModuleProcess: stopping 9137
28.06.21 14:38:52.604 MAIN ( WARN ) : Socket died (module=adconnector)
28.06.21 14:38:53.170 MAIN ( WARN ) : Socket died (module=updater)
28.06.21 14:38:53.170 MAIN ( WARN ) : Module process updater died (pid: 9136, exit status: -1, signal: -1, status: -1)
28.06.21 14:38:53.170 MAIN ( WARN ) : Cleaning up requests
28.06.21 14:38:53.170 MAIN ( PROCESS ) : ModuleProcess: stopping 9136
28.06.21 14:38:53.170 MAIN ( WARN ) : Socket died (module=updater)
28.06.21 14:38:57.946 MAIN ( WARN ) : Socket died (module=join)
28.06.21 14:38:57.946 MAIN ( WARN ) : Module process join died (pid: 8846, exit status: -1, signal: -1, status: -1)
28.06.21 14:38:57.947 MAIN ( WARN ) : Cleaning up requests
28.06.21 14:38:57.947 MAIN ( PROCESS ) : ModuleProcess: stopping 8846
28.06.21 14:38:57.947 MAIN ( WARN ) : Socket died (module=join)
29.06.21 06:06:05.304 LOCALE ( WARN ) : Could not find translation file: ‘umc-core.mo’
29.06.21 06:06:05.473 MODULE ( PROCESS ) : Setting auth type to None
29.06.21 06:06:05.474 MAIN ( ERROR ) : The LDAP DN for user donaldbell could not be found (lo=<univention.admin.uldap.access instance at 0x7fbf41ce77e8>)
29.06.21 06:06:05.475 ACL ( WARN ) : Error reading credentials from LDAP: Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/univention/management/console/acl.py”, line 383, in _read_from_ldap
userdn = self.lo.searchDn(filter_format(’(&(objectClass=person)(uid=%s))’, [self.username]), unique=True)[0]
IndexError: list index out of range

30.06.21 13:43:29.830 MAIN ( PROCESS ) : Server started
30.06.21 13:44:52.209 LOCALE ( WARN ) : Could not find translation file: ‘umc-core.mo’
30.06.21 13:44:52.321 LOCALE ( WARN ) : Could not find translation file: ‘umc-core.mo’
30.06.21 13:44:56.541 LOCALE ( WARN ) : Could not find translation file: ‘umc-core.mo’
30.06.21 13:45:14.679 AUTH ( ERROR ) : PAM: authentication error: (‘Authentication failure’, 7)
30.06.21 13:45:14.679 AUTH ( ERROR ) : The authentication has failed, please login again.
30.06.21 13:45:14.689 LOCALE ( WARN ) : Could not find translation file: ‘umc-core.mo’
30.06.21 13:45:32.153 AUTH ( ERROR ) : PAM: authentication error: (‘Authentication failure’, 7)

I getting the same errors. This is really concerning that the same issue continues after 4 years. Is there a fix?

It may be a long shot but worth a try.

For me Univention Web console stopped working after an upgrade and my investigation revealed that my interface settings in

/etc/network/interfaces

was earlier defined for eth0, but the command

ip a

showed interface ens4 as down. I just changed eth0 to ens4 and restarted the networking service by

service networking restart

and everything came back online.

image

Hi, after the upgrade to 5.02 i have the same problem … i can’t login, i have try to clean the browser cache and access to a different laptop but the problem persist

after entering the login credentials, the logon page is reloaded

Thanks

the problem is the redirect page after login to /univention/umc/ … this link does not exist and i am redirected to the login page again, but if i enter /univention/management/ in the url the access to the web console is correct

there is some file in web server that have a wrong url

I have the same error after update to 5.0.2.

any updates on this ?? How can i fix that ?

1 Like
Mastodon