Author Archives: Kaven Gagnon

avatar

About Kaven Gagnon

System & Network Architect

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