Problem with rt 3.4 and solaris

Hi All,
Just installed rt 3.4 on Solaris 10 box (SPARC)
WHile trying to do a make initialize-database I get the following:
Creating system user…getservbyname failed for tcp at /usr/local/lib/perl5/site_perl/5.8.5/Log/Dispatch/Syslog.pm line 77
udp connect: nobody listening at /usr/local/lib/perl5/site_perl/5.8.5/Log/Dispatch/Syslog.pm line 77
[Thu Feb 3 14:21:45 2005] [crit]: no connection to syslog available at /usr/local/lib/perl5/site_perl/5.8.5/Log/Dispatch/Syslog.pm line 77
(/opt/rt3/lib/RT.pm:284)
getservbyname failed for tcp at /usr/local/lib/perl5/site_perl/5.8.5/Log/Dispatch/Syslog.pm line 77
udp connect: nobody listening at /usr/local/lib/perl5/site_perl/5.8.5/Log/Dispatch/Syslog.pm line 77
no connection to syslog available at /usr/local/lib/perl5/site_perl/5.8.5/Log/Dispatch/Syslog.pm line 77
*** Error code 255
make: Fatal error: Command failed for target `initialize-database’

I checked the Wiki and my RT_SiteConfig.pm is the following:

more RT_SiteConfig.pm

@LogToSyslogConf = ( socket => ‘inet’ ) unless (@LogToSyslogConf);
1;

ANy other ideas as to how I can fix this, as the above Wiki’s fix does not seem to work. Thanks

Jim

My understanding from an Engineer I called today is that Socket handling

is different. He couldn’t elaborate more as he was late for a meeting.

I will pass on more as I find out.

Have you tried it without that line?

Yes, I have tried with and without. Still same error.

Jim----- Original Message -----
From: “Richard Ellis” Richard.Ellis@Sun.COM
To: “RT USERS” rt-users@lists.bestpractical.com
Sent: Friday, February 04, 2005 11:04 AM
Subject: [rt-users] Re: Problem with rt 3.4 and solaris

My understanding from an Engineer I called today is that Socket handling

is different. He couldn’t elaborate more as he was late for a meeting.

I will pass on more as I find out.

Have you tried it without that line?


Message: 2
Date: Thu, 3 Feb 2005 09:29:46 -0500
From: “Jim Greene” jwgreene@megalink.net
Subject: [rt-users] Problem with rt 3.4 and solaris
To: “RT USERS” rt-users@lists.bestpractical.com
Message-ID: 009301c509fc$cf6f8cd0$0e04a8c0@calcutta
Content-Type: text/plain; charset=“iso-8859-1”

Hi All,
Just installed rt 3.4 on Solaris 10 box (SPARC)
WHile trying to do a make initialize-database I get the following:
Creating system user…getservbyname failed for tcp at
/usr/local/lib/perl5/site_perl/5.8.5/Log/Dispatch/Syslog.pm line 77
udp connect: nobody listening at
/usr/local/lib/perl5/site_perl/5.8.5/Log/Dispatch/Syslog.pm line 77
[Thu Feb 3 14:21:45 2005] [crit]: no connection to syslog available at
/usr/local/lib/perl5/site_perl/5.8.5/Log/Dispatch/Syslog.pm line 77
(/opt/rt3/lib/RT.pm:284)
getservbyname failed for tcp at
/usr/local/lib/perl5/site_perl/5.8.5/Log/Dispatch/Syslog.pm line 77
udp connect: nobody listening at
/usr/local/lib/perl5/site_perl/5.8.5/Log/Dispatch/Syslog.pm line 77
no connection to syslog available at
/usr/local/lib/perl5/site_perl/5.8.5/Log/Dispatch/Syslog.pm line 77
*** Error code 255
make: Fatal error: Command failed for target `initialize-database’

I checked the Wiki and my RT_SiteConfig.pm is the following:

more RT_SiteConfig.pm

@LogToSyslogConf = ( socket => ‘inet’ ) unless (@LogToSyslogConf);
1;

ANy other ideas as to how I can fix this, as the above Wiki’s fix does
not seem to work. Thanks

Jim
-------------- next part --------------
An HTML attachment was scrubbed…
URL:
http://lists.bestpractical.com/pipermail/rt-users/attachments/20050203/fd7ea94d/attachment.html


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

RT Administrator and Developer training is coming to your town soon!
(Boston, San Francisco, Austin, Sydney) Contact training@bestpractical.com
for details.

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Jim Greene wrote:

I checked the Wiki and my RT_SiteConfig.pm is the following:

more RT_SiteConfig.pm

@LogToSyslogConf = ( socket => ‘inet’ ) unless (@LogToSyslogConf);
1;

You do not want to define @LogToSyslogConf, as ‘socket => ‘inet’’ is
what you want. I am not sure of the perl and/or RT syntax, but you want
socket=inet.

You also cannot have LOG_FROM_REMOTE=NO in /etc/default/syslogd. It
should be ‘= YES’

Alex

At Friday 2/4/2005 11:05 AM, Jim Greene wrote:

Yes, I have tried with and without. Still same error.

Jim

Jim,

It may or may not help, but there was a posting about a similar problem
before (Solaris 8) - see
http://marc.free.net.ph/message/20030715.071640.1ace5b74.html

Steve

There is also my slightly more brute force fix which seems to work for
some people better than the RT_Siteconfig.pm option
http://wiki.bestpractical.com/index.cgi?NoConnectionToSyslog

I have tried that, to no avail.

Jim----- Original Message -----
From: “Richard Ellis” Richard.Ellis@Sun.COM
To: “RT USERS” rt-users@lists.bestpractical.com
Sent: Friday, February 04, 2005 12:48 PM
Subject: [rt-users] Re: Re: Problem with rt 3.4 and solaris

There is also my slightly more brute force fix which seems to work for
some people better than the RT_Siteconfig.pm option
http://wiki.bestpractical.com/index.cgi?NoConnectionToSyslog

Message: 4
Date: Fri, 04 Feb 2005 11:20:15 -0500
From: Stephen Turner sturner@MIT.EDU
Subject: Re: [rt-users] Re: Problem with rt 3.4 and solaris
To: “Jim Greene” jwgreene@megalink.net, "RT USERS"
rt-users@lists.bestpractical.com
Message-ID: 5.2.1.1.2.20050204111755.01f3d3a8@po14.mit.edu
Content-Type: text/plain; charset=“us-ascii”; format=flowed

At Friday 2/4/2005 11:05 AM, Jim Greene wrote:

Yes, I have tried with and without. Still same error.

Jim

Jim,

It may or may not help, but there was a posting about a similar problem
before (Solaris 8) - see
http://marc.free.net.ph/message/20030715.071640.1ace5b74.html

Steve



RT-Users mailing list
RT-Users@lists.bestpractical.com
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

End of RT-Users Digest, Vol 11, Issue 19



http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

RT Administrator and Developer training is coming to your town soon!
(Boston, San Francisco, Austin, Sydney) Contact training@bestpractical.com
for details.

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Jim Greene wrote:

I have tried that, to no avail.

Jim

Did my suggestion on /etc/default/syslogd not help either?

Actually, that piece came from another blastwave.org maintainer, Ihsan,
on a different problem that we were working on.

Alex

What are the risks/problems encountered in using RT3.4 using MySQL 3.23.58
over MySQL 4.0.x?

I have a supported and controlled RH AE3 installation and upgrading this
might require significant numbers of items to be recompiled and perhaps not
supported if it should cause other systems problems.

M. D. Parker
Systems Administrator
General Atomics / Electromagnetic Systems
+1 858 455 2877
mike.parker@ga.com