[rt-users] Script failing to access file, permissions?
Jesse Vincent
jesse at bestpractical.com
Tue Jan 20 11:47:23 EST 2009
On Tue, Jan 20, 2009 at 03:32:27AM -0800, straygrey wrote:
>
> 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
> 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 at 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
> Sent from the Request Tracker - User mailing list archive at Nabble.com.
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
--
More information about the rt-users
mailing list