[rt-users] rt2-to-rt3-1.23 script problems.

Tim Suter tsuter at cait.org
Wed Jun 15 15:37:33 EDT 2005


OK....export finally finished.  Had near 25,000 tickets to export....but
it's done.  

Now, I am to the dumpfile-to-rt-3.0 configuration part.  Their is only
one 'use lib' line in there pointing to /opt/rt3/lib which happens to be
where my libraries are.  Should I add one or edit the existing one
telling dumpfile-to-rt-3.0 where the rt2dump is?

Tim

On Wed, 2005-06-15 at 11:05 -0500, Tim Suter wrote:
> Modified the rt-2.0-to-dumpfile after following the instructions in the
> README and after Drew clarified some stuff (thanks Drew!).  The ONLY two
> lines I modified according to the instructions were the 'use libs'
> directives.
> 
> Following is the output when I tried to run rt-2.0-to-dumpfile:
> 
> confused:~/rt2-rt3/rt2-to-rt3-1.23# sh rt-2.0-to-dumpfile /root/rt2-
> rt3/rt2dump/
> rt-2.0-to-dumpfile: use: command not found
> rt-2.0-to-dumpfile: $: command not found
> rt-2.0-to-dumpfile: =: command not found
> rt-2.0-to-dumpfile: my: command not found
> rt-2.0-to-dumpfile: line 11: syntax error near unexpected token `($'
> rt-2.0-to-dumpfile: line 11: `die "You must specify an export dir"
> unless ($export_dir_base);'
> 
> I didn't think the following would make that much of a difference, but I
> did it anyway....
> 
> confused:~/rt2-rt3/rt2-to-rt3-1.23# sh ./rt-2.0-to-dumpfile /root/rt2-
> rt3/rt2dump/
> ./rt-2.0-to-dumpfile: use: command not found
> ./rt-2.0-to-dumpfile: $: command not found
> ./rt-2.0-to-dumpfile: =: command not found
> ./rt-2.0-to-dumpfile: my: command not found
> ./rt-2.0-to-dumpfile: line 11: syntax error near unexpected token `($'
> ./rt-2.0-to-dumpfile: line 11: `die "You must specify an export dir"
> unless ($export_dir_base);'
> 
> Anyone have the above issues?  
> 
> I am trying to rt-2.0-to-dumpfile from a Debian(sarge) RT 2.0.13/Perl
> 5.6 install. I will then 'want' to dumpfile-to-rt-3.0 to a RHEL4 RT
> 3.2.3/Perl 5.8 install on a different box.
> 
> Is it caused by Perl 5.6?  In what I am trying to do, what issues should
> I look out for when I do dumpfile-to-rt-3.0?
> 
> Thanks,
> 
> Tim Suter
> 
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Be sure to check out the RT Wiki at http://wiki.bestpractical.com




More information about the rt-users mailing list