OPSI v3.4 in UCS v2.4 einbinden

de_ramon
Beiträge: 9
Registriert: 07 Jul 2009, 21:19
Wohnort: Heidelberg

OPSI v3.4 in UCS v2.4 einbinden

Beitrag von de_ramon »

Guten Morgen,

bei dem Versuch OPSI 3.4 in den neuen UCS 2.4 einzubinden, stoße ich auf die u.g.Probleme / Fehlermeldungen.

Mein System läuft testweise in einer VM, es ist ein lizensierter, als domaincontroller_master eingerichtetet UCS (2.6.32-ucs11-686-bigmem).

Die Unterschiede der Dokus (OPSI und UCS) habe ich soweit durchgetestet, hier die aktuelle Konfiguration:

/etc/apt/sources.lst

Code: Alles auswählen

deb http://apt.univention.de/2.0/unmaintained/ 2.0-0/all/
deb http://apt.univention.de/2.0/unmaintained/ 2.0-0/i386/
deb http://apt.univention.de/2.0/unmaintained/ 2.0-0/amd64/
deb http://apt.univention.de/2.0/unmaintained/ 2.0-0/extern/
deb-src http://apt.univention.de/2.0/unmaintained/ 2.0-0/source/

deb http://apt.univention.de/2.1/unmaintained/ 2.1-0/all/
deb http://apt.univention.de/2.1/unmaintained/ 2.1-0/i386/
deb http://apt.univention.de/2.1/unmaintained/ 2.1-0/amd64/
deb http://apt.univention.de/2.1/unmaintained/ 2.1-0/extern/
deb-src http://apt.univention.de/2.1/unmaintained/ 2.1-0/source/

deb http://apt.univention.de/2.2/unmaintained/ 2.2-0/all/
deb http://apt.univention.de/2.2/unmaintained/ 2.2-0/i386/
deb http://apt.univention.de/2.2/unmaintained/ 2.2-0/amd64/
deb http://apt.univention.de/2.2/unmaintained/ 2.2-0/extern/
deb-src http://apt.univention.de/2.2/unmaintained/ 2.2-0/source/

deb http://apt.univention.de/2.3/unmaintained/ 2.3-0/all/
deb http://apt.univention.de/2.3/unmaintained/ 2.3-0/i386/
deb http://apt.univention.de/2.3/unmaintained/ 2.3-0/amd64/
deb http://apt.univention.de/2.3/unmaintained/ 2.3-0/extern/
deb-src http://apt.univention.de/2.3/unmaintained/ 2.3-0/source/

deb http://apt.univention.de/2.4/maintained/ 2.4-0/all/
deb http://apt.univention.de/2.4/maintained/ 2.4-0/i386/
deb http://apt.univention.de/2.4/maintained/ 2.4-0/amd64/
deb http://apt.univention.de/2.4/maintained/ 2.4-0/extern/

deb http://apt.univention.de/2.4/unmaintained/ 2.4-0/all/
deb http://apt.univention.de/2.4/unmaintained/ 2.4-0/i386/
deb http://apt.univention.de/2.4/unmaintained/ 2.4-0/amd64/
deb-src http://apt.univention.de/2.4/unmaintained/ 2.4-0/source/

# OPSI
deb http://download.uib.de/debian ucs2.0 opsi3.4
Frage: Eigentlich sollten doch hier die 2.4er Einträge vom UCS reichen, oder?

Danach abgesetzte Befehle

Code: Alles auswählen

ucr set repository/online/unmaintained=yes
aptitude update
Beim ersten Versuch der OPSI-Installation wurde klar, dass folgende Abhängigkeiten nicht aufgelöst werden können:

Code: Alles auswählen

python-opsi: Hängt ab: python-simplejson, welches ein virtuelles Paket ist.
python-twisted-core empfiehlt python-serial
Daher wurden diese Pakete manuell installiert

Code: Alles auswählen

mkdir -p /root/install/deb
cd /root/install/deb
wget http://ftp.de.debian.org/debian/pool/main/s/simplejson/python-simplejson_1.9.2-1_i386.deb
wget http://ftp.de.debian.org/debian/pool/main/p/pyserial/python-serial_2.3-1_all.deb
dpkg -i *
Danach wurde das LDAP-Paket installiert:

Code: Alles auswählen

aptitude install opsi4ucs-ldap-schema
...ohne Fehler ...
Richte opsi4ucs-ldap-schema ein (3.4-11) ...
Multifile: /etc/ldap/slapd.conf
Restarting slapd
 * Restarting ldap server(s)
 * Stopping ldap server(s): slapd
   ...done.
Check database: done
   * Starting ldap server(s): slapd
.
Object created: cn=opsi,dc=surfclub,dc=lan
Reading package lists... Done
...ohne Fehler ...
Nun die fehlerhafte Installation der OPSI-Pakete:

Code: Alles auswählen

oot@wwwsg02v:~/install/deb# aptitude install aptitude install opsi4ucs opsipxeconfd
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut       
Lese Status-Informationen ein... Fertig
Lese erweiterte Statusinformationen      
Initialisiere Paketstatus... Fertig
Lese Task-Beschreibungen... Fertig 
Konnte Paket »install« nicht finden, aber die folgenden Pakete
enthalten »install« in ihrem Namen:
  univention-installer-modules app-install-data univention-installer 
  libdebian-installer-extra4 univention-net-installer ttf-installer 
  libdebian-installer4 libdebian-installer-extra4-udeb 
  ttf-mscorefonts-installer libdebian-installer4-dev gnome-app-install 
  libdebian-installer4-udeb univention-windows-installer-image-linux 
  univention-windows-installer libdebian-installer-dev 
  univention-server-installer 
Konnte Paket »install« nicht finden, aber die folgenden Pakete
enthalten »install« in ihrem Namen:
  univention-installer-modules app-install-data univention-installer 
  libdebian-installer-extra4 univention-net-installer ttf-installer 
  libdebian-installer4 libdebian-installer-extra4-udeb 
  ttf-mscorefonts-installer libdebian-installer4-dev gnome-app-install 
  libdebian-installer4-udeb univention-windows-installer-image-linux 
  univention-windows-installer libdebian-installer-dev 
  univention-server-installer 
Die folgenden Pakete sind KAPUTT:
  atftpd 
Die folgenden NEUEN Pakete werden zusätzlich installiert:
  duplicity{a} librsync1{a} opsi-atftpd{a} opsi-configed{a} 
  opsi-linux-bootimage{a} opsi-utils{a} opsi4ucs opsiconfd{a} opsipxeconfd 
  python-crypto{a} python-gnupginterface{a} python-mysqldb{a} 
  python-newt{a} python-opsi{a} python-twisted{a} python-twisted-bin{a} 
  python-twisted-conch{a} python-twisted-core{a} python-twisted-lore{a} 
  python-twisted-mail{a} python-twisted-names{a} python-twisted-news{a} 
  python-twisted-runner{a} python-twisted-web{a} python-twisted-words{a} 
  python-zopeinterface{a} 
