
-----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-----