DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 6th August 2008
starbuck's Avatar
starbuck starbuck is offline
Port Guard
 
Join Date: Apr 2008
Location: Eugene, OR
Posts: 31
Default cron newsyslog message

Hey all, I'm getting the following email from Cron and I was wondering if anyone has run into it before:

Code:
newsyslog: can't open pid file: /var/run/syslog.pid: No such file or directory
newsyslog: log /var/log/maillog.0 not compressed because daemon(s) not notified
I'm not really sure what to do to resolve this. I'm assuming some daemon is attempting to write a log via syslog but failing somehow. Thanks all!
Reply With Quote
  #2   (View Single Post)  
Old 6th August 2008
anomie's Avatar
anomie anomie is offline
Local
 
Join Date: Apr 2008
Location: Texas
Posts: 445
Default

Is syslogd running?
% pgrep syslogd

If not, start it. If so, restart it.
# /etc/rc.d/syslogd restart
__________________
Kill your t.v.
Reply With Quote
  #3   (View Single Post)  
Old 6th August 2008
starbuck's Avatar
starbuck starbuck is offline
Port Guard
 
Join Date: Apr 2008
Location: Eugene, OR
Posts: 31
Default

Quote:
Originally Posted by anomie View Post
Is syslogd running?
% pgrep syslogd

If not, start it. If so, restart it.
# /etc/rc.d/syslogd restart
Yeah, syslogd wasn't running on my host machine. I tried starting it and got this message:

Code:
syslogd not running? (check /var/run/syslog.pid).
Starting syslogd.
syslogd: child pid 11374 exited with return code 1
I peeked in my rc.conf file and realized I was trying to bind syslogd to an outdated IP address. I corrected the IP address and now syslogd seems to be running fine.

Thanks anomie you got me looking in the right direction!
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cron won't execute a perl script ivanatora FreeBSD General 4 17th August 2008 07:53 AM
Cron running but not working stukov Other BSD and UNIX/UNIX-like 26 24th July 2008 01:17 PM
Please help me automate getmail with cron cssgalactic FreeBSD General 2 9th July 2008 10:13 PM
Cronjob script does not run in cron godfrank FreeBSD General 9 30th June 2008 12:41 AM
Using sendmail in a cron job erehwon OpenBSD General 6 15th May 2008 09:03 PM


All times are GMT. The time now is 03:29 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick