Activities

November 2009
M T W T F S S
« Oct   Dec »
 1
2345678
9101112131415
16171819202122
23242526272829
30  

Task scheduler for calling php file on Windows

Hi,

I have spent few hours with troubleshooting the issue of setting up a cron job on Windows. This scheduler will call a php page every 15 minutes. When it called over the web it’s send me a mail but on CLI it won’t.

The issue is that program using a SMTP class to send [...]

Outlook errors: Your mailbox has been deactivated

Today morning one of the user reported that they can’t send the email as they are getting messages from the server which states that ”

“We are contacting you in regards to an unusual activity that was identified in your mailbox. As a result, your mailbox has been deactivated. To restore your mailbox, you are [...]

How to import a .CSV to MySQL table

The following example will shows how to import csv file data which is seperated by a comma between the fields. This will useful for contacting any of the third party who will provide their data either in Xml or csv format.

LOAD DATA LOCAL INFILE ‘/home/produser/eA_performance_usd.csv’ INTO TABLE ea_perfomance_usd FIELDS TERMINATED BY ‘,’ ENCLOSED BY [...]

Error 1114: A dynamic link library (DLL) initialization routine failed.

use command

C:InetpubAdminScriptsadsutil.vbs set /MSFTPSVC/PassivePortRange "5500-5525"

do not use starting port < 5500 this will create the above error

Customise the ftp ports and open it on firewall

Here I am using VSFTP server. When this problem occurs when I open the only port 20,21 on firewall and ftp connected. But I can view the files listed there. This is probabily issue with the ftp data communication issue.

VSFTP config file location – /etc/vsftp.conf

1. Add firewall exception for dataport ( here I [...]

Failover mechanism on Linux Router

I have configured a Linux router recently which using a SNAT and routine is managed by iptables. I already explained how to setup a linux router on my earlier post.

When I found this command useful is when I lost connection ISP which router used to configure. So it must affect all the users who [...]