Re: how to supply db credentials to rt-email-dashboards?

Landon Stewart <[email protected]>
Newsgroups gmane.comp.bug-tracking.request-tracker.user
Message-ID <[email protected]>
On Nov 25, 2016, at 2:08 PM, Alex Hall <[email protected]<mailto:[email protected]>> wrote:

Hi list,
I'm trying to run /opt/rt4/sbin/rt-email-dashboards, but am getting an error that the database credentials are not correct. They aren't, but why? If they get picked up from the configuration, they should be correct, since RT itself is running just fine. If they aren't gotten from the configuration files, where do they come from and how can I supply them? The tool's help text didn't list any DB settings as possible flags. Thanks.

In the homedir of the user that runs the rt-email-dashboards create a file called '.rtrc'.

That file should contain:
server <url to rt instance>
user root
passwd <password>

Example:
# cat ~root/.rtrc
server http://localhost/rt
user root
passwd ohsupaihai7moR1

--
Landon Stewart
Lead Analyst - Abuse and Security Management
INTERNAP ®
📧 [email protected]<mailto:[email protected]>
🌍 www.internap.com<http://www.internap.com>

---------
RT 4.4 and RTIR training sessions, and a new workshop day! https://bestpractical.com/training
* Los Angeles - January 9-11 2017
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.