Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: EdelingF on July 04, 2004, 06:02:42 PM
-
The error I'm getting is:
/etc/cron.daily/logrotate:
error: error accessing /var/log/proftpd: No such file or directory
error: proftpd:11 glob failed for /var/log/proftpd/*.log
Can anyone help?
-
I have to say I have 2 machine that are getting the same error, althugh not as consistant as they were a few weeks ago :hammer: I have not figured out what is the cause yet.If you do I would be interested on how to fix it.
das :pint:
das@dsweet.com
-
You've installed proftpd-1.2.9-es3.i386.rpm which omits to create the /var/log/proftpd directory.
Just create the directory like this:
mkdir /var/log/proftpd
and it will stop moaning.
-
I have started to have this same problem, but I do have the dir var/log/proftpd.
My email error says:
/etc/cron.daily/logrotate:
proftpd: no process killed
error running postrotate script
-
You have a different problem - proftpd isn't running at all. Try doing:
# service proftpd start
& see what the error message (if any) is.
-
thanks Nick
here is what I got.
Dec 26 12:00:16 Seaport5 mc: /dev/gpmctl: No such file or directory
Dec 26 12:29:17 Seaport5 proftpd: Seaport5.SeaPort5.com - Fatal: Socket operation on non-socket
Dec 26 12:29:17 Seaport5 proftpd: Seaport5.SeaPort5.com - (Running from command line? Use ServerType standalone' in config file!)
Dec 26 12:29:17 Seaport5 proftpd: proftpd startup failed
-
Argh! Sorry, wrong command - try:
# /etc/rc.d/init.d/proftpd condrestart
and then try to login to the ftp server
-
Argh! Sorry, wrong command - try:
# /etc/rc.d/init.d/proftpd condrestart
and then try to login to the ftp server
Still the wrong command. proftpd is started from xinetd, when an inbound connection arrives. There's no service to restart.
-
Yes, Charlie, you're right. That'll teach me to post when away from an SME & rely on my (bad) memory.
Now that I'm back, I can't see a reference to proftpd anywhere in /etc/logrotate.conf - perhaps "thepair" could post the contents of theirs for comparison?
-
Yes, Charlie, you're right. That'll teach me to post when away from an SME & rely on my (bad) memory.
Now that I'm back, I can't see a reference to proftpd anywhere in /etc/logrotate.conf - perhaps "thepair" could post the contents of theirs for comparison?
# see "man logrotate" for details
# rotate log files weekly
weekly
# keep 4 weeks worth of backlogs
rotate 4
# create new (empty) log files after rotating old ones
create
# uncomment this if you want your log files compressed
#compress
# RPM packages drop log rotation information into this directory
include /etc/logrotate.d
# no packages own wtmp -- we'll rotate them here
/var/log/wtmp {
monthly
create 0664 root utmp
rotate 1
}
# system-specific logs may be also be configured here.
-
That looks normal - can you post /etc/logrotate.d/proftpd also?
-
That looks normal - can you post /etc/logrotate.d/proftpd also?
/var/log/xferlog {
compress
missingok
postrotate
/usr/bin/killall -HUP proftpd
endscript
}
/var/log/proftpd/*.log {
compress
missingok
postrotate
/usr/bin/killall -HUP proftpd
endscript
}
-
Bingo! Here's mine:
/var/log/proftpd/*.log {
compress
missingok
}
/var/log/xferlog {
compress
missingok
}
Edit the 2 templates in /etc/e-smith/templates/etc/logrotate.d/proftpd to look like mine & then run:
# /sbin/e-smith/expand-template /etc/logrotate.d/proftpd
After that it should work just fine.