Can't load agent job file 'GenericAgent'

Hallo, Alles versucht, nichts hat geholfen. Das Programm funzt wunderbar, nur dieser Fehler ist nicht wegzubekommen: Can't load agent job file 'GenericAgent': Wäre nett wenn da jemand einen Tip haette ? Vielen Dank Heiko

Can't load agent job file 'GenericAgent':
*wildguess* Ist da vielleicht irgendwie die Endung abhanden gekommen (in einem Config-File)? Das File heisst ja GenericAgent.pm ^^^ HTH. -- Nora Bernhard The best way to accelerate a Macintoy is at 9.8 meters per second per second.

Can't load agent job file 'GenericAgent':
*wildguess* Ist da vielleicht irgendwie die Endung abhanden gekommen (in einem Config-File)? Das File heisst ja GenericAgent.pm
Hallo, Nein, das steht alles korrekt :( Er erkennt das File auch, er gibt Warnungen aus. Wenn ich die Ursachen für Warnungen beseitige kommt obige Meldung.

Hallo, Poste doch mal deine /opt/otrs/Kernel/Config/GenericAgent.pm So aus dem Bauch heraus würde ich sagen, da ist irgendwo ein Komma oder Semikolon abhanden gekommen...
Hat da noch jemand vielleicht eine Idee ? :)
mfg.
H.Heeskens
Gruss, Markus Rücker -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!

Hallo,
# --
# Kernel/Config/GenericAgent.pm - config file of generic agent
# Copyright (C) 2002-2004 Martin Edenhofer

Hallo, Auf den ersten Blick sehe ich direkt einen Fehler !!!! Bitte ändern: package Kernel::Config::GenericAgentDelete; --> package Kernel::Config::GenericAgent; Gruss, Markus Rücker -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!
-----Original Message----- From: otrs-de-bounces@otrs.org [mailto:otrs-de-bounces@otrs.org] On Behalf Of Heiko Heeskens [Net-Publics.de] Sent: Friday, May 07, 2004 1:51 PM To: User questions and discussions about OTRS in German. Subject: Re: [otrs-de] Can't load agent job file 'GenericAgent'
Hallo,
# -- # Kernel/Config/GenericAgent.pm - config file of generic agent # Copyright (C) 2002-2004 Martin Edenhofer
# # Updated 19 March 2004 by L. Mark Stone. # Routine deletes tickets with a blank space in the Subject: line. # # -- # $Id: GenericAgent.pm.dist,v 1.7 2004/02/12 00:55:01 martin Exp $ # -- # This software comes with ABSOLUTELY NO WARRANTY. For details, see # the enclosed file COPYING for license information (GPL). If you # did not receive this file, see http://www.gnu.org/licenses/gpl.txt. # -- package Kernel::Config::GenericAgentDelete;
use strict; use vars qw($VERSION @ISA @EXPORT %Jobs); require Exporter; @ISA = qw(Exporter); @EXPORT = qw(%Jobs);
$VERSION = '$Revision: 1.7 $'; $VERSION =~ s/^\$.*:\W(.*)\W.+?$/$1/;
# -------------------------------------------------------------- --------- # config options # -------------------------------------------------------------- --------- %Jobs = ( # -- # Delete -> Delete All Tickets in Junk Queue # -- 'delete' => { Queue => 'Junk', Subject => '% %', New => { Delete => 1, }, }, ); # -------------------------------------------------------------- --------- # end of config options # -------------------------------------------------------------- ---------
_______________________________________________ OTRS Mailingliste: otrs-de - Webpage: http://otrs.org/ Archiv: http://lists.otrs.org/pipermail/otrs-de/ Listenabo verwalten: http://lists.otrs.org/cgi-bin/listinfo/otrs-de/ Support oder Consulting fuer Ihr OTRS System? => http://www.otrs.de/