0 Pakete aktualisiert, 26 zusätzlich installiert, 0 werden entfernt und 0 nicht aktualisiert.
Muss 72,7MB an Archiven herunterladen. Nach dem Entpacken werden 88,7MB zusätzlich belegt sein.
Die folgenden Pakete haben verletzte Abhängigkeiten:
  atftpd: Kollidiert: tftpd, welches ein virtuelles Paket ist.
Die folgenden Aktionen werden diese Abhängigkeiten auflösen:

Entferne die folgenden Pakete:
atftpd

Bewertungsnote beträgt -239

Diese Lösung akzeptieren? [Y/n/q/?] q
Alle Anstrengungen, diese Abhängigkeiten aufzulösen, aufgegeben.
Abbruch.
root@wwwsg02v:~/install/deb# aptitude install opsi4ucs opsipxeconfdPaketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut       
Lese Status-Informationen ein... Fertig
Lese erweiterte Statusinformationen      
Initialisiere Paketstatus... Fertig
Lese Task-Beschreibungen... Fertig 
Die folgenden Pakete sind KAPUTT:
  atftpd 
Die folgenden NEUEN Pakete werden zusätzlich installiert:
  duplicity{a} librsync1{a} opsi-atftpd{a} opsi-configed{a} 
  opsi-linux-bootimage{a} opsi-utils{a} opsi4ucs opsiconfd{a} opsipxeconfd 
  python-crypto{a} python-gnupginterface{a} python-mysqldb{a} 
  python-newt{a} python-opsi{a} python-twisted{a} python-twisted-bin{a} 
  python-twisted-conch{a} python-twisted-core{a} python-twisted-lore{a} 
  python-twisted-mail{a} python-twisted-names{a} python-twisted-news{a} 
  python-twisted-runner{a} python-twisted-web{a} python-twisted-words{a} 
  python-zopeinterface{a} 
0 Pakete aktualisiert, 26 zusätzlich installiert, 0 werden entfernt und 0 nicht aktualisiert.
Muss 72,7MB an Archiven herunterladen. Nach dem Entpacken werden 88,7MB zusätzlich belegt sein.
Die folgenden Pakete haben verletzte Abhängigkeiten:
  atftpd: Kollidiert: tftpd, welches ein virtuelles Paket ist.
Die folgenden Aktionen werden diese Abhängigkeiten auflösen:

Entferne die folgenden Pakete:
atftpd

Bewertungsnote beträgt -239

Diese Lösung akzeptieren? [Y/n/q/?] Y
Die folgenden NEUEN Pakete werden zusätzlich installiert:
  duplicity{a} librsync1{a} opsi-atftpd{a} opsi-configed{a} 
  opsi-linux-bootimage{a} opsi-utils{a} opsi4ucs opsiconfd{a} opsipxeconfd 
  python-crypto{a} python-gnupginterface{a} python-mysqldb{a} 
  python-newt{a} python-opsi{a} python-twisted{a} python-twisted-bin{a} 
  python-twisted-conch{a} python-twisted-core{a} python-twisted-lore{a} 
  python-twisted-mail{a} python-twisted-names{a} python-twisted-news{a} 
  python-twisted-runner{a} python-twisted-web{a} python-twisted-words{a} 
  python-zopeinterface{a} 
Die folgenden Pakete werden ENTFERNT:
  atftpd{a} 
0 Pakete aktualisiert, 26 zusätzlich installiert, 1 werden entfernt und 0 nicht aktualisiert.
Muss 72,7MB an Archiven herunterladen. Nach dem Entpacken werden 88,5MB zusätzlich belegt sein.
Wollen Sie fortsetzen? [Y/n/?] Y
WARNUNG: nichtvertrauenswürdige Versionen der folgenden Pakete werden installiert!

Nichtvertrauenswürdige Pakete können die Sicherheit Ihres Systems gefährden.
Sie sollten nur dann mit der Installation fortfahren, wenn Sie sicher sind, dass
Sie dies wirklich wollen.

  python-crypto python-zopeinterface python-twisted-names 
  python-twisted-core python-twisted-web python-mysqldb 
  python-twisted-runner python-newt opsipxeconfd opsi-linux-bootimage 
  opsi-utils python-opsi duplicity python-twisted-mail python-twisted-lore 
  python-twisted-conch python-twisted-news python-twisted-words 
  python-gnupginterface python-twisted opsi-configed opsi4ucs opsiconfd 
  opsi-atftpd librsync1 python-twisted-bin 

*** WARNUNG ***   Ignoriere diese Vertrauensverletzungen, da
                  Apt::Get::AllowUnauthenticated »true« ist!
Schreibe erweiterte Statusinformationen... Fertig
Hole:1 http://wwwsg02v.www.surfclub.lan 2.4-0/i386/ python-crypto 2.0.1+dfsg1-2.3.8.200910161908 [222kB]
Hole:2 http://download.uib.de ucs2.0/opsi3.4 opsi-configed 1.4.22-1 [1677kB]   
Hole:3 http://apt.univention.de 2.4-0/i386/ python-newt 0.52.2-11.3.21.201007281430 [54,6kB]
Hole:4 http://apt.univention.de 2.4-0/i386/ librsync1 0.9.7-5.8.201007281427 [69,3kB]
Hole:5 http://apt.univention.de 2.4-0/all/ python-gnupginterface 0.3.2-9.8.201007281425 [20,6kB]
Hole:6 http://apt.univention.de 2.4-0/i386/ duplicity 0.4.11-2.7.201007291549 [128kB]
Hole:7 http://apt.univention.de 2.4-0/i386/ python-twisted-bin 8.1.0-4.10.201007281432 [29,8kB]
Hole:8 http://apt.univention.de 2.4-0/i386/ python-zopeinterface 3.3.1-7.10.201007281449 [135kB]
Hole:9 http://apt.univention.de 2.4-0/all/ python-twisted-core 8.1.0-4.10.201007281432 [924kB]
Hole:10 http://download.uib.de ucs2.0/opsi3.4 opsi-atftpd 0.7.dfsg-1.4 [58,5kB]
Hole:11 http://download.uib.de ucs2.0/opsi3.4 python-opsi 3.4.0.13-1 [563kB]   
Hole:12 http://apt.univention.de 2.4-0/all/ python-twisted-web 8.1.0-1.8.201007281446 [327kB]
Hole:13 http://download.uib.de ucs2.0/opsi3.4 opsiconfd 2.0.0.25-1 [29,9kB]    
Hole:14 http://apt.univention.de 2.4-0/all/ python-twisted-conch 1:8.1.0-1.9.201007281434 [219kB]
Hole:15 http://download.uib.de ucs2.0/opsi3.4 opsi-linux-bootimage 20100901-1 [67,5MB]
Hole:16 http://apt.univention.de 2.4-0/i386/ python-mysqldb 1.2.2-7 [95,9kB]   
Hole:17 http://apt.univention.de 2.4-0/all/ python-twisted-mail 8.1.0-2.7.201007281437 [173kB]
Hole:18 http://apt.univention.de 2.4-0/all/ python-twisted-lore 8.1.0-1.7.201007281436 [78,3kB]
Hole:19 http://apt.univention.de 2.4-0/all/ python-twisted-names 8.1.0-1.7.201007281439 [52,6kB]
Hole:20 http://apt.univention.de 2.4-0/all/ python-twisted-news 8.1.0-1.7.201007281441 [26,6kB]
Hole:21 http://apt.univention.de 2.4-0/i386/ python-twisted-runner 8.0.0-1.7.201007281444 [18,7kB]
Hole:22 http://apt.univention.de 2.4-0/all/ python-twisted-words 8.1.0-2.7.201007281447 [214kB]
Hole:23 http://apt.univention.de 2.4-0/all/ python-twisted 8.1.0-4.10.201007281432 [10,7kB]
Hole:24 http://download.uib.de ucs2.0/opsi3.4 opsi-utils 3.4-4 [47,1kB]        
Hole:25 http://download.uib.de ucs2.0/opsi3.4 opsipxeconfd 0.3.8-1 [11,7kB]    
Hole:26 http://download.uib.de ucs2.0/opsi3.4 opsi4ucs 3.4-11 [11,7kB]         
72,7MB wurden in 3min33s heruntergeladen (341kB/s)                             
Vorkonfiguration der Pakete ...
dpkg: atftpd: Abhängigkeitsprobleme, aber entferne es auf Anfrage dennoch:
 univention-tftp hängt ab von atftpd.
