<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://rt-wiki.bestpractical.com/index.php?action=history&amp;feed=atom&amp;title=NoConnectionToSyslog</id>
	<title>NoConnectionToSyslog - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://rt-wiki.bestpractical.com/index.php?action=history&amp;feed=atom&amp;title=NoConnectionToSyslog"/>
	<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=NoConnectionToSyslog&amp;action=history"/>
	<updated>2026-08-21T17:21:53Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=NoConnectionToSyslog&amp;diff=2316&amp;oldid=prev</id>
		<title>Admin: 2 revisions imported</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=NoConnectionToSyslog&amp;diff=2316&amp;oldid=prev"/>
		<updated>2016-04-06T20:15:46Z</updated>

		<summary type="html">&lt;p&gt;2 revisions imported&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Problem ==&lt;br /&gt;
&lt;br /&gt;
RT reports error&lt;br /&gt;
&lt;br /&gt;
 no connection to syslog available at /opt/machine/perl/lib/site_perl/5.8.2/Log/Dispatch/Syslog.pm line 77&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
This happens on Solaris, some FreeBSDs and UnixWare 7.&lt;br /&gt;
&lt;br /&gt;
/Older versions of Perl, may segfault at the &amp;quot;Creating system user...&amp;quot; stage of initialize-database instead of reporting the above error./&lt;br /&gt;
&lt;br /&gt;
A related error can occur on FreeBSD with [[WebExternalAuth]] (i.e. Apache auth) when Apache is restarted and users try to continue to work with existing sessions. They receive an error page with a stack crawl that starts with:&lt;br /&gt;
&lt;br /&gt;
 no connection to syslog available&lt;br /&gt;
 - stream /dev/conslog is not writable&lt;br /&gt;
 - console is not writable at /usr/local/lib/perl5/site_perl/5.8.8/Log/Dispatch/Syslog.pm line 71&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
== Solution ==&lt;br /&gt;
&lt;br /&gt;
In RT 3.0.11, workaround has been added to [[SiteConfig]]. It is recommended to edit the config file, rather than changing the RT.pm script. The following text is a description from the config file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;# On Solaris, set to ( socket =&amp;amp;gt; &amp;#039;inet&amp;#039; ).  Options here override any&lt;br /&gt;
 # other options RT passes to Log::Dispatch::Syslog.  Other interesting&lt;br /&gt;
 # flags include facility and logopt.  (See the Log::Dispatch::Syslog&lt;br /&gt;
 # documentation for more information.)  (Maybe ident too, if you have&lt;br /&gt;
 # multiple RT installations.)&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To solve a problem add next line to the [[SiteConfig]]:&lt;br /&gt;
