Seite 2 von 3
Re: OPSI Client Agent kann nicht ausgeführt werden.
Verfasst: 16 Jun 2020, 12:19
von Panda
@SisterOfMercy
alles is okay. what is here describet
https://download.uib.de/opsi4.1/testing ... and-groups
I wrote \\10.128.64.28\ ip-address is only example
then in new window adminuser and password.
but it does not work. the error I trannslate to english "look if name is correctly wroten, posibble there is netwerk problems"
errorcode: 0x80070043
I had set password for pcpatch but it does not work also.
Where is mistake?
addendum
I looked in the datei log smbd
there stands: STATUS=daemon smbd finished starting up and ready to serve connections.
In the path /var/log/samba
I see, there are files log.my-ip-addresse form client and log.nyhostname form client too.
Who is my mistake here?
Re: OPSI Client Agent kann nicht ausgeführt werden.
Verfasst: 16 Jun 2020, 14:46
von SisterOfMercy
Schreiben Sie bitte auf Deutsch
Panda hat geschrieben:I wrote \\10.128.64.28\ ip-address is only example
then in new window adminuser and password.
I looked in the datei log smbd
there stands: STATUS=daemon smbd finished starting up and ready to serve connections.
In the path /var/log/samba
I see, there are files log.my-ip-addresse form client and log.nyhostname form client too.
I don't know what has gone wrong. If something arrives at the samba daemons we know the firewall is not in the way. Have you set selinux/apparmor/whatever to permissive, or is the logging for this correctly setup? Then you should be able to find in the logs if there is a block because of this.
Can you share the samba logfiles?
Re: OPSI Client Agent kann nicht ausgeführt werden.
Verfasst: 16 Jun 2020, 15:50
von Panda
Ich verstehe diese frage nicht, wo ich was ändern soll.
(
Have you set selinux/apparmor/whatever to permissive, or is the logging for this correctly setup? Then you should be able to find in the logs if there is a block because of this.)
Mein Betriebsystem ist lubuntu.
log Datei von log.client-pc
Code: Alles auswählen
[2020/06/16 12:38:54.771614, 0] ../source3/param/loadparm.c:3354(process_usershare_file)
process_usershare_file: stat of /var/lib/samba/usershares/pcpatch failed. Permission denied
[2020/06/16 12:38:54.772313, 0] ../source3/param/loadparm.c:3354(process_usershare_file)
process_usershare_file: stat of /var/lib/samba/usershares/pcpatch failed. No such file or directory
[2020/06/16 12:38:54.772907, 0] ../source3/param/loadparm.c:3354(process_usershare_file)
process_usershare_file: stat of /var/lib/samba/usershares/pcpatch failed. No such file or directory
[2020/06/16 12:40:29.230736, 0] ../source3/param/loadparm.c:3354(process_usershare_file)
process_usershare_file: stat of /var/lib/samba/usershares/pcpatch failed. Permission denied
[2020/06/16 12:40:29.232363, 0] ../source3/param/loadparm.c:3354(process_usershare_file)
process_usershare_file: stat of /var/lib/samba/usershares/pcpatch failed. No such file or directory
[2020/06/16 12:40:36.722676, 0] ../source3/param/loadparm.c:3354(process_usershare_file)
process_usershare_file: stat of /var/lib/samba/usershares/pcpatch failed. Permission denied
[2020/06/16 12:40:36.725858, 0] ../source3/param/loadparm.c:3354(process_usershare_file)
process_usershare_file: stat of /var/lib/samba/usershares/pcpatch failed. No such file or directory
[2020/06/16 12:41:05.808433, 0] ../source3/param/loadparm.c:3354(process_usershare_file)
process_usershare_file: stat of /var/lib/samba/usershares/adminuser failed. Permission denied
[2020/06/16 12:41:05.810099, 0] ../source3/param/loadparm.c:3354(process_usershare_file)
process_usershare_file: stat of /var/lib/samba/usershares/adminuser failed. No such file or directory
[2020/06/16 13:38:07.831938, 0] ../source3/param/loadparm.c:3354(process_usershare_file)
process_usershare_file: stat of /var/lib/samba/usershares/adminuser failed. Permission denied
[2020/06/16 13:38:07.835552, 0] ../source3/param/loadparm.c:3354(process_usershare_file)
process_usershare_file: stat of /var/lib/samba/usershares/adminuser failed. No such file or directory
[2020/06/16 14:52:49.445776, 0] ../source3/param/loadparm.c:3354(process_usershare_file)
process_usershare_file: stat of /var/lib/samba/usershares/adminuser failed. Permission denied
[2020/06/16 14:52:49.448715, 0] ../source3/param/loadparm.c:3354(process_usershare_file)
process_usershare_file: stat of /var/lib/samba/usershares/adminuser failed. No such file or directory
[2020/06/16 14:54:54.819232, 0] ../source3/param/loadparm.c:3354(process_usershare_file)
process_usershare_file: stat of /var/lib/samba/usershares/pcpatch failed. Permission denied
[2020/06/16 14:54:54.822075, 0] ../source3/param/loadparm.c:3354(process_usershare_file)
process_usershare_file: stat of /var/lib/samba/usershares/pcpatch failed. No such file or directory
In der Datei log.smbd steht nur diese drei Eintrag von heute anderen sind von gestern.
Code: Alles auswählen
[2020/06/16 10:37:22.158329, 0] ../lib/util/become_daemon.c:124(daemon_ready)
STATUS=daemon 'smbd' finished starting up and ready to serve connections
[2020/06/16 11:45:44.257340, 0] ../lib/util/become_daemon.c:124(daemon_ready)
STATUS=daemon 'smbd' finished starting up and ready to serve connections
[2020/06/16 12:42:58.591451, 0] ../lib/util/become_daemon.c:124(daemon_ready)
STATUS=daemon 'smbd' finished starting up and ready to serve connections
Also wie von den Log-Daten sieht, habe ich kein Erlaubnis auf dem Ordner zu zugreifen.
Wie löse ich das Problem?
Re: OPSI Client Agent kann nicht ausgeführt werden.
Verfasst: 16 Jun 2020, 16:25
von SisterOfMercy
Panda hat geschrieben:log Datei von log.client-pc
Code: Alles auswählen
[2020/06/16 12:38:54.771614, 0] ../source3/param/loadparm.c:3354(process_usershare_file)
process_usershare_file: stat of /var/lib/samba/usershares/pcpatch failed. Permission denied
[2020/06/16 14:52:49.448715, 0] ../source3/param/loadparm.c:3354(process_usershare_file)
process_usershare_file: stat of /var/lib/samba/usershares/adminuser failed. No such file or directory[/quote]
So, you are still trying to connect to a nonexisting share. \\ip-address\pcpatch is not a valid share, nor does it specify to use that user name in this way.
[quote="Panda"]Ich verstehe diese frage nicht, wo ich was ändern soll.
([b]Have you set selinux/apparmor/whatever to permissive, or is the logging for this correctly setup? Then you should be able to find in the logs if there is a block because of this.[/b])
Mein Betriebsystem ist lubuntu.[/quote]
Ubuntu uses apparmor, and the samba service probably includes something to update this. (execstartpre, or something like that). But we can clearly see the error in the samba logs, so we don't have to worry about this now.
Re: OPSI Client Agent kann nicht ausgeführt werden.
Verfasst: 16 Jun 2020, 20:16
von Panda
Ich glaube sie haben was übersehen,
ich versuche nicht nur pcpatch sondern mit adminuser auch.
Code: Alles auswählen
[2020/06/16 13:38:07.831938, 0] ../source3/param/loadparm.c:3354(process_usershare_file)
process_usershare_file: stat of /var/lib/samba/usershares/adminuser failed. Permission denied
[2020/06/16 13:38:07.835552, 0] ../source3/param/loadparm.c:3354(process_usershare_file)
process_usershare_file: stat of /var/lib/samba/usershares/adminuser failed. No such file or directory
[2020/06/16 14:52:49.445776, 0] ../source3/param/loadparm.c:3354(process_usershare_file)
process_usershare_file: stat of /var/lib/samba/usershares/adminuser failed. Permission denied
[2020/06/16 14:52:49.448715, 0] ../source3/param/loadparm.c:3354(process_usershare_file)
\\ip-address\adminuser
oder nur IP-Address.
\\ip-address\
Nur Mit IP-Adresse funktioniert auch nicht.
Was meinen Sie mit dem "username"? Name vom Server Admin in meinem Fall adminuser, oder username von dem Client-Rechner?
Ich kann jetzt testen mit dem Name vom Client-User.
Re: OPSI Client Agent kann nicht ausgeführt werden.
Verfasst: 16 Jun 2020, 20:53
von Panda
Alo ich habe gerade mit dem Nutzer vom Client-Rechner versucht aber funktioniert nicht.
Ich kann aber sehn in der Datei log.Computername Nutzername,
und die Fehlermeldung.
failed. Permission deniden.
filed. No such file or directory.
Re: OPSI Client Agent kann nicht ausgeführt werden.
Verfasst: 16 Jun 2020, 22:09
von SisterOfMercy
Panda hat geschrieben:Ich glaube sie haben was übersehen,
ich versuche nicht nur pcpatch sondern mit adminuser auch.
\\ip-address\adminuser
oder nur IP-Address.
\\ip-address\
Nur Mit IP-Adresse funktioniert auch nicht.
I saw you also tried with adminuser, but that is also not a share, and I did not see in the logfiles that you were attempting with \\ip-address\, which is the one that should work. This should give you a list of shares available on the opsi server.
Panda hat geschrieben:
Was meinen Sie mit dem "username"? Name vom Server Admin in meinem Fall adminuser, oder username von dem Client-Rechner?
Ich kann jetzt testen mit dem Name vom Client-User.
adminuser is the username you want to use.
But when you tried to connect to \\ip-address\, did you get another error than 0x80070043 on the windows side?
Which version of lubuntu are you using, 18.04? Is this also with the ufw firewall? If so, show us the output of 'ufw status' (or 'sudo ufw status').
Re: OPSI Client Agent kann nicht ausgeführt werden.
Verfasst: 17 Jun 2020, 09:28
von Panda
Guten Morgen SisterOfMercy und danke schön, dass sie geduldig versuchen mir zu helfen.
Ich komme jetzt bis zur diese Stelle, wo ich folgende Sachen auswählen kann.
opsi_depot
opsi_depot_rw
opsi_images
opsi_logs
opsi_repository
opsi_workbench
Ich habe zum testen opsi_depot ausgewählt und hat funktioniert. Im Ordner kann ich aber Garnichts sehen.
Welche brauche ich auszuwählen um Client-Agent auf meinem Client zu installieren?
Und wie kann ich dann eine MSI Datei in OPSI umwandeln um mit opsi config editor nutzen zu können.
Ubuntu Version Falls es noch wichtig ist
Description: Ubuntu 18.04.4 LTS
status von uwf inactive.
Re: OPSI Client Agent kann nicht ausgeführt werden.
Verfasst: 17 Jun 2020, 15:22
von SisterOfMercy
Panda hat geschrieben:Ich habe zum testen opsi_depot ausgewählt und hat funktioniert. Im Ordner kann ich aber Garnichts sehen.
So you do not even have standard opsi packages? Have you executed opsi-package-updater at all?
https://download.uib.de/opsi4.1/documen ... l-products
Panda hat geschrieben:Welche brauche ich auszuwählen um Client-Agent auf meinem Client zu installieren?
Und wie kann ich dann eine MSI Datei in OPSI umwandeln um mit opsi config editor nutzen zu können.
This is also described in the getting started:
https://download.uib.de/opsi4.1/documen ... ntegration
Get the opsi-templates package, use that as a base. Look at the examples here:
wiki/doku.php?id=userspace:script_templates
Re: OPSI Client Agent kann nicht ausgeführt werden.
Verfasst: 17 Jun 2020, 15:39
von Panda
Ja genau habe ich schon gelesen.
diese Abschnitt
7.2.1. Verwendung von service_setup.cmd auf Windows NT6
Loggen Sie sich mit administrativen Rechten auf dem Client ein.
Mounten Sie den share \\<opsiserver>\opsi_depot auf einen Laufwerksbuchstaben.
Starten Sie das Script opsi-client-agent\service_setup.cmd
Starten Sie da Script nicht elevated (also rechte Maustaste: als Administrator) sonst kann das Script evtl. nicht gestartet werden, da eine elevated Prozess kein Zugriff auf ein Netzlaufwerk hat.
Ich habe ja richtige eingebunden.
Aber das Problem ist, dass die Datei "service_setup.cmd" fellt.
Ich sehe das meine NTFS 17,3GB belegt ist, aber ich kann nicht sehn was drinnen liegt.
Auf meinem Bildschirm sehe ich Update packages Verkupferung, wenn ich es öffne muss ich Admin Passwort eingeben, wenn ich das Passwort eingebe und enter klicke steht "No new packages downloaded"
Dann wieder enter klicken und ist das Fenster weg.
meinten sie mit diesem Satz das, was ich oben beschrieben habe?
(So you do not even have standard opsi packages? Have you executed opsi-package-updater at all?)