In the README for RTFM, it mentions installing HTML::Format but on CPAN
the closest that I can find is HTML::FormatText (for which the tarball is
called HTML-Format). Is that the right module to fill the dependency?
When I attempt to create new article class
(RTFM->Configuration->Classes->New Class) I get an error message (see
below).
Using RTFM 2.0.4, RT 3.0.11 , Statistics 0.1.5, Mysql 4.0.20 , Perl
5.8.4, FreeBSD 4.8, Apache: Apache/1.3.31 mod_perl/1.29 mod_ssl/2.8.18
OpenSSL/0.9.7d
I recently upgraded Perl 5.8.2-5 -> 5.8.4, RT from 3.0.7 -> 3.0.11 &
RTFM 2.0 -> 2.0.2 I’m not aware of whether or not this problem was
preexisting or not, I just noticed it today, so I upgraded RTFM 2.0.2 ->
2.0.4 and still have same problem.
Do I need to set different permissions on my log files? Any tips?
Thanks,
Mike
error: no connection to syslog available at
/usr/local/lib/perl5/site_perl/5.8.4/Log/Dispatch/Syslog.pm line 77
context:
…
187: # whether they should generate a full stack trace (confess() and
cluck())
188: # or simply report the caller’s package (croak() and carp()),
respectively.
189: # confess() and croak() die, carp() and cluck() warn.
190:
191: sub croak { die shortmess @_ }
192: sub confess { die longmess @_ }
193: sub carp { warn shortmess @_ }
194: sub cluck { warn longmess @_ }
195:
…
code stack: /usr/local/lib/perl5/5.8.4/Carp.pm:191
/usr/local/lib/perl5/5.8.4/mach/Sys/Syslog.pm:430
/usr/local/lib/perl5/5.8.4/mach/Sys/Syslog.pm:337
/usr/local/lib/perl5/site_perl/5.8.4/Log/Dispatch/Syslog.pm:77
/usr/local/lib/perl5/site_perl/5.8.4/Log/Dispatch/Output.pm:41
/usr/local/lib/perl5/site_perl/5.8.4/Log/Dispatch.pm:95
/usr/local/lib/perl5/site_perl/5.8.4/Log/Dispatch.pm:74
/usr/local/lib/perl5/site_perl/5.8.4/Log/Dispatch.pm:22
/usr/local/rt3/lib/RT.pm:250
/usr/local/lib/perl5/5.8.4/Carp.pm:194
/usr/local/rt3/lib/RT/Principal_Overlay.pm:354
/usr/local/rt3/lib/RT/User_Overlay.pm:1474
/usr/local/rt3/lib/RT/CurrentUser.pm:305
/usr/local/rt3/lib/RT/FM/Class_Overlay.pm:267
/usr/local/rt3/lib/RT/FM/Class_Overlay.pm:254
/usr/local/lib/perl5/site_perl/5.8.4/DBIx/SearchBuilder/Record.pm:410
/usr/local/rt3/share/html/RTFM/Admin/Classes/Modify.html:103
/usr/local/rt3/share/html/autohandler:196
This solved my problem for me:
http://marc.free.net.ph/message/20040123.215715.974d9463.html
Adding this socket statement to the /my-rtinstall-dir/lib/RT.pm in the
if ($RT::LogToSyslog) { statement just above the stderr => 1, fixed
it for me:
socket => ‘inet’
Mike Patterson wrote:
This solved my problem for me:
http://marc.free.net.ph/message/20040123.215715.974d9463.html
Adding this socket statement to the /my-rtinstall-dir/lib/RT.pm in the
if ($RT::LogToSyslog) { statement just above the stderr => 1, fixed
it for me:socket => ‘inet’
Now you can do it in RT config. There is special comment about this problem.
Best regards. Ruslan.
At 1:04 PM +0400 6/12/04, Ruslan U. Zakirov wrote:
Mike Patterson wrote:
This solved my problem for me:
http://marc.free.net.ph/message/20040123.215715.974d9463.html
Adding this socket statement to the /my-rtinstall-dir/lib/RT.pm in
the if ($RT::LogToSyslog) { statement just above the stderr =>
1, fixed it for me:socket => ‘inet’
Now you can do it in RT config. There is special comment about this problem.Best regards. Ruslan.
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
RT Developer and Administrator training is coming to LA, DC and
Frankfurt this spring and summer.
http://bestpractical.com/services/training.htmlSign up early, as class space is limited.
I’m also using Solaris, so this was a very welcome addition to RT.
Thanks Jesse.
Example:
I added this:
On Solaris, set to ( socket => ‘inet’ ). Options here override any
other options RT passes to Log::Dispatch::Syslog. Other interesting
flags include facility and logopt. (See the Log::Dispatch::Syslog
documentation for more information.) (Maybe ident too, if you have
multiple RT installations.)
#@LogToSyslogConf = (socket => ‘inet’) unless (@LogToSyslogConf);
@LogToSyslogConf = (socket => ‘inet’) unless (@LogToSyslogConf);
to my RT_SiteConfig.pm, restarted apache and the RTFM 2.0.4 no longer croaks.
Thanks Ruslan for the pointer.
Brussels University
Pleinlaan 2
Computer Center VUB/ULB (VUBnet)
Ing. Robert Jansen
B-1050 Brussels
Belgium (Europe)
email: rjansen@vub.ac.be
Tel: +32-2-650.36.94
Secr: +32-2-650.37.38
Fax: +32-2-650.37.40