I tried to add configurable products to magento.

Everything works fine. But in frontend catalog there is a tag showing "Out of stock".

But I have saved 

* Manage Stock as Yes
* Enable Qty Increments as No
* Stock Availability as In Stock

What is the problem?