(Lese Datenbank ... 150622 Dateien und Verzeichnisse sind derzeit installiert.)
Entferne atftpd ...
Verarbeite Trigger für man-db ...
Wähle vormals abgewähltes Paket python-newt.
(Lese Datenbank ... 150608 Dateien und Verzeichnisse sind derzeit installiert.)
Entpacke python-newt (aus .../python-newt_0.52.2-11.3.21.201007281430_i386.deb) ...
Wähle vormals abgewähltes Paket librsync1.
Entpacke librsync1 (aus .../librsync1_0.9.7-5.8.201007281427_i386.deb) ...
Wähle vormals abgewähltes Paket python-gnupginterface.
Entpacke python-gnupginterface (aus .../python-gnupginterface_0.3.2-9.8.201007281425_all.deb) ...
Wähle vormals abgewähltes Paket duplicity.
Entpacke duplicity (aus .../duplicity_0.4.11-2.7.201007291549_i386.deb) ...
Wähle vormals abgewähltes Paket opsi-configed.
Entpacke opsi-configed (aus .../opsi-configed_1.4.22-1_all.deb) ...
Wähle vormals abgewähltes Paket opsi-atftpd.
Entpacke opsi-atftpd (aus .../opsi-atftpd_0.7.dfsg-1.4_i386.deb) ...
Wähle vormals abgewähltes Paket python-twisted-bin.
Entpacke python-twisted-bin (aus .../python-twisted-bin_8.1.0-4.10.201007281432_i386.deb) ...
Wähle vormals abgewähltes Paket python-zopeinterface.
Entpacke python-zopeinterface (aus .../python-zopeinterface_3.3.1-7.10.201007281449_i386.deb) ...
Wähle vormals abgewähltes Paket python-twisted-core.
Entpacke python-twisted-core (aus .../python-twisted-core_8.1.0-4.10.201007281432_all.deb) ...
Wähle vormals abgewähltes Paket python-twisted-web.
Entpacke python-twisted-web (aus .../python-twisted-web_8.1.0-1.8.201007281446_all.deb) ...
Wähle vormals abgewähltes Paket python-crypto.
Entpacke python-crypto (aus .../python-crypto_2.0.1+dfsg1-2.3.8.200910161908_i386.deb) ...
Wähle vormals abgewähltes Paket python-twisted-conch.
Entpacke python-twisted-conch (aus .../python-twisted-conch_1%3a8.1.0-1.9.201007281434_all.deb) ...
Wähle vormals abgewähltes Paket python-mysqldb.
Entpacke python-mysqldb (aus .../python-mysqldb_1.2.2-7_i386.deb) ...
Wähle vormals abgewähltes Paket python-opsi.
Entpacke python-opsi (aus .../python-opsi_3.4.0.13-1_all.deb) ...
Wähle vormals abgewähltes Paket python-twisted-mail.
Entpacke python-twisted-mail (aus .../python-twisted-mail_8.1.0-2.7.201007281437_all.deb) ...
Wähle vormals abgewähltes Paket python-twisted-lore.
Entpacke python-twisted-lore (aus .../python-twisted-lore_8.1.0-1.7.201007281436_all.deb) ...
Wähle vormals abgewähltes Paket python-twisted-names.
Entpacke python-twisted-names (aus .../python-twisted-names_8.1.0-1.7.201007281439_all.deb) ...
Wähle vormals abgewähltes Paket python-twisted-news.
Entpacke python-twisted-news (aus .../python-twisted-news_8.1.0-1.7.201007281441_all.deb) ...
Wähle vormals abgewähltes Paket python-twisted-runner.
Entpacke python-twisted-runner (aus .../python-twisted-runner_8.0.0-1.7.201007281444_i386.deb) ...
Wähle vormals abgewähltes Paket python-twisted-words.
Entpacke python-twisted-words (aus .../python-twisted-words_8.1.0-2.7.201007281447_all.deb) ...
Wähle vormals abgewähltes Paket python-twisted.
Entpacke python-twisted (aus .../python-twisted_8.1.0-4.10.201007281432_all.deb) ...
Wähle vormals abgewähltes Paket opsiconfd.
Entpacke opsiconfd (aus .../opsiconfd_2.0.0.25-1_all.deb) ...
Wähle vormals abgewähltes Paket opsi-linux-bootimage.
Entpacke opsi-linux-bootimage (aus .../opsi-linux-bootimage_20100901-1_all.deb) ...
Wähle vormals abgewähltes Paket opsi-utils.
Entpacke opsi-utils (aus .../opsi-utils_3.4-4_all.deb) ...
Wähle vormals abgewähltes Paket opsipxeconfd.
Entpacke opsipxeconfd (aus .../opsipxeconfd_0.3.8-1_all.deb) ...
Wähle vormals abgewähltes Paket opsi4ucs.
Entpacke opsi4ucs (aus .../opsi4ucs_3.4-11_all.deb) ...
Verarbeite Trigger für man-db ...
Verarbeite Trigger für menu ...
Richte python-newt ein (0.52.2-11.3.21.201007281430) ...
Richte librsync1 ein (0.9.7-5.8.201007281427) ...
Richte python-gnupginterface ein (0.3.2-9.8.201007281425) ...
Richte duplicity ein (0.4.11-2.7.201007291549) ...
Richte opsi-configed ein (1.4.22-1) ...
Richte opsi-atftpd ein (0.7.dfsg-1.4) ...
Richte python-twisted-bin ein (8.1.0-4.10.201007281432) ...
Richte python-zopeinterface ein (3.3.1-7.10.201007281449) ...
Richte python-twisted-core ein (8.1.0-4.10.201007281432) ...
Richte python-twisted-web ein (8.1.0-1.8.201007281446) ...
Richte python-crypto ein (2.0.1+dfsg1-2.3.8.200910161908) ...
Richte python-twisted-conch ein (1:8.1.0-1.9.201007281434) ...
Richte python-mysqldb ein (1.2.2-7) ...
Richte python-opsi ein (3.4.0.13-1) ...
Richte python-twisted-mail ein (8.1.0-2.7.201007281437) ...
Richte python-twisted-lore ein (8.1.0-1.7.201007281436) ...
Richte python-twisted-names ein (8.1.0-1.7.201007281439) ...
Richte python-twisted-news ein (8.1.0-1.7.201007281441) ...
Richte python-twisted-runner ein (8.0.0-1.7.201007281444) ...
Richte python-twisted-words ein (8.1.0-2.7.201007281447) ...
Richte python-twisted ein (8.1.0-4.10.201007281432) ...
Richte opsiconfd ein (2.0.0.25-1) ...
Starting opsi config service....   (done).
Richte opsi-linux-bootimage ein (20100901-1) ...
Richte opsi-utils ein (3.4-4) ...
Richte opsipxeconfd ein (0.3.8-1) ...
Starting opsi pxe configuration service...cat: /var/run/opsipxeconfd/opsipxeconfd.pid: Datei oder Verzeichnis nicht gefunden
   (done).
