Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to setup a Cron Job that runs a .php file that will automate client email correspondance. I've created the .php file and the Cron Job through cPanel. Everything works fine in that I'm getting my test email as I require it when I require it but I'm also getting an additional server email on every send with the following content;

No log handling enabled - turning on stderr logging Cannot find module (MTA-MIB): At line 1 in (none) Cannot find module (NETWORK-SERVICES-MIB): At line 1 in (none)

The Cron Job is as follows;

0.3 * * * * php -q /home/USERNAME/public_html/cron/test.php

I've done research on this site adn could find a solution. I've also chatted with my hosting company and believe it or not his best advice was to refer me to this site.

Thank you in advance.

share|improve this question
Can you run your script from the command line and does it give the same errors ? – Iain Aug 11 '11 at 7:18
It seems related to SNMP. Which distro are you running? – quanta Aug 11 '11 at 7:25
possible duplicate of No log handling enabled - turning on stderr logging Cannot find – MikeyB Aug 31 '11 at 18:19

There's a good chance you're a customer of yet another clueless hosting provider. That error or should I say warning is a spit out from php that they have the php-snmp library compiled in but their MIBs are not mapping correctly. They need to fix their snmp install and they will go away.

It is not your problem.. it is theirs.

share|improve this answer
Hi Mike, thanks for your response. I originally thought it was their config issue so I'll head back to them with a little more emphasis this time. – Deano Aug 11 '11 at 7:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.