perfsonar-user - [perfsonar-user] ndt running (again) - logrotate? (& how shut it OFF?!) (fwd)
Subject: perfSONAR User Q&A and Other Discussion
List archive
- From: Winnie Lacesso <>
- To: "" <>
- Subject: [perfsonar-user] ndt running (again) - logrotate? (& how shut it OFF?!) (fwd)
- Date: Sat, 21 Feb 2015 13:52:07 +0000 (GMT)
Sorry - I meant to send this to the list, not to Dr Foster personally!
Here is the data:
Happy Friday!
In early Feb I noticed ndt processes running even though they were
chkconfig'd off & NOT enabled via the perfSONAR web GUI.
On Mon, 9 Feb 2015, Mark Foster wrote:
> Winnie -
> I noticed a similar issue on some of my 3.4 systems.
> I used the GUI, did an "enable" of NDT, followed by a save, then a "disable"
> of NDT followed by a save. Following this action, the ndt/fakewww daemon
> wasn't in service, and stayed shutdown following a reboot.
It was noticed that both our Bw & Lat boxes webpage shows NDT as running
AGAIN. Yep, the processes are there:
root@lcgnetmon>
ps -ef | grep ndt
root 3139 1 0 Feb15 ? 00:00:00 /usr/sbin/web100srv -a -s -l
/var/log/ndt/web100srv.log
root 3142 1 0 Feb15 ? 00:00:00 /usr/sbin/fakewww -f
/index.html -s -l /var/log/ndt/fakewww_access.log -e
/var/log/ndt/fakewww_error.log
Same on lcgnetmon02 :(
logfile timestamps = last Sunday probably around the time logrotate runs:
root@lcgnetmon02>
cd /var/log/ndt/; ls -lt
-rw-r--r-- 1 root root 63 Feb 15 03:32 web100srv.log
-rw-r--r-- 1 root root 533 Feb 15 03:32 fakewww_error.log
<snip>
root@lcgnetmon02>
cat web100srv.log
Web100srv (ver 3.6.5.2) process (9764) started Feb 15 03:32:59
In /etc/logrotate.d is ndt file with contents
root@lcgnetmon>
cat ndt
/var/log/ndt/*log {
weekly
rotate 4
missingok
notifempty
sharedscripts
postrotate
/sbin/service ndt restart > /dev/null 2>/dev/null || true
endscript
}
So I'm not *real* familiar with logrotate, but might it be that "service ndt
restart" is being executed as postrotate, & starting ndt every Sunday in the
wee hours even though it's chkconfig'd off???
- [perfsonar-user] ndt running (again) - logrotate? (& how shut it OFF?!) (fwd), Winnie Lacesso, 02/21/2015
Archive powered by MHonArc 2.6.16.