Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 04-05-2010, 01:37 AM   #1
LQ Newbie
Registered: Nov 2009
Posts: 7

Rep: Reputation: 0
error running postrotate script


I am getting an email as follows from cron.daily :


/sbin/killall -HUP radiusd
: line 1: /sbin/killall: No such file or directory
error: error running postrotate script for /var/log/vsftpd/logfile

I need have configured the following in /etc/logrotate.conf file :

rotate 4
include /etc/logrotate.d
/var/log/wtmp {
create 0664 root utmp
rotate 1
/var/log/radius/logfile {
rotate 4
/sbin/killall -HUP vsftpd

I am not sure where i am going wrong. Please advise, if i need to make changes.
Old 04-05-2010, 02:29 AM   #2
Registered: Oct 2004
Location: Adelaide Hills, South Australia
Distribution: RHEL 5&6 CentOS 5, 6 & 7
Posts: 572

Rep: Reputation: 56
Perhaps the path you've specified to killall is wrong?
Code:[root@www logrotate.d]# which killall
/usr/bin/killall[root@www logrotate.d]#


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
why am getting error ksh: syntax error: `fi' unexpected while running script deb4you Linux - Newbie 4 09-06-2008 08:37 AM
error running postrotate script farslayer Linux - General 1 07-19-2007 01:41 AM
error in running the script bhandu Linux - Newbie 4 07-03-2007 09:24 AM
i get an error message running php script inside a cgi script. repolona Linux - Software 0 02-22-2007 09:10 PM
Error running postrotate script... Jake_B Red Hat 0 09-19-2005 04:34 PM > Forums > Linux Forums > Linux - Server

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

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