Richte opsi4ucs ein (3.4-11) ...

Running on UCS Master
Testing ldap connection to wwwsg02v.www.surfclub.lan

System information
     UCS version      : 2.4
     UCS patchlevel   : 0
     TFTP root        : /var/lib/univention-client-boot
     UCS role         : domaincontroller_master
     Opsi server role : configserver
     Root dn          : dc=surfclub,dc=lan
     LDAP master      : wwwsg02v.www.surfclub.lan
     LDAP user        : cn=wwwsg02v,cn=dc,cn=computers,dc=surfclub,dc=lan
     Hostname         : wwwsg02v
     Domain           : www.surfclub.lan
     FQDN             : wwwsg02v.www.surfclub.lan
     IP-Address       : 10.100.0.100
     Netmask          : 255.255.0.0
     Gateway          : 10.100.0.1
     Subnet           : 10.100.0.0
     Broadcast        : 10.100.255.255
     Windomain        : SURFCLUB-WWW
E: object not found
Adding system users and groups...
Adding group pcpatch
Object created: cn=pcpatch,cn=groups,dc=surfclub,dc=lan
Adding group opsiadmin
Object created: cn=opsiadmin,cn=groups,dc=surfclub,dc=lan
Adding user pcpatch
Object created: uid=pcpatch,cn=users,dc=surfclub,dc=lan
Object modified: cn=opsiadmin,cn=groups,dc=surfclub,dc=lan
Creating container for samba shares
Object exists
Adding samba share opt_pcbin
Object created: cn=opt_pcbin,cn=wwwsg02v.www.surfclub.lan,cn=shares,dc=surfclub,dc=lan
Adding samba share opsi_workbench
Object created: cn=opsi_workbench,cn=wwwsg02v.www.surfclub.lan,cn=shares,dc=surfclub,dc=lan
Adding dhcpStatement: use-host-decl-names on
 * Reloading internet superserver inetd                                 [ ok ] 
Linking tftpboot files into /var/lib/univention-client-boot
Setting file permissions
No such object (32)
Matched DN: cn=opsi,dc=surfclub,dc=lan
Creating opsi base
Traceback:
     line 1448 in '<module>' in file '/usr/bin/opsi-admin'
     line 439 in 'exit' in file '/usr/bin/opsi-admin'
     ==>>> Failed to execute 'method createOpsiBase': {'matched': 'dc=surfclub,dc=lan', 'desc': 'No such object'}
ERROR: Failed to execute 'method createOpsiBase': {'matched': 'dc=surfclub,dc=lan', 'desc': 'No such object'}
Multifile: /var/www/ucs-overview/en.html
Multifile: /var/www/ucs-overview/de.html
sys:1: DeprecationWarning: Non-ASCII character '\xc3' in file <stdin> on line 11, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
Verarbeite Trigger für python-support ...
Verarbeite Trigger für menu ...
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Paketlisten werden gelesen... Fertig             
Abhängigkeitsbaum wird aufgebaut       
Lese Status-Informationen ein... Fertig
Lese erweiterte Statusinformationen      
Initialisiere Paketstatus... Fertig
Schreibe erweiterte Statusinformationen... Fertig
Lese Task-Beschreibungen... Fertig   
Zusammenfassung:

Code: Alles auswählen

     FQDN             : wwwsg02v.www.surfclub.lan
     IP-Address       : 10.100.0.100
     Netmask          : 255.255.0.0
     Gateway          : 10.100.0.1
     Subnet           : 10.100.0.0
     Broadcast        : 10.100.255.255
     Windomain        : SURFCLUB-WWW
E: object not found
Adding system users and groups...
Adding group pcpatch
Object created: cn=pcpatch,cn=groups,dc=surfclub,dc=lan
Adding group opsiadmin
Object created: cn=opsiadmin,cn=groups,dc=surfclub,dc=lan
Adding user pcpatch
Object created: uid=pcpatch,cn=users,dc=surfclub,dc=lan
Object modified: cn=opsiadmin,cn=groups,dc=surfclub,dc=lan
Creating container for samba shares
Object exists
Adding samba share opt_pcbin
Object created: cn=opt_pcbin,cn=wwwsg02v.www.surfclub.lan,cn=shares,dc=surfclub,dc=lan
Adding samba share opsi_workbench
Object created: cn=opsi_workbench,cn=wwwsg02v.www.surfclub.lan,cn=shares,dc=surfclub,dc=lan
Adding dhcpStatement: use-host-decl-names on
 * Reloading internet superserver inetd                                 [ ok ] 
Linking tftpboot files into /var/lib/univention-client-boot
Setting file permissions
No such object (32)
Matched DN: cn=opsi,dc=surfclub,dc=lan
Creating opsi base
Traceback:
     line 1448 in '<module>' in file '/usr/bin/opsi-admin'
     line 439 in 'exit' in file '/usr/bin/opsi-admin'
     ==>>> Failed to execute 'method createOpsiBase': {'matched': 'dc=surfclub,dc=lan', 'desc': 'No such object'}
ERROR: Failed to execute 'method createOpsiBase': {'matched': 'dc=surfclub,dc=lan', 'desc': 'No such object'}
Das führt dann wahrscheinlich auch zu dem Fehler bei

Code: Alles auswählen

univention-run-join-scripts
...
Running 91univention-client-boot-pxe.inst                  skipped (already executed)
Running 98univention-pkgdb-tools.inst                      skipped (already executed)
Running 99opsi4ucs.inst                                    failed (exitcode: 1)
Wo könnte der Fehler liegen?

Grüße aus Stuttgart,

Ralf Moll
Benutzeravatar
j.schneider
uib-Team
Beiträge: 1804
Registriert: 29 Mai 2008, 15:14

Re: OPSI v3.4 in UCS v2.4 einbinden

Beitrag von j.schneider »

Hallo Herr Moll,

ich vermute, dass der baseDn in der /etc/opsi/backendManager.d/40_opsi4ucs.conf nicht stimmt.
Hier sollte statt:

