
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Is there a way to define who the default owner of a new ticket? Or better, is there a way to define who the default owner of a ticket is based on what group it was initially assigned to? - -- Regards, Lance McCulley Computer Tech Specialist lmcculle@lasierra.edu La Sierra University I.T. Department (909) 785-2554 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBYzOEdIFoM/NAi58RArGhAJwLfG+JzBS3PxpcdGFdZUeraiGU7ACgvond cfvhYWU7cSFUc5WvdMAM3r0= =hV/a -----END PGP SIGNATURE-----

Is there a way to define who the default owner of a new ticket? Or better, is there a way to define who the default owner of a ticket is based on what group it was initially assigned to?
Yes. You can go it with a generic agent. It would be something like this: %Jobs = ( # -- # [name of job] -> assign ticket owner # -- 'assign owner' => { # defines criteria of what to look for Queue => 'some queue', States => ['new'], # new ticket properties New => { # tells what to do with tickets that match above criteria Owner => 'some owner', }, }, ); You can read more about generic agents heres: http://doc.otrs.org/1.3/en/html/generic-agent-config-file.html If you are using OTRS 1.3.1 then you can set the generic agents inside the web interface through an easy to understand gui and no need to mess with coding inside of .pm files.

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thanks for your response. in the [...] ~ 'assign owner' => 'some queue', [...] is the 'some queue' the queue id or name? Also, is the 'some owner', the ID or name? Thanks again! Regards, Lance McCulley Computer Tech Specialist lmcculle@lasierra.edu La Sierra University I.T. Department (909) 785-2554 Tyler Hepworth wrote: |>Is there a way to define who the default owner of a new ticket? Or |>better, is there a way to define who the default owner of a ticket is |>based on what group it was initially assigned to? |> | | |Yes. You can go it with a generic agent. It would be something like this: | |%Jobs = ( | # -- | # [name of job] -> assign ticket owner | # -- | 'assign owner' => { # defines criteria of what to look for | Queue => 'some queue', | States => ['new'], | # new ticket properties | New => { # tells what to do with tickets that match above criteria | Owner => 'some owner', | }, | }, |); | |You can read more about generic agents heres: | |http://doc.otrs.org/1.3/en/html/generic-agent-config-file.html | | |If you are using OTRS 1.3.1 then you can set the generic agents inside |the web interface through an easy to understand gui and no need to |mess with coding inside of .pm files. |_______________________________________________ |OTRS mailing list: otrs - Webpage: http://otrs.org/ |Archive: http://lists.otrs.org/pipermail/otrs |To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs |Support oder Consulting für Ihr OTRS System? |=> http://www.otrs.de/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBZCDNdIFoM/NAi58RAkL+AKDLuMGp7z5Nt16LynTfLDLfX7b/MQCeI//+ +b6hO3NleP1YGNJ0inqNPeM= =onM+ -----END PGP SIGNATURE-----

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Okay, according to my mysql the queue name is 'Information Technology::Technical Support', minus the ' ' of course; and the user is 'techsupp'. Here is the code that i tried. [Kernel/Config/GenericAgent.pm] package Kernel::Config::GenericAgent; 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 = ( ~ # -- ~ # [name of job] -> send escalation notifications ~ # -- ~ 'assign owner' => { # defines criteria of what to look for ~ Queue => 'Information Technology', ~ States => ['new'], ~ # new ticket properties ~ New => { # tells what to do with tickets that match above criteria ~ Owner => 'it', # 'send escalation notifications' => { # Escalation => 1, # # new ticket properties # New => { # Module => 'Kernel::System::GenericAgent::NotifyAgentGroupOfCustomQueue', ~ }, ~ }, ~ # insert your jobs (see Kernel/Config/GenericAgent.pm.examples) ); # ----------------------------------------------------------------------- # end of config options # ----------------------------------------------------------------------- 1; Still doesn't assign the default owner as 'techsupp'. Am I doing something wrong here? Should this configuration information be in the Config.pm instead? Regards, Lance McCulley Computer Tech Specialist lmcculle@lasierra.edu La Sierra University I.T. Department (909) 785-2554 Tyler Hepworth wrote: |>Thanks for your response. |>in the |>[...] |>~ 'assign owner' => 'some queue', |>[...] |>is the 'some queue' the queue id or name? Also, is the 'some owner', |>the ID or name? Thanks again! | | | |Names for both. | |Tyler |_______________________________________________ |OTRS mailing list: otrs - Webpage: http://otrs.org/ |Archive: http://lists.otrs.org/pipermail/otrs |To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs |Support oder Consulting für Ihr OTRS System? |=> http://www.otrs.de/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBZEFEdIFoM/NAi58RAsHUAJ95RURlevEBbVfBc43eGOAr1i8GTgCfedIu Dns4fv/ccPCHjsJjR1gplU8= =Ubtm -----END PGP SIGNATURE-----

Okay, according to my mysql the queue name is 'Information Technology::Technical Support', minus the ' ' of course; and the user is 'techsupp'. Here is the code that i tried. [Kernel/Config/GenericAgent.pm]
package Kernel::Config::GenericAgent;
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 = ( ~ # -- ~ # [name of job] -> send escalation notifications ~ # -- ~ 'assign owner' => { # defines criteria of what to look for ~ Queue => 'Information Technology', ~ States => ['new'], ~ # new ticket properties ~ New => { # tells what to do with tickets that match above criteria ~ Owner => 'it', # 'send escalation notifications' => { # Escalation => 1, # # new ticket properties # New => { # Module => 'Kernel::System::GenericAgent::NotifyAgentGroupOfCustomQueue', ~ }, ~ }, ~ # insert your jobs (see Kernel/Config/GenericAgent.pm.examples)
); # ----------------------------------------------------------------------- # end of config options # ----------------------------------------------------------------------- 1;
Still doesn't assign the default owner as 'techsupp'. Am I doing something wrong here? Should this configuration information be in the Config.pm instead?
No. The information needs to go in genericAgent.pm. The problem is that you are not specifying all of your items properly. Here is how it should look: package Kernel::Config::GenericAgent; 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 = ( # This is a job by itself. Do not mix it with others. # -- # [name of job] -> send escalation notifications # -- # '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] -> Assign Owner # -- 'assign owner' => { Queue => 'Information Technology::Technical Support', States => ['new'], New => { Owner => 'techsupp' }, }, # New job starts here ); # ----------------------------------------------------------------------- # end of config options # ----------------------------------------------------------------------- 1; That should be it. Your problem was that you did not specify the complete name of the queue, you were trying to set the owner to 'it', and you didn' t have all of your ending braces in the right place. You job was mixed up with the escalation notifications job. This is pure perl code in the generic agent so the perl compiler is very picky about syntax. You have to make sure all of your commas, braces, etc are all just right or else it won't work. This can be kind of daunting if you are not all that familiar with perl. That is why it is recommend to upgrade to version 1.3.1 and use the web interface to build your generic agent routines. Doing it that way avoids having to worry about things like commas and braces. Hth, Tyler Hepworth

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I've set up the GenericAgent.pm exactly the way you showed me. Do I have to set up cron jobs or something? I have set up cron jobs to execute the GenericAgent.pl every 2 minutes, but still no luck. I've waited since last night and the test ticket that I entered is still owned by root instead. Regards, Lance McCulley Computer Tech Specialist lmcculle@lasierra.edu La Sierra University I.T. Department (909) 785-2554 Tyler Hepworth wrote: |>Okay, according to my mysql the queue name is 'Information |>Technology::Technical Support', minus the ' ' of course; and the user |>is 'techsupp'. Here is the code that i tried. |>[Kernel/Config/GenericAgent.pm] |> |>package Kernel::Config::GenericAgent; |> |>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 = ( |>~ # -- |>~ # [name of job] -> send escalation notifications |>~ # -- |>~ 'assign owner' => { # defines criteria of what to look for |>~ Queue => 'Information Technology', |>~ States => ['new'], |>~ # new ticket properties |>~ New => { # tells what to do with tickets that match above |>criteria |>~ Owner => 'it', |># 'send escalation notifications' => { |># Escalation => 1, |># # new ticket properties |># New => { |># Module => |>'Kernel::System::GenericAgent::NotifyAgentGroupOfCustomQueue', |>~ }, |>~ }, |>~ # insert your jobs (see Kernel/Config/GenericAgent.pm.examples) |> |>); |># - ----------------------------------------------------------------------- |># end of config options |># - ----------------------------------------------------------------------- |>1; |> |>Still doesn't assign the default owner as 'techsupp'. Am I doing |>something wrong here? Should this configuration information be in the |>Config.pm instead? | | |No. The information needs to go in genericAgent.pm. The problem is |that you are not specifying all of your items properly. Here is how it |should look: | |package Kernel::Config::GenericAgent; | |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 = ( | | # This is a job by itself. Do not mix it with others. | | # -- | # [name of job] -> send escalation notifications | # -- |# '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] -> Assign Owner | # -- | 'assign owner' => { | Queue => 'Information Technology::Technical Support', | States => ['new'], | New => { | Owner => 'techsupp' | }, | }, | | # New job starts here | |); |# ----------------------------------------------------------------------- |# end of config options |# ----------------------------------------------------------------------- |1; | |That should be it. Your problem was that you did not specify the |complete name of the queue, you were trying to set the owner to 'it', |and you didn' t have all of your ending braces in the right place. |You job was mixed up with the escalation notifications job. This is |pure perl code in the generic agent so the perl compiler is very picky |about syntax. You have to make sure all of your commas, braces, etc |are all just right or else it won't work. This can be kind of |daunting if you are not all that familiar with perl. That is why it |is recommend to upgrade to version 1.3.1 and use the web interface to |build your generic agent routines. Doing it that way avoids having to |worry about things like commas and braces. | |Hth, | |Tyler Hepworth |_______________________________________________ |OTRS mailing list: otrs - Webpage: http://otrs.org/ |Archive: http://lists.otrs.org/pipermail/otrs |To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs |Support oder Consulting für Ihr OTRS System? |=> http://www.otrs.de/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBZV1idIFoM/NAi58RApn3AKCfrD9s7PEe43T9uH/dfzghLd7xpACbBVHJ U6NzPUesiLg6lySIDdPUU5k= =DNnM -----END PGP SIGNATURE-----

On Thu, 07 Oct 2004 08:14:43 -0700, Lance McCulley
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I've set up the GenericAgent.pm exactly the way you showed me. Do I have to set up cron jobs or something? I have set up cron jobs to execute the GenericAgent.pl every 2 minutes, but still no luck. I've waited since last night and the test ticket that I entered is still owned by root instead.
Regards,
The default crontab GenericAgent should do the trick. Have you looked in your log file for error messages? Those can sometimes be enlightening. Tyler

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Well, when I try to run 'GenericAgent.pl >> /dev/null' at a prompt I
get this output:
testserver # GenericAgent.pl
Can't locate Kernel/Config.pm in @INC (@INC contains:
/usr/Kernel/cpan-lib /usr /etc/perl
/usr/lib/perl5/site_perl/5.8.4/i686-linux
/usr/lib/perl5/site_perl/5.8.4
/usr/lib/perl5/site_perl/5.8.2/i686-linux
/usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.4/i686-linux
/usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.4/i686-linux /usr/lib/perl5/5.8.4
/usr/local/lib/site_perl .) at /usr/bin/GenericAgent.pl line 40.
BEGIN failed--compilation aborted at /usr/bin/GenericAgent.pl line 40.
I've looked in the GenericAgent.pl and tried to set the path correctly
(i.e. /var/www/localhost/ ) but it doesn't help
testserver # GenericAgent.pl >> /dev/null
Can't locate Kernel/Config.pm in @INC (@INC contains:
/usr/var/www/localhost/ /usr /etc/perl
/usr/lib/perl5/site_perl/5.8.4/i686-linux
/usr/lib/perl5/site_perl/5.8.4
/usr/lib/perl5/site_perl/5.8.2/i686-linux
/usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.4/i686-linux
/usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.4/i686-linux /usr/lib/perl5/5.8.4
/usr/local/lib/site_perl .) at /usr/bin/GenericAgent.pl line 40.
BEGIN failed--compilation aborted at /usr/bin/GenericAgent.pl line 40.
I don't know if this helps narrow down my problem, but I at least know
that this script isn't working properly. I'm running Gentoo and the
ebuild puts everything into /var/www/localhost/. Thanks for helping.
Regards,
Lance McCulley
Computer Tech Specialist
lmcculle@lasierra.edu
La Sierra University
I.T. Department
(909) 785-2554
Tyler Hepworth wrote:
|On Thu, 07 Oct 2004 08:14:43 -0700, Lance McCulley
|

Well, when I try to run 'GenericAgent.pl >> /dev/null' at a prompt I get this output:
testserver # GenericAgent.pl Can't locate Kernel/Config.pm in @INC (@INC contains: /usr/Kernel/cpan-lib /usr /etc/perl /usr/lib/perl5/site_perl/5.8.4/i686-linux /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.2/i686-linux /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.4/i686-linux /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.4/i686-linux /usr/lib/perl5/5.8.4 /usr/local/lib/site_perl .) at /usr/bin/GenericAgent.pl line 40. BEGIN failed--compilation aborted at /usr/bin/GenericAgent.pl line 40.
I've looked in the GenericAgent.pl and tried to set the path correctly (i.e. /var/www/localhost/ ) but it doesn't help
testserver # GenericAgent.pl >> /dev/null Can't locate Kernel/Config.pm in @INC (@INC contains: /usr/var/www/localhost/ /usr /etc/perl /usr/lib/perl5/site_perl/5.8.4/i686-linux /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.2/i686-linux /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.4/i686-linux /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.4/i686-linux /usr/lib/perl5/5.8.4 /usr/local/lib/site_perl .) at /usr/bin/GenericAgent.pl line 40. BEGIN failed--compilation aborted at /usr/bin/GenericAgent.pl line 40.
I don't know if this helps narrow down my problem, but I at least know that this script isn't working properly. I'm running Gentoo and the ebuild puts everything into /var/www/localhost/. Thanks for helping.
Hmmm strange. Where is your GenericAgent.pm and where is your GenericAgent.pl? The path to Config.pm should be in opt/otrs/Kerne/Config.pm. That location should be included automatically in the setup. I really think we need to clear up that error first. Once that is done it should work. So, to review (I know you are not dumb, I just don't have access to what you are seeing so I have to reiterate for peace of mind). You have configured the job "assign owner". It reside in /Kernel/Config/GenericAgent.pm You run bin/GenericAgent.pl. That should execute the contents of GA. Then you check your logs. Don't know what more to say.

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 My GenericAgent.pm is located in /var/www/localhost/Kernel/Config/ my GenericAgent.pl is in /usr/bin/ I don't know why everything is all over the place, but it is very strange. The ebuild for Gentoo didn't create a /opt/otrs director. so I looked everywhere for all of the config files and such and they are all in /var/otrs /var/www/localhost/ and /usr/bin I tried changing the path in /var/www/localhost/Kernel/Config/Defaults.pm to /var/www/localhost ~ # --------------------------------------------------- # ~ # directories # ~ # --------------------------------------------------- # ~ # root directory ~ $Self->{Home} = '/var/www/localhost'; and then changing the GenericAgent.pl back to Kernel/cpan # use ../ as lib location use File::Basename; use FindBin qw($RealBin); use lib dirname($RealBin); use lib dirname($RealBin)."/Kernel/cpan-lib"; Regards, Lance McCulley Computer Tech Specialist lmcculle@lasierra.edu La Sierra University I.T. Department (909) 785-2554 Tyler Hepworth wrote: |>Well, when I try to run 'GenericAgent.pl >> /dev/null' at a prompt I |>get this output: |> |>testserver # GenericAgent.pl |>Can't locate Kernel/Config.pm in @INC (@INC contains: |>/usr/Kernel/cpan-lib /usr /etc/perl |>/usr/lib/perl5/site_perl/5.8.4/i686-linux |>/usr/lib/perl5/site_perl/5.8.4 |>/usr/lib/perl5/site_perl/5.8.2/i686-linux |>/usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl |>/usr/lib/perl5/vendor_perl/5.8.4/i686-linux |>/usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl |>/usr/lib/perl5/5.8.4/i686-linux /usr/lib/perl5/5.8.4 |>/usr/local/lib/site_perl .) at /usr/bin/GenericAgent.pl line 40. |>BEGIN failed--compilation aborted at /usr/bin/GenericAgent.pl line 40. |> |>I've looked in the GenericAgent.pl and tried to set the path correctly |>(i.e. /var/www/localhost/ ) but it doesn't help |> |>testserver # GenericAgent.pl >> /dev/null |>Can't locate Kernel/Config.pm in @INC (@INC contains: |>/usr/var/www/localhost/ /usr /etc/perl |>/usr/lib/perl5/site_perl/5.8.4/i686-linux |>/usr/lib/perl5/site_perl/5.8.4 |>/usr/lib/perl5/site_perl/5.8.2/i686-linux |>/usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl |>/usr/lib/perl5/vendor_perl/5.8.4/i686-linux |>/usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl |>/usr/lib/perl5/5.8.4/i686-linux /usr/lib/perl5/5.8.4 |>/usr/local/lib/site_perl .) at /usr/bin/GenericAgent.pl line 40. |>BEGIN failed--compilation aborted at /usr/bin/GenericAgent.pl line 40. |> |>I don't know if this helps narrow down my problem, but I at least know |>that this script isn't working properly. I'm running Gentoo and the |>ebuild puts everything into /var/www/localhost/. Thanks for helping. | | |Hmmm strange. Where is your GenericAgent.pm and where is your |GenericAgent.pl? The path to Config.pm should be in |opt/otrs/Kerne/Config.pm. That location should be included |automatically in the setup. I really think we need to clear up that |error first. Once that is done it should work. | |So, to review (I know you are not dumb, I just don't have access to |what you are seeing so I have to reiterate for peace of mind). | |You have configured the job "assign owner". It reside in |/Kernel/Config/GenericAgent.pm | |You run bin/GenericAgent.pl. That should execute the contents of GA. |Then you check your logs. Don't know what more to say. |_______________________________________________ |OTRS mailing list: otrs - Webpage: http://otrs.org/ |Archive: http://lists.otrs.org/pipermail/otrs |To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs |Support oder Consulting für Ihr OTRS System? |=> http://www.otrs.de/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBZYkYdIFoM/NAi58RAmJwAJ0YfcbucnoLcEj0yBXNLfcMw2ofbwCglHaO 3x4fxpmBpDY1x9a/qeJKM+U= =tWTI -----END PGP SIGNATURE-----

On Thu, 07 Oct 2004 11:21:13 -0700, Lance McCulley
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
My GenericAgent.pm is located in /var/www/localhost/Kernel/Config/ my GenericAgent.pl is in /usr/bin/ I don't know why everything is all over the place, but it is very strange. The ebuild for Gentoo didn't create a /opt/otrs director. so I looked everywhere for all of the config files and such and they are all in /var/otrs /var/www/localhost/ and /usr/bin I tried changing the path in /var/www/localhost/Kernel/Config/Defaults.pm to /var/www/localhost ~ # --------------------------------------------------- # ~ # directories # ~ # --------------------------------------------------- # ~ # root directory ~ $Self->{Home} = '/var/www/localhost';
and then changing the GenericAgent.pl back to Kernel/cpan
# use ../ as lib location use File::Basename; use FindBin qw($RealBin); use lib dirname($RealBin); use lib dirname($RealBin)."/Kernel/cpan-lib";
Sheesh. Did that fix the problem?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
If only. It did not fix the problem, I'm still getting that same error
when trying to run GenericAgent.pl
Regards,
Lance McCulley
Computer Tech Specialist
lmcculle@lasierra.edu
La Sierra University
I.T. Department
(909) 785-2554
Tyler Hepworth wrote:
|On Thu, 07 Oct 2004 11:21:13 -0700, Lance McCulley
|

At this point I don't know what to say. Never used Gentoo and am not a great linux expert to begin with. I would recommend starting a new message to the list that states the problem with Config.pm not found in @INC. Get that resolved and then we can pick back up the discussion of GenericAgent. Sorry I can't be of further assistance, Tyler
participants (2)
-
Lance McCulley
-
Tyler Hepworth