Install- & Uninstall-Sub: File not found

Antworten
BruisE
Beiträge: 5
Registriert: 14 Mär 2014, 11:33

Install- & Uninstall-Sub: File not found

Beitrag von BruisE »

Liebe Community,
Liebes OPSI-Team,

ich beschäftige mich nun schon seit etlichen Wochen mit OPSI und finde es eine geniale Software! (macht das Leben von Administratoren wesentlich leichter)

Ich habe letzte Woche leider meinen Ubuntuserver bei der Festplattenerweiterung gekillt und musste den Server neu installieren. Nun bin ich nach der Neuinstallation auf einige Probleme gestoßen.
Nach der Installation habe ich wieder die Unattendet Win7 Installation installiert, die Winpe und installfiles reingeschoben und wie sichs gehört mit "opsi-setup --set-rights" die Berechtigungen auf die zwei Ordner vergeben.
Leider hatte ich danach immer noch ein Berechtigungsproblem und ich musste die Berechtigungen manuell mit CHMOD vergeben (Verzwiflungstat 777).

Nun bin ich auf ein weiteres Problem gestoßen. Habe ich doch neue Installations-Scripts geschrieben und installiert. Beim Ersten musste ich im Winbatch "msiexec /i <install.msi>" anstelle des direkten aufrufs der msi + parameter angeben, ansonsten stand im Log die Meldung "File not found" (ähnlich wie unten).

Beim zweiten Script ist es nun auch so, hier kann ich aber den Weg über die "msiexec" nicht gehen...

Code: Alles auswählen

[5] [Jun 30 09:33:24:389] [c-plus-plus-2010-x86-redistributable]       Execution of Winbatch_6_64_install
[4] [Jun 30 09:33:24:389] [c-plus-plus-2010-x86-redistributable]         Warning: file not found :'P:\c-plus-plus-2010-x86-redistributable\setup\vcredist_x86.exe'  -retrying
[4] [Jun 30 09:33:24:795] [c-plus-plus-2010-x86-redistributable]         Warning: file not found :'P:\c-plus-plus-2010-x86-redistributable\setup\vcredist_x86.exe'  -retrying
[4] [Jun 30 09:33:25:228] [c-plus-plus-2010-x86-redistributable]         Warning: file not found :'P:\c-plus-plus-2010-x86-redistributable\setup\vcredist_x86.exe'  -retrying
[4] [Jun 30 09:33:25:661] [c-plus-plus-2010-x86-redistributable]         Warning: file not found :'P:\c-plus-plus-2010-x86-redistributable\setup\vcredist_x86.exe'  -retrying
[4] [Jun 30 09:33:26:068] [c-plus-plus-2010-x86-redistributable]         Warning: file not found :'P:\c-plus-plus-2010-x86-redistributable\setup\vcredist_x86.exe'  -retrying
[4] [Jun 30 09:33:26:478] [c-plus-plus-2010-x86-redistributable]         Warning: file not found :'P:\c-plus-plus-2010-x86-redistributable\setup\vcredist_x86.exe'  -retrying
[4] [Jun 30 09:33:26:878] [c-plus-plus-2010-x86-redistributable]         Warning: file not found :'P:\c-plus-plus-2010-x86-redistributable\setup\vcredist_x86.exe'  -retrying
[4] [Jun 30 09:33:27:288] [c-plus-plus-2010-x86-redistributable]         Warning: file not found :'P:\c-plus-plus-2010-x86-redistributable\setup\vcredist_x86.exe'  -retrying
[4] [Jun 30 09:33:27:689] [c-plus-plus-2010-x86-redistributable]         Warning: file not found :'P:\c-plus-plus-2010-x86-redistributable\setup\vcredist_x86.exe'  -retrying
[4] [Jun 30 09:33:28:089] [c-plus-plus-2010-x86-redistributable]         Warning: file not found :'P:\c-plus-plus-2010-x86-redistributable\setup\vcredist_x86.exe'  -retrying
[4] [Jun 30 09:33:28:489] [c-plus-plus-2010-x86-redistributable]         Warning: file not found :'P:\c-plus-plus-2010-x86-redistributable\setup\vcredist_x86.exe'  - giving up
[6] [Jun 30 09:33:28:489] [c-plus-plus-2010-x86-redistributable]         Call "'P:\c-plus-plus-2010-x86-redistributable\setup\vcredist_x86.exe' /q /norestart /log 'C:\tmp\c-plus-plus-2010-x86-redistributable.install_log.txt'"
[6] [Jun 30 09:33:28:489] [c-plus-plus-2010-x86-redistributable]            Waiting until the called process is finished
[6] [Jun 30 09:33:28:489] [c-plus-plus-2010-x86-redistributable]         Start process as invoker: SYSTEM
[3] [Jun 30 09:33:28:491] [c-plus-plus-2010-x86-redistributable]         Exception in StartProcess_cp: Failed to execute 'P:\c-plus-plus-2010-x86-redistributable\setup\vcredist_x86.exe' /q /norestart /log 'C:\tmp\c-plus-plus-2010-x86-redistributable.install_log.txt' : 2
Die Datei existiert und im Pfad ist auch kein Schreibfehler, da ich das per Copy&Paste übernommen habe aus dem Explorer.