Code: Alles auswählen

baseDn = ','.join( map( lambda p:'dc='+p, self.defaultDomain.split('.') ) )
Der baseDn fest konfiguriert werden:

Code: Alles auswählen

baseDn = "dc=surfclub,dc=lan"
Danach muss der join erneut laufen.

Gruß,
Jan Schneider
de_ramon
Beiträge: 9
Registriert: 07 Jul 2009, 21:19
Wohnort: Heidelberg

Re: OPSI v3.4 in UCS v2.4 einbinden

Beitrag von de_ramon »

Hallo Herr Schneider,

vielen Dank für die prompte Antwort, es klappt leider immer noch nicht mit dem Script univention-run-join-scripts.

Kann ich aus irgendwelchen Logs ersehen, wo das Problem liegt?

Grüße,

Ralf Moll
de_ramon
Beiträge: 9
Registriert: 07 Jul 2009, 21:19
Wohnort: Heidelberg

Re: OPSI v3.4 in UCS v2.4 einbinden

Beitrag von de_ramon »

Hallo Herr Schneider,

durch Testen wurde klar, dass der Befehl

Code: Alles auswählen

# 99opsi4ucs.inst
...
univention-directory-manager settings/extended_attribute remove $@ \ 
        --dn="cn=opsiHostId,cn=custom attributes,cn=univention,$ROOT_DN" || true 
...
Den Fehler

Code: Alles auswählen

E: object not found
erzeugt.

Grüße,

Ralf Moll
Benutzeravatar
j.schneider
uib-Team
Beiträge: 1804
Registriert: 29 Mai 2008, 15:14

Re: OPSI v3.4 in UCS v2.4 einbinden

Beitrag von j.schneider »

Führen Sie das join-Skript bitte einmal manuell aus:

Code: Alles auswählen

bash /usr/lib/univention-install/99opsi4ucs.inst
de_ramon
Beiträge: 9
Registriert: 07 Jul 2009, 21:19
Wohnort: Heidelberg

Re: OPSI v3.4 in UCS v2.4 einbinden

Beitrag von de_ramon »

Hallo,

vielleicht hilft ihnen das weiter:

Code: Alles auswählen

root@wwwsg02v:/# ldapsearch -x -L -s base -b "cn=products,cn=opsi,dc=surfclub,dc=lan" | grep '^dn:' 1>/dev/null 2>/dev/null 
No such object (32)
Matched DN: cn=opsi,dc=surfclub,dc=lan

Code: Alles auswählen

root@wwwsg02v:/# ldapsearch -x -L -s base -b "cn=products,cn=opsi,dc=surfclub,dc=lan"
version: 1

#
# LDAPv3
# base <cn=products,cn=opsi,dc=surfclub,dc=lan> with scope baseObject
# filter: (objectclass=*)
# requesting: ALL
#

# search result
No such object (32)
Matched DN: cn=opsi,dc=surfclub,dc=lan

# numResponses: 1
root@wwwsg02v:/# ldapsearch -x -L -s base -b "cn=opsi,dc=surfclub,dc=lan"
version: 1

#
# LDAPv3
# base <cn=opsi,dc=surfclub,dc=lan> with scope baseObject
# filter: (objectclass=*)
# requesting: ALL
#

# opsi, surfclub.lan
dn: cn=opsi,dc=surfclub,dc=lan
objectClass: top
objectClass: organizationalRole
cn: opsi

# search result

# numResponses: 2
# numEntries: 1
root@wwwsg02v:/# 
Grüße,

Ralf Moll
de_ramon
Beiträge: 9
Registriert: 07 Jul 2009, 21:19
Wohnort: Heidelberg

Re: OPSI v3.4 in UCS v2.4 einbinden

Beitrag von de_ramon »

Hallo Herr Schneider,

hier auch nochmal der Befehl einzeln gestartet:

Code: Alles auswählen

root@wwwsg02v:~# bash /usr/lib/univention-install/99opsi4ucs.inst

Running on UCS Master
Testing ldap connection to wwwsg02v.www.surfclub.lan

System information
     UCS version      : 2.4
     UCS patchlevel   : 0
     TFTP root        : /var/lib/univention-client-boot
     UCS role         : domaincontroller_master
     Opsi server role : configserver
     Root dn          : dc=surfclub,dc=lan
     LDAP master      : wwwsg02v.www.surfclub.lan
     LDAP user        : cn=wwwsg02v,cn=dc,cn=computers,dc=surfclub,dc=lan
     Hostname         : wwwsg02v
     Domain           : www.surfclub.lan
     FQDN             : wwwsg02v.www.surfclub.lan
     IP-Address       : 10.100.0.100
     Netmask          : 255.255.0.0
     Gateway          : 10.100.0.1
     Subnet           : 10.100.0.0
     Broadcast        : 10.100.255.255
     Windomain        : SURFCLUB-WWW
E: object not found
--- Configure opsi backend ----------------------------------------------------------------------------------------------------
Adding system users and groups...
WARNING: cannot append uid=Administrator,cn=users,dc=surfclub,dc=lan to users, value exists
No modification: cn=opsiadmin,cn=groups,dc=surfclub,dc=lan
Creating container for samba shares
Object exists
 * Reloading internet superserver inetd                                                                                                               [ ok ] 
Linking tftpboot files into /var/lib/univention-client-boot
Setting file permissions
No such object (32)
Matched DN: cn=opsi,dc=surfclub,dc=lan
Creating opsi base
Traceback:
     line 1448 in '<module>' in file '/usr/bin/opsi-admin'
     line 439 in 'exit' in file '/usr/bin/opsi-admin'
     ==>>> Failed to execute 'method createOpsiBase': {'info': 'no write access to parent', 'desc': 'Insufficient access'}
ERROR: Failed to execute 'method createOpsiBase': {'info': 'no write access to parent', 'desc': 'Insufficient access'}
root@wwwsg02v:~# 
Grüße,

Ralf Moll
Benutzeravatar
j.schneider
uib-Team
Beiträge: 1804
Registriert: 29 Mai 2008, 15:14

Re: OPSI v3.4 in UCS v2.4 einbinden

Beitrag von j.schneider »

Hallo Herr Moll,

opsi 3.4 ist für ucs 2.4 noch nicht offiziell freigegeben.
Ich habe soeben neue Pakete in unserem Repository auf download.uib.de bereitgestellt.
Bitte versuchen Sie es mit diesen noch einmal.

Code: Alles auswählen

apt-get update
apt-get dist-upgrade
Gruß,
Jan Schneider
de_ramon
Beiträge: 9
Registriert: 07 Jul 2009, 21:19
Wohnort: Heidelberg

Re: OPSI v3.4 in UCS v2.4 einbinden

Beitrag von de_ramon »

Hallo Herr Schneider,

vielen Dank, jetzt klappt es.

Die Fehlermeldungen während der Installation sind jedoch immer noch da, aber er "joined" jetzt automatisch:

Code: Alles auswählen

aptitude install opsi4ucs opsipxeconfd

