LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 07-03-2014, 12:58 PM   #1
lgtrean
Member
 
Registered: Jan 2006
Location: NY
Distribution: Ubuntu
Posts: 44

Rep: Reputation: 18
syslog file with failed deliveries


Hello,

I apologize if I am posting in the wrong area. I am not sure if this is a server question, desktop question or software question so I am posting in the Ubuntu section since I am using Ubuntu 14.04 LTS. I am using it as a desktop. I read in a magazine about a file called /var/log/syslog. So, I looked at my syslog. An excerpt of my syslog is shown below.

Code:
Jul  3 13:39:59 vroo nullmailer[1887]: Starting delivery, 25 message(s) in queue.
Jul  3 13:39:59 vroo nullmailer[9202]: smtp: Failed: Connect failed
Jul  3 13:39:59 vroo nullmailer[1887]: Sending failed:  Host not found
Jul  3 13:39:59 vroo nullmailer[9204]: smtp: Failed: Connect failed
Jul  3 13:39:59 vroo nullmailer[1887]: Sending failed:  Host not found
Jul  3 13:39:59 vroo nullmailer[1887]: Delivery complete, 25 message(s) remain.
That looks bad, right? It starts off stating it has to mail 25 messages and ends with 25 messages unsent. I assume if it's writing these errors to the syslog file it's wasting system resources especially if it keeps failing. How can I fix this?

Thank you for any information you can provide.
 
Old 07-04-2014, 10:48 AM   #2
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
Syslog is not something that I have ever used but your output doesn't look alarming to me.

What it does look like is that syslog is not configured for use on your install.

Not being at all sure what the actual package name is under Ubuntu I would suggest checking on that. Under Debian, which is likely to be correct under Ubuntu, I would first try checking the man page;
Code:
man syslog
To configure the thing this may be useful, as root;
Code:
dpkg-reconfigure syslog
There are a number of packages relating to syslog, many appear to be specifically for the configuration of syslog.
Code:
apt-cache search syslog
will give you a list of related packages.

According to your output the function that is being reported on is syslog.d. This is the daemon function or auto running function. This is indicated by the 3 in the second collumn.

Configuring syslog to not run that would be the easiest way to avoid that sort of message. Would probably also be the best for you. I doubt you have any real use for syslog.

Another solution would be to simply remove syslog unless you really do have a use for it.

A quick search for syslog gave this general overview;
http://en.wikipedia.org/wiki/Syslog
 
Old 07-04-2014, 12:57 PM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by widget View Post
What it does look like is that syslog is not configured for use on your install.
No, that's not it.


Quote:
Originally Posted by widget View Post
Configuring syslog to not run that would be the easiest way to avoid that sort of message. Would probably also be the best for you. I doubt you have any real use for syslog. Another solution would be to simply remove syslog unless you really do have a use for it.
Really, that's bad advice...



Quote:
Originally Posted by lgtrean View Post
I am using Ubuntu 14.04 LTS. I am using it as a desktop. I read in a magazine about a file called /var/log/syslog.
That's good. You should get acquainted with what you run.


Quote:
Originally Posted by lgtrean View Post
I assume if it's writing these errors to the syslog file it's wasting system resources especially if it keeps failing.
Kind of depends. It's only lines of text so if it would result in like 1K of messages per hour, yeah, that would be bad...


Quote:
Originally Posted by lgtrean View Post
How can I fix this?
The messages are about 'nullmailer': the system is trying to mail you, or your unprivileged user, something. Repeatedly. And fails ;-p. To see what the messages are about check the contents of /var/spool/nullmailer/queue/. There should be plain text files to read. Check the recipient and message body. To properly configure nullmailer see /etc/nullmailer, the Ubuntu nullmailer documentation or something like http://www.troubleshooters.com/linux/nullmailer/
 
Old 07-05-2014, 12:57 AM   #4
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
Well, he says in a huff.

All I can really say is that I stand corrected.
 
  


Reply

Tags
syslog



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Raspberry Pi Gertboard deliveries begin LXer Syndicated Linux News 0 10-16-2012 11:50 AM
How to stop hub_port_status failed messages flooding syslog? zimon Linux - Hardware 5 05-05-2012 01:17 PM
Failed logins are logged to syslog with the login id set to UNKNOWN or UNSET ssnodgra Linux - Security 1 06-12-2011 07:34 AM
[SOLVED] Qmail doesn't notify of failed deliveries snake eyes Linux - Server 6 03-13-2009 04:17 AM
Reload syslog service..failed saavik Linux - General 0 06-20-2003 01:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 10:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration