Can't load RT_SiteConfig.pm

I’m using the following howto:

http://requesttracker.wikia.com/wiki/HowToInstallRequestTracker3.8OnUbuntu11.04

When I attempt to create the database, I get the error below. I found
another conversation on the issue that indicated it was a permission
issue. The file is owned by root and www-data. I set the permissions to
755, but still get the error

/usr/sbin/rt-setup-database-3.8 --action init --dba rtuser
–prompt-for-dba-password
Couldn’t load RT config file RT_SiteConfig.pm:

syntax error at /etc/request-tracker3.8/RT_SiteConfig.pm line 44, near “{}”
Compilation failed in require at
/usr/share/request-tracker3.8/lib/RT/Config.pm line 585.
BEGIN failed–compilation aborted at /usr/sbin/rt-setup-database-3.8
line 131

Hi,

You have syntax error in the file. Without content it’s hard to tell how to fix.On Thu, Sep 8, 2011 at 1:05 AM, Raymond Norton admin@lctn.org wrote:

I’m using the following howto:

http://requesttracker.wikia.com/wiki/HowToInstallRequestTracker3.8OnUbuntu11.04

When I attempt to create the database, I get the error below. I found
another conversation on the issue that indicated it was a permission issue.
The file is owned by root and www-data. I set the permissions to 755, but
still get the error

/usr/sbin/rt-setup-database-3.8 --action init --dba rtuser
–prompt-for-dba-password
Couldn’t load RT config file RT_SiteConfig.pm:

syntax error at /etc/request-tracker3.8/RT_SiteConfig.pm line 44, near “{}”
Compilation failed in require at
/usr/share/request-tracker3.8/lib/RT/Config.pm line 585.
BEGIN failed–compilation aborted at /usr/sbin/rt-setup-database-3.8 line
131

RT Training Sessions (http://bestpractical.com/services/training.html)

  • Chicago, IL, USA September 26 & 27, 2011
  • San Francisco, CA, USA October 18 & 19, 2011
  • Washington DC, USA October 31 & November 1, 2011
  • Melbourne VIC, Australia November 28 & 29, 2011
  • Barcelona, Spain November 28 & 29, 2011

Best regards, Ruslan.