Remote Desktop : stop working after Windows Update

This happen after updating to Windows XP Service Pack 3 or Windows Server 2003 SP2: Microsoft added a security feature to disable RDP if Windows Firewall is disabled. Enable Windows Firewall and add exception for Remote Desktop Protocol (TCP-3389) to get it working. (Also make sure that the Windows Terminal Service is started if problem… Read More »

FTP : connection failed to LIST, Failed to retrieve directory listing

The following error occured/hang trying to connect to FTP server: Status:    Connected Status:    Retrieving directory listing… Command:    PWD Response:    257 “/” Command:    TYPE I Response:    200 Switching to Binary mode. Command:    PASV Response:    227 Entering Passive Mode (xxx,xxx,xxx,xxx,xxx,xx) Command:    LIST Error:    Connection timed out Error:    Failed to retrieve directory listing This is probably because you… Read More »

jwPlayer : video working but no sound

Common problem for jwPlayer 4.5 and less. Try delete your Web browser cache and refresh the page again. Also applicable for audio streaming (no audio on load even if the encoder and streaming server are working).

Category: Web

WordPress : Warning! wp-cron.php not found!

After updating WordPress, “Warning! wp-cron.php not found!” error occured when enabling WP-Super-Cache plugin. Adding the DNS fully qualified hostname to /etc/hosts at line 127.0.0.1 should resolve this issue.

Category: Web

Linux : How to create Ramdisk

Here is a procedure to create ramdisk on Linux. 1. Look for ramdisk devices : ls -la /dev/ram* 2. Increase size by adding the kernel parameter in the grub config file (this example assume you want a 512 Mb ramdisk) : ramdisk_size=512000 3. Format the ramdisk : mke2fs -m 0 /dev/ram0 4. Mount the ramdisk… Read More »

Mail : SPF Record for Blackberry SMTP servers

Using SPF record restrict the hosts allowed to send message on your behalf. If you are using Blackberry device, all your e-mail are relayed through RIM servers. So to make delivery successful, you need to allow their servers. Add the following to your DNS text string to allow RIM servers to send out e-mails with… Read More »

Linux : TCP Treason uncloaked

If you see those dmesg output message, this mean that someone is attacking your server. Probably by sending fragmented packets. TCP: Treason uncloaked! Peer 0.0.0.0:00000/80 shrinks window 76154906:76154907. Repaired. This may be avoid by manually blocking this IP in IPtables or if this is a DDoS attack, automated script may be used. See above (use with… Read More »

Linux : How to block IP address with IPtables

Here is a quick how to block a specific IP address with the IPtables Linux firewall. Open the IPtables script : vi /etc/sysconfig/iptables To block INBOUND IP address, add the following : iptables -A INPUT -s 0.0.0.0 -j DROP To block OUTBOUND IP address : iptables -A OUTPUT -p tcp -d 0.0.0.0 -j DROP (replace… Read More »

CMS : Joomla Memcache error

Getting this error with Joomla CMS? Warning: Memcache::addserver() expects parameter 2 to be long, string given in /joomla/libraries/joomla/cache/storage/memcache.php on line 83 Change the server port to 0 backend–> Configuration –> System In Port: change value the value 0

Category: Web