Flash Media Server (FMS) and libasneu.so.1 issue

Today I was working with Flash Media Server (FMS). Everything went accordingly except libasneu.so.1. This file is needed for FMS which is included with FMS archive. We just need to link it correctly.You may check the shared library dependencies by the following command:

# ldd fmscore

In my case, everything was found except libasneu.so.1. It was showing not found. I have started googling. Got a lots of tips. However, none worked. Some sites suggested to create a soft link to this file in /lib (ln -s /opt/adobe/fms/libasneu.so.1 /lib/libasneu.so.1) . Some suggested to do same in /usr/lib ((ln -s /opt/adobe/fms/libasneu.so.1 /usr/lib/libasneu.so.1). Another site suggested to add fms path in a config file (/etc/ld.so.conf.d/). I tried everything without any luck. Continue reading →

Thumb up zipservers

My last VPS review was almost negative which was about Wowvps. No worry! Now some smile! Its not a negative review. But I should have given this review first as I tested zipservers.com before buying from wowvps (second time).

I had a promo of zipservers for first month. So it was a great opportunity to test the server at low cost. I ordered a VPS without any delay. I got the account information. Started configuring the server and used the server about a month. I have hosted a site that have monthly 2million+ hits.

I was very happy with them as their server is excellent. Performance was fast, network speed was superb. Most probably support response time is not up to the mark. Also their mails’ format is not eye friendly.

Whatsoever, the main parts of the service were very satisfactory. You may find their server a bit expensive comparing others. But I think they deserve priority if we care about quality.

I added them up in my trust list and surely back to them in future when needed

Finding a hosting company…

Hosting a website is getting complex day by day. Isn’t it? Wonder why I am saying it is complex while there are thousands (may be millions) of companies providing web hosting at various price, quality, packages? Answer is the number. There are too many companies in web hosting. So it is always becomes very tough to find a right hosting company to host your site and/or application. If you don’t have your own list of good hosts, you will surely be in problem while choosing a company.

But in internet there are also some websites to facilitate your research for choosing a hosting company. One of them is 4 Cheap Web Hosting. It’s a hosting classified website. In this site, you can search hosting companies within your budget. You can choose your monthly budget, space required and platform. In advance search (power search here) you can set extensive criterions.  Then it will show a list matching packages against your given criterions. You can compare the packages and companies from the list.

Continue reading →

Easy Control Nginx!

Nginx

Nginx

Recently I am trying to learn managing nginx web server. Most probably it is going to take the place of Apache or at least seat beside Apache. The main benefit Nginx is claimed to be low memory footprint.

So far I have configured three VPS with nginx (also mysql & php). But every time I felt uneasy to start and stop the service as it can’t be started or stopped as ordinary service call.

For example:

To start apache/httpd we write:

service httpd start

But to start Nginx we have to write:

/usr/local/nginx/sbin/./nginx

[I assume that Nginx is installed in default directory]

Again to stop apache, we write:

service httpd stop

But in case of Nginx:

kill -9 `cat /usr/local/nginx/logs/nginx.pid`

or

killall -9 nginx

Today I thought to make it a bit easier. So after mining the internet, I have made a small script to take care of start, stop, restart and check the status of Nginx. I am new to shell scripting.

How to implement it?

  1. I expect your Nginx installation is completed successfully and you can start/stop the server using the earlier methods.
  2. Download this file
  3. Store the file in /sbin/ as nginx. So that path of this file will be /sbin/nginx
  4. Chmod it to 744 by calling:
    chmod 744 /sbin/nginx
  5. You are done.

Now to start the server:

nginx start

Stopping the server:

nginx stop

Restarting the server:

nginx restart

Checking Status:

nginx status

Hope you like it :).

So, any suggestion is

…website is still on the old server

I have updated the DNS but still I am getting the site from old server. Is this your problem?

Cause:

This occurs due to propagation time. When you update the DNS it needs up to 72 hours to populate on internet. All ISP uses DNS caching to cache the DNS query results. So, it needs some time to refresh the cache to reflect your changes.

But in your computer you can solve it easily. You can override the cache.  Just follow the steps:

Suppose:

domain = ‘binodon4all.com’

new server’s ip = 219.113.113.43

For Windows:

  • Open the C:\Windows\System32\Drivers\etc\hosts file using notepad
  • Write the following line at the end of the file:
    219.113.113.43      binodon4all.com
  • Save the file
  • Open command prompt. Type
    ipconfig /flushdns
  • Open your browser. Now browse binodon4all.com. You should get site from new server

For Linux & Mac OS:

  • Login as root
  • Open /etc/hosts file typing the following command
    vi /etc/hosts
  • If you find vi command difficult use:
    gedit /etc/hosts
  • At the end of the file add the same line as previous:
    219.113.113.43 binodon4all.com
  • Save the file. Restart your network by:
    service network restart
  • Try browsing binodon4all.com. You should get site from new server.

Efficient server Migration for Dynamic Website

If you maintain a website,
you may have to change you current hosting server for many reasons. It
may be that, their service is not good or uptime is low or you may
consider to go a server with better facilities or even you may move to
your own VPS/Dedicated server. All of the these requires that you move
your current website to the new server.

But problem arises as you update the nameserver for your domains to
point to new server but the new name servers do not propagate world
wide. In this case, some people will see the website from the old
server while some from new server. If it is a dynamic site like forum,
blog etc. when propagation is complete, its sure that some users will
complain that their posts/contents are missing. Continue reading →