Kennt jemand das Problem oder hat eine wegweisende Idee?



Liebe Grüße
BruisE
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: Install- & Uninstall-Sub: File not found

Beitrag von n.wenselowski »

Hallo BruisE,

Code: Alles auswählen

opsi-setup --auto-configure-samba
wurde bereits probiert?

Ansonsten:
Auf welchem OS mit welcher Version von Samba läuft das Ganze?


Gruß

Niko

Code: Alles auswählen

import OPSI
BruisE
Beiträge: 5
Registriert: 14 Mär 2014, 11:33

Re: Install- & Uninstall-Sub: File not found

Beitrag von BruisE »

Vielen lieben Dank für die extrem flotte Antwort :o ,

Code: Alles auswählen

root@RP-OPSI-01:~# opsi-setup --auto-configure-samba
[5] [Jun 30 10:13:08] Configuring samba (opsi-setup|176)
Habe ich eben gerade versucht, leider ohne Erfolg.


Einmal die Ubuntu Version:

Code: Alles auswählen

root@RP-OPSI-01:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04 LTS
Release:        14.04
Codename:       trusty
Und einmal Samba:

Code: Alles auswählen

root@RP-OPSI-01:~# smbstatus

Samba version 4.1.6-Ubuntu
Ich habe auch gesehen dass Samba die Dateien Sperrt:

Code: Alles auswählen

Locked files:
Pid          Uid        DenyMode   Access      R/W        Oplock           SharePath   Name   Time
--------------------------------------------------------------------------------------------------
30183        992        DENY_NONE  0x100081    RDONLY     NONE             /var/lib/opsi/depot   c-plus-plus-2010-x86-redistributable   Mon Jun 30 10:25:11 2014
30183        992        DENY_NONE  0x100081    RDONLY     NONE             /home/opsiproducts   c-plus-plus-2010-x86-redistributable/CLIENT_DATA   Mon Jun 30 10:25:11 2014
30183        992        DENY_NONE  0x100081    RDONLY     NONE             /var/lib/opsi/depot   c-plus-plus-2010-x86-redistributable/setup   Mon Jun 30 10:25:11 2014
30183        992        DENY_NONE  0x100081    RDONLY     NONE             /home/opsiproducts   c-plus-plus-2010-x86-redistributable   Mon Jun 30 10:25:11 2014
Habe die Dateien freigegeben mit "Kill 30183", nochmal eine Push Installation angestossen und dann waren die Files gleich wieder gesperrt.
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: Install- & Uninstall-Sub: File not found

Beitrag von n.wenselowski »

Hallo BruisE,

einfache Antwort: opsi ist noch nicht für Ubuntu 14.04 freigegeben.
Das wird mit dem nächsten Release sein und ab dann sollte auch alles wieder reibungslos funktionieren.

Für die Zwischenzeit würde ich auf das gut abgehangene 12.04 setzen, welches ebenfalls ein LTS ist.
Wenn du sowieso mit virtuellen Maschinen arbeitest und dir das aufsetzen sparen willst, empfehle ich die Verwendung der Demo-VM.


Gruß

Niko

Code: Alles auswählen

import OPSI
BruisE
Beiträge: 5
Registriert: 14 Mär 2014, 11:33

Re: Install- & Uninstall-Sub: File not found

Beitrag von BruisE »

Ok, das geht wohl auf meine Kappe ;).

Wann ist denn der nächste Release angedacht?
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: Install- & Uninstall-Sub: File not found

Beitrag von n.wenselowski »

Hallo BruisE,
BruisE hat geschrieben:Wann ist denn der nächste Release angedacht?
Wann auch immer wir den Stand als gereift genug erachten ;)
Für die meisten Teile ist Code Freeze und ich hoffe demnächst auf die ersten experimental builds. Konkretes Datum kann ich leider noch nicht nennen.


Gruß

Niko

Code: Alles auswählen

import OPSI
Antworten