Hi Adrian, On Wed, Aug 28, 2002 at 11:57:46AM -0400, Adrian McCray wrote: > I have read the manual, and looked at the archives and even noticed someone > was having the same problem recently with RedHat version 7.2. > > I have the web interface up and running. In the /opt/OpenTRS/scripts/ there > is a file redhat-rcotrs. Just by looking at the file, it appears that this > file is the starup script for the otrs. In comparing this file with the > suse-rcotrs file, there are several directives missing, cleanup, stop-force, > etc. > > While I know that OpenTRS was not developed with Redhat specifically in > mind, can anyone point me in the direction to try to make it work under > RedHat 7.3. I would be more than happy to write a FAQ for RedHat. I just > need an understanding of how OpenTRS works.
Fine. ;-) > Here are the messages that I am getting. > > From: [EMAIL PROTECTED] (Cron Daemon) > To: [EMAIL PROTECTED] > Date: Sat, August 24, 2002 8:30 am > Subject: Cron <otrs@eve> $HOME/bin/UnlockTickets.pl --timeout >> > /dev/null > > ---------------------------------------------------------------------------- > ---- > > (in cleanup) Can't call method "disconnect" on an undefined value at > /opt/OpenTRS/bin/..//Kernel/System/DB.pm line 93 during global destruction. > From: [EMAIL PROTECTED] (Cron Daemon) To: > [EMAIL PROTECTED] Date: Sat, August 24, 2002 8:00 am Subject: Cron > <otrs@eve> /etc/rc.d/otrs cleanup >> > /dev/null ------------------------------------------------------------------ > --------------/bin/sh: /etc/rc.d/otrs: No such file or directory In the last two days, we (Stefan Steglich, Andreas Banze and me) solved this two problems on Redhat. a) update the $OTRS_HOME/Kernel/System/DB.pm from cvs ( http://otrs.org/cgi-bin/cvsweb.cgi/~checkout~/otrs/Kernel/System/DB.pm?rev=1.19&content-type=text/plain ) and the "Can't call method "disconnect" on an undefined value at" is fixed. b) Copy the scripts/redhat-rcotrs into the /etc/rc.d/init.d/ directory as otrs (cp scripts/redhat-rcotrs /etc/rc.d/init.d/otrs). Disable the "$OTRS_HOME/var/cron/postmaster" the cronjob, because the redhat-rcotrs doesn't have the cleanup function: [...] # check every 60 minutes the spool dorectory of OpenTRS #*/60 * * * * /etc/rc.d/otrs cleanup >> /dev/null [...] And add a new cronjob for the root user: [...] # for redhat (do this as root!) 01 01 * * * /etc/rc.d/init.d/otrs restart >> /dev/null [...] This do nearly the same like (cleanup) but just one time on 01:01 am. (I added this notice to the cvs file var/cron/postmaster). I hope it will help you for the FAQ. Maybe we could create a rpm spec file for Redhat Linux? > Sincerely,Adrian McCray Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- nohl: 8:20pm up 4 days, 22:07, 4 users, load average: 0.00, 0.03, 0.00 _______________________________________________ OpenTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