root@wwwsg02v:~/install/deb# aptitude install aptitude install opsi4ucs opsipxeconfd
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut       
Lese Status-Informationen ein... Fertig
Lese erweiterte Statusinformationen      
Initialisiere Paketstatus... Fertig
Lese Task-Beschreibungen... Fertig 
Konnte Paket »install« nicht finden, aber die folgenden Pakete
enthalten »install« in ihrem Namen:
  univention-installer-modules univention-installer univention-net-installer ttf-mscorefonts-installer 
  univention-windows-installer-image-linux univention-windows-installer univention-server-installer 
Konnte Paket »install« nicht finden, aber die folgenden Pakete
enthalten »install« in ihrem Namen:
  univention-installer-modules univention-installer univention-net-installer ttf-mscorefonts-installer 
  univention-windows-installer-image-linux univention-windows-installer univention-server-installer 
Die folgenden Pakete sind KAPUTT:
  atftpd 
Die folgenden NEUEN Pakete werden zusätzlich installiert:
  duplicity{a} librsync1{a} opsi-atftpd{a} opsi-configed{a} opsi-linux-bootimage{a} opsi-utils{a} opsi4ucs 
  opsiconfd{a} opsipxeconfd python-crypto{a} python-gnupginterface{a} python-mysqldb{a} python-newt{a} 
  python-opsi{a} python-twisted{a} python-twisted-bin{a} python-twisted-conch{a} python-twisted-core{a} 
  python-twisted-lore{a} python-twisted-mail{a} python-twisted-names{a} python-twisted-news{a} 
  python-twisted-runner{a} python-twisted-web{a} python-twisted-words{a} python-zopeinterface{a} 
0 Pakete aktualisiert, 26 zusätzlich installiert, 0 werden entfernt und 0 nicht aktualisiert.
Muss 72,7MB an Archiven herunterladen. Nach dem Entpacken werden 88,7MB zusätzlich belegt sein.
Die folgenden Pakete haben verletzte Abhängigkeiten:
  atftpd: Kollidiert: tftpd, welches ein virtuelles Paket ist.
Die folgenden Aktionen werden diese Abhängigkeiten auflösen:

Entferne die folgenden Pakete:
atftpd

Bewertungsnote beträgt -239

Diese Lösung akzeptieren? [Y/n/q/?] y
Die folgenden NEUEN Pakete werden zusätzlich installiert:
  duplicity{a} librsync1{a} opsi-atftpd{a} opsi-configed{a} opsi-linux-bootimage{a} opsi-utils{a} opsi4ucs 
  opsiconfd{a} opsipxeconfd python-crypto{a} python-gnupginterface{a} python-mysqldb{a} python-newt{a} 
  python-opsi{a} python-twisted{a} python-twisted-bin{a} python-twisted-conch{a} python-twisted-core{a} 
  python-twisted-lore{a} python-twisted-mail{a} python-twisted-names{a} python-twisted-news{a} 
  python-twisted-runner{a} python-twisted-web{a} python-twisted-words{a} python-zopeinterface{a} 
Die folgenden Pakete werden ENTFERNT:
  atftpd{a} 
0 Pakete aktualisiert, 26 zusätzlich installiert, 1 werden entfernt und 0 nicht aktualisiert.
Muss 72,7MB an Archiven herunterladen. Nach dem Entpacken werden 88,5MB zusätzlich belegt sein.
Wollen Sie fortsetzen? [Y/n/?] y
WARNUNG: nichtvertrauenswürdige Versionen der folgenden Pakete werden installiert!

Nichtvertrauenswürdige Pakete können die Sicherheit Ihres Systems gefährden.
Sie sollten nur dann mit der Installation fortfahren, wenn Sie sicher sind, dass
Sie dies wirklich wollen.

  python-crypto python-zopeinterface python-twisted-names python-twisted-core python-twisted-web python-mysqldb 
  python-twisted-runner python-newt opsipxeconfd opsi-linux-bootimage opsi-utils python-opsi duplicity 
  python-twisted-mail python-twisted-lore python-twisted-conch python-twisted-news python-twisted-words 
  python-gnupginterface python-twisted opsi-configed opsi4ucs opsiconfd opsi-atftpd librsync1 python-twisted-bin 

*** WARNUNG ***   Ignoriere diese Vertrauensverletzungen, da
                  Apt::Get::AllowUnauthenticated »true« ist!
Schreibe erweiterte Statusinformationen... Fertig
Hole:1 http://wwwsg02v.www.surfclub.lan 2.4-0/i386/ python-crypto 2.0.1+dfsg1-2.3.8.200910161908 [222kB]
Hole:2 http://download.uib.de ucs2.0/opsi3.4 opsi-configed 1.4.22-1 [1677kB]                   
Hole:3 http://apt.univention.de 2.4-0/i386/ python-newt 0.52.2-11.3.21.201007281430 [54,6kB]
Hole:4 http://apt.univention.de 2.4-0/i386/ librsync1 0.9.7-5.8.201007281427 [69,3kB]
Hole:5 http://apt.univention.de 2.4-0/all/ python-gnupginterface 0.3.2-9.8.201007281425 [20,6kB]
Hole:6 http://apt.univention.de 2.4-0/i386/ duplicity 0.4.11-2.7.201007291549 [128kB]
Hole:7 http://apt.univention.de 2.4-0/i386/ python-twisted-bin 8.1.0-4.10.201007281432 [29,8kB]
Hole:8 http://apt.univention.de 2.4-0/i386/ python-zopeinterface 3.3.1-7.10.201007281449 [135kB]
Hole:9 http://apt.univention.de 2.4-0/all/ python-twisted-core 8.1.0-4.10.201007281432 [924kB]
Hole:10 http://download.uib.de ucs2.0/opsi3.4 opsi-atftpd 0.7.dfsg-1.4 [58,5kB]                                          
Hole:11 http://download.uib.de ucs2.0/opsi3.4 python-opsi 3.4.0.14-1 [563kB]                                             
Hole:12 http://download.uib.de ucs2.0/opsi3.4 opsiconfd 2.0.0.25-1 [29,9kB]                                              
Hole:13 http://download.uib.de ucs2.0/opsi3.4 opsi-linux-bootimage 20100901-1 [67,5MB]                                   
Hole:14 http://apt.univention.de 2.4-0/all/ python-twisted-web 8.1.0-1.8.201007281446 [327kB]                            
Hole:15 http://apt.univention.de 2.4-0/all/ python-twisted-conch 1:8.1.0-1.9.201007281434 [219kB]                        
Hole:16 http://apt.univention.de 2.4-0/i386/ python-mysqldb 1.2.2-7 [95,9kB]                                             
Hole:17 http://apt.univention.de 2.4-0/all/ python-twisted-mail 8.1.0-2.7.201007281437 [173kB]                           
Hole:18 http://apt.univention.de 2.4-0/all/ python-twisted-lore 8.1.0-1.7.201007281436 [78,3kB]                          
Hole:19 http://apt.univention.de 2.4-0/all/ python-twisted-names 8.1.0-1.7.201007281439 [52,6kB]                         
Hole:20 http://apt.univention.de 2.4-0/all/ python-twisted-news 8.1.0-1.7.201007281441 [26,6kB]                          
Hole:21 http://apt.univention.de 2.4-0/i386/ python-twisted-runner 8.0.0-1.7.201007281444 [18,7kB]                       
Hole:22 http://apt.univention.de 2.4-0/all/ python-twisted-words 8.1.0-2.7.201007281447 [214kB]                          
Hole:23 http://apt.univention.de 2.4-0/all/ python-twisted 8.1.0-4.10.201007281432 [10,7kB]                              
Hole:24 http://download.uib.de ucs2.0/opsi3.4 opsi-utils 3.4-4 [47,1kB]                                                  
Hole:25 http://download.uib.de ucs2.0/opsi3.4 opsipxeconfd 0.3.8-1 [11,7kB]                                              
Hole:26 http://download.uib.de ucs2.0/opsi3.4 opsi4ucs 3.4-12 [11,8kB]                                                   
72,7MB wurden in 3min40s heruntergeladen (330kB/s)                                                                       
Vorkonfiguration der Pakete ...
dpkg: atftpd: Abhängigkeitsprobleme, aber entferne es auf Anfrage dennoch:
 univention-tftp hängt ab von atftpd.
