Das Notes Forum

Domino 9 und frühere Versionen => Administration & Userprobleme => Thema gestartet von: clannad am 08.05.02 - 08:51:38

Titel: blöder agent :(
Beitrag von: clannad am 08.05.02 - 08:51:38
in einem agent hab ich ausgewählt das er alle neuen dokumente und veränderten dokumente in die andere datenbank kopieren soll - insgesamt 116 dokumente mit jeweils 2-4mb.

er kopiert auch, aber nicht die neuen und veränderten sondern alle nochmal neu - immer wieder kopiert er die schon bereits vorhanden dokumente mit.

desweiteren soll diese copy-funktion immer am montag ab 01:00uhr loslaufen.

ich setzte den agent auf dienstag ab 21uhr - zwecks zeitverschiebung aufm server im amiland. um 21uhr sollte er loslegen zu kopieren. ich komm auf arbeit seh nach - nix, wieso kopiert der nicht?  :(
Titel: Re: blöder agent :(
Beitrag von: Hoshee am 08.05.02 - 09:18:18
Yoo,

neue & geänderte Dokumente gelten nur für den Agenten. Wenn Du einen Agenten manuell startest, sind erst mal alle Dokumente neu (werden also kopiert). Dies macht nur Sinn, wenn DU einen periodischen Agenten hast.

zu 2.:
Läuft der Agent denn überhaupt an oder kopiert nur nicht?

Gruss ...

Hoshee
Titel: Re: blöder agent :(
Beitrag von: clannad am 08.05.02 - 09:35:13
also immer wenn ich manuell starte - denkt der die dokumente sind neu?  ::)

das weiß ich nicht ob er anläuft - hattes ja um 21uhr eingestellt da hab ich schon geschlummert  ;) und kopiert war nix

nun hab ich nochmal 6h zurückgerechnet und fürn test den agent laufen lassen - nix  >:(
Titel: Re: blöder agent :(
Beitrag von: Hoshee am 08.05.02 - 10:49:58
Yoo,

IMHO ja. Hatte selber schon mal das Problem.

Schau doch mal im Agent-Protokoll nach, ob der Agent gelaufen ist.
Sonst ist es sinnig noch einmal zu prüfen ob, da der Agent wohl auf dem Server laufen soll, Signierer des Agenten in der Konfiguration des Servers eingetragen ist.  ;)

Gruss ...

Hoshee
Titel: Re: blöder agent :(
Beitrag von: Andysun am 08.05.02 - 11:14:37
Wenn du im DesignerClient den Agenten mit der RechtenMaustaste anklickst, kannst du folgende Optionen auswählen:

- Starten
- Testen
- Aktivieren
- Protokoll

Weiss ja nicht ob du weisst , wo du das AgentProtokoll findest.

Gruss
Andy
Titel: Re: blöder agent :(
Beitrag von: clannad am 08.05.02 - 13:27:27
this agent has never been run before :(


ich hab dem ami schon zahlreiche notes geschrieben er soll den für mich signieren - und nun meldet er sich nimmer. liegts dann also daran das der nich kopiert?
Titel: Re: blöder agent :(
Beitrag von: Andysun am 08.05.02 - 13:42:40
wenn du ihn per Hand startest,
erhältst du eine Fehlermeldung ???

Du kannst ja den DebugLotusScript einschalten.
Menüleiste \Datei\Extra\DebugLotusScript

Gruss
Andy
Titel: Re: blöder agent :(
Beitrag von: clannad am 08.05.02 - 13:48:01
nach einem test kam folgendes

Started running agent 'CopyToDB' on 08.05.2002 13:23:57
Running on new or modified documents: 1484 total
Found 116 document(s) that match search criteria
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
ERROR: Cannot open databases on machines other than the server running your program
Copied 0 document(s)
Done running agent 'CopyToDB' on 08.05.2002 13:26:37
Titel: Re: blöder agent :(
Beitrag von: clannad am 08.05.02 - 13:54:46
Zitat
wenn du ihn per Hand startest,
erhältst du eine Fehlermeldung ???


wenn ich ihn per hand starte dann kopiert er alle dokumente neu, nicht wie angegeben nur die neuen und modifizierten  ...
Titel: Re: blöder agent :(
Beitrag von: Andysun am 08.05.02 - 14:14:35
Habe dir gerade ein Kruznachricht geschickt ( oben Rechts )

Gruss
Andy
Titel: Re: blöder agent :(
Beitrag von: clannad am 13.05.02 - 09:32:59
ich hab den agent nun auf sonntag 23uhr gestellt gehabt weil ich der meinung war dasses diesmal funktioniert. doch wieder diese fehlermeldung:

Started running agent 'CopyToDB' on 12.05.2002 23:50:57
Running on new or modified documents: 1485 total
Found 116 document(s) that match search criteria
ERROR: Cannot open databases on machines other than the server running your program

.
.
.

soll ich n script schreiben?
reicht es nicht wenn ich die standarteinstellung nehme?  >:(
Titel: Re: blöder agent :(
Beitrag von: Hoshee am 13.05.02 - 11:20:43
Yoo,

das Prob ist, das versuchst die Dokumente in eine andere DB eines anderen Servers zu schieben!!

Ein Serveragent darf nicht auf DB's eines anderen Servers zugreifen.

Lösungsvorschlag:

Erstelle eine Replik auf dem Server auf dem der Agent läuft, kopiere die Dokumente und repliziere dann mit dem entfernten Server!

Grüsse ...

Hoshee
Titel: Re: blöder agent :(
Beitrag von: clannad am 13.05.02 - 12:18:27
ich danke dir :)

werds gleich mal probieren :D
Titel: Re: blöder agent :(
Beitrag von: clannad am 14.05.02 - 08:33:54
ich habe jetzt nix verändert - sprich; es läuft noch nach den einstellungen wie vorher und ich erhalte diese meldung:

Started running agent 'CopyToDB' on 14.05.2002 08:18:57
Running on new or modified documents: 0 total
ERROR: No documents specified

ist der jetzt gelaufen oder wie?
Titel: Re: blöder agent :(
Beitrag von: Hoshee am 14.05.02 - 08:47:21
Yoo,

gelaufen ist er schon, aber er hat wohl keine Dokumente gefunden, die er kopieren soll.
Daher kommt er auch nicht auf die Fehlermeldung  :'(

Versuchs mal mit der Replic, änder den Agent entsprechend und setz ihn neu auf ... dann schaun mer mal ...

Gruss ...

Hoshee
Titel: Re: blöder agent :(
Beitrag von: clannad am 14.05.02 - 08:53:59
es waren anscheinend keine neuen dokumente da - denn jetzt hab ich zum test in der einen db ein dokument erstellt - wo dann folgendes kam:

Started running agent 'CopyToDB' on 14.05.2002 08:47:15
Running on new or modified documents: 1 total
Found 1 document(s) that match search criteria
Copied 1 document(s)
Done running agent 'CopyToDB' on 14.05.2002 08:47:18

es scheint ja zu funktionieren...  ???

ist das jetzt die richtige lösung?
nicht doch lieber mit lotusscript oder wie du sagtest ne replik?

das ziel ist ja da - aber sicher bin ich nicht  :(
Titel: Re: blöder agent :(
Beitrag von: Hoshee am 14.05.02 - 09:00:42
Yoo,

wenn es jetzt so klappt wie Du willst ist doch i.O.

Gruss ...

Hoshee
Titel: Re: blöder agent :(
Beitrag von: clannad am 14.05.02 - 09:04:27
warum aber sagt mir der admin von der einen db dasses verboten ist einen agent über zwei verschiedene servern laufen zu lassen?  ???  ???

und warum geschah das ohne jegliche veränderung?  ???


aaaaaaaah - is ja schön dasses läuft aber ich versteh nicht warum  ::)
Titel: Re: blöder agent :(
Beitrag von: clannad am 14.05.02 - 10:14:08
so es geht wieder nicht das ich mich zu entschieden hab diese replik zu machen

87 out of 1.626 713minutes remaining

das problem ist, ich bin nur noch 2monate hier - dann würde ich von meinem laptop diese lokale db wieder löschen ist ja unnötiger speicherplatz (nur 4GB festplatte)

wenn ich die löschen würde, wäre der agent doch futsch - gibbet nich noch ne andere möglichkeit? ::)
Titel: Re: blöder agent :(
Beitrag von: clannad am 23.05.02 - 15:07:29
nach langen versuchen mit oder ohne replik, das warten auf die serverrecht und hin und her hat es nun geklappt .... mit ner replik :)

allerdings mit einer neuen fehlermeldung
Remote Server:      SSDWRK01/SSD/SNJ
Initiated By:      SSDVP01/SSD/SNJ
Elapsed Time:      0,6 minutes

Events
Unable to store document in SSDWRK01/SSD/SNJ WWFabCor.nsf (NoteID = 0) from dbs\WWFabCor.nsf (NoteID = 42486): Insufficient disk space on remote server
Unable to store document in SSDWRK01/SSD/SNJ WWFabCor.nsf (NoteID = 0) from dbs\WWFabCor.nsf (NoteID = 42446): Insufficient disk space on remote server
Unable to replicate SSDWRK01/SSD/SNJ WWFabCor.nsf: Insufficient disk space on remote server

Database      Access      Added      Deleted      Updated      KB Rec.      KB Sent      From
SSDVP01 dbs\WWFabCor.nsf      Manager      3      0      0      288,51      0,41      SSDWRK01 WWFabCor.nsf      (PULL)


aber das is nu nimmer meine schuld



ich danke euch allen :)