Koozali.org: home of the SME Server

Error Cron <root@mail> /sbin/e-smith/check4updates -m

Offline mgb

  • *****
  • 558
  • +0/-0
Error Cron <root@mail> /sbin/e-smith/check4updates -m
« on: June 09, 2009, 07:12:41 AM »
Error in sys.exitfunc:
Traceback (most recent call last):
  File "/usr/lib/python2.3/atexit.py", line 20, in _run_exitfuncs
    func(*targs, **kargs)
  File "plugins.py", line 159, in run
  File "/usr/lib/yum-plugins/smeserver.py", line 69, in close_hook
    os.unlink('/var/run/yum.status')
OSError: [Errno 2] No such file or directory: '/var/run/yum.status'
Thanks all for helping
Skype yosii2009


Offline mgb

  • *****
  • 558
  • +0/-0
Re: Error Cron <root@mail> /sbin/e-smith/check4updates -m
« Reply #2 on: June 09, 2009, 09:15:33 AM »
OK Thanks
/sbin/e-smith/audittools/newrpms
/sbin/e-smith/audittools/templates

?

Please also run and show the output of:

grep -r check4updates /etc/cron*

?

rpm -qf $(grep -l -r check4updates /etc/cron*)

Thanks all for helping
Skype yosii2009

Offline mazkot

  • ***
  • 59
  • +0/-0
Re: Error Cron <root@mail> /sbin/e-smith/check4updates -m
« Reply #3 on: June 09, 2009, 11:42:07 AM »
what is your network setup? is your sme behind a firewall?

Offline mgb

  • *****
  • 558
  • +0/-0
Re: Error Cron <root@mail> /sbin/e-smith/check4updates -m
« Reply #4 on: June 09, 2009, 01:26:26 PM »
iptables -L
Chain INPUT (policy DROP)
target     prot opt source               destination         
state_chk  all  --  anywhere             anywhere           
local_chk  all  --  anywhere             anywhere           
PPPconn    all  --  anywhere             anywhere           
denylog    all  --  BASE-ADDRESS.MCAST.NET/4  anywhere           
denylog    all  --  anywhere             BASE-ADDRESS.MCAST.NET/4
InboundICMP  icmp --  anywhere             anywhere           
denylog    icmp --  anywhere             anywhere           
InboundTCP  tcp  --  anywhere             anywhere            tcp flags:SYN,RST,ACK/SYN
denylog    tcp  --  anywhere             anywhere            tcp flags:SYN,RST,ACK/SYN
InboundUDP  udp  --  anywhere             anywhere           
denylog    udp  --  anywhere             anywhere           
ACCEPT     udp  --  anywhere             anywhere            udp spts:bootps:bootpc
gre-in     gre  --  anywhere             anywhere           
denylog    gre  --  anywhere             anywhere           
denylog    all  --  anywhere             anywhere           

Chain FORWARD (policy DROP)
target     prot opt source               destination         
state_chk  all  --  anywhere             anywhere           
local_chk  all  --  anywhere             anywhere           
ForwardedTCP  tcp  --  anywhere             anywhere            tcp flags:SYN,RST,ACK/SYN
ForwardedUDP  udp  --  anywhere             anywhere           
denylog    all  --  anywhere             anywhere           

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         
PPPconn    all  --  anywhere             anywhere           
denylog    all  --  BASE-ADDRESS.MCAST.NET/4  anywhere           
denylog    all  --  anywhere             BASE-ADDRESS.MCAST.NET/4
ACCEPT     all  --  anywhere             anywhere           

Chain ForwardedTCP (1 references)
target     prot opt source               destination         
ForwardedTCP_3608  all  --  anywhere             anywhere           
denylog    tcp  --  anywhere             anywhere            tcp flags:SYN,RST,ACK/SYN

Chain ForwardedTCP_3608 (1 references)
target     prot opt source               destination         

Chain ForwardedUDP (1 references)
target     prot opt source               destination         
ForwardedUDP_3608  all  --  anywhere             anywhere           
denylog    udp  --  anywhere             anywhere           

Chain ForwardedUDP_3608 (1 references)
target     prot opt source               destination         

Chain InboundICMP (1 references)
target     prot opt source               destination         
InboundICMP_3608  all  --  anywhere             anywhere           
denylog    icmp --  anywhere             anywhere           