&lt;br /&gt;
 @LogToSyslogConf = ( socket =&amp;amp;gt; &amp;#039;inet&amp;#039; );&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Another solution for Solaris is using &amp;#039;stream&amp;#039; socket&lt;br /&gt;
&lt;br /&gt;
 @LogToSyslogConf = ( socket =&amp;amp;gt; &amp;#039;stream&amp;#039; );&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
You can found more info about possible socket values on the [http://search.cpan.org/dist/Sys-Syslog/Syslog.pm documentation] page of the module Sys::Syslog.&lt;br /&gt;
&lt;br /&gt;
A solution for FreeBSD is:&lt;br /&gt;
&lt;br /&gt;
 @LogToSyslogConf = ( socket =&amp;amp;gt; (&amp;#039;unix&amp;#039;, &amp;#039;/var/run/log&amp;#039;) );&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
== Solution for RT &amp;amp;lt; 3.0.11 ==&lt;br /&gt;
&lt;br /&gt;
You need to slightly alter how RT tries to connect to syslog.&lt;br /&gt;
&lt;br /&gt;
edit &amp;lt;code&amp;gt;&amp;amp;lt;rt-path&amp;amp;gt;/lib/RT.pm&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Find the second instance of stderr =&amp;amp;gt; 1&lt;br /&gt;
&lt;br /&gt;
and insert above this:&lt;br /&gt;
&lt;br /&gt;
 socket =&amp;amp;gt; &amp;#039;inet&amp;#039;,&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=NoConnectionToSyslog&amp;diff=2314&amp;oldid=prev</id>
		<title>BillCole at 19:23, 27 January 2009</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=NoConnectionToSyslog&amp;diff=2314&amp;oldid=prev"/>
		<updated>2009-01-27T19:23:31Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Problem ==&lt;br /&gt;
&lt;br /&gt;
RT reports error&lt;br /&gt;
&lt;br /&gt;
 no connection to syslog available at /opt/machine/perl/lib/site_perl/5.8.2/Log/Dispatch/Syslog.pm line 77&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
This happens on Solaris, some FreeBSDs and UnixWare 7.&lt;br /&gt;
&lt;br /&gt;
/Older versions of Perl, may segfault at the &amp;quot;Creating system user...&amp;quot; stage of initialize-database instead of reporting the above error./&lt;br /&gt;
&lt;br /&gt;
A related error can occur on FreeBSD with [[WebExternalAuth]] (i.e. Apache auth) when Apache is restarted and users try to continue to work with existing sessions. They receive an error page with a stack crawl that starts with:&lt;br /&gt;
&lt;br /&gt;
 no connection to syslog available&lt;br /&gt;
 - stream /dev/conslog is not writable&lt;br /&gt;
 - console is not writable at /usr/local/lib/perl5/site_perl/5.8.8/Log/Dispatch/Syslog.pm line 71&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
== Solution ==&lt;br /&gt;
&lt;br /&gt;
In RT 3.0.11, workaround has been added to [[SiteConfig]]. It is recommended to edit the config file, rather than changing the RT.pm script. The following text is a description from the config file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;# On Solaris, set to ( socket =&amp;amp;gt; &amp;#039;inet&amp;#039; ).  Options here override any&lt;br /&gt;
 # other options RT passes to Log::Dispatch::Syslog.  Other interesting&lt;br /&gt;
 # flags include facility and logopt.  (See the Log::Dispatch::Syslog&lt;br /&gt;
 # documentation for more information.)  (Maybe ident too, if you have&lt;br /&gt;
 # multiple RT installations.)&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To solve a problem add next line to the [[SiteConfig]]:&lt;br /&gt;
&lt;br /&gt;
 @LogToSyslogConf = ( socket =&amp;amp;gt; &amp;#039;inet&amp;#039; );&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Another solution for Solaris is using &amp;#039;stream&amp;#039; socket&lt;br /&gt;
&lt;br /&gt;
 @LogToSyslogConf = ( socket =&amp;amp;gt; &amp;#039;stream&amp;#039; );&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
You can found more info about possible socket values on the [http://search.cpan.org/dist/Sys-Syslog/Syslog.pm documentation] page of the module Sys::Syslog.&lt;br /&gt;
&lt;br /&gt;
A solution for FreeBSD is:&lt;br /&gt;
&lt;br /&gt;
 @LogToSyslogConf = ( socket =&amp;amp;gt; (&amp;#039;unix&amp;#039;, &amp;#039;/var/run/log&amp;#039;) );&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
== Solution for RT &amp;amp;lt; 3.0.11 ==&lt;br /&gt;
&lt;br /&gt;
You need to slightly alter how RT tries to connect to syslog.&lt;br /&gt;
&lt;br /&gt;
edit &amp;lt;code&amp;gt;&amp;amp;lt;rt-path&amp;amp;gt;/lib/RT.pm&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Find the second instance of stderr =&amp;amp;gt; 1&lt;br /&gt;
&lt;br /&gt;
and insert above this:&lt;br /&gt;
&lt;br /&gt;
 socket =&amp;amp;gt; &amp;#039;inet&amp;#039;,&lt;/div&gt;</summary>
		<author><name>BillCole</name></author>
	</entry>
</feed>