Script failing to access file, permissions?

I am attempting to get Request Tracker to use a PostgreSQL database and need
to run,as root, a script :-
/usr/sbin/rt-setup-database-3.6 –action init –dba rtuser
–prompt-for-dba-password

this fails with

RT couldn’t load RT config file /etc/request-tracker3.6/RT_SiteConfig.pm as:
user: root
group: root

The file is owned by user root and group root.

This usually means that the user/group your webserver is running
as cannot read the file. Be careful not to make the permissions
on this file too liberal, because it contains database passwords.
You may need to put the webserver user in the appropriate group
(root) or change permissions be able to run succesfully.

but the file has the following attributes:-
root@general:~# ls -al /etc/request-tracker3.6/RT_SiteConfig.pm
-rw-r–r-- 1 root root 886 2009-01-20 06:45
/etc/request-tracker3.6/RT_SiteConfig.pm

Please tell me what I am missing.

View this message in context: http://www.nabble.com/Script-failing-to-access-file%2C-permissions--tp21560140p21560140.html

I am attempting to get Request Tracker to use a PostgreSQL database and need
to run,as root, a script :-
/usr/sbin/rt-setup-database-3.6 –action init –dba rtuser
–prompt-for-dba-password

this fails with

RT couldn’t load RT config file /etc/request-tracker3.6/RT_SiteConfig.pm as:
user: root
group: root

The file is owned by user root and group root.

This usually means that the user/group your webserver is running

Usually, but not always. I’d check for typos (using the invocation
mentioned in RT_SiteConfig.pm)

Best,

Jesse