Plants grown indoors often suffer the symptoms that you describe. They simply are not getting enough light. Most herbs and vegetables need a minimum of 6 hours of direct outdoor sunlight or 12 hours of florescent light. When using artificial light it must be within a few inches of the plants.