<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">As far as I know the ~user/.rtrc file is good for both rt-crontool and the rt utility itself. I've cc'd the list in case anyone has any more info or corrections.</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div>--<br class="">
Landon Stewart<br class="">
Lead Analyst - Abuse and Security Management<br class="">
INTERNAP ®<br class="">
📧 <a href="mailto:lstewart@internap.com" class="">lstewart@internap.com</a><br class="">
🌍 <a href="http://www.internap.com" class="">www.internap.com</a></div>
</div>
</div>
</div>
<div class=""><br class="">
</div>
<div class="">
<div>
<blockquote type="cite" class="">
<div class="">On Nov 28, 2016, at 6:47 AM, Alex Hall <<a href="mailto:ahall@autodist.com" class="">ahall@autodist.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">Thank you, this works perfectly. What else is this 'rtrc' file good for, if anything? Or is it only for the scripts in [rtDir]/sbin to use for database connections?<br class="">
</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On Fri, Nov 25, 2016 at 7:31 PM, Landon Stewart <span dir="ltr" class="">
<<a href="mailto:lstewart@internap.com" target="_blank" class="">lstewart@internap.com</a>></span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word" class="">
<div class=""><span class="">
<blockquote type="cite" class="">
<div class="">On Nov 25, 2016, at 2:08 PM, Alex Hall <<a href="mailto:ahall@autodist.com" target="_blank" class="">ahall@autodist.com</a>> wrote:</div>
<br class="m_-4040456497430301690Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">
<div class="">Hi list,<br class="">
</div>
I'm trying to run /opt/rt4/sbin/rt-email-<wbr class="">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.<br clear="all" class="">
</div>
</div>
</blockquote>
<div class=""><br class="">
</div>
</span>
<div class="">
<div class="">In the homedir of the user that runs the rt-email-dashboards create a file called '.rtrc'.</div>
<div class=""><br class="">
</div>
<div class="">That file should contain:</div>
<div class="">server <url to rt instance><br class="">
user root<br class="">
passwd <password></div>
<div class=""><br class="">
</div>
<div class="">Example:</div>
<div class=""><font face="Courier New" class=""># cat ~root/.rtrc <br class="">
server <a href="http://localhost/rt" target="_blank" class="">http://localhost/rt</a><br class="">
user root<br class="">
passwd ohsupaihai7moR1</font></div>
<div class=""><font face="Courier New" class=""><br class="">
</font></div>
</div>
</div>
<div class="">
<div style="word-wrap:break-word" class="">
<div style="font-family: Helvetica; font-size: 18px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class="">
--<br class="">
Landon Stewart<br class="">
Lead Analyst - Abuse and Security Management<br class="">
INTERNAP ®<br class="">
📧 <a href="mailto:lstewart@internap.com" target="_blank" class="">lstewart@internap.com</a><br class="">
🌍 <a href="http://www.internap.com/" target="_blank" class="">www.internap.com</a></div>
</div>
</div>
<br class="">
</div>
</blockquote>
</div>
<br class="">
<br clear="all" class="">
<br class="">
-- <br class="">
<div class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr" class="">
<div class="">
<div class="">Alex Hall<br class="">
</div>
Automatic Distributors, IT department<br class="">
</div>
<a href="mailto:ahall@autodist.com" target="_blank" class="">ahall@autodist.com</a></div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</body>
</html>