UCS Error after fresh Installation

Hi,

Myself Lokesh Kamath. I am very new new to Univention. After installing Univention I am getting the below message. I tried few things via google, but no luck.

Please find the image for your reference
Error%201
Error%202

Some join scripts could not be executed. More details can be found in the log file /var/log/univention/join.log .
Please retry to execute the join scripts after resolving any conflicting issues.

Not all installed components have been registered. Please visit the [“Domain join” module](javascript:void(0)) to register the remaining components.

Domain Join Log File:
univention-run-join-scripts started
Wed Jan 1 10:43:19 IST 2020

univention-join-hooks: looking for hook type “join/pre-joinscripts” on ledc1.laxmielectronics.intranet
Found hooks:

RUNNING 35univention-self-service-passwordreset-umc.inst
2020-01-01 10:43:19.804881608+05:30 (in joinscript_init)
Object exists: cn=services,cn=univention,dc=laxmielectronics,dc=intranet
Object exists: cn=univention-self-service-passwordreset-umc,cn=services,cn=univention,dc=laxmielectronics,dc=intranet
WARNING: cannot append univention-self-service-passwordreset-umc to service, value exists
No modification: cn=ledc1,cn=dc,cn=computers,dc=laxmielectronics,dc=intranet
Creating selfservice database
createdb: database creation failed: ERROR: encoding “UTF8” does not match locale “en_IN”
DETAIL: The chosen LC_CTYPE setting requires encoding “LATIN1”.
Could not create selfservice postgres database.
EXITCODE=1
61458337-7c91-43cd-b3f6-c81753331101
RUNNING 50univention-pkgdb.inst
2020-01-01 10:43:21.385545575+05:30 (in joinscript_init)
Traceback (most recent call last):
File “/usr/sbin/univention-pkgdb-scan”, line 37, in
univention.pkgdb.main()
File “/usr/lib/python2.7/dist-packages/univention/pkgdb.py”, line 577, in main
connection = open_database_connection(config_registry, pkgdbu=True)
File “/usr/lib/python2.7/dist-packages/univention/pkgdb.py”, line 561, in open_database_connection
connection = pgdb.connect(database=connectstring)
File “/usr/lib/python2.7/dist-packages/pgdb.py”, line 1615, in connect
cnx = _connect(dbname, dbhost, dbport, dbopt, dbuser, dbpasswd)
pg.InternalError: FATAL: database “pkgdb” does not exist

EXITCODE=1
1e2d223f-ca29-49e1-a21d-9aec355587ed
univention-join-hooks: looking for hook type “join/post-joinscripts” on ledc1.laxmielectronics.intranet
Found hooks:

Wed Jan 1 10:43:22 IST 2020
univention-run-join-scripts finished

1 More Domain Join Log File:
univention-run-join-scripts started
Wed Jan 1 10:47:54 IST 2020

univention-join-hooks: looking for hook type “join/pre-joinscripts” on ledc1.laxmielectronics.intranet
Found hooks:

RUNNING 35univention-self-service-passwordreset-umc.inst
2020-01-01 10:47:54.893987321+05:30 (in joinscript_init)
Object exists: cn=services,cn=univention,dc=laxmielectronics,dc=intranet
Object exists: cn=univention-self-service-passwordreset-umc,cn=services,cn=univention,dc=laxmielectronics,dc=intranet
WARNING: cannot append univention-self-service-passwordreset-umc to service, value exists
No modification: cn=ledc1,cn=dc,cn=computers,dc=laxmielectronics,dc=intranet
Creating selfservice database
createdb: database creation failed: ERROR: encoding “UTF8” does not match locale “en_IN”
DETAIL: The chosen LC_CTYPE setting requires encoding “LATIN1”.
Could not create selfservice postgres database.
EXITCODE=1
794deb76-b5d1-4ca6-a3f9-32c3ce64b4a3
RUNNING 50univention-pkgdb.inst
2020-01-01 10:47:56.158844715+05:30 (in joinscript_init)
Traceback (most recent call last):
File “/usr/sbin/univention-pkgdb-scan”, line 37, in
univention.pkgdb.main()
File “/usr/lib/python2.7/dist-packages/univention/pkgdb.py”, line 577, in main
connection = open_database_connection(config_registry, pkgdbu=True)
File “/usr/lib/python2.7/dist-packages/univention/pkgdb.py”, line 561, in open_database_connection
connection = pgdb.connect(database=connectstring)
File “/usr/lib/python2.7/dist-packages/pgdb.py”, line 1615, in connect
cnx = _connect(dbname, dbhost, dbport, dbopt, dbuser, dbpasswd)
pg.InternalError: FATAL: database “pkgdb” does not exist

EXITCODE=1
a9fc5e4a-fa44-4fc5-85c2-7624f5bf3627
univention-join-hooks: looking for hook type “join/post-joinscripts” on ledc1.laxmielectronics.intranet
Found hooks:

Wed Jan 1 10:47:56 IST 2020
univention-run-join-scripts finished

Can anyone guide me to solve this issue. I am trying to install other apps it is not installing. I think it is because of these 2 domain join errors.

Thanks in advance.
Lokesh Kamath

Hi,

tell us more about your environment. Is this error on a slave UCS server? Or backup or masteR? How many servers do you have installed?
The installation of the first master went fine with no errors? And the join of any secondary, too?

/CV

@Christian_Voelker maybe you want to merge this thread with Error after fresh installation ?

Chistian Voelker, Thanks for your response.

Error in Primary UCS Server. This is the first Server I have installed. We do have Windows PDC. Thought of removing that so installed this UCS.

Installing the 1st master only giving errors.

/CV
The currently installed release version is 4.4-3 errata413.

Lokesh Kamath

Thanks. How to merge.

Hi,

I’ve locked the other thread as it covers the same issue.

Regarding your problem:
I guess you have already activated a couple of apps during installation.

Recommended way is to install your UCS Master server without installing updates or apps. Once properly up and running you should install all updates. And finally install the app you like to have.

So please reinstall your server from scratch.

Greetings

/CV

Hi Christian Voelker,

Thank you so much.

We have installed 3 years back (testing purpose) at the same time there was issue with the server. So we continued with Windows.

Now again we installed with new Domain (not relation to old domain).

Anyway I will again install fresh copy of UCS and let you know.

Thanks once again.

Lokesh Kamath

Mastodon