(Lese Datenbank ... 150622 Dateien und Verzeichnisse sind derzeit installiert.)
Entferne atftpd ...
Verarbeite Trigger für man-db ...
Wähle vormals abgewähltes Paket python-newt.
(Lese Datenbank ... 150608 Dateien und Verzeichnisse sind derzeit installiert.)
Entpacke python-newt (aus .../python-newt_0.52.2-11.3.21.201007281430_i386.deb) ...
Wähle vormals abgewähltes Paket librsync1.
Entpacke librsync1 (aus .../librsync1_0.9.7-5.8.201007281427_i386.deb) ...
Wähle vormals abgewähltes Paket python-gnupginterface.
Entpacke python-gnupginterface (aus .../python-gnupginterface_0.3.2-9.8.201007281425_all.deb) ...
Wähle vormals abgewähltes Paket duplicity.
Entpacke duplicity (aus .../duplicity_0.4.11-2.7.201007291549_i386.deb) ...
Wähle vormals abgewähltes Paket opsi-configed.
Entpacke opsi-configed (aus .../opsi-configed_1.4.22-1_all.deb) ...
Wähle vormals abgewähltes Paket opsi-atftpd.
Entpacke opsi-atftpd (aus .../opsi-atftpd_0.7.dfsg-1.4_i386.deb) ...
Wähle vormals abgewähltes Paket python-twisted-bin.
Entpacke python-twisted-bin (aus .../python-twisted-bin_8.1.0-4.10.201007281432_i386.deb) ...
Wähle vormals abgewähltes Paket python-zopeinterface.
Entpacke python-zopeinterface (aus .../python-zopeinterface_3.3.1-7.10.201007281449_i386.deb) ...
Wähle vormals abgewähltes Paket python-twisted-core.
Entpacke python-twisted-core (aus .../python-twisted-core_8.1.0-4.10.201007281432_all.deb) ...
Wähle vormals abgewähltes Paket python-twisted-web.
Entpacke python-twisted-web (aus .../python-twisted-web_8.1.0-1.8.201007281446_all.deb) ...
Wähle vormals abgewähltes Paket python-crypto.
Entpacke python-crypto (aus .../python-crypto_2.0.1+dfsg1-2.3.8.200910161908_i386.deb) ...
Wähle vormals abgewähltes Paket python-twisted-conch.
Entpacke python-twisted-conch (aus .../python-twisted-conch_1%3a8.1.0-1.9.201007281434_all.deb) ...
Wähle vormals abgewähltes Paket python-mysqldb.
Entpacke python-mysqldb (aus .../python-mysqldb_1.2.2-7_i386.deb) ...
Wähle vormals abgewähltes Paket python-opsi.
Entpacke python-opsi (aus .../python-opsi_3.4.0.14-1_all.deb) ...
Wähle vormals abgewähltes Paket python-twisted-mail.
Entpacke python-twisted-mail (aus .../python-twisted-mail_8.1.0-2.7.201007281437_all.deb) ...
Wähle vormals abgewähltes Paket python-twisted-lore.
Entpacke python-twisted-lore (aus .../python-twisted-lore_8.1.0-1.7.201007281436_all.deb) ...
Wähle vormals abgewähltes Paket python-twisted-names.
Entpacke python-twisted-names (aus .../python-twisted-names_8.1.0-1.7.201007281439_all.deb) ...
Wähle vormals abgewähltes Paket python-twisted-news.
Entpacke python-twisted-news (aus .../python-twisted-news_8.1.0-1.7.201007281441_all.deb) ...
Wähle vormals abgewähltes Paket python-twisted-runner.
Entpacke python-twisted-runner (aus .../python-twisted-runner_8.0.0-1.7.201007281444_i386.deb) ...
Wähle vormals abgewähltes Paket python-twisted-words.
Entpacke python-twisted-words (aus .../python-twisted-words_8.1.0-2.7.201007281447_all.deb) ...
Wähle vormals abgewähltes Paket python-twisted.
Entpacke python-twisted (aus .../python-twisted_8.1.0-4.10.201007281432_all.deb) ...
Wähle vormals abgewähltes Paket opsiconfd.
Entpacke opsiconfd (aus .../opsiconfd_2.0.0.25-1_all.deb) ...
Wähle vormals abgewähltes Paket opsi-linux-bootimage.
Entpacke opsi-linux-bootimage (aus .../opsi-linux-bootimage_20100901-1_all.deb) ...
Wähle vormals abgewähltes Paket opsi-utils.
Entpacke opsi-utils (aus .../opsi-utils_3.4-4_all.deb) ...
Wähle vormals abgewähltes Paket opsipxeconfd.
Entpacke opsipxeconfd (aus .../opsipxeconfd_0.3.8-1_all.deb) ...
Wähle vormals abgewähltes Paket opsi4ucs.
Entpacke opsi4ucs (aus .../opsi4ucs_3.4-12_all.deb) ...
Verarbeite Trigger für man-db ...
Verarbeite Trigger für menu ...
Richte python-newt ein (0.52.2-11.3.21.201007281430) ...
Richte librsync1 ein (0.9.7-5.8.201007281427) ...
Richte python-gnupginterface ein (0.3.2-9.8.201007281425) ...
Richte duplicity ein (0.4.11-2.7.201007291549) ...
Richte opsi-configed ein (1.4.22-1) ...
Richte opsi-atftpd ein (0.7.dfsg-1.4) ...
Richte python-twisted-bin ein (8.1.0-4.10.201007281432) ...
Richte python-zopeinterface ein (3.3.1-7.10.201007281449) ...
Richte python-twisted-core ein (8.1.0-4.10.201007281432) ...
Richte python-twisted-web ein (8.1.0-1.8.201007281446) ...
Richte python-crypto ein (2.0.1+dfsg1-2.3.8.200910161908) ...
Richte python-twisted-conch ein (1:8.1.0-1.9.201007281434) ...
Richte python-mysqldb ein (1.2.2-7) ...
Richte python-opsi ein (3.4.0.14-1) ...
Richte python-twisted-mail ein (8.1.0-2.7.201007281437) ...
Richte python-twisted-lore ein (8.1.0-1.7.201007281436) ...
Richte python-twisted-names ein (8.1.0-1.7.201007281439) ...
Richte python-twisted-news ein (8.1.0-1.7.201007281441) ...
Richte python-twisted-runner ein (8.0.0-1.7.201007281444) ...
Richte python-twisted-words ein (8.1.0-2.7.201007281447) ...
Richte python-twisted ein (8.1.0-4.10.201007281432) ...
Richte opsiconfd ein (2.0.0.25-1) ...
Starting opsi config service....   (done).
Richte opsi-linux-bootimage ein (20100901-1) ...
Richte opsi-utils ein (3.4-4) ...
Richte opsipxeconfd ein (0.3.8-1) ...
Starting opsi pxe configuration service............   (failed).
invoke-rc.d: initscript opsipxeconfd, action "start" failed.
Richte opsi4ucs ein (3.4-12) ...