Hallo, Ist beseitigt. Nun kommt: ./GenericAgent.pl -c /opt/otrs/Kernel/GenericAgent.pm Warning: Use of "require" without parens is ambiguous at (eval 28) line 1. Bareword found where operator expected at (eval 28) line 1, near "/opt/otrs" (Missing operator before trs?) Can't load agent job file '/opt/otrs/Kernel/GenericAgent.pm':

Hi, Du solltest auch den richtigen Pfad angeben.... GenericAgent.pm liegt in /opt/otrs/Kernel/Config/ !!!!! Gruss, Markus Rücker -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!
Hallo,
Ist beseitigt.
Nun kommt:
./GenericAgent.pl -c /opt/otrs/Kernel/GenericAgent.pm
Warning: Use of "require" without parens is ambiguous at (eval 28) line 1. Bareword found where operator expected at (eval 28) line 1, near "/opt/otrs" (Missing operator before trs?) Can't load agent job file '/opt/otrs/Kernel/GenericAgent.pm':
_______________________________________________ OTRS Mailingliste: otrs-de - Webpage: http://otrs.org/ Archiv: http://lists.otrs.org/pipermail/otrs-de/ Listenabo verwalten: http://lists.otrs.org/cgi-bin/listinfo/otrs-de/ Support oder Consulting fuer Ihr OTRS System? => http://www.otrs.de/

Hallo, Danke :) Aber da kommt genau der gleiche Fehler. Liegts vielleicht an den Rechten ?

Hi, Ruf' einfach mal als root /opt/otrs/bin/GenericAgent.pl auf (also ohne Parameter), dann sollte es funktionieren... Gruss, Markus Rücker -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!
Danke :) Aber da kommt genau der gleiche Fehler. Liegts vielleicht an den Rechten ?

Hi, Wechsle vorher mal ins /opt/otrs/bin Verzeichnis und rufe dann von dort ./GenericAgent.pl auf (als root!!!) Gruss, Markus Rücker -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!
Hallo,
Leider nicht :(
Can't load agent job file 'Kernel::Config::GenericAgent'
_______________________________________________ OTRS Mailingliste: otrs-de - Webpage: http://otrs.org/ Archiv: http://lists.otrs.org/pipermail/otrs-de/ Listenabo verwalten: http://lists.otrs.org/cgi-bin/listinfo/otrs-de/ Support oder Consulting fuer Ihr OTRS System? => http://www.otrs.de/

Hallo, n121:/opt/otrs/bin # ./GenericAgent.pl -c Can't load agent job file 'Kernel::Config::GenericAgent': :(

Hi, versuchs bitte nochmal ohne Parameter !!! (lass mal das -c weg) also: n121:/opt/otrs/bin # ./GenericAgent.pl Gruss, Markus Rücker -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!
n121:/opt/otrs/bin # ./GenericAgent.pl -c Can't load agent job file 'Kernel::Config::GenericAgent':
:(

Hallo, n121:/opt/otrs/bin # /opt/otrs/bin/./GenericAgent.pl Can't load agent job file 'Kernel::Config::GenericAgent': Bringt leider alles nix :(((

Heiko, On Fri, May 07, 2004 at 04:20:18PM +0200, Heiko Heeskens [Net-Publics.de] wrote:
n121:/opt/otrs/bin # /opt/otrs/bin/./GenericAgent.pl Can't load agent job file 'Kernel::Config::GenericAgent':
Da ist ein Syntax-Fehler im Kernel/Config/GenericAgent.pm Mach "perl -cw Kernel/Config/GenericAgent.pm" und Du bekommst das Problem angezeigt. Martin Edenhofer -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!

Hallo, Wow... das nenne ich schnelle Hilfe hier !! Unmatched right curly bracket at Kernel/Config/GenericAgent.pm line 55, at end of line syntax error at Kernel/Config/GenericAgent.pm line 55, near "}" Kernel/Config/GenericAgent.pm had compilation errors. Wo liegt denn der Fehler ? :) # -- # 'send escalation notifications' => { # Escalation => 1, # # new ticket properties # New => { # Module => 'Kernel::System::GenericAgent::NotifyAgentGroupOfCustomQueue', # }, # }, # insert your jobs (see Kernel/Config/GenericAgent.pm.examples) ); # -- # [name of job] -> close and delete all tickets in queue delete # -- # 'delete' => { # get all tickets with this properties Queue => 'Wech', States => ['new', 'open'], Locks => ['unlock'], # new ticket properties (no option is required, use just the options # witch should be changed!) New => { # DELETE! Delete => 1, }, ---------->>>>>>> das ist Zeile 55 }, # ----------------------------------------------------------------------- # end of config options # -----------------------------------------------------------------------

Hi, Ich habe dir mal eine entsprechende GenericAgent.pm angehängt. Das ist einfacher als die Korrektur zu beschreiben... Gruss, Markus Rücker -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!
Wow... das nenne ich schnelle Hilfe hier !!
Unmatched right curly bracket at Kernel/Config/GenericAgent.pm line 55, at end of line syntax error at Kernel/Config/GenericAgent.pm line 55, near "}" Kernel/Config/GenericAgent.pm had compilation errors.
Wo liegt denn der Fehler ? :)
# -- # 'send escalation notifications' => { # Escalation => 1, # # new ticket properties # New => { # Module => 'Kernel::System::GenericAgent::NotifyAgentGroupOfCustomQueue', # }, # }, # insert your jobs (see Kernel/Config/GenericAgent.pm.examples)
);
# -- # [name of job] -> close and delete all tickets in queue delete # -- # 'delete' => { # get all tickets with this properties Queue => 'Wech', States => ['new', 'open'], Locks => ['unlock'], # new ticket properties (no option is required, use just the options # witch should be changed!) New => { # DELETE! Delete => 1, }, ---------->>>>>>> das ist Zeile 55 },
# -------------------------------------------------------------- --------- # end of config options # -------------------------------------------------------------- ---------
_______________________________________________ OTRS Mailingliste: otrs-de - Webpage: http://otrs.org/ Archiv: http://lists.otrs.org/pipermail/otrs-de/ Listenabo verwalten: http://lists.otrs.org/cgi-bin/listinfo/otrs-de/ Support oder Consulting fuer Ihr OTRS System? => http://www.otrs.de/