Chain InboundICMP_3608 (1 references)
target     prot opt source               destination         
ACCEPT     icmp --  anywhere             anywhere            icmp echo-request
ACCEPT     icmp --  anywhere             anywhere            icmp echo-reply
ACCEPT     icmp --  anywhere             anywhere            icmp destination-unreachable
ACCEPT     icmp --  anywhere             anywhere            icmp source-quench
ACCEPT     icmp --  anywhere             anywhere            icmp time-exceeded
ACCEPT     icmp --  anywhere             anywhere            icmp parameter-problem
denylog    all  --  anywhere             anywhere           

Chain InboundTCP (1 references)
target     prot opt source               destination         
InboundTCP_3608  all  --  anywhere             anywhere           
denylog    tcp  --  anywhere             anywhere            tcp flags:SYN,RST,ACK/SYN

Chain InboundTCP_3608 (1 references)
target     prot opt source               destination         
denylog    all  --  anywhere            !mail.mail.xxxxxxxxxxxl 
REJECT     tcp  --  anywhere             mail.mail.xxxxxxxxxxxl  tcp dpt:auth reject-with tcp-reset
ACCEPT     tcp  --  anywhere             mail.mail.xxxxxxxxxxxl  tcp dpt:ftp
ACCEPT     tcp  --  anywhere             mail.mail.xxxxxxxxxxxl   tcp dpt:http
ACCEPT     tcp  --  anywhere             mail.mail.xxxxxxxxxxxl  tcp dpt:https
ACCEPT     tcp  --  anywhere             mail.mail.xxxxxxxxxxxl  tcp dpt:pop3s
ACCEPT     tcp  --  anywhere             mail.mail.xxxxxxxxxxxl  tcp dpt:1723
ACCEPT     tcp  --  anywhere             mail.mail.xxxxxxxxxxxl  tcp dpt:smtp
ACCEPT     tcp  --  anywhere             mail.mail.xxxxxxxxxxxl  tcp dpt:ssh
ACCEPT     tcp  --  anywhere             mail.mail.xxxxxxxxxxxl  tcp dpt:10433
ACCEPT     tcp  --  anywhere             mail.mail.xxxxxxxxxxxl tcp dpt:smtps

Chain InboundUDP (1 references)
target     prot opt source               destination         
InboundUDP_3608  all  --  anywhere             anywhere           
denylog    udp  --  anywhere             anywhere           

Chain InboundUDP_3608 (1 references)
target     prot opt source               destination         
denylog    all  --  anywhere            !mail.mail.xxxxxxxx

Chain PPPconn (2 references)
target     prot opt source               destination         
PPPconn_1  all  --  anywhere             anywhere           

Chain PPPconn_1 (1 references)
target     prot opt source               destination         

Chain denylog (19 references)
target     prot opt source               destination         
DROP       udp  --  anywhere             anywhere            udp dpt:router
DROP       udp  --  anywhere             anywhere            udp dpts:netbios-ns:netbios-ssn
DROP       tcp  --  anywhere             anywhere            tcp dpts:netbios-ns:netbios-ssn
ULOG       all  --  anywhere             anywhere            ULOG copy_range 0 nlgroup 1 prefix `denylog:' queue_threshold 1
DROP       all  --  anywhere             anywhere           

Chain gre-in (1 references)
target     prot opt source               destination         
denylog    all  --  anywhere            !mail.mail.xxxxxxxx
ACCEPT     all  --  anywhere             anywhere           

Chain local_chk (2 references)
target     prot opt source               destination         
local_chk_3608  all  --  anywhere             anywhere           

Chain local_chk_3608 (1 references)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere           
ACCEPT     all  --  192.168.183.0/24     anywhere           

Chain state_chk (2 references)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED

Thanks all for helping
Skype yosii2009

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Error Cron <root@mail> /sbin/e-smith/check4updates -m
« Reply #5 on: June 10, 2009, 06:42:21 PM »
OK Thanks
/sbin/e-smith/audittools/newrpms
/sbin/e-smith/audittools/templates

?

Please also run and show the output of:

grep -r check4updates /etc/cron*

?

rpm -qf $(grep -l -r check4updates /etc/cron*)
What is so hard about that, what is it you do not understand?

Please also post your information to that bug and not to the forums to keep all information in one place.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)