Skip to Content.
Sympa Menu

en - RE: [sympa-users] 6.0: unable to get logging to work on Solaris 10

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: "Malcolm Waltz" <address@concealed>
  • To: "Omen Wild" <address@concealed>, <address@concealed>
  • Subject: RE: [sympa-users] 6.0: unable to get logging to work on Solaris 10
  • Date: Thu, 12 Nov 2009 11:36:05 -0800

Hi Omen,

I actually have the same message in my logs, although it is warning not
an error. This, despite several differences in our configuration (SPARC
vs. Intel, perl 5.10.1 vs 5.8.4, FastCGI vs. mod_fcgid).

################################################################
[Wed Nov 11 16:51:44 2009] [warn] [client x.x.x.x] mod_fcgid: stderr:
Use of uninitialized value in sprintf at
/usr/perl5/5.8.4/lib/i86pc-solaris-64int/Sys/Syslog.pm line 365.,
referer: https://xxxx.pacific.edu/sympa/home
################################################################

I haven't found any problems caused by this, just an annoying error (or
possibly a problem I haven't found yet). Our Sympa 6.0 server is not
yet in production, but it is working fairly well, despite numerous
similar warnings in the httpd error log. It does concern me as well
though. I have finally managed to clear up all the warnings and errors
in the sympa logs.

As for logging, are you getting any log output from sympa? If not, try
this:

touch /var/log/sympa

Add these lines to /etc/syslog.conf:
local1.* /var/log/sympa
#
# For logging over the network:
#local1.* @loghost

svcadm refresh system/system-log


Malcolm Waltz
Unix Systems Administrator II
Office of Information Technology
University of the Pacific

-----Original Message-----
From: Malcolm Waltz
Sent: Thursday, November 12, 2009 11:00 AM
To: Omen Wild
Subject: RE: [sympa-users] 6.0: unable to get logging to work on Solaris
10

Whoops! I should have read that a little more closely. Sorry.

-----Original Message-----
From: address@concealed [mailto:address@concealed] On
Behalf Of Malcolm Waltz
Sent: Thursday, November 12, 2009 10:49 AM
To: Omen Wild; address@concealed
Subject: RE: [sympa-users] 6.0: unable to get logging to work on Solaris
10

Hi Omen,

To fix your problem, edit the sympa.conf file and change log_socket_type
from socket to stream.

< log_socket_type unix
---
> log_socket_type stream

It's good to see that a neighboring University is also using Sympa.

Malcolm Waltz
Unix Systems Administrator II
Office of Information Technology
University of the Pacific


-----Original Message-----
From: address@concealed [mailto:address@concealed] On
Behalf Of Omen Wild
Sent: Thursday, November 12, 2009 10:34 AM
To: address@concealed
Subject: [sympa-users] 6.0: unable to get logging to work on Solaris 10

I have a custom compiled Sympa 6.0 running under Solaris 10 with a
custom compiled perl 5.10.1. I have it most of the way working, but am
running into an issue getting syslog to work. I found the FAQ entry
and set `log_socket_type' to `stream', however, I get the following
errors in my httpd error log:
[Tue Nov 10 15:41:49 2009] [error] [client 128.120.193.70] FastCGI:
server "/ucd/sympa/bin/wwsympa.fcgi" stderr: Use of uninitialized value
$_[1] in sprintf at
/ucd/pkg/perl-5.10.1/lib/5.10.1/sun4-solaris/Sys/Syslog.pm line 365.
[Tue Nov 10 15:41:49 2009] [error] [client 128.120.193.70] FastCGI:
server "/ucd/sympa/bin/wwsympa.fcgi" stderr: Use of uninitialized value
$_[2] in sprintf at
/ucd/pkg/perl-5.10.1/lib/5.10.1/sun4-solaris/Sys/Syslog.pm line 365.

I do not get any `Listmaster / logs_failed' emails at startup, so I am
assuming the logging is starting up correctly.

Any ideas on how to go about debugging this?

Thanks,
Omen

--
Omen Wild
Security Administrator
(530) 752-1700





Archive powered by MHonArc 2.6.19+.

Top of Page