Evtl. ist in Zeile das ); zu viel. Ggf. nochmal das default Konfigfile benutzen. -Martin On Fri, May 07, 2004 at 04:36:04PM +0200, Heiko Heeskens [Net-Publics.de] wrote:
Hallo,
Wow... das nenne ich schnelle Hilfe hier !!
Unmatched right curly bracket at Kernel/Config/GenericAgent.pm line 55, at end of line syntax error at Kernel/Config/GenericAgent.pm line 55, near "}" Kernel/Config/GenericAgent.pm had compilation errors.
Wo liegt denn der Fehler ? :)
# -- # 'send escalation notifications' => { # Escalation => 1, # # new ticket properties # New => { # Module => 'Kernel::System::GenericAgent::NotifyAgentGroupOfCustomQueue', # }, # }, # insert your jobs (see Kernel/Config/GenericAgent.pm.examples)
);
# -- # [name of job] -> close and delete all tickets in queue delete # -- # 'delete' => { # get all tickets with this properties Queue => 'Wech', States => ['new', 'open'], Locks => ['unlock'], # new ticket properties (no option is required, use just the options # witch should be changed!) New => { # DELETE! Delete => 1, }, ---------->>>>>>> das ist Zeile 55 },
# ----------------------------------------------------------------------- # end of config options # -----------------------------------------------------------------------
_______________________________________________ OTRS Mailingliste: otrs-de - Webpage: http://otrs.org/ Archiv: http://lists.otrs.org/pipermail/otrs-de/ Listenabo verwalten: http://lists.otrs.org/cgi-bin/listinfo/otrs-de/ Support oder Consulting fuer Ihr OTRS System? => http://www.otrs.de/
Martin Edenhofer -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!
participants (4)
-
Heiko Heeskens [Net-Publics.de]
-
Markus Ruecker
-
Martin Edenhofer
-
Nora Bernhard