Wednesday, September 29, 2010

Unknown error at C:/Perl/site/lib/Mail/Mailer.pm

You are running Bugzilla on Windows? Getting new Random SMTP errors? Is your hosts file corrupted? Protocol file missing?


Symptoms:

- Bugzilla SMTP E-Mail Delivery Failure
- Mail::Mailer Not Working
- Perl's core Net::SMTP module fails without explanations
- Mail::Mailer Test Scripts Return
Unknown error at C:/Perl/site/lib/Mail/Mailer.pm

- Bugzilla Returns SMTP Connection Errors
- Bugzilla SMTP Debugging Provides No Additional Information
- Bugzilla SMTP Test Delivery (text file) works fine

PROBLEM:

Your C:\WINDOWS\system32\drivers\etc folder is corrupt! It is missing 3 key files -- hosts, protocols and services, which Net::SMTP considers required. In fact, the Windows OS really needs those files so I can understand that Net::SMTP doesn't handle them being missing very well.

SOLUTION:

Restore the server from backup (haha) or copy the files over from another server. Protocols, Services and even Hosts, for the most part, are totally portable between Windows Servers and shouldn't ever contain local modifications.

CAUSE:

How did these files get deleted? I don't know, vandals? Bad disk controller? Some type of Anti-Virus software going berserk? If you figure out what deleted yours, let me know -- I can't figure out what took mine...

0 Comments:

Post a Comment

<< Home