Spamassassin install problem

Magician

Verified User
Joined
Jan 31, 2010
Messages
124
Location
EU / PL
After build spamassassin i get:
Code:
Running sa-update.
Starting SpamAssassin.
setlogsock(): type='unix': path not available at /usr/share/perl/5.14.2/Mail/SpamAssassin/Logger/Syslog.pm line 100
setlogsock(): type='tcp': TCP service unavailable at /usr/share/perl/5.14.2/Mail/SpamAssassin/Logger/Syslog.pm line 121
logger: failed to add syslog method: logger: syslog initialization failed
Restarting exim.
Shutting down exim:
spamd: no process found
Starting exim:
root@server:/usr/local/directadmin/custombuild#
Any suggestion how to fix it?
"spamd: no process found" - it`s ok?
 

Magician

Verified User
Joined
Jan 31, 2010
Messages
124
Location
EU / PL
Maybe it help: sa-update.log

Code:
Mar  6 00:51:10.345 [19980] dbg: logger: adding facilities: all
Mar  6 00:51:10.345 [19980] dbg: logger: logging level is DBG
Mar  6 00:51:10.345 [19980] dbg: generic: SpamAssassin version 3.4.1
Mar  6 00:51:10.345 [19980] dbg: generic: Perl 5.014002, PREFIX=/usr, DEF_RULES_DIR=/usr/share/spamassassin, LOCAL_RULES_DIR=/etc/mail/spamassassin, LOCAL_STATE_DIR=/var/lib/spamassassin
Mar  6 00:51:10.345 [19980] dbg: config: timing enabled
Mar  6 00:51:10.348 [19980] dbg: config: score set 0 chosen.
Mar  6 00:51:10.351 [19980] dbg: generic: sa-update version svn1652181
Mar  6 00:51:10.352 [19980] dbg: generic: using update directory: /var/lib/spamassassin/3.004001
Mar  6 00:51:10.492 [19980] dbg: diag: perl platform: 5.014002 linux
Mar  6 00:51:10.492 [19980] dbg: diag: [...] module installed: Digest::SHA1, version 2.13
Mar  6 00:51:10.492 [19980] dbg: diag: [...] module installed: HTML::Parser, version 3.72
Mar  6 00:51:10.492 [19980] dbg: diag: [...] module installed: Net::DNS, version 1.04
Mar  6 00:51:10.492 [19980] dbg: diag: [...] module installed: NetAddr::IP, version 4.078
Mar  6 00:51:10.492 [19980] dbg: diag: [...] module installed: Time::HiRes, version 1.9728
Mar  6 00:51:10.492 [19980] dbg: diag: [...] module installed: Archive::Tar, version 1.76
Mar  6 00:51:10.492 [19980] dbg: diag: [...] module installed: IO::Zlib, version 1.10
Mar  6 00:51:10.492 [19980] dbg: diag: [...] module installed: Digest::SHA1, version 2.13
Mar  6 00:51:10.492 [19980] dbg: diag: [...] module installed: MIME::Base64, version 3.15
Mar  6 00:51:10.492 [19980] dbg: diag: [...] module installed: DB_File, version 1.835
Mar  6 00:51:10.492 [19980] dbg: diag: [...] module installed: Net::SMTP, version 2.31
Mar  6 00:51:10.492 [19980] dbg: diag: [...] module installed: Mail::SPF, version v2.008
Mar  6 00:51:10.492 [19980] dbg: diag: [...] module installed: Geo::IP, version 1.45
Mar  6 00:51:10.492 [19980] dbg: diag: [...] module installed: Net::CIDR::Lite, version 0.21
Mar  6 00:51:10.492 [19980] dbg: diag: [...] module installed: Razor2::Client::Agent, version 2.84
Mar  6 00:51:10.492 [19980] dbg: diag: [...] module installed: IO::Socket::IP, version 0.37
Mar  6 00:51:10.492 [19980] dbg: diag: [...] module installed: IO::Socket::INET6, version 2.72
Mar  6 00:51:10.492 [19980] dbg: diag: [...] module installed: IO::Socket::SSL, version 2.024
Mar  6 00:51:10.492 [19980] dbg: diag: [...] module installed: Compress::Zlib, version 2.033
Mar  6 00:51:10.492 [19980] dbg: diag: [...] module installed: Mail::DKIM, version 0.4
Mar  6 00:51:10.492 [19980] dbg: diag: [...] module installed: DBI, version 1.634
Mar  6 00:51:10.492 [19980] dbg: diag: [...] module installed: Getopt::Long, version 2.38
Mar  6 00:51:10.492 [19980] dbg: diag: [...] module installed: LWP::UserAgent, version 6.15
Mar  6 00:51:10.492 [19980] dbg: diag: [...] module installed: HTTP::Date, version 6.02
Mar  6 00:51:10.493 [19980] dbg: diag: [...] module installed: Encode::Detect::Detector, version 1.01
Mar  6 00:51:10.493 [19980] dbg: diag: [...] module installed: Net::Patricia, version 1.22
Mar  6 00:51:10.493 [19980] dbg: diag: [...] module installed: Net::DNS::Nameserver, version 1406
Mar  6 00:51:10.494 [19980] dbg: util: secure_tmpfile created a temporary file /tmp/.spamassassin19980hZPM1Atmp
Mar  6 00:51:10.494 [19980] dbg: channel: attempting channel updates.spamassassin.org
Mar  6 00:51:10.494 [19980] dbg: channel: using existing directory /var/lib/spamassassin/3.004001/updates_spamassassin_org
Mar  6 00:51:10.494 [19980] dbg: channel: channel cf file /var/lib/spamassassin/3.004001/updates_spamassassin_org.cf
Mar  6 00:51:10.494 [19980] dbg: channel: channel pre file /var/lib/spamassassin/3.004001/updates_spamassassin_org.pre
Mar  6 00:51:10.494 [19980] dbg: channel: metadata version = 1732432, from file /var/lib/spamassassin/3.004001/updates_spamassassin_org.cf
Mar  6 00:51:10.625 [19980] dbg: dns: 1.4.3.updates.spamassassin.org => 1732432, parsed as 1732432
Mar  6 00:51:10.625 [19980] dbg: channel: current version is 1732432, new version is 1732432, skipping channel
Mar  6 00:51:10.625 [19980] dbg: diag: updates complete, exiting with code 1
setlogsock(): type='unix': path not available at /usr/share/perl/5.14.2/Mail/SpamAssassin/Logger/Syslog.pm line 100
setlogsock(): type='tcp': TCP service unavailable at /usr/share/perl/5.14.2/Mail/SpamAssassin/Logger/Syslog.pm line 121
logger: failed to add syslog method: logger: syslog initialization failed
server socket setup failed, retry 1: spamd: could not create IO::Socket::IP socket on [127.0.0.1]:783: Address already in use
server socket setup failed, retry 2: spamd: could not create IO::Socket::IP socket on [127.0.0.1]:783: Address already in use
server socket setup failed, retry 3: spamd: could not create IO::Socket::IP socket on [127.0.0.1]:783: Address already in use
server socket setup failed, retry 4: spamd: could not create IO::Socket::IP socket on [127.0.0.1]:783: Address already in use
server socket setup failed, retry 5: spamd: could not create IO::Socket::IP socket on [127.0.0.1]:783: Address already in use
server socket setup failed, retry 6: spamd: could not create IO::Socket::IP socket on [127.0.0.1]:783: Address already in use
server socket setup failed, retry 7: spamd: could not create IO::Socket::IP socket on [127.0.0.1]:783: Address already in use
server socket setup failed, retry 8: spamd: could not create IO::Socket::IP socket on [127.0.0.1]:783: Address already in use
server socket setup failed, retry 9: spamd: could not create IO::Socket::IP socket on [127.0.0.1]:783: Address already in use
spamd: could not create IO::Socket::IP socket on [127.0.0.1]:783: Address already in use
 

Richard G

Verified User
Joined
Jul 6, 2008
Messages
4,218
Location
Maastricht
Just out of curiousity, is the syslog daemon running?
Try to restart syslog via SSH and see if it works.
 

Magician

Verified User
Joined
Jan 31, 2010
Messages
124
Location
EU / PL
@Richard G - great idea! Afterr update Debian to 7 syslog didn`t upgrade. After install apt-get install rsyslog syslog works again.
Beside start/stop spamd works strang
 
Top