You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by "Ralph J.Mayer" <rm...@nerd-residenz.de> on 2014/01/28 09:35:39 UTC

Hint needed for Troubleshooting

Hi,

I have a Debian-System on Jessie/Sid and sa-update is not working

root@falstaff:~# su debian-spamd -c "sa-update -D --gpghomedir 
/var/lib/spamassassin/sa-update-keys"
Jan 28 09:30:32.569 [27955] dbg: logger: adding facilities: all
Jan 28 09:30:32.570 [27955] dbg: logger: logging level is DBG
Jan 28 09:30:32.570 [27955] dbg: generic: SpamAssassin version 3.3.2
Jan 28 09:30:32.570 [27955] dbg: generic: Perl 5.018002, PREFIX=/usr, 
DEF_RULES_DIR=/usr/share/spamassassin, 
LOCAL_RULES_DIR=/etc/spamassassin, LOCAL_STATE_DIR=/var/lib/spamassassin
Jan 28 09:30:32.570 [27955] dbg: config: timing enabled
Jan 28 09:30:32.572 [27955] dbg: config: score set 0 chosen.
Jan 28 09:30:32.590 [27955] dbg: dns: is Net::DNS::Resolver available? yes
Jan 28 09:30:32.590 [27955] dbg: dns: Net::DNS version: 0.68
Jan 28 09:30:32.590 [27955] dbg: generic: sa-update version svn917659
Jan 28 09:30:32.591 [27955] dbg: generic: using update directory: 
/var/lib/spamassassin/3.003002
Jan 28 09:30:32.777 [27955] dbg: diag: perl platform: 5.018002 linux
Jan 28 09:30:32.777 [27955] dbg: diag: [...] module installed: 
Digest::SHA, version 5.85
Jan 28 09:30:32.777 [27955] dbg: diag: [...] module installed: 
HTML::Parser, version 3.71
Jan 28 09:30:32.777 [27955] dbg: diag: [...] module installed: Net::DNS, 
version 0.68
Jan 28 09:30:32.777 [27955] dbg: diag: [...] module installed: 
NetAddr::IP, version 4.071
Jan 28 09:30:32.777 [27955] dbg: diag: [...] module installed: 
Time::HiRes, version 1.9725
Jan 28 09:30:32.777 [27955] dbg: diag: [...] module installed: 
Archive::Tar, version 1.90
Jan 28 09:30:32.778 [27955] dbg: diag: [...] module installed: IO::Zlib, 
version 1.10
Jan 28 09:30:32.778 [27955] dbg: diag: [...] module not installed: 
Digest::SHA1 ('require' failed)
Jan 28 09:30:32.778 [27955] dbg: diag: [...] module installed: 
MIME::Base64, version 3.13
Jan 28 09:30:32.778 [27955] dbg: diag: [...] module installed: DB_File, 
version 1.827
Jan 28 09:30:32.778 [27955] dbg: diag: [...] module installed: 
Net::SMTP, version 2.31
Jan 28 09:30:32.778 [27955] dbg: diag: [...] module installed: 
Mail::SPF, version v2.009
Jan 28 09:30:32.778 [27955] dbg: diag: [...] module not installed: 
IP::Country::Fast ('require' failed)
Jan 28 09:30:32.778 [27955] dbg: diag: [...] module not installed: 
Razor2::Client::Agent ('require' failed)
Jan 28 09:30:32.779 [27955] dbg: diag: [...] module not installed: 
Net::Ident ('require' failed)
Jan 28 09:30:32.779 [27955] dbg: diag: [...] module installed: 
IO::Socket::INET6, version 2.71
Jan 28 09:30:32.779 [27955] dbg: diag: [...] module not installed: 
IO::Socket::SSL ('require' failed)
Jan 28 09:30:32.779 [27955] dbg: diag: [...] module installed: 
Compress::Zlib, version 2.06
Jan 28 09:30:32.779 [27955] dbg: diag: [...] module not installed: 
Mail::DKIM ('require' failed)
Jan 28 09:30:32.779 [27955] dbg: diag: [...] module not installed: DBI 
('require' failed)
Jan 28 09:30:32.779 [27955] dbg: diag: [...] module installed: 
Getopt::Long, version 2.39
Jan 28 09:30:32.779 [27955] dbg: diag: [...] module installed: 
LWP::UserAgent, version 6.05
Jan 28 09:30:32.780 [27955] dbg: diag: [...] module installed: 
HTTP::Date, version 6.02
Jan 28 09:30:32.780 [27955] dbg: diag: [...] module not installed: 
Encode::Detect ('require' failed)
Jan 28 09:30:32.781 [27955] dbg: gpg: Searching for 'gpg'
Jan 28 09:30:32.781 [27955] dbg: util: current PATH is: 
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
Jan 28 09:30:32.782 [27955] dbg: util: executable for gpg was found at 
/usr/bin/gpg
Jan 28 09:30:32.782 [27955] dbg: gpg: found /usr/bin/gpg
Jan 28 09:30:32.782 [27955] dbg: gpg: release trusted key id list: 
0C2B1D7175B852C64B3CDC716C55397824F434CE 
26C900A46DD40CD5AD24F6D7DEE01987265FA05B 
5E541DC959CB8BAC7C78DFDC4056A61A5244EC45
Can't locate HTTP/Config.pm:   Permission denied at 
/usr/share/perl5/LWP/UserAgent.pm line 771.
root@falstaff:~#

What permission is meant here?

Also, it says, Mail::DKIM is not installed, but

root@falstaff:~# apt-get install libmail-dkim-perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
libmail-dkim-perl is already the newest version.
libmail-dkim-perl set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@falstaff:~#

Any pointers what to check are appreciated.


-- 
Viele Grüße / Kind Regards / Cordiali Saluti / Met vriendelijke groet


Ralph J.Mayer

Re: Hint needed for Troubleshooting

Posted by Mark Martinec <Ma...@ijs.si>.
> I have a Debian-System on Jessie/Sid and sa-update is not working
> root@falstaff:~# su debian-spamd -c "sa-update -D --gpghomedir
> /var/lib/spamassassin/sa-update-keys"

> Jan 28 09:30:32.570 [27955] dbg: generic: SpamAssassin version 3.3.2
> Jan 28 09:30:32.570 [27955] dbg: generic: Perl 5.018002, PREFIX=/usr,
> DEF_RULES_DIR=/usr/share/spamassassin,
> LOCAL_RULES_DIR=/etc/spamassassin, LOCAL_STATE_DIR=/var/lib/spamassassin

> Jan 28 09:30:32.779 [27955] dbg: diag: [...] module not installed:
> Mail::DKIM ('require' failed)

> Can't locate HTTP/Config.pm:   Permission denied at
> /usr/share/perl5/LWP/UserAgent.pm line 771.
> 
> What permission is meant here?

Permission of the file <perl path>/HTTP/Config.pm, or one of its
parent directories - as accessed by user debian-spamd.

> Also, it says, is not installed, but
> 
> root@falstaff:~# apt-get install libmail-dkim-perl
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> libmail-dkim-perl is already the newest version.
> libmail-dkim-perl set to manually installed.

Try:  # su debian-spamd -c 'perl -e "use Mail::DKIM"'

  Mark