Hi Brian, The RT_SiteConfig.pm file is not a script that you run manually. It is read automatically by RT. Please see the documentation https://docs.bestpractical.com/rt/4.4.1/web_deployment.html <https://docs.bestpractical.com/rt/4.4.1/web_deployment.html> for information about setting up the web server. You can also run a standalone server to test with something like
$ sudo /opt/rt4/sbin/standalone_httpd This will let you know if your config is valid and you have done everything else leading up to this point. If you are getting some kind of errors, I would recommend you follow the steps in the README https://docs.bestpractical.com/rt/4.4.1/README.html <https://docs.bestpractical.com/rt/4.4.1/README.html> to ensure that you have all of the dependencies installed and your database is set-up correctly. Thank you, Dustin > On Jun 22, 2016, at 11:25 AM, Dunbar, Brian <[email protected]> wrote: > > > > I am setting up a server on Debian (Jessie). I am at the point of configuring > the RT_SiteConfig.pm file and following examples found online I am getting an > error when trying to validate my config > > Here is the text > > 25 # You may also split settings into separate files under the > etc/RT_SiteConfig.d/ > 26 # directory. All files ending in ".pm" will be parsed, in alphabetical > order, > 27 # after this file is loaded. > 28 > 29 Set($rtname , 'xxx.ca <http://xxx.ca/>'); > 30 Set($Organization,'xxxx.xxxxx.ca <http://xxxx.xxxxx.ca/>'); > 31 > 32 Set($Timezone, "US/Eastern"); > 33 Set($CorrespondAddress, '[email protected] > <mailto:[email protected]>'); > > > When I try > sudo perl -C /opt/rt4/etc/RT_SiteConfig.pm > Undefined subroutine &main::Set called at /opt/rt4/etc/RT_SiteConfig.pm line > 29. > > > If I # line 29 then the error goes to the next line. > I have searched the formatting and the error. > > Any help appreciated. > > --------- > RT 4.4 and RTIR Training Sessions https://bestpractical.com/training > <https://bestpractical.com/training> > * Los Angeles - September, 2016
--------- RT 4.4 and RTIR Training Sessions https://bestpractical.com/training * Los Angeles - September, 2016
