
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.