Running on UCS Master
Testing ldap connection to wwwsg02v.www.surfclub.lan

System information
     UCS version      : 2.4
     UCS patchlevel   : 0
     TFTP root        : /var/lib/univention-client-boot
     UCS role         : domaincontroller_master
     Opsi server role : configserver
     Root dn          : dc=surfclub,dc=lan
     LDAP master      : wwwsg02v.www.surfclub.lan
     LDAP user        : cn=wwwsg02v,cn=dc,cn=computers,dc=surfclub,dc=lan
     Hostname         : wwwsg02v
     Domain           : www.surfclub.lan
     FQDN             : wwwsg02v.www.surfclub.lan
     IP-Address       : 10.100.0.100
     Netmask          : 255.255.0.0
     Gateway          : 10.100.0.1
     Subnet           : 10.100.0.0
     Broadcast        : 10.100.255.255
     Windomain        : SURFCLUB-WWW
E: object not found
Adding system users and groups...
Adding group OPSI Depot Servers
Object created: cn=OPSI Depot Servers,cn=groups,dc=surfclub,dc=lan
Object modified: cn=OPSI Depot Servers,cn=groups,dc=surfclub,dc=lan
Adding group pcpatch
Object created: cn=pcpatch,cn=groups,dc=surfclub,dc=lan
Adding group opsiadmin
Object created: cn=opsiadmin,cn=groups,dc=surfclub,dc=lan
Adding user pcpatch
Object created: uid=pcpatch,cn=users,dc=surfclub,dc=lan
Object modified: cn=opsiadmin,cn=groups,dc=surfclub,dc=lan
Creating container for samba shares
Object exists
Adding samba share opt_pcbin
Object created: cn=opt_pcbin,cn=wwwsg02v.www.surfclub.lan,cn=shares,dc=surfclub,dc=lan
Adding samba share opsi_workbench
Object created: cn=opsi_workbench,cn=wwwsg02v.www.surfclub.lan,cn=shares,dc=surfclub,dc=lan
Adding dhcpStatement: use-host-decl-names on
 * Reloading internet superserver inetd                                                                           [ ok ] 
Linking tftpboot files into /var/lib/univention-client-boot
Setting file permissions
No such object (32)
Matched DN: cn=opsi,dc=surfclub,dc=lan
Creating opsi base
Creating config server wwwsg02v.www.surfclub.lan
Creating depot server wwwsg02v.www.surfclub.lan
Multifile: /var/www/ucs-overview/de.html
sys:1: DeprecationWarning: Non-ASCII character '\xc3' in file <stdin> on line 11, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
Multifile: /var/www/ucs-overview/en.html
Restarting services
Stopping opsi config service...   (done).
Starting opsi config service....   (done).
Stopping opsi pxe configuration service...   (not running).
Starting opsi pxe configuration service...   (done).
Log join script success
Done
Multifile: /var/www/ucs-overview/en.html
Multifile: /var/www/ucs-overview/de.html
sys:1: DeprecationWarning: Non-ASCII character '\xc3' in file <stdin> on line 11, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
Verarbeite Trigger für python-support ...
Verarbeite Trigger für menu ...
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Paketlisten werden gelesen... Fertig             
Abhängigkeitsbaum wird aufgebaut       
Lese Status-Informationen ein... Fertig
Lese erweiterte Statusinformationen      
Initialisiere Paketstatus... Fertig
Schreibe erweiterte Statusinformationen... Fertig
Lese Task-Beschreibungen... Fertig  

Code: Alles auswählen

univention-run-join-scripts
...
Running 90univention-bind-proxy.inst                       skipped (already executed)
Running 91univention-client-boot-pxe.inst                  skipped (already executed)
Running 98univention-pkgdb-tools.inst                      skipped (already executed)
Running 99opsi4ucs.inst                                    skipped (already executed)
Vielen Dank,

Ralf Moll
de_ramon
Beiträge: 9
Registriert: 07 Jul 2009, 21:19
Wohnort: Heidelberg

Re: OPSI v3.4 in UCS v2.4 einbinden

Beitrag von de_ramon »

Hallo Herr Schneider,

das nächste Problem trifft mich beim PXE / TFTP. Ich dachte OPSI richtet das aufgrund der Abhängigkeiten, aber es war wohl noch der TFTP vom UCS im Wege

Code: Alles auswählen

root@wwwsg02v:/home/opsiproducts# aptitude remove univention-tftp
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut       
Lese Status-Informationen ein... Fertig
Lese erweiterte Statusinformationen      
Initialisiere Paketstatus... Fertig
Lese Task-Beschreibungen... Fertig 
Die folgenden Pakete sind KAPUTT:
  univention-client-boot-pxe 
Die folgenden Pakete werden ENTFERNT:
  univention-tftp 
0 Pakete aktualisiert, 0 zusätzlich installiert, 1 werden entfernt und 0 nicht aktualisiert.
Muss 0B an Archiven herunterladen. Nach dem Entpacken werden 90,1kB frei werden.
Die folgenden Pakete haben verletzte Abhängigkeiten:
  univention-client-boot-pxe: Hängt ab: univention-tftp ist aber nicht installationsfähig
Die folgenden Aktionen werden diese Abhängigkeiten auflösen:

Entferne die folgenden Pakete:
opsi4ucs
univention-client-boot-pxe
univention-net-installer
univention-thin-client

Bewertungsnote beträgt -34

Diese Lösung akzeptieren? [Y/n/q/?] 
Habe ihn dann deinstalliert und OPSI neu installiert.

Der univention-tftp wird dann aber wieder mit installiert.

Ich schaue mir das nochmal in Ruhe an.

Habe in der Doku nichts genaues zu UCS <-> OPSI in Bezug auf PXE gefunden.

Noch eine Frage:
Sollten die Clients, die ich im UCS-UDM eingerichtet habe, nicht im OPSI Configuration Editor erscheinen? Oder muss ich die Clients doppelt einpflegen?

Ein schönes Wochenende,

Ralf Moll
Antworten