Hi all,
I am using Dachstien 1.0.2 cd and I am having trouble with the ping 
check function. If I run multicron-p from the command line the ping 
check works and since the address is bogus (for testing) it sends me 
an email.

  # List of hosts to ping check. ADMIN will be sent mail if any fail.
lrp_PING_HOSTS="router1.upstream.com server2.theirnet.org"

However, if multicron-p runs from cron it doesn't send the email. It 
definitely runs as seen in ps aux and in the syslog. (I added echo 
statements to multicron-p.) Any idea why the mail feature would work 
from the command line but not from cron?

Thanks Robert Williams

  5712 root     S    -sh
  6412 root     S    /USR/SBIN/CRON
  6413 root     S    sh /etc/multicron-p
  6416 root     Z    [cron]
  6855 root     S    sleep 10
  6856 root     R    ps aux

Dec 29 21:35:00 firewall sh-httpd[7475]: connect from 192.168.1.2
Dec 29 21:35:01 firewall /USR/SBIN/CRON[7524]: (root) CMD (/etc/multicron-p)
pingcheck
Dec 29 21:35:03 firewall sh-httpd[7544]: connect from 192.168.1.2
Dec 29 21:35:13 firewall sh-httpd[7595]: connect from 192.168.1.2
Dec 29 21:35:15 firewall sh-httpd[7659]: connect from 192.168.1.2
pingcheck
Dec 29 21:36:28 firewall sh-httpd[7743]: connect from 192.168.1.2
Dec 29 21:36:30 firewall sh-httpd[7807]: connect from 192.168.1.2
Dec 29 21:37:36 firewall sh-httpd[7880]: connect from 192.168.1.2
Dec 29 21:37:38 firewall sh-httpd[7944]: connect from 192.168.1.2
mailadmin
in mail part of mailadmin fx
Dec 29 21:39:14 firewall sh-httpd[8037]: connect from 192.168.1.2

_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user

Reply via email to