admin

 

Hey just found an exciting way to create new logos for your company.

A very interactive flash logo creator application that helps you create a custom logo easily and quickly.

I found their user interface easy and simple to work with and created a logo in a few minutes.

Try It out at http://www.logosnap.com

It’s really cool :)

 

Fill in the registration form here to get a chance to be amongst 50 lucky users who get 6 months of free subscription for the beta version of the plugin.
YES !! This is true your own Flowplayer Plugin for Adsense free for 6 months and a 50 percent discounted price after that for life.
Hurry this offer ends as soon as we select 50 customers to get a free beta version of the plugin.

 

Hi All,

I am into finalizing the Adsense For Video Plugin for flowplayer just a few final tweaks and we would be good to release it.

Just being curious on how much cost should I have for the license :)

Watch this place soon for more updates on the same.

Naren A.

 

Recently while working for a project I faced an issue while making the site live.

The site was developed with kohana framework and was to be hosted on Godaddy Server (Shared Hosting) and I faced a peculiar issue on the server giving me an error

No Input File Specified

which was strange as the site was working fine on test server.

After doing a bit of research I finally managed to find a solution which I am posting here to help.

Just replace the line

RewriteRule ^(.*)$ index.php/$1 [PT,L]

in your htaccess file with

# Rewrite all other URLs to index.php/URL
RewriteRule ^(.+)$ index.php?kohana_uri=$1 [L]

 

And this should do the trick.

Hope it helps and saves the time I spent on the same issue.

 

If there are errors on the filesystem while rebooting the server gets stuck on file recovery console.

just issue command fsck from the console.

and then after the file system check is done reboot.

System would work fine now.

 

The possible cause is corrupt filesystem or wrong entries in /etc/fstab.

When system comes into the state where it has file system mounted as read only.

issue command mount -w -o remount / as root and then check for possible wrong entries in /etc/fstab or fsck on boot to check filesystem.

In most of the cases the issue is solved by the above steps.

if the issue is not solved then HDD needs to replaced :)

 

Naren

Installing cPanel

 Uncategorized  Comments Off
Dec 022011
 
There are a few things that need to be done when installing CPanel on a Centos Machine.

NOTE: The only OS compatible is CENTOS.

1. The Hostname needs to be a FQDN (Full quilified Domain Name)
Example: your.website.com

2. The Firewall needs to be Disabled on Centos

nano /etc/sysconfig/selinux
SET it to DISABLED

3. Disable iptables.

# service iptables save
# service iptables stop
# chkconfig iptables off

4 Installation procedure:

cd /home
# wget -N http://httpupdate.cpanel.net/latest
# sh latest

Not: you will see a bunch of “+” signs, it takes about 1.5 hours to install.

After the installation is “done”, please poit your browser to:

https://:2087 for the configuration menu.

IMPORTANT: When installing CPANEL in VPS, DO NOT modify any iptables settings on the container, otherwise you will not be able to connect

NOTE: If having issues with dependencies at installation stage, please add the following command rpm -e bind-chroot and run the installation again.

You may also need yum-utils install for package clean which can be done by command yum install yum-utils

Done

 
Commands to be executed on Main Hardware Node to enable support for pptp on container.

HN#
modprobe tun
modprobe ppp-compress-18
modprobe ppp_mppe
modprobe ppp_deflate
modprobe ppp_async
modprobe pppoatm
modprobe ppp_generic
4. Stop the VE
vzctl stop {VEID}
5. From HN, run the below commands:
HN#
vzctl set {VEID} –features ppp:on –save
vzctl start {VEID}
vzctl set {VEID} –devices c:108:0:rw –save
vzctl exec {VEID} mknod /dev/ppp c 108 0
vzctl exec {VEID} chmod 600 /dev/ppp
6. Login to VE and see if the ‘pppd’ command works.
VE#
yum install ppp
/usr/sbin/pppd
If you see some garbage values, it means it is enabled correctly.

Dec 022011
 

On the Hardware node the following command are to be executed.

Please note that this can be done only if you have access to the hardware node.

# yum install ntp

# chkconfig ntpd on

# ntpdate pool.ntp.org

# /etc/init.d/ntpd start

 

In order to change the time zone for a server, please issue the following command:

vzctl set 101 –capability sys_time:on –save, where <101> is the CT_ID of the VPS where we want to perform this task.

To see the CT_ID of a container, issus: vzlist -a command.

 

 

Hope this helps :)

Naren

 

 

 
When Installing Linux on server sometimes we come across the error message like Disk sdx contains RAID metadata and is ignored.

To fix this there are 2 ways.

Boot into rescue mode by selecting option on centos 6 or typing linux rescue for centos 5 and start the shell without configuring network.

After you are on shell type command.

dmraid -r -E /dev/sdx

you would be asked for confirmation:
Do you really want to erase “sdx” ondisk metadata on /dev/sdc ? [y/n] :

where sdx refers to your drive (sda or sdb etc)

Type y and hit enter.

If you get no error then the drive is ready for the installation

NOTE : EXECUTE THIS COMMAND ON MULTIPLE DRIVES IN ALPHABETICAL ORDER IF YOU HAVE ERROR ON MORE THAN ONE DRIVE.

If there is an error then you need to work an alternate method.

On the rescue shell execute command.

dd if=/dev/zero of=/dev/sdx bs IM

where sdx refers to drive you need to fix.

then execute

# – z
# bg
# killall -USR1 dd

and then you need to wait as this process may take longer durations depending on the Hard Drive capacity.

after the process is complete a message will be displayed and your Hard Drive is ready for install.

Hope this helps